Skip to content

Instantly share code, notes, and snippets.

@AlexanderPavlenko
Last active September 27, 2015 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexanderPavlenko/1291017 to your computer and use it in GitHub Desktop.
Save AlexanderPavlenko/1291017 to your computer and use it in GitHub Desktop.
android 2.3, fix "device not provisioned"
$ adb shell
$ cd data/data/com.android.providers.settings/databases
$ sqlite3 settings.db
sqlite> .tables
sqlite> select * from secure;
sqlite> INSERT INTO secure (name, value) VALUES ('device_provisioned', 1);
sqlite> .exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment