• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Phone stuck at boot after uninstalling Magisk from app

Search This thread

Coldz0

Member
Oct 24, 2016
23
1
I installed Magisk via twrp(Temp version). and installed a bunch of modules.
Then I decided to complexly uninstall Magisk. I've done that from the Magisk Manager apk(The Complete Uninstall button)..
The phone rebooted and stuck into the phone logo with red danger logo. which means perhaps the boot img is missing ?
I should have uninstalled the modules first, which might have caused this issue..

Now, I Flashed Magisk again via Temp twrp, but now few apps keeps crashing, even after uninstalling and installing them.
i don't have the stock bot image, otherwise i guess i can do fastboot boot boot.img to escape the boot issue after uninstalling Magisk from the app

Note : i tried flashing the uninstall zip file from twrp but that didn't work, Magisk framework still exists !

What should i do now ?
My HTC is the duel sim version (Asia) and i'm using Magisk 22 latest version
 

XDHx86

Senior Member
Nov 1, 2017
333
1
57
openuserjs.org
Samsung Galaxy Star
I did, No luck. The reason I'm trying to unRoot my device is because a mobile banking app is detecting Magisk. the app keeps crashing after i add it to the Magisk hide menu
If it is just the banking app then you can get "MagiskHide" and "Safety Net Fix" modules from magisk.
If your phone stuck in bootloop or other apps are still crashing then you have to wipe dalvik cache again.
If you still need to unroot for whatever reason then try this:
  • Try updating magisk first then clicking uninstall from magisk manager
  • Try manually flashing uninstaller.zip from TWRP
  • Try flashing the uninstaller as a module as stated in this post
  • Finally if it's still no use, then you can factory reset the device and it will remove the root
 

Coldz0

Member
Oct 24, 2016
23
1
If it is just the banking app then you can get "MagiskHide" and "Safety Net Fix" modules from magisk.
If your phone stuck in bootloop or other apps are still crashing then you have to wipe dalvik cache again.
If you still need to unroot for whatever reason then try this:
  • Try updating magisk first then clicking uninstall from magisk manager
  • Try manually flashing uninstaller.zip from TWRP
  • Try flashing the uninstaller as a module as stated in this post
  • Finally if it's still no use, then you can factory reset the device and it will remove the root

I'm on the last version of Magisk. I tried to uninstall it from the app but it stuck at the boot logo with danger logo.
I also tired to flash multiple zip files but still Magisk exists after reboot.
That leaves me with last option. Factory reset. s it safe to do it even with magisk installed ? because the boot img is patched and when i try yo restore the original boot img, it just don't exist in Magisk !
 

XDHx86

Senior Member
Nov 1, 2017
333
1
57
openuserjs.org
Samsung Galaxy Star
I'm on the last version of Magisk. I tried to uninstall it from the app but it stuck at the boot logo with danger logo.
I also tired to flash multiple zip files but still Magisk exists after reboot.
That leaves me with last option. Factory reset. s it safe to do it even with magisk installed ? because the boot img is patched and when i try yo restore the original boot img, it just don't exist in Magisk !
No if it is a patched boot image then you'll have to flash the stock one.
Factory resetting a patched image puts the device in a bootloop.
 

Coldz0

Member
Oct 24, 2016
23
1
No if it is a patched boot image then you'll have to flash the stock one.
Factory resetting a patched image puts the device in a bootloop.
Yes. This is what i was afraid of. I don't have the stock boot img. if you can help me with that, it will be great, my phone firmware (htc/imedugl_00401/htc_imgedugl 9/PQ2A. 190205.003/1088647.3)
 

XDHx86

Senior Member
Nov 1, 2017
333
1
57
openuserjs.org
Samsung Galaxy Star
Yes. This is what i was afraid of. I don't have the stock boot img. if you can help me with that, it will be great, my phone firmware (htc/imedugl_00401/htc_imgedugl 9/PQ2A. 190205.003/1088647.3)
You can find your device's ROM here (Literally first google results..):
**Disclaimer:** I don't own any of those ROMs and I don't hold responsibility whatsoever should you brick your phone or anything goes awry.
 

hoqpus

Senior Member
Jan 17, 2011
95
18
had exactly the same issue and exactly due to the same reason (I hate those pseudo-secure banking apps).

I couldn't wipe dalvik as TWRP is still not available for my P5.

But it was fixable really easy by reflashing the patched boot.img:

run command "fastboot flash boot magisk_patched.img"
 

hoqpus

Senior Member
Jan 17, 2011
95
18
btw I'm still looking for a solution for that stupid banking app.

I tried the above mentioned "magisk hide" and "safety net fix" and tried hiding the app itself but all that does not help.