I am looking for a way to use ADB to trigger Setup Wizard at next boot. I know I can run the following command and get it to pop up. However, I can't figure out what triggers it to start at boot.
adb shell am start -a android.intent.action.MAIN -n com.google.android.setupwizard/.SetupWizardTestActivity
The phone I am currently using is stock and I would like to keep it that way.
I've read the question: how to re-enable first time setup at next boot?
RECEIVE_BOOT_COMPLETED
permission and setting the global flagSETUP_WIZARD_HAS_RUN
... though runningadb shell settings put global setup_wizard_has_run 0
and rebooting didn't solve this...