{"id":315,"date":"2012-11-05T20:51:07","date_gmt":"2012-11-06T01:51:07","guid":{"rendered":"http:\/\/www.compdigitec.com\/labs\/?p=315"},"modified":"2012-11-05T20:51:07","modified_gmt":"2012-11-06T01:51:07","slug":"modifying-android-settings-from-the-disk-terminal","status":"publish","type":"post","link":"http:\/\/www.compdigitec.com\/labs\/2012\/11\/05\/modifying-android-settings-from-the-disk-terminal\/","title":{"rendered":"Modifying Android settings from the filesystem \/ terminal"},"content":{"rendered":"<p>(<span style=\"text-decoration: underline;\">Root access is required<\/span> 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&#8217;re on a development build where the settings app is broken and can&#8217;t be used, the Android settings database can be found at:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\/data\/data\/com.android.providers.settings\/databases\/settings.db<\/pre>\n<p>Probably, you will need to <em>cp<\/em> 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 &#8220;secure&#8221; table, where you can change the system settings.<\/p>\n<p><a href=\"http:\/\/www.compdigitec.com\/labs\/wp-content\/uploads\/2012\/11\/android_settings.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-316\" title=\"Android settings.db database\" src=\"http:\/\/www.compdigitec.com\/labs\/wp-content\/uploads\/2012\/11\/android_settings.png\" alt=\"\" width=\"742\" height=\"335\" \/><\/a><\/p>\n<p>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\/.<\/p>","protected":false},"excerpt":{"rendered":"<p>(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&#8217;re on a development build where the settings app is broken and can&#8217;t be used, the Android settings database can be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[759],"tags":[760,738,815,816],"_links":{"self":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/315"}],"collection":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/comments?post=315"}],"version-history":[{"count":0,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/315\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/media?parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/categories?post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/tags?post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}