Magisk bootloop. Messed up my phone - Magisk

Hello guys.
I have a Zenfone 2 Z00A running latest LOs14.1 Nightly
Yesterday I installed three modules for Magisk. Night light and Android WhatsApp emoji.
Night light is useless so I uninstalled after trying it. So far so good.
I activated the WhatsApp emojis and rebooted the phone but the phone never booted again, it entered bootloop...
First thing I did was uninstalling Magisk through TWRP. It also bootlooped. So I installed magisk and the Magisk Module manager and
tried deactivating the module viaTWRP but it still bootloops.
I extracted the boot.img out of the latest lineage ROM and flashed it but it also didn't work. Dirty flashing the latest build of lineage doesn't work... I think it is because it runs a Magisk script at the end of flashing. I don't want this script to run
What I did was run the uninstall .zip and dirty flash the ROM again. But now I can't dirty flash because of TWRP Error 7
I'm going crazy, nothing works... It just bootloops.
Please help

Related

a question about flashing magisk

I have the latest hydrogen OS and unlocked bootloader , and i want to root my phone but i just wants to know if theres any other files I need to flash other than magisk.zip
Nope, just flash the latest magisk zip and it's done. But yes, you also have to install the Magisk Manager when you boot up after flashing the zip.
I installed the latest one that came out today and my phone took a crap! Phone became very laggy and would freeze and sometimes not even detect root. I had to restore my phone back to last weeks version.
equlizer said:
I installed the latest one that came out today and my phone took a crap! Phone became very laggy and would freeze and sometimes not even detect root. I had to restore my phone back to last weeks version.
Click to expand...
Click to collapse
Hm... Absolutely no issues on my OP3T, OOS 4.1.6 and Franco Kernel r25 with Magisk v13.1. Maybe you have a module causing issues (long shot, I know)?
No issues here with Open Beta 10, Stock Kernel, Magisk 13.1 and Manager 5.0.4.
Root is working, passes SafetyNet with all modules activated and properly hide root from my Banking App. All good!
Akhayev said:
I have the latest hydrogen OS and unlocked bootloader , and i want to root my phone but i just wants to know if theres any other files I need to flash other than magisk.zip
Click to expand...
Click to collapse
Just Simple flash the Magisk v13.1 and install the latest magisk manager v5.0.4.
I feel you should flash magisk immediately, while flashing the ROM through custom recovery. Install magisk manager after first boot.
You can do a dirty flash without formatting anything to get rooted.
Sent from my OnePlus 3T using Tapatalk

Help Please!

Hello. I'm stuck in a bootloop and need help. I have android 7.1.1 with the October security update and the latest franco kernel. Bootloader is unlocked. Here is what happened.
Flashed TWRP and rooted with magisk. Attempted to install xposed SDK25 module through magisk. Restarted phone and xposed did not show up in magisk as installed, all my other modules were also gone.
I'm now thinking that magisk is somehow broken so I attempt to uninstall it through the manager. Phone reboots and is now in a bootloop.
What should I do?
A new install of course.
Press vol down and on/off at the same time.
Go to Recovery.
In TWRP Wipe system/data/cache.
Install your rom and gapps again and reboot system.
See if this solves your boot loop.
If it boot correctly, then install your custom apps.
@ReneZeiss: He doesn't need to wipe data or cache to resolve this. Doing so would be overkill. All he needs to do is reinstall the ROM, because from his description it sounds like his kernel ramdisk became corrupted when Magisk tried restoring the untouched version.
@sandman96: You don't say whether you're running the stable version of Magisk (14.0) or are on the beta channel (14.6). If the problem occurred on the beta channel, switch to the stable channel. If on the stable channel, try the beta channel. Also, after reinstalling your ROM, but before installing Magisk, take a nandroid backup.
Strephon Alkhalikoi said:
@ReneZeiss: He doesn't need to wipe data or cache to resolve this. Doing so would be overkill. All he needs to do is reinstall the ROM, because from his description it sounds like his kernel ramdisk became corrupted when Magisk tried restoring the untouched version.
@sandman96: You don't say whether you're running the stable version of Magisk (14.0) or are on the beta channel (14.6). If the problem occurred on the beta channel, switch to the stable channel. If on the stable channel, try the beta channel. Also, after reinstalling your ROM, but before installing Magisk, take a nandroid backup.
Click to expand...
Click to collapse
Thanks for the replies. I ended up reflashing from a factory image. Was able to restore all my data except for text messages but I'm working on getting those from a twrp backup.
I had the stable version of magisk installed. I'm just not going to try the xposed framework again lol.
I find Xposed to be more trouble than it's worth. I only used it on my Dell Streak as there were some patches for Android 2.3.x that were never integrated into the ROMs I produced for that device. I briefly tried it on my Galaxy S4 and promptly uninstalled it. My N6 never had it.
Xposed fans don't like me much, mostly because I wish it would go die in a fire.
The few times I tried installing Xposed thru the Magisk Repo caused Magisk to screw up for me too. Solution is just install the Xposed app then flash Xposed in TWRP lol. For some reason the Repo install method doesn't seem to work often if at all, least for me lol. Flashing in TWRP like you would if you had SuperSU has worked 100% of the time for me :-/
::Edit:: oh yea lol, if you take anything from the experience take the lesson learned of why TWRP makes it extremely simple to make a complete backup of everything disable compression of backups and that minute or two of extra wait time is worth it when something happens, since it's not a matter of IF, only a matter of WHEN lol.

