We are running Android 9.0 on IMX8mini
By default, the screen shows Launcher GUI. We want to enable the SetupWizard(Provision.apk).
I checked via adb shell, and found it existed in /system/priv-app/Provision/Provision.apk on the device, and I found the default value in SettingsProvider is:
<bool name="def_device_provisioned">false</bool>
It seems it is correct. How can I let the Android show the Setup Wizard?
Hi @weidong_sun , I have a similar issue but with the Android 11 build. I created a build and flushed it on the board but it's not showing any setup wizard when I first boot the device. I also tried setting up the user_setup_complete and device_provisioned to 0 and restarted the device but no wizard still.
Please let me know if what needs to be done in order to show the setup wizard.
Thanks,
Jake
Hi,
After SetupWizard is completed, the values of the following two settings will be changed from 0 to 1.
USER_SETUP_COMPLETE
DEVICE_PROVISIONED
Then the next time you boot, as long as USER_SETUP_COMPLETE is not 0, it will not enter SetupWizard again.
So use adb to change these two values to 1 and restart SetupWizard.
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1
Hope this is helpful to you.
Have a nice day!
B.R,
weidong