Broken hw buttons
This happened after the last upgrade and once again some time ago (so I don't think it's specific). Fix was to restore backup and upgrade again.
The home and on/off button are broken in a weird way:
- Home button doesn't trigger launcher home; but long pressing home does trigger the task manager app; however, the app list is empty in it at all times
- On/off button doesn't trigger some behaviors (such as end call), but does trigger sleep/wake up
Before restoring from backup, is this a known problem that can be fixed simpler?
Later edit: here's
THE FIX:
I managed to fix this starting with instructions from
https://www.xda-developers.com/broken-navigation-bar-lock-screen-ota-update/
However:
In the state the phone was in, Developer Options were disabled and so was ADB debugging; I had not installed a shell app and Play Store install was also disabled.
The way I managed to fix it is this:
- (repeat multiple times until it succeeds): reboot with the phone connected to USB. On the PC, repeatedly run "adb shell settings put global device_provisioned 1". You need to hit a sweet spot in the boot process between getting
1) "error: no devices/emulators found",
2) "Error while accessing settings provider",
3) here's the sweet spot, command will complete without error,
4) "error: no devices/emulators found"
Once you manage to run that (took me about 3 tries), seems developer options unlock;
Then, enable dev options by clicking a lot of times on "Build umber" from Settings -> About phone;
Then, go to developer Settings -> Developer options and enable ADB interface;
Then you are able to run the seccond command: "adb shell settings put secure user_setup_complete 1" to unbreak everything.
Note this was trial&error and only succeeded once, so maybe you need to experiment with these operations... Time of completion: ~15 min excluding the research.
If you have a shell app already installed, seems the problem is much more easier to fix, just run:
su settings put global device_provisioned 1
su settings put secure user_setup_complete 1