When playing around with android phones it may happen that the setup wizard crashes and refuses to work. Not nice per se and quite annoying as it prevents us from testing and developing. As I always forget how to get around that issue, here’s how it’s done:
adb shell settings put global setup_wizard_has_run 1
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1
3 thoughts on “Skip the Google Setup Wizard”
Thans a lot my brother! It’s working
it worked thanks
Tried applying these but I am getting a Permission denial: writing to settings requires: android.permission.WRITE_SECURE_SETTINGS at (dozen different lines). I did make sure to enable the “disable permission monitoring” option under developer options but it still doesn’t work. Any advice?