• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

lost home and volume button function

dweesb

Lurker
I recently had to do a hard reset...contracted the money pak fbi virus and was unable to get rid of it any other way. I had previously rooted my phone. Since the hard reset I have lost the "go to home screen" function of the home button (it will still functions as a wake up button), as well as the volume button for ringtone/vibrate control. I have been able to set the volume with the button while using a radio streaming app, but that is the volume within the app so the volume meter is not the stock one. The phone will also not enter the lock screen mode. The power button will make the screen go blank but does not send the phone into lock screen mode.

Any help? I have installed button savior app as a band aid...trying to get out of the web explorer was exhilarating! Fraid not!

Thanks all in advance,
Steve

Got my fingers crossed! Kit Kat would be fantastic.
 
Sorry, I haven't visited the forums for a while. Not only does the button act odd, but you will be unable to do a bluetooth pairing and a number of other actions.

Anyway, I do have a solution to your problem. It happened to me after doing a factory reset as well. The problem is that there is an entry now missing or changed from your database called device_provisioned and should be set to 1 but is either missing or set to zero.

If you google device_provisioned you will find many discussions, and using ADB, etc., but that is not necessary. You can do it from your phone. Since it does not have SQLite3 installed, you will need to install a sqLite program from the play store. I used sqLite Database Editor. You will also need to grant it Superuser status since the database requires such access to write to it.

When I ran it, it showed me a list of databases. You want settings.db (full path: /data/data/com.android.providers.settings/databases/settings.db)

From there, it showed a list of tables. You want the Secure table.

It then had a few buttons. Press SELECT * and look for device_provisioned.

If you see it and the value is already 1, then this didn't work. You have another problem.

If you see it and the value is 0, then touch that line. It will bring up an editing menu. Press Edit/View, touch the Value, and change it to 1. Then press UPDATE.

If the entire entry is missing, you have to create it. This is a bit more of a pain. Use the Back key to get back to the screen with SELECT * on it. Press Query Editor and painstakingly type in:
INSERT INTO secure (name,value) VALUES ('device_provisioned','1')

Verify it worked by using the steps above (SELECT *, then look for device_provisioned).

You will then need to power off the phone, wait a few seconds, and power it back on.

Good luck!

Hamsterman
 
Sorry, I haven't visited the forums for a while. Not only does the button act odd, but you will be unable to do a bluetooth pairing and a number of other actions.

Anyway, I do have a solution to your problem. It happened to me after doing a factory reset as well. The problem is that there is an entry now missing or changed from your database called device_provisioned and should be set to 1 but is either missing or set to zero.

If you google device_provisioned you will find many discussions, and using ADB, etc., but that is not necessary. You can do it from your phone. Since it does not have SQLite3 installed, you will need to install a sqLite program from the play store. I used sqLite Database Editor. You will also need to grant it Superuser status since the database requires such access to write to it.

When I ran it, it showed me a list of databases. You want settings.db (full path: /data/data/com.android.providers.settings/databases/settings.db)

From there, it showed a list of tables. You want the Secure table.

It then had a few buttons. Press SELECT * and look for device_provisioned.

If you see it and the value is already 1, then this didn't work. You have another problem.

If you see it and the value is 0, then touch that line. It will bring up an editing menu. Press Edit/View, touch the Value, and change it to 1. Then press UPDATE.

If the entire entry is missing, you have to create it. This is a bit more of a pain. Use the Back key to get back to the screen with SELECT * on it. Press Query Editor and painstakingly type in:
INSERT INTO secure (name,value) VALUES ('device_provisioned','1')

Verify it worked by using the steps above (SELECT *, then look for device_provisioned).

You will then need to power off the phone, wait a few seconds, and power it back on.

Good luck!

Hamsterman
Tried it, but didn't wor. Had to use a different app (sqlite debugger) yours kept force closing before it would do anything. I was able to get into the tables you mentioned,followed your instructions. The line was there, I reset thee value,but no luck.

Any other suggestions?
 
Dweesb,

Sorry, I was just passing on what I did to get my phone working. If the original value was 0 and is now 1, and you really did power off (not reboot) the phone, then there may be something else going on as well.

You might want to look closely at the "1" value, to make sure there are no extra spaces in there, and also to verify that there isn't another copy of device_provisioned in the table that is still set to zero.

Hamsterman
 
No no, I appreciate the help. If I came across being short or flip its just because I'm a little frustrated.

You nailed it anyway. I went back and took another look and you were right, there was an extra space. Working fine now.

Thanks again.
 
Sorry, I haven't visited the forums for a while. Not only does the button act odd, but you will be unable to do a bluetooth pairing and a number of other actions.

Anyway, I do have a solution to your problem. It happened to me after doing a factory reset as well. The problem is that there is an entry now missing or changed from your database called device_provisioned and should be set to 1 but is either missing or set to zero.

If you google device_provisioned you will find many discussions, and using ADB, etc., but that is not necessary. You can do it from your phone. Since it does not have SQLite3 installed, you will need to install a sqLite program from the play store. I used sqLite Database Editor. You will also need to grant it Superuser status since the database requires such access to write to it.

When I ran it, it showed me a list of databases. You want settings.db (full path: /data/data/com.android.providers.settings/databases/settings.db)

From there, it showed a list of tables. You want the Secure table.

It then had a few buttons. Press SELECT * and look for device_provisioned.

If you see it and the value is already 1, then this didn't work. You have another problem.

If you see it and the value is 0, then touch that line. It will bring up an editing menu. Press Edit/View, touch the Value, and change it to 1. Then press UPDATE.

If the entire entry is missing, you have to create it. This is a bit more of a pain. Use the Back key to get back to the screen with SELECT * on it. Press Query Editor and painstakingly type in:
INSERT INTO secure (name,value) VALUES ('device_provisioned','1')

Verify it worked by using the steps above (SELECT *, then look for device_provisioned).

You will then need to power off the phone, wait a few seconds, and power it back on.

Good luck!

Hamsterman

You sir are a God...
Worked first time after an a whole day of searching for the answer.:)
 
Back
Top Bottom