CIFS mount SMB into a folder results in “no such device” error on Android 10 Lineageos 17.1 and stock Google Pixel

I’ve tried these commands with root access

mount -t fifs //192.168.62.118/xyz -o username=user,password=pw /mnt/sdcard/xyz

mount -t cifs //192.168.62.118/xyz -o username=user,password=pw /mnt/sdcard/xyz

mount iocharset=utf8 -t cifs -o username=user,password=pw,rw,noperm,iocharset=utf8 //192.168.62.118/xyz /mnt/sdcard/xyz 

mount -o username=user,password=pw,nodfs,rw,iocharset=utf8,noperm,dir_mode=0777,file_mode=0777 -t cifs //192.168.62.118/xyz /storage/self/primary/xyz

all of them results in “no such device”. Googling around, it seems its due to the kernel not supporting CIFS. But this also happen in LineageOS 17.1 where other people reports able to mount cifs, albeit on a different device.

WHat I could do to get cifs smb mount working?

Notifications from the Messages app will appear then dismiss automatically on a Google Pixel

When receiving a text message, Messages app notification will briefly appear then send to be automatically dismissed without me touching anything. The phone will still make the sound and vibrate, but they are cut short as if I’ve swiped it away. The message is still unread and the notification can be found afterwards in the History.

What can I do to check what is auto dismissing these notifications?

This doesn’t seem to happen on other apps or notifications.

Any ideas?

Turning off the phone or restarting didn’t help.

The phone is a Pixel 4.

cache – Power and volumne button issues on Pixel 4a

The volume on my pixel 4a is always set to max. I can lower the volume with the button but it will automatically go back up to max after a few seconds. I can still manually increase volume but it seems like the increase volume button is always triggered.

Another issue is that my power button is somewhat unresponsive. Sometimes it works and sometimes it doesn’t. For example, I can boot into recovery mode but I can not enter a command.

Anyone have any ideas?

rooting – Pixel 4a : adb detects device but fastboot command doesn’t work

This is a self answered question that is different and may save hours of frustration to somebody

Related questions but none that helped

My situation

  • After more than 6 months I thought of updating security patches on my Pixel 4a Android 11 (stock) and root it again.

  • I uninstalled Magisk , applied OTA update , extracted boot image and patched it with magisk (see this). All smooth

Problem

I needed to run fastboot flash boot patched.img to root the device. But when I run the command response is <waiting for any device>, which was strange since adb devices shows device serial.

Things tried, without any luck

  • Updated adb on Lint Minux, it was latest

  • Switched to Windows 10 and updated

  • Andrew in chat pointed to an XDA thread, which was better covered by Izzy here How do I get my device detected by ADB on Linux?. Added udev rule but then no dice.

  • Firelord in chat suggested it could be plugdev issue so tried the solution mentioned in this Stack Overflow question, though the problem wasn’t similar

  • Multiple cables , rebooting Android, Windows, Linux when I was at a loss to figure out

  • Variations of fastboot like fastboot flash boot_a patched.img, fastboot flash boot --slot all patched.img and sudo fastboot devices

Finally, the solution ….

Removing stock apps from pixel factory image

I’d like to take a factory image from [0] and unpack it, remove pretty much all preinstalled apps except for play store and play services, repack it and flash it to my pixel device. However, after removing the apps from /app/ and /system/app/, repacking and flashing the unwanted apps still get installed.

My google-fu has failed me, can anyone point me to a guide on achieving this, or detail what I’m missing?

[0] https://developers.google.com/android/images

att – Google Pixel 4a 5G AT&T branded vs. non-branded from Google Store

Is there any technical advantage to ordering the Google Pixel 4a 5G from AT&T as opposed from the Google Store if I use the AT&T network?

Years back, I remembered that AT&T didn’t support a bunch of features (like Wifi calling and some others) when you purchased the generic version of a Samsung phone. These features would be supported on the AT&T version of the Samsung smartphone.

Is that the case when I use the Google Pixel 4a 5G purchased from the Google store on the AT&T network or is there no difference?

att – Is there any technical advantage to ordering the Google PIxel 4a 5G from AT&T as opposed from the Google Store if I use the AT&T network?

Years back, I remembered that AT&T didn’t support a bunch of features (like Wifi calling and some others) when you purchased the generic version of a Samsung phone. These features would be supported on the AT&T version of the Samsung smartphone.

Is that the case when I use the Google PIxel 4a 5G purchased from the Google store on the AT&T network or is there no difference?

sensor – How are focal lengths derived from camera calibration (resectioning) and pixel sensitive area related?

In camera calibration (camera resectioning process, e.g. camera calibration with OpenCV) does the result for focal lengths fx and fy depend on the photo-sensitive area inside the pixel ?

If I have a camera sensor (CCD/CMOS) with a perfect square grid arrangement of pixel elements, but each pixel element has rectangular pixel sensitive area (photodiode).
For example, pixel dimensions are a x a, but photosensitive area dimensions are 0.5*a x a.
Would result of camera calibration still be fx = fy ?

And what if the pixel sensitive area has some arbitrary shape due to additional electronics in CMOS ?