Bootloop installing xposed framework - Xiaomi Mi 5 Questions & Answers

Hey guys,
I have installed the xposed installer from the magisk downloads, and then i have rebooted the phone. Now the phone is in a bootloop and i can't delete the installer from the magisk app.
I have tried to install the xposed sdk26 from the twrp, but that doesn't work. I have downloaded the xposed uninstaller too and flash it, but that doesn't work either. When is at the loading screen, after a while, the phone reboots and gets into the twrp.
I don't know what to do, please help

Backup your data to a PC from TWRP, clean everything and flash again.

rmrbpt said:
Backup your data to a PC from TWRP, clean everything and flash again.
Click to expand...
Click to collapse
I have tried and the same happens...

Try with miflash using the option to erase everything (but not the option to lock the device!).

Related

Bootloop after flashing Xposed Framework

Hi, I'm pretty sure I flashed the correct Xposed, but then it started to bootloop and I had the option to "Download and recovery",
So now I'm downloading.
Any other solution?
Boot to recovery and flash Xposed uninstaller. If you try to install Xposed again make sure you choose correct version. You need "xposed-v85.1-sdk23-arm64-custom-build-by-wanam-20160530".
yiftach said:
Hi, I'm pretty sure I flashed the correct Xposed, but then it started to bootloop and I had the option to "Download and recovery",
So now I'm downloading.
Any other solution?
Click to expand...
Click to collapse
I bought this phone yesterday. I could never start using a device unless I unlock bootloader, root and install xposed. I managed to unlock bootloader, flashed TWRP and also flashed systemless SuperSu (2.74-2). Also, I installed systemless xposed (i have shared link below). Phone took sometime and making me to think it is stuck in bootloader. I switched off and start in TWRP. Wiped art/dalvik and cache. Restarted normally. Everything worked fine.
Someone suggested here how to install official xposed (http://newesc.com/es/instalar-xposed-huawei-p9/).
But I installed systemless xposed (see here: http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268) which works fine without the need of any changes in /system/emui/base/prop/local.pro with this line "ro.config.hwtheme=1" as mentioned in the link I shared above.
Thank you guys!

Uninstalling Xposed stuck

Hi, I have an HTC one m7 with stock firmware, 5.0.2.
I have installed superSU, and afterwards xposed. All working, modules too, but now I need to uninstall it because come apps won't work. I downloaded the uninstaller zip from the xposed thread, installed it via twrp, but when I reboot the phone it gets stuck on booting with the HTC one logo.
I removed all the modules before uninstalling xposed.
When I install again xposed the phone boots normally.
How can I solve this?
Davicode said:
Hi, I have an HTC one m7 with stock firmware, 5.0.2.
I have installed superSU, and afterwards xposed. All working, modules too, but now I need to uninstall it because come apps won't work. I downloaded the uninstaller zip from the xposed thread, installed it via twrp, but when I reboot the phone it gets stuck on booting with the HTC one logo.
I removed all the modules before uninstalling xposed.
When I install again xposed the phone boots normally.
How can I solve this?
Click to expand...
Click to collapse
Did you disable the framwork in the xposed installer app before you tried to uninstall it?
In on marshmallow, anyone can't do it, can't even press remove
Davicode said:
Hi, I have an HTC one m7 with stock firmware, 5.0.2.
I have installed superSU, and afterwards xposed. All working, modules too, but now I need to uninstall it because come apps won't work. I downloaded the uninstaller zip from the xposed thread, installed it via twrp, but when I reboot the phone it gets stuck on booting with the HTC one logo.
I removed all the modules before uninstalling xposed.
When I install again xposed the phone boots normally.
How can I solve this?
Click to expand...
Click to collapse
Restore your /system nandroid backup you (should) have made before flashing Xposed. Worst case, you'll have to re-flash your rom.
Solved it by wiping dalvik, thank you!

Flashing Magisk modules crashes phone

Any time I flash a new module in Magisk, when the phone reboots everything crashes (i.e. Google has stopped working, system UI has stopped working, clock has stopped working, etc etc)
Everything will crash and then my phone will constantly reboot. I don't know how I fixed it but I got Viper and YouTube Vanced to work, but anytime I try flashing a new module, it will break Viper and start crashing and restarting again until I hard reset or just wait it out.
Any suggestions? I know that I flashed whatever TWRP is in the 11g root tutorial but there was a new TWRP made for the LG G6. Maybe if I flashed that one or does that not have anything to do with this?
Any suggestions would be appreciated
Magisk is up to date.
roger.hernandez91 said:
Any time I flash a new module in Magisk, when the phone reboots everything crashes (i.e. Google has stopped working, system UI has stopped working, clock has stopped working, etc etc)
Everything will crash and then my phone will constantly reboot. I don't know how I fixed it but I got Viper and YouTube Vanced to work, but anytime I try flashing a new module, it will break Viper and start crashing and restarting again until I hard reset or just wait it out.
Any suggestions? I know that I flashed whatever TWRP is in the 11g root tutorial but there was a new TWRP made for the LG G6. Maybe if I flashed that one or does that not have anything to do with this?
Any suggestions would be appreciated
Magisk is up to date.
Click to expand...
Click to collapse
What modules are you using? I've had it happen quite a bit for me but I figured out what the issue was.
beany23 said:
What modules are you using? I've had it happen quite a bit for me but I figured out what the issue was.
Click to expand...
Click to collapse
It happens with any module, but I've successfully got several installed and working such as viper, Greenify, YouTube vanced, Emoji one, Google product sans font, and Magisk Google DNS
What was the issue and how'd you fix it?
roger.hernandez91 said:
It happens with any module, but I've successfully got several installed and working such as viper, Greenify, YouTube vanced, Emoji one, Google product sans font, and Magisk Google DNS
What was the issue and how'd you fix it?
Click to expand...
Click to collapse
Easy. Uninstall magisk wipe cache 3 times then reboot recovery again then flash magisk 16.4 beta should fix your issue. Remember to download magisk 16.4 first then follow the above steps.
beany23 said:
Easy. Uninstall magisk wipe cache 3 times then reboot recovery again then flash magisk 16.4 beta should fix your issue. Remember to download magisk 16.4 first then follow the above steps.
Click to expand...
Click to collapse
When you say wipe cache 3 times, what do you mean by that? Go into recovery and wipe and keep rebooting three times?
Also, what method did you use to get into recovery each time and to flash Magisk?
roger.hernandez91 said:
When you say wipe cache 3 times, what do you mean by that? Go into recovery and wipe and keep rebooting three times?
Also, what method did you use to get into recovery each time and to flash Magisk?
Click to expand...
Click to collapse
No, you just need to go into recovery and wipe cache 3 times back to back to back. You can use the file manager in TWRP to check the cache after wiping to see if its clear. If it is, reboot to recovery and flash Magisk. If you have anymore issues let me know.
​
Metabolic12 said:
No, you just need to go into recovery and wipe cache 3 times back to back to back. You can use the file manager in TWRP to check the cache after wiping to see if its clear. If it is, reboot to recovery and flash Magisk. If you have anymore issues let me know.
Click to expand...
Click to collapse
Yes quick question, did you use Magisk uninstaller package from thread or just uninstall Magisk directly from the app?
Confused on how to uninstall Magisk without encrypting my device or loosing my boot or messing anything like that up
Also, wipe Dalvik cache and cache or just cache only?
Okay I guess I'm going to:
Boot into laf TWRP recovery
Flash Magisk uninstall zip
Wipe cache three times
Reboot into recovery
Flash Magisk v16.4 beta
Reboot system
Profit.... hopefully
Metabolic12 said:
No, you just need to go into recovery and wipe cache 3 times back to back to back. You can use the file manager in TWRP to check the cache after wiping to see if its clear. If it is, reboot to recovery and flash Magisk. If you have anymore issues let me know.
Click to expand...
Click to collapse
Great well I can't uninstall Magisk from recovery
Still getting error that TWRP can't mount /system
Can anybody help?
roger.hernandez91 said:
Great well I can't uninstall Magisk from recovery
Still getting error that TWRP can't mount /system
Can anybody help?
Click to expand...
Click to collapse
Sure you can. Magisk doesn't root the system so all of the files you need to discard are in /data and /cache. You need a copy of the stock kernel in image format, if Magisk didn't make a back up. I gotta say bro, I haven't uninstalled Magisk or tried, so I don't know what's going to happen when you do this.
If your phone force encrypts after flashing the kernel, you may be screwed and have to format data and lose everything. This could possibly also brick your device beyond help. Since you can't mount your system in TWRP, if for some reason it fails encryption or DM-Verify into a bootloop, from the LAF or recocery modification, it won't boot. At least, not until you find a way to mount the system, which I think will be near impossible.
With that being said, if you decide to move forward you can either wipe data and cache or remove the files one by one. Your choice.
Well I gotta say, I've had a hell of a day fixing this thing. System partition got wiped somehow and had to fight to get my backup restored, thankfully I had one. Basically came back from the dead. Ended up wiping my entire internal storage to get TWRP to shut the hell up about decrypting, flashed new recovery again, flashed Magisk v16.4 beta, and now I'm good to go. Didn't have any of the issues mentioned above. And now I'm not having /system mounting problems or the force quits upon flashing a new mod. Everything seems good.
Appreciate y'all. You guys are awesome for taking the time to help.
roger.hernandez91 said:
Okay I guess I'm going to:
Boot into laf TWRP recovery
Flash Magisk uninstall zip
Wipe cache three times
Reboot into recovery
Flash Magisk v16.4 beta
Reboot system
Profit.... hopefully
Click to expand...
Click to collapse
Don't do it from laf twrp flash the latest h872 recovery and do the steps u posted
beany23 said:
Don't do it from laf twrp flash the latest h872 recovery and do the steps u posted
Click to expand...
Click to collapse
Nah man I actually did have to do it from laf recovery because it wasn't working from regular recovery. Had to flash it from both and also formatted data and I was good to go. I got it all figured out.

Unable to install UNNIMOD from TWRP, error 1

I've tried to install Magisk and I had no problems at first. I downloaded Magisk Module and tried to install some modules, I rebooted my phone and it was stuck on a bootloop. Luckily I had the rom availabe so installed it using hrupdater.zip. Everything was back to normal without magisk installed, I assume a module is causing the bootloop, so I did some investigating and found the unimod module, I tried too flash it from twrp and it keeps ending with error 1. The same thing happens with magisk uninstaller and mount magisk. I'm also unable to wipe cache but I dont know if that's a seperate issue
Please post the recovery log showing those errors. Impossible to definitely say what's wrong otherwise.

Magisk bootloop from xposed

I have LLD-L31(C432) and a while ago I went through the process of unlocking bootloader and flashing magisk. I did this without custom recovery as it caused problems but it worked and I had magisk and root fully working. However, I think I tried to install a version of xposed that was incompatible with my os (EMUI 9). This caused bootloop every time I tried to boot into recovery(system with magisk).
I can still use the device but some apps can still see xposed and won't work. I can try to boot into the system with magisk but it loops - maybe because of xposed.
I have seen that you can flash xposed uninstaller, will this wipe data and will it work? Or is there a way to remove it and get magisk back without loss of data.
Alternatively (if this option results in a more stable magisk installation),could I flash twrp to recovery and then flash magisk to my system boot to have magisk permanently? and will this method wipe data?
Edit: I flashed twrp to recovery but when I boot to it, it just loads fastboot with reason bootloader 1 any help?
Thanks

Categories

Resources