How to fix UI crash in Android 10 (Q) Custom ROMs

How to fix UI crash in Android 10 (Q) Custom ROMs

Rahul Sarawagi

Q) Why does this occur?
This happens when your Device gets an sudden unexpected reboot due to which the setup wizard gets triggered

Q) What happens if the Setup Wizard is triggered?

1) Mobile data cannot be turned on
2) Notification won't be shown
3) Status bar can't be scrolled down
4) Developers option won't be available
5) Home and recent keys won't work
6) The search option in settings will be Disabled
7) Most of the settings like Display Size,Font Size, Device theme, etc gets changed

Q) How to fix this?

1) Make sure you are connected to the internet (WiFi) to download Terminal Emulator app from here OR you have this apk/app already. Also root access is needed for this method. So, flash magisk and root if you haven't done already.

2) Open the Terminal Emulator app, type "su" and enter then provide the root access

3) Enter the Following commands separately

settings put global setup_wizard_has_run 1

settings put secure user_setup_complete 1

settings put global device_provisioned 1

4) Then enter exit (twice)

5) Reboot the device

This will fix the setup wizard triggered (SWT) bug and UI crash caused by this bug.

Report Page