Magisk 21.4 causing bootloop on LG G5(H850) - LG G5 Guides, News, & Discussion

Hi all,
So I was triying to update my Magisk through the recommended direct update method. I got a bootloop. Never had any issues with this update method, Magisk always did a splendid job.
Now my only options are:
1. Flash a custom rom (I don't have any stock Telekom roms)
2. Update Android OS to 8.0 with LG Bridge (my goal is to have a stock rooted android os, that's why I'm doing this)
3. adb reboot, flash the latest twrp recovery (at least that's working)
4. flash the latest Magisks without reboot option, just power off and then turn on. And this is stage where I get a bootloop.
I only have v19.3 saved on my HDD. Flashing that is working just fine, not causing any bootloop. However Fake GPS and Pokémon Go are not working with this version anymore. :/ So I'm kinda chess-mated here because of this Magisk bootloop.
Anyone can help me how can we fix this?

I have bootloops with all Magisk 21.x versions, so I'm stuck with 20.4. Can't you download Magisk 20.4 and install it from TWRP? I don't need SafetyNet, so I have no idea if Magisk 20.4 can still pass the check, but at least it would be newer than Magisk 19.3.

I downloaded the previous 21.0 versions from here https://droidfeats.com/download-magisk-zip/ flashed it and it's working. I also tested the previous versions. Seems like only 21.4 version is affected only, which is the latest stable.

I had the same problem: I had Magisk 21.4 and withing Magisk Manager I tried to update to v. 22.0 because I got an update prompt that asked me to do so. Trusting everything was fine I updated but I got a bootloop. I managed to recover from bootloop and get the latest version of Magisk working in my Huawei Y5 MYA-L13 (Android 6.0). For these steps, it is assumed Magisk v21.4 and Magisk v22.0 ZIP files are stored in your storage. This is the way I did it:
Manage to get into stock recovery mode.
This step was more time-consuming than it should have been... This Huawei model with the bootloader unlocked states at boot: "Press volume key up to 3 seconds to enter recovery to restore your device". It didn't... With Vol+ just restarted the device (no TWRP or stock recovery or download mode...) and pressing Vol- it loaded into the bootloop. It took me some time to guess the right way:
Plug the turned-off device into a USB cable plugged into the computer.
Wait for the device to start into "charging mode" (I made up this... I mean wait until the charging percentage appears).
Turn on the device using the Power Button.
Immediately, press and hold Vol+.
The device will reboot. Press and hold Vol -.
The device will get into the stock recovery mode (EMUI Huawei eRecovery).
Try again if this fails... After a few attempts, you'll get it.
Now the device will be visible to ADB. Verify this in a command prompt with adb devices. Mine was listed as 0123456789ABCDEF recovery.
Use the command adb reboot recovery to get into the real recovery mode. I mean TWRP. (It's still there even if it seemed to be it wasn't).
Flash the version that caused the problem. In my case, I had Magisk v21.4 initially, so I installed this same version ZIP I got from the official Magisk GitHub releases section.
Once finished the installation, if it was successful Reboot. The device should boot normally this time, having installed this version of Magisk and not the new one, of course.
Now proceed to uninstall Magisk 21.4 completely using the ZIP file provided in the above URL (step 4) with TWRP.
Follow the official installation guide in the Custom Recovery section to install Magisk 22.0 (that is: having renamed Magisk-v22.0.apk to Magisk-v22.0.zip previously, use TWRP to install it). Reboot.
Your device should boot normally. You'll find a Magisk app where you'll be able to verify latest Magisk 22.0 was successfully installed!!! DONE.
I hope my guide is useful to someone. If so, please like my post to be aware it was useful. Greetings!
TL;DR
adb reboot recovery
Install Magisk-v21-4.zip. This solves bootloop problem!
Uninstall Magisk using Magisk-uninstaller-20210117.zip
Rename Magisk-v22.0.apk to Magisk-v22.0.zip. Install it using TWRP.
Reboot. You have the latest Magisk version v22.0 installed with no bootloop!!!

I've upgraded from v20.4 to v22 yesterday using the new Magisk app, it all went smoothly.

Related

Bootloop issue

Hi,
maybe anyone can help me getting out of the bootloop(LG G6 H870)? reason, why I'm stuck in bootloop: I installed magisk v13.0 (beta) and magisk manager 5.0.3 after unlocking my bootloader to gain root access. A new version came out and I decided to installed it because it switched magisk 13 from beta to stable. I opened magisk manager, updated the manager, downloaded magisk v13.2 and flashed it through recovery (twrp). But i wasn't able to get root access (rebooted a few times, but no difference). So my next plan was to uninstall magisk using the magisk-uninstaller.zip and flashed it using twrp. After this step, my phone rebooted over and over again. The only thing i can do is to get into the factory data reset screen. While booting , i connected my phone to my laptop, but obviously its not recognized so I can't execute any adb commands.
Any suggestions how to access recovery mode or how i can leave the bootloop?
Thanks
edit:
I managed to solve my issue in following way:
1. booted into download mode like Killua96 suggested while connected to my computer
2. opened lgup on and flashed the factory image
3. rebooted into bootloader and flashed twrp image
4. copied my backup (which i made with twrp) into the BACKUP folder
5. restored my backup with twrp
6. after reboot I wasn't able to unlock my phone, because my correct unlock pattern wasn't accepted
7. booted again into twrp, navigated into /data/system and deleted locksettings.db-wall, locksettings.db-shm and locksettings.db
8. rebooted one more time and everything was fine again!
iLikeContainers said:
Hi,
maybe anyone can help me getting out of the bootloop(LG G6 H870)? reason, why I'm stuck in bootloop: I installed magisk v13.0 (beta) and magisk manager 5.0.3 after unlocking my bootloader to gain root access. A new version came out and I decided to installed it because it switched magisk 13 from beta to stable. I opened magisk manager, updated the manager, downloaded magisk v13.2 and flashed it through recovery (twrp). But i wasn't able to get root access (rebooted a few times, but no difference). So my next plan was to uninstall magisk using the magisk-uninstaller.zip and flashed it using twrp. After this step, my phone rebooted over and over again. The only thing i can do is to get into the factory data reset screen. While booting , i connected my phone to my laptop, but obviously its not recognized so I can't execute any adb commands.
Any suggestions how to access recovery mode or how i can leave the bootloop?
Thanks
Click to expand...
Click to collapse
Try to connect it to the pc while bootlooping, then turn it off by keeping pressed power and vol- when the display turns off quickly keep pressed vol+ and it should boot in download mode... Good luck
Killua96 said:
Try to connect it to the pc while bootlooping, then turn it off by keeping pressed power and vol- when the display turns off quickly keep pressed vol+ and it should boot in download mode... Good luck
Click to expand...
Click to collapse
Ok, I'm able to access the download mode now. I only have access to a laptop running Linux right now, when I'm back home, I try to flash the stock ROM using the official LG Tools! Thanks for your help!

HELP! Phone won't boot from twrp!

I've unlocked the bootloader, flashed twrp from pc and I was going to flash the supersu zip. Unfortunately, when I went in recovery (twrp) and flashed the supersu zip(installation process didn't show any problem) I clicked reboot and the phone didn't boot! It just turns off(no led or similar). I have fastboot and twrp access, I tried flashing omnirom using the adb sideload command, everything went fine but still when pressing reboot nothing happens! I even tried to boot manually (after flashing the ROM) with the physical button but still nothing(this time the led blinked twice).
I used the latest version of twrp for Athene, version 2.82 of supersu if this could help.
Edit: was it necessary to flash a different kernel, as it was a nougat rom? The rooting guide I followed didn't mention that.
Edit: Everything worked fine before Supersu, the problem must be related to Supersu but how can I solve?

Unlocked bootloader and installed twrp but magisk won't install

Alright so, I've managed to uppercut down to 13a from 1ca, unlock the bootloader, install twrp. Never installed supersu, but when the phone booted to twrp I installed the magisk zip with no errors. After booting the magisk manager never showed up as installed. Installed it manually, ran it, said magisk was not installed and device fails safetynet and pts. Downloaded the latest stable magisk, booted into twrp and tried flashing it AGAIN. This time I get an error that it can't flash it. I'm totally lost here. This is all I lack to have systemless root here. Also I can't seem to boot into recovery via button presses. I keep getting the pink triangle and despite holding vol+ and power, the device just boots normally. I have to force recovery via adb on pc.
Any ideas?
Bueller?
nemisans13 said:
Bueller?
Click to expand...
Click to collapse
It's his day off
Sent from my LG-H910 using XDA Labs
I kinda ran into a issue with magisk not installing properly and how I got around it was to get your roms boot image file and make a zip of it. Then, go to twrp and flash the boot image, then flash magisk.
nemisans13 said:
Alright so, I've managed to uppercut down to 13a from 1ca, unlock the bootloader, install twrp. Never installed supersu, but when the phone booted to twrp I installed the magisk zip with no errors. After booting the magisk manager never showed up as installed. Installed it manually, ran it, said magisk was not installed and device fails safetynet and pts. Downloaded the latest stable magisk, booted into twrp and tried flashing it AGAIN. This time I get an error that it can't flash it. I'm totally lost here. This is all I lack to have systemless root here. Also I can't seem to boot into recovery via button presses. I keep getting the pink triangle and despite holding vol+ and power, the device just boots normally. I have to force recovery via adb on pc.
Any ideas?
Click to expand...
Click to collapse
You installed the magisk zip and the magisk manager apk? Did you try flashing the rom and installing masik and the apk again?
For some reason on the lg phones it won't boot directly to twrp. when you boot to recovery and it ask if you want to reset, select yes. If you have twrp installed, it will then boot into recovery.
I have not since my bootloader is unlocked I heard u can't go back to stock on the vs995
nemisans13 said:
I have not since my bootloader is unlocked I heard u can't go back to stock on the vs995
Click to expand...
Click to collapse
Nothing i suggested requires stock.
With the phone off
press and hold volume down
press the power button and hold until you see the lg logo
while holding the volume down, release only the power button and press it again and hold
if you did it correctly, you should be in recovery
it will ask if you are sure if you want to reset your phone a few times
select yes, and yes
If you have twrp installed it should boot up in twrp
Or
If you already have the bootloader unlocked, make sure that developer options are enabled
go and enable adb debugging
connect usb cable
use adb to boot into fastboot
use fastboot to boot into twrp
From twrp you can flash the rom zip, magisk zip, and then install the apk after the phone rom boots up
which rom are you using? which magisk zip? which magiskmanager.apk?

No TWRP, Bootloop after installing EdXposed Module

I am running the latest OOS 10.0.1 Stable on my OP6T
I installed the Riru-Core module from magisk manager, rebooted perfectly fine. Afterwards installed the EdXposed module. Now I am stuck in a bootloop. Is there a way to uninstall the module without having TWRP? or factory resetting.
edit: I am unable to boot into fastboot or recovery
Please help me out
Thank you
Press volume up + power button to force reboot then press volume down + power to get into stock recovery. Then you can boot to fastboot through stock recovery...
2 Options ,
1. Try flashing stock boot.img on fastboot to remove Root so EdExposed won't work. (Recommended)
Then you'll have the option to remove EdExposed modules.
2. msmdownloadtool , But it will REMOVE all your data and will put your phone on Android 9.

Bootloop after updating magisk

I have an asus zenfone 2 laser running android lollipop. I have turned the USB debugging on for my laptop.
I used to install kingoroot for rooting my phone, and it works fine.
For no particular reasons, i switched over to magisk and uninstalled the kingoroot apps.
The installation was successful, then the app asked me to update it via the app. I updated it, and then it asked me to do reboot.
I rebooted............and i got stuck in bootloop.
I got into the recovery mode and factory resetted the phone but i am still stuck with the bootloop.
I tried to install magisk uninstaller zip from sd card but the installation was unsuccessful
I tried to install the latest firmware from ASUS's official website from SD card and was unsuccessful
I tried to flash the latest TWRP to my device via flashboot. Since many tutorials out there have a TWRP Recovery mode to fix the problem which i don't hace at the time. i used "fastboot flash recovery TWRP.img" command and it said finish.
But it lead me to a new problem. I cannot use "power button+vol.down" key combination to access stock recovery mode. And the TWRP recovery mode doesn't come out as well.
One thing that i can use is the "power button+vol.up" key to access fastboot mode..
I stopped messing around with my devices for now so that i don't make the problems worse. I hope someone can help me out with this problem
BIG THANKS

Resources