« Solving “libtool: Version mismatch error” | Home | A simple su implementation in C »
Modifying Android settings from the filesystem / terminal
By admin | November 5, 2012
(Root access is required for this entire procedure; but root access is usually present on development builds anyway.) Normally, the built-in Settings app can be used on Android to change system settings. But if you’re on a development build where the settings app is broken and can’t be used, the Android settings database can be found at:
/data/data/com.android.providers.settings/databases/settings.db
Probably, you will need to cp the file to a place that any user can read from (e.g. /sdcard). Then, git pull the file and open it in SQLite Manager or something similar, and you can edit it. The most interesting table will probably be the “secure” table, where you can change the system settings.
Just use adb push to push the file back on the device, and use mv to move it to /data/data/com.android.providers.settings/databases/.
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Mobile | 9 Comments »
March 27th, 2025 at 21:13
… [Trackback]
[…] Find More here on that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
March 31st, 2025 at 05:03
… [Trackback]
[…] Find More here on that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
March 31st, 2025 at 07:41
… [Trackback]
[…] Read More Info here to that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
April 14th, 2025 at 22:08
… [Trackback]
[…] Read More on to that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
May 10th, 2025 at 02:07
… [Trackback]
[…] Here you will find 16569 more Info on that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
May 14th, 2025 at 21:09
… [Trackback]
[…] Read More here to that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
May 16th, 2025 at 20:21
… [Trackback]
[…] Read More Information here on that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
May 18th, 2025 at 18:39
… [Trackback]
[…] Here you can find 95888 additional Information to that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]
June 4th, 2025 at 23:04
… [Trackback]
[…] There you can find 87620 additional Information to that Topic: compdigitec.com/labs/2012/11/05/modifying-android-settings-from-the-disk-terminal/ […]