Enable “Unknown Sources” via adb
Getting a Nook SimpleTouch I had to enable the android option Unknown Sources via adb shell… so first connect with usb and make sure adb debugging is on…
-
adb pull /data/data/com.android.providers.settings/databases/settings.db
-
sqlite3 /path_to_your_folder/settings.db
-
update secure set value=”1″ where name=”install_non_market_apps”;
-
.quit
-
adb push settings.db /data/data/com.android.providers.settings/databases/
Tags: adb, android, apk, apks, enable, sources, unknown
Trackback from your site.
Aayush
| #
Hi !
I get an error ” Error: no such column: ”install_non_market_apps” ” while trying to do the above. I actually got my settings app uninstalled on my rooted phone. Is there a way out?
-Thanks
iassael
| #
Well, this doesn’t sound good… I would try to download a settings app from aptoide.com and hope it works…