DEV Community

Arnav Kumar
Arnav Kumar

Posted on

Fix MIUI Device Bootlooping due to recent MIUI System UI Plugin Update (Without Data Wipe)

Might be off-topic for devs, but thought it would be useful if you happens to own a MIUI device and the recent MIUI System UI Plugin update also got your phone into bootloop

News Here if you are wondering

Many would suggest that the only fix is to format your phone and that would also wipe all of your data.

But obviously not the only way to fix it *(certain conditions applied)

If you had USB Debugging turned on before bootloop

As you can't control stuff on your phone while its on bootloop (you can access the recovery settings though). what you can do is use adb (android debug bridge) to control your phone via your pc, or your other phone via termux-adb (not covered in this article)

if you had left USB Debugging in developer options turned on (like me), you're in luck. adb auto connects when you plug your phone to host device, and adb still works when your phone is bootlooping.

when your phone is in turned on state for a while,
open a terminal in your pc, run

adb devices
Enter fullscreen mode Exit fullscreen mode

and confirm your device is there

if its there, you're good to go

now the root cause was the System UI Plugin update, so you just need to uninstall its updates, and it'd fix your bootlooping

you can uninstall it using adb by running following

adb uninstall miui.systemui.plugin
Enter fullscreen mode Exit fullscreen mode

miui.systemui.plugin is the package name of the app

Congrats! its fixed now.

USB Debugging wasn't turned on before bootloop

For users who hadn't enabled usb debugging before, i literally haven't explored much, my issue was fixed using adb so i wanted to mention it as possible solution that would save your data for getting deleted.

I haven't explored tools like MI Flash Tool or MI Assistant, if they allow running adb commands, you could do the same as above there, as mentioned before you can access the recovery menu even when in a bootloop so you can use those tools.

If you know whether they support such thing, you can mention in comments, i will mention it in the post

Again, Thanks for reading!
hope it presented a possible solution for your problem

See you in the next post πŸ˜‰

Top comments (0)