Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to skip Android setup UI by command line CLI after flashing Android AOSP?

How can one skip the Android setup UI by command line CLI (e.g. via adb shell) after flashing a local build of Android AOSP on a physical device? Extra question: how can one automatically sign into a Google account via command line CLI (e.g. via adb shell) after flashing Android AOSP?

like image 441
code Avatar asked May 21 '26 17:05

code


1 Answers

For the first part of your question where you want to disable the setup wizard, you can try the following commands and then reboot your device:

adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1
like image 65
Rajat Gupta Avatar answered May 23 '26 21:05

Rajat Gupta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!