Might be off-topic for devs, but thought it would be useful if you happen to own a MIUI device and the recent MIUI System UI Plugin update also got your phone into boot loop
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 boot loop
As you can't control stuff on your phone while it's on boot loop (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 boot looping.
When your phone is in turned on state for a while,
open a terminal in your pc, run
adb devices
and confirm your device is there
if it's 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 boot looping
you can uninstall it using ADB by running following
adb uninstall miui.systemui.plugin
miui.systemui.plugin
is the package name of the app
Congrats! Its fixed now.
USB Debugging wasn't turned on before boot loop
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 boot loop 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)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.