简体   繁体   中英

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 (eg 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 (eg via adb shell) after flashing Android AOSP?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM