Broken navigation bar, lock screen or status bar after an update? Here is a fix.

There is a rare bug that happened to a handful of users after an OTA update. We don’t know why this happens, but when it happens it can break your navigation bar, lock screen, and status bar. You can’t use your home or recent buttons, view your lock screen, or scroll down to see your notifications. It’s incredibly annoying and personally it has caused me to do a factory reset in the past. However, there is a workaround you can try, and that involves reconfiguring your phone – or at least making your phone believe you’ve done it.

Video of the bug in action


How to Fix Broken UI After OTA Update

So while we still don’t know why exactly this appears to be a bug, we know it can be fixed by completing the Android setup wizard again. What is happening is that the settings stored by the Android setup wizard to notify the system that the setup process is complete have been reset. After the first boot, these settings should never change, however, it looks like they can be reset randomly after an OTA update.

There are potentially two ways to solve this problem. If you have already unlocked developer options and have USB debugging enabled, you will be able to use an adb method which is a guaranteed solution. If you have not enabled USB debugging and cannot access it, you will need to try another method that is not guaranteed to work.

ADB method

Open a command prompt or terminal window and enter the following:

adb shell
settings put global device_provisioned 1

Then wait for the command to complete. It took me about 10 seconds.

settings put secure user_setup_complete 1

And now you are done! Once you have completed these commands, you should immediately be able to control your device again.

You can also run these commands from a terminal application on your device, such as Termux. Make sure your device is rooted with Magisk or SuperSU if you choose to do it that way, and instead of typing “adb shell” type “su”.

Activity launch method

If you haven’t already configured adb, the process is trickier. Download an app called Activity Launcher.

Open it and tap up to see all the activities on your phone. Scroll down and search for “Setup Assistant”. Go through and tap on each of the activities listed under Setup Assistant to see if that will start the setup process for you again. Hopefully one of them will work. Otherwise, your last remaining option is a factory reset.


Explanation

It just changes the values ​​of the secure settings that tell Android that you have completed the initial setup process. You might be wondering why if the device thinks you have not completed the setup or why the setup app is not launched. What happens is the device denies access to UI elements, which would allow a user to bypass the setup process. Normally this is a good thing, however, in this case it denies you access to your device even if you have already configured everything. When you are done with the installation process, these two parameters that we changed in the above “adb method” are replaced with 1, but luckily by making this change ourselves we can work around this silly bug.

Comments are closed.