Magisk install on Pie

I have installed the latest pie stable on my op 3t. However it would never boot when installing with Magisk.
So for now I have installed it without Magisk and got it to work ok. However now I'm having same problem installing Magisk.
I can install and uninstall it from twrp latest, however when it's installed, it is just stuck on the initial screen with oneplus logo. And never makes it to the circle/dots screen.
I tried using 19. 2, 19.0 Magisk and 18.1.
Is there any logs I can pull or did anyone else have this issue?
Are there any other safe root solutions to try instead?
Any help would be appreciated
anykiel91 said:
I have installed the latest pie stable on my op 3t. However it would never boot when installing with Magisk.
So for now I have installed it without Magisk and got it to work ok. However now I'm having same problem installing Magisk.
I can install and uninstall it from twrp latest, however when it's installed, it is just stuck on the initial screen with oneplus logo. And never makes it to the circle/dots screen.
I tried using 19. 2, 19.0 Magisk and 18.1.
Is there any logs I can pull or did anyone else have this issue?
Are there any other safe root solutions to try instead?
Any help would be appreciated
Click to expand...
Click to collapse
I always flash Magisk BEFORE the first boot. Also no custom kernels, especially not AFTER Magisk flash.
Is this what you did as well?
I couldn't get it to boot up before firstboot. So I went with normal nonroot flash so I could use the phone.
I figured it would not matter if I installed Magisk later.
I might try to reflash everything over again
ast00 said:
I always flash Magisk BEFORE the first boot. Also no custom kernels, especially not AFTER Magisk flash.
Is this what you did as well?
Click to expand...
Click to collapse
topjohnwu says that you flash custom kernel after flashing Magisk
Immortalis said:
topjohnwu says that you flash custom kernel after flashing Magisk
Click to expand...
Click to collapse
Never had this problem until today. So I did some testing.
Magisk 19.1 causes it to get stuck at the OP logo.
I flashed uninstaller, reflashed the ROM, flashed Magisk 19.2 and it worked.
Are you using the 19.2 zip?
ast00 said:
Never had this problem until today. So I did some testing.
Magisk 19.1 causes it to get stuck at the OP logo.
I flashed uninstaller, reflashed the ROM, flashed Magisk 19.2 and it worked.
Are you using the 19.2 zip?
Click to expand...
Click to collapse
Yes, I had problems with 19.1 too, that the phone sometimes (if not always) would boot itself into fastboot mode instead of system, so at that time I moved temporarily to canary builds
I used this zip instead and it worked. Not sure what's different but I'm good now
https://forum.xda-developers.com/oneplus-3t/development/rom-theone3tos-v1-0-t3730932

Magisk doesn't root :(

I use Magisk since years and my devices got always rooted after its installation, but today it's differenti ad you may see in the attached pic...
I've G8441 and I installed Lineage 16, I'd even like to have root access!
Waiting for your advices to solve my problem!
You need to give more details than that. What have you done and what was the result?
Take a look here:
https://www.didgeridoohan.com/magisk/MagiskHelp
I installed Magisk via TWRP, I can't provide any log but installation ended in the good way (no error) but Magisk is not installed.
I flashed Magisk before ROM and gapps, I rebooted after that and then I installed the rest (ROM and gapps).
That's still quite slim, information-wise...
But, if you flashed your ROM after Magisk there's a good chance that Magisk got overwritten with the stock ROM boot image. And if the LOS addon.d glitched (there's been issues with v2), you'd end up with no root.
Magisk goes last when installing.
Didgeridoohan said:
That's still quite slim, information-wise...
But, if you flashed your ROM after Magisk there's a good chance that Magisk got overwritten with the stock ROM boot image. And if the LOS addon.d glitched (there's been issues with v2), you'd end up with no root.
Magisk goes last when installing.
Click to expand...
Click to collapse
Knowing that Magisk needs to be the last during installation is good! Gotta try this!
Many thanks Didgeridoohan!

K20 Pro China ROM Magisk Bootloop Problem

Read a similar problem from this thread https://forum.xda-developers.com/k20-pro/how-to/redmi-k20-pro-firmware-10-3-8-0-9-6-13-t3939647
I'm already unlocked and I was gonna stick with the China ROM for now, so I flashed Magisk. After an hour I noticed my root access WAS GONE. So tried restarting it and... bootloop! Magisk uninstaller fixed this BUT I want that Magisk. So I kept retrying... Fastboot, flash TWRP(another issue is TWRP wont stick no matter what it will be replaced by stock recovery), Install magisk, bootloop... Rinse and repeat.
I tried 2 methods installing Magisk. TWRP and the Boot Image Patching using boot.img from latest China ROM miui_RAPHAEL_V10.3.12.0.PFKCNXM_75ea367433_9.0.zip
Im running out of ideas, can anyone here help and share how they fixed it? Thanks!
you should change to Xiaomi EU rom, no issues with Magisk.
Try installing ver 18 or 18.1 magisk i had issues with ver 19 and up on pocof1. Also on pocof1 you had to install dfe (disable force encryption) and them twrp wouldnt be replaced with stock boot recovery. Also any update that comes when twrp is installed will rewrite it to stock recovery.
Wipe userdata/factory reset after installing magisk
I have the same issue and resolve it by install OrangeFox-R10.0_8-Stable & Magisk-v20.1.zip.

Categories

Resources