Last year I installed /e/os on my Pixel 4 and noticed that USB for data transfer stopped working. It only works to charge the battery. Current installed version /e/os is 2.1.
When the phone is connected to a PC, the USB section in the settings looks like this:
This problem was irrelevant to me before and I didn’t deal with it. But now I want to get the original Pixel firmware back so I can use this phone for banking apps.
ADB can’t find the phone over USB, but I can connect over wifi. And after doing adb reboot bootloader I can’t unlock the bootloader because the phone is inaccessible.
What could be the problem with USB? I tested plugging in with another cable, also on Linux and MacOS.
I ran some commands in the console of the phone. Maybe something else is needed?
I was first going to say is there an odd selection in
Settings > Developer options > Default USB configuration ?
But I saw there “and your phone is unlocked” …
I never worked with a Locked bootloader … but you say you used this command …
… what is the result of
fastboot devices
… is that recognised, once you boot to fastboot mode after shutdown with button presses
With the device powered off
hold Volume Down + Power
EDIT
Later I saw that I seemed to reproduce your images with
Setting > Developer options > USB debugging – toggled off !
If you remember noticing it stop working, maybe the phone’s USB module failed.
Further edit I did read your dmesg. This runs for 35 minutes, I wasn’t quite sure what I was looking for, did you try a certain action repetitively? I noticed 20 records
android_work: did not send uevent (0 0 0000000000000000)
(I am only guessing if I thought you might have tried adb via USB 20 times?) android_work represents a Work profile, UEvents are quite fundamental, zero has significance, but I don’t think I can explain in this context, other than the line sounds a double negative from my understanding so far.
Would there be any possibility that Work profile was in some way not fully within your control ?