Re: Lock screen, search and home button not working
I had this problem on my TF101, I think I erased some android settings with Titanium Backup. After I rebooted the device, Home button would do nothing, some quick settings would not show up and power button would show very few options.
A lot of sites prompted me to do a factory reset (backup and restore would take a day). After trying several possible solutions I came about this thread
Home button issues striking back - The Lounge - CyanogenMod Forum that solved it.
I used the android sdk installed on my Ubuntu, using the following steps:
1. Use adb as su to retrieve the android settings database:
sudo platform-tools/adb -d pull /data/data/com.android.providers.settings/databases/settings.db settings.db
2. Use sqlite3 to check if device_provisioned=1 (this setting was missing)
tools/sqlite3 settings.db "select * from secure;" | grep provision
correct answer would be "nnn|device_provisioned|1" where nnn is the number of the line. If there was no answer, you would have to add this setting to the file.
3. Use sqlite3 to add this setting to the file
tools/sqlite3 settings.db "INSERT INTO secure (name,value) VALUES ('device_provisioned','1');"
4. Put the file back on your android device
sudo platform-tools/adb -d push settings.db /data/data/com.android.providers.settings/databases/settings.db
5. Power down android (at first I tried the reboot option on the power button menu, but it restored my faulty settings somehow. Afterwards I pressed the power button until the device shut itself down.)
6. Power on. The Home button was working again (along with the other missing features).