Stuck in loop after Magisk update. No recovery, no ADB - AT&T LG G5 Questions & Answers

Hello. H830 owner, unlocked, rooted with Magisk, TWRP installed with 30C stock ROM. Today I got a notification to upgrade the Magisk Manager app, which I did. After installing and starting MM, it showed a Magisk update available - I clicked install and specified direct install (like I have many times before). The phone rebooted and I believe got to the T-Mobile splash screen then went into a loop with the apostophe triangle page "Your device software cannot be checked for corruption. Lock the bootloader"...
The only two things I can do are: 1) Pull the battery to power it off, and 2) hold down vol up +vol dn+power to get the IMEI barcode screen. Normal methods of booting into recovery do nothing. Attached it to PC and ran ADB devices and nothing shows up, so trying to run ADB reboot or ADB reboot bootloader yields "error: device '(null)' not found".
This seems bad. I have multipled devices rooted and with custom ROMs and recoveries and I've never seen anything like this. Since this phone is running stock Oreo, I never really need to do much other than perhaps an occasional TWRP backup. The phone has been pretty much flawless, until this Magisk upgrade attempt.
Anyone have any insights or solutions? I don't know what to try next.

did you solved the problem?

Related

Z2 (D6503) bootloop after flashing Cyanogen rom

Hi Im new to the forum but I am finding it to be a massive resource for all things technical android. I am also new to rooting android but am technically savvy, (10 years in IT will do that). Initially it went just fine, even if a speed bump here or there. I got my Sony Z2 (starting BL unlocked w most recent Sony stock .291 firmware) rooted and flashed with TWRP and SuperSU (UPDATE-SuperSU-v2.76-20160630161323.zip) using rocker00's guide. I was then able to successfully flash ParanoidAndroid's latest (pa_sirius-6.0.3-20160809-signed.zip) and Gapps (A-GAPPS+6.0.1_14.05.2016_v5.2.zip) using TWRP recovery. I got a minor bootloop trying to get PA running, but re-flashing seemed to clear it up. It seemed to work fine although I couldn't figure out how to get the pie controls or the halo notifications to work. Without those things i couldn't see the point, so I decided to try Cyanogen (cm-12.1-20161016-NIGHTLY-sirius.zip). Apparently this uses a different recovery (CWM), I was a little worried but went for it anyway. It seemed to be fine after the first reboot. I rooted fine (same SuperSU as before) and started installing apps via Google restore. But after the next reboot, it started bootlooping. First it would cycle between the Sony screen and a blank screen, But after trying a bunch of things (I'll detail below), it just hangs at the Sony screen indefinitely.
So, what I've tried till now to fix it is:
1) First I tried to reinstall TWRP using the tool from rocker00's post with the phone in fastboot mode. The flash went without error, but did not fix the problem. I have not been able to get into recovery since the bootloop. In the process I also did a fastboot -w, which also seemed to have relatively no effect, although I would get the android robot with the blue progress once before it reboot into the bootloop.
2) With the phone in flashmode I tried flashtooling the kernel again with the same from rocker00's post (D6503_23.5.A.0.575_kernel.ftf). No effect. I also tried flashing recovery a few more times using the script from his post to no effect (i think the phone needs to be booted for this tool to work).
3) I've tried all the relevant commands from this page and this page, hoping to eradicate whatever errant code is screwing with my phone. Since fastboot seems to be the only way to interact with my phone. I tried:
Code:
fastboot flash recovery /path/to/twrp-3.0.2-0-sirius.img
fastboot -w
fastboot update /path/to/pa_sirius-6.0.3-20160809-signed.zip
the attempt to flash PA through fastboot errored with a message about not having "android-info.txt".
I also desperately tried:
Code:
fastboot erase system
fastboot erase data
fastboot erase cache
the one about data errored. the others seemed fine, but didn't change the situation.
This guide was informative yet quite useless to me, since I definitely don't want to start scripting my phone 2 days after starting this stuff. I've also scoured this forum and others for similar situations, which I've found but they all seemed to get resolved by either doing stuff I've already tried or from having a completely irrelevant problem to my own..
I'm really scratching my head here because it is all stock TWRP and Android or should be by now. adb commands aren't connecting due to stock android not having USB debugging enabled, and without being able to boot into the settings I can do nothing to change that. So all I have is fastboot. I also have a TWRP backup image I made before installing PA but till now Ive seen no way to restore it without booting into recovery.
Any help please!!!! This can't be bricked!!
epeace said:
Hi Im new to the forum but I am finding it to be a massive resource for all things technical android. I am also new to rooting android but am technically savvy, (10 years in IT will do that). Initially it went just fine, even if a speed bump here or there. I got my Sony Z2 rooted and flashed with TWRP (twrp-3.0.2-0-sirius.img) and SuperSU (UPDATE-SuperSU-v2.76-20160630161323.zip) using this guide. I was then able to successfully flash ParanoidAndroid's latest (pa_sirius-6.0.3-20160809-signed.zip) using TWRP recovery. I got a minor bootloop trying to get PA running, but re-flashing seemed to clear it up. It seemed to work fine although I couldn't figure out how to get the pie controls or the halo notifications to work. Without those things i couldn't see the point, so I decided to try Cyanogen. Apparently this uses a different recovery (CWM), I was a little worried but went for it anyway. It seemed to be fine after the first reboot. I started installing apps, rooted fine. But after the next reboot, it started bootlooping. First it would cycle between the Sony screen and a blank screen, But after trying a bunch of things (I'll detail below), it just hangs at the Sony screen indefinitely.
So, what I've tried till now to fix it is:
1) First I tried to reinstall TWRP. The flash went without error, but did not fix the problem. I have not been able to get into recovery since the bootloop. In the process I also did a fastboot -w, which also seemed to have relatively no effect.
2) I tried flashtooling the kernel again with the same from rocker00's post (D6503_23.5.A.0.575_kernel.ftf). No effect. I also tried flashing recovery a few more times using the script from his post to no effect.
3) I've tried all the commands from this page and this page, hoping to eradicate whatever errant code is screwing with my phone. Since fastboot seems to be the only way to interact with my phone. I tried:
Code:
fastboot flash recovery /path/to/twrp-3.0.2-0-sirius.img
fastboot -w
fastboot update /path/to/pa_sirius-6.0.3-20160809-signed.zip
the attempt to flash PA through fastboot errored with a message about not having "android-info.txt".
I also desperately tried:
Code:
fastboot erase system
fastboot erase data
fastboot erase cache
the one about data errored. the others seemed fine, but didn't change the situation.
This guide was informative yet quite useless to me, since I definitely don't want to start scripting my phone 2 days after starting this stuff. I've also scoured this forum and others for similar situations, which I've found but they all seemed to get resolved by either doing stuff I've already tried or from having a completely irrelevant problem to my own..
I'm really scratching my head here because it is all stock TWRP and Android or should be by now. adb commands aren't connecting due to stock android not having USB debugging enabled, and without being able to boot into the settings I can do nothing to change that. So all I have is fastboot. I also have a TWRP backup image I made before installing PA but till now Ive seen no way to restore it without booting into recovery.
Any help please!!!! This can't be bricked!!
Click to expand...
Click to collapse
Welcome to XDA!
May I know what fw version did you initially start with? .575 or .291 or any others?
iXaidyiu said:
Welcome to XDA!
May I know what fw version did you initially start with? .575 or .291 or any others?
Click to expand...
Click to collapse
Hi iXaidyiu,
I started with .291. i stopped going back to it after the first time as I noticed that the custom recovery stopped working in .291. I have had it at .575 since then. And of course now that I can't get into recovery .291 is not an option unless I find an ftf of it for flashtool.
Another observation I forgot to mention is that I cannot turn the thing off. I have to force quit it (vol up + power) and after a second it boots up again to get stuck at Sony screen. I have noticed that if I do the flash boot buttons (vol down + power) I get a different Sony screen (without the xperia logo). But it sticks just the same. I don't even know if the phone is charging at this point, although it was on the Sony screen all night so there must be some charging happening. How could this have gotten so screwed up? It was working fine and I was doing benign activities at the time it choked
epeace said:
Hi iXaidyiu,
I started with .291. i stopped going back to it after the first time as I noticed that the custom recovery stopped working in .291. I have had it at .575 since then. And of course now that I can't get into recovery .291 is not an option unless I find an ftf of it for flashtool.
Another observation I forgot to mention is that I cannot turn the thing off. I have to force quit it (vol up + power) and after a second it boots up again to get stuck at Sony screen. I have noticed that if I do the flash boot buttons (vol down + power) I get a different Sony screen (without the xperia logo). But it sticks just the same. I don't even know if the phone is charging at this point, although it was on the Sony screen all night so there must be some charging happening. How could this have gotten so screwed up? It was working fine and I was doing benign activities at the time it choked
Click to expand...
Click to collapse
Well if so, let's just start from scratch, because you seems to have screwed quite badly and complicated.
Firstly, flash .291 firmware with the three boxes under "Wipes:" ALL CHECKED, check also "AUTO_BOOT" on the right column. These steps will return your device into factory state.
After the flashing process has finished, if your device turned on automatically, turn it off, then unplug the device and replug it when pressing vol+ key, this will enter fastboot mode, you can have two ways to follow now:
(1) Select "Flash", "Fastboot Mode", "Select kernel to flash", navigate to the directory that contain the kernel downloaded (I personally recommand Elite Kernel and extracted), then flash the .IMG file;
(2) Open a cmd using shift+R mouse on the blank space in the directory that stores your twrp.IMG (you can download it here), and type in:
Code:
fastboot flash recovery <filename>.img
and press Enter.
In both method, after you have pressed Enter and see there are two "Okay" printed in the CLI, unplug your device and boot it.
During boot, you will see yellow or green LED light blinked, press vol+ button once and hurray, you will be booted into TWRP recovery!
Now you can load your zip onto your SD card and start flashing! Happy flashing!
P's1 When you tried to boot up your device with the vol- button pressed together, you will be booted into SAFE_MODE, in this mode all 3rd party applications will be disabled.
P's2 I personally DO NOT recommend you to flash zip or erase anything using fastboot commands, use TWRP instead
Thank you iXaidyiu. Option 1, although it fails to boot normally, was successful in getting me back into recovery! Now that I'm in recovery, I first tried to restore my back up. But this failed with errors:
Code:
Failed to mount '/system' (Invalid Argument)
Failed to mount '/data' (Invalid Argument)
Failed to mount '/cache' (Invalid Argument)
So then I tried to flash PA again (since that was the only rom I had on my sd card right now) which also failed with the same errors plus new ones:
Code:
Failed to mount '/data' (Invalid Argument)
Updater process ended with ERROR: 7
Error installing zip file '/external_sd/Download/pa_sirius-6.0.3-20160809-signed.zip'
It also said that "This package is for "sirius" devices; this is a "".". Apparently my Z2 is no longer identifying as 'sirius'. I checked the file system, and I can see that the /data, /cache, and /system folders are physically there. Why are they not mounting? Permissions? :s What to do from here?
UPDATE: This "Failed to mount /data error" seemed to be the root of all the problems till now. Others on the net with this error also see boot hanging at the mfr logo. However, I was able to solve it by formatting /data. I still couldn't flash PA due to the 'This package is for "sirius" devices' error, but I was able to restore my TWRP backup, which then solved the "sirius" ID issue, after which I could flash PA just fine! Thanks iXaidyiu for your help in getting me back into recovery! That was clutch to me finding the solution!
@epeace
If you ever face the device id issue again, unzip the ROM, navigate down /META-INF/com/Google/Android/updater-script and delete the following line:
Code:
getprop("ro.product.device") == "sirius" ||
abort("E3004: This package is for \"sirius\" devices; this is a \"" +
getprop("ro.product.device") + "\".");
(probably the first of the code till a semi-colon)
This disable the Device ID check when you flash the ROM.
P's May I know how's your phone charging status? I am curious cuz' I once tried flashing PA 6.0.3 and all working good EXCEPT the battery cannot be charged. It keeps draining itself even though it can sense the presence of the charger but it still cannot charge:crying:
Ok great tip, I'll make that edit for next time. Re: the charging, I think it's charging, but it's definitely charging very slow. But a number of things could be contributing to that, I'm constantly on it right now (setting it up), i'm charging off of my computer (usually slow to begin with), and this phone is a few years old so the battery is not what it used to be. I'll keep an eye on it the next days, and report back here and let you know what I've observed. Thanks again for your help!
iXaidyiu said:
@epeace
P's May I know how's your phone charging status? I am curious cuz' I once tried flashing PA 6.0.3 and all working good EXCEPT the battery cannot be charged. It keeps draining itself even though it can sense the presence of the charger but it still cannot charge:crying:
Click to expand...
Click to collapse
Hey @iXaidyiu,
I no longer have PA installed, but in the couple days with it I didn't notice any difference in battery performance compared to other ROMs. I think that shouldn't be a deterrent. At the moment I'm trying out GarvityBox on rcstar6696's vanilla MM/Nougat. So far it feels right, although rooting was a little tricky for some reason. We'll see how that goes!

Bricked Umidigi Crystal

I have a Umidigi Crystal (2/16) and it´s not booting anymore.
How that came is a long story.:crying:
I got the phone, wanted to root it and while I was enabling usb debugging in developer options, I noticed you can root it from there as well.
I have no idea whether thats a Umidigi special or if that was seen on other phones too, basically I had a slider option to enable root access.
After a reboot, SuperSU was installed automatically, root checker, file explorer and rom toolbox worked fine with it but I actually rooted to get Xposed Installer.
That worked very well too, only did I want to have a custom recovery to prepare my phone in case of a bootloop.
So I followed these instructions.
I hadn´t unlocked the bootloader by the time and since the instructions said I would have to unlock it I did that first using these instructions.
Everything worked as expected but from this point on, on the pre-bootanimation picture my screen would say
Code:
Orange State
Your device has been unlocked and can't be trusted
Booting in 5 sec...
As everything else was the same as before, I just ignored it.
Then I moved on to installing TWRP by, again, these instructions.
The process seemed to work but after finishing, I was unable to boot into recovery mode, my phone would just boot into the normal OS(which still worked by the time).
I wanted to get around that by using this app but because of the unlocked bootloader my phone was factory reset
and I had to root again.
I was going for the same way I already did it beforehands and I was asked to reboot again.
After that point, my phone was stuck in the pre-bootanimation screen saying it´s orange state thingy again and would just stay there forever.
I tried installing the stock rom from here ((2/16 - V1.0_20171026)) to get rid of the root setting I enabled.
Now I get the pre-bootanimation screen with the orange state text again and after 5 seconds it keeps the background image but the text disappears.
Thats where it´s stuck for like 3 hours now.
When I press the power key a couple of seconds, that loop starts again, I can´t turn the phone off.
Things I can still do:
•Reboot (holding the power button, still get stuck the same way though)
•Access a PC, the internet, an SD Card and electricity
•Charge the phone
•I still have all the drivers on my PC properly installed
Things I can´t do
•Keep the phone turned completely off
•Boot into fastboot, recovery or normal OS
•Get the PC to recognize my phone (not even the adb)
What I want (if possible in that order):
•Boot into literally any OS
•Use the current OS or any custom rom
•Have root access without the developer option method
•Have TWRP
•Unlocked Bootloader
I know, I ask for a lot but this is the only phone I have right now and I badly need it.
Getting it to boot again is really the primary goal here.
Thanks so much to everyone who tries to help me, it really means a lot

Magisk 21.2 bootloop

Hi everybody,
I tried to install Magisk 21.2 on my stock Oreo rom with Magisk 20.4 already installed. I've used the recommended method for installation in Magisk Manager, and I left the AVB/dm-verity option unchecked. It resulted in a bootloop.
Before updating I did a backup of the boot partition, so I could restore the previously working Magisk 20.4. Now I have two questions:
1) Is there something else I should do other than restoring the boot partition after a bootloop?
2) Is there a way to install the new Magisk or should I just dismiss the update notification?
Happened to me As well on my G6.
I had to reinstall the rom. good thing i had backup.
I've downloaded the zip file of Magisk 21.2 and flashed it with the rom after wiping almost everything, and even tried flashing a different rom with it (I'm using stock A9)., but it seems it resulted in a bootloop every time.
There is a new magisk 21.3 from yesterday, which i hope fixed those issues as i am not planning to go though that hassle again.
I tried the new 21.3, and still it causes bootloop, at least I'm glad I'm not the only one.
DannyynnaD said:
Happened to me As well on my G6.
I had to reinstall the rom. good thing i had backup.
I've downloaded the zip file of Magisk 21.2 and flashed it with the rom after wiping almost everything, and even tried flashing a different rom with it (I'm using stock A9)., but it seems it resulted in a bootloop every time.
There is a new magisk 21.3 from yesterday, which i hope fixed those issues as i am not planning to go though that hassle again.
Click to expand...
Click to collapse
It happened to me, same setup as the OP and did the direct install method from Magisk Manager. My phone is stuck in bootloop at the triangle/! scrren and I can't access TWRP via the normal buttons manner. Also, can't get any ADB to detect the phone (I am using a new PC that probably never connected to this phone despite loading ADB, drivers, etc. - I am going to resurrect the previous PC to see if can connect).
May I ask how you restored the saved boot image? via TWRP restore?
I've rooted and played with many ROMs on various android devices, but I'm no expert and this one has me stumped.
Yes, I did a backup of the boot partition before flashing Magisk and then I restored using TWRP restore. It's not the first time that a new Magisk version causes bootloops on the G5, to I was prepared this time.
By the way, if you don't have a backup, you may try to flash the Magisk Uninstaller zip, and without rebooting, the old Magisk 20.4. In theory it should do the job.
tremalnaik said:
Yes, I did a backup of the boot partition before flashing Magisk and then I restored using TWRP restore. It's not the first time that a new Magisk version causes bootloops on the G5, to I was prepared this time.
By the way, if you don't have a backup, you may try to flash the Magisk Uninstaller zip, and without rebooting, the old Magisk 20.4. In theory it should do the job.
Click to expand...
Click to collapse
Thanks, But how to access TWRP or flash the zip? I haven't found any technique to access recovery (Power+VolDn doesn't work, only allows Factory Reset screen). How to access Fastboot to use ADB (I assume that would be the technique)? I did manage to bring up some odd screen that had a two-line message about fastboot by, I believe, using Power+VolUp.
For clarification this is what I now have:
Phone off (remove battery). Insert battery. Press power button until brief vibrate (1-2 seconds). Release power button. Triangle with "!" displayed "Your device cannot be checked for corruption. Lock the bootloader. " screen displays for about 3 seconds, screen goes black a second or less. Back to the previous warning screen.
Press and hold Power button + Vol Dn acts just like the above, but if I press power + press/release/press/release... I can get the factory data reset (Yes or No(Exit) options) - I haven't accepted that.
I've tried connecting PC to the USB port and two things: as soon as I connect it, the phone powers on and does the looping again. My PC doesn't see the phone in Device Manager and ADB won't list it. I did (one time) manage to bring up the two-line fastboot message at the top of the screen.
BTW: when it first tries to power on, before the Lock the bootloader screen, there is a small, scrambled white area (text?) at the bottom of the screen.
I don't know when was the last time (if ever) I attached to the phone via USB (probably a few years ago when I initially installed TWRP). Haven't really done much other than upgrading TWRP (via TWRP), Magisk (via Magisk Manager), and the very occasional nandoid backup via TWRP (I have one from 3 months ago).
Any further assistance or info would be greatly appreciated.
To access TWRP, turn off the phone, then keep pressed Volume down+Power and once you see the LG logo release the power button and press it again. The phone should ask you if you want to reset everything: if you press yes and then confirm, you will:
1) Enter in TWRP, if you have TWRP installed, or
2) Erase the whole internal memory, if you don't have TWRP installed.
As you already have TWRP installed, it should be quite safe to go through the reset procedure, or at least that's what happens on my phone. If you don't want to take the risk, you can still use fastboot to boot a TWRP image you have on the pc, just write
Code:
fastboot boot <path_to_twrp.img_on_pc>/twrp.img
To do so, you first need to boot into fastboot: you can just turn off the phone and, keeping the Vol- pressed, connect the USB power cable to the phone. It will boot into fastboot.
One more method could be booting into download mode (Vol+ and connect the USB cable) and flashing an original firmware using LGUP, but that is way too much for a phone that already has both TWRP and fastboot accessible.
tremalnaik said:
To access TWRP, turn off the phone, then keep pressed Volume down+Power and once you see the LG logo release the power button and press it again. The phone should ask you if you want to reset everything: if you press yes and then confirm, you will:
1) Enter in TWRP, if you have TWRP installed, or
2) Erase the whole internal memory, if you don't have TWRP installed.
As you already have TWRP installed, it should be quite safe to go through the reset procedure, or at least that's what happens on my phone. If you don't want to take the risk, you can still use fastboot to boot a TWRP image you have on the pc, just write
Code:
fastboot boot <path_to_twrp.img_on_pc>/twrp.img
To do so, you first need to boot into fastboot: you can just turn off the phone and, keeping the Vol- pressed, connect the USB power cable to the phone. It will boot into fastboot.
One more method could be booting into download mode (Vol+ and connect the USB cable) and flashing an original firmware using LGUP, but that is way too much for a phone that already has both TWRP and fastboot accessible.
Click to expand...
Click to collapse
My phone never got past the bootloader screen (i.e. never got to the LG logo screen). When I booted into fastboot mode with the Vol+ button, I could issue commands like "fastboot devices" which would return that it saw my phone, but attempting to use fastboot to reload TWRP didn't work - some say the LG fastboot has been neutered.
Eventually, I had to indeed use LGUP/Uppercut and reload the stock Oreo and the phone came back up. BUT attempting to reboot into bootloader not only didn't come up in TWRP, but I got the little dead Android image. I ultimately had to downgrade to OEM nougat, jump through a few hoops, and finally got TWRP installed. Then it was just a matter of restoring a backup or reflashing a newer ROM (I ended up loading lineage 16, no gapps, with microg etc.).
Somehow the magisk upgrade really trashed my recovery partition somehow (??). I've always made sure to have at least a couple of TWRP backups, but this time I was screwed royally when I couldn't access recovery. I forgot what an ordeal it was to get TWRP & root on this phone originally.
Thanks for your help.

Question [Solved] BOOTLOOPED phone after A12 update. NANDroid restore caused Camera/Fingerprint to become completely disabled

================
Update 4: All issues fixed! I'll briefly explain all my issues, what I think caused them, and how i resolved them incase it helps others.
(You can find 3 posts of my original issues by scrolling down, but TL;DR)
4th post (at the top) : Brief summary of all solutions for my 3 big issues.
3rd post: nandroid backup applied, fingerprint+camera stopped working. Fix: reflash Persist partition manually, using the "persist_image.emmc.win" file from the TWRP backup folder
2nd post: Bootloop due to... miscelaneous user errors. Fixed by using TWRP reformat then restoring to nandroid backup.
1st post: Bootloop due to wrong boot.img. Fix: reflashed boot.img downloaded from post#8 of this thread
================
context: I'm using a DN2103 (international Nord 2) phone variant, which received the .A12 operating system update in the past couple days. Meanwhile, Indian users received the .A13 update.
In my process to unroot and update to the new OTA operating system, I used the stock boot.img provided by an indian user, which was the boot.img for the .A13 update which was incompatible with the european .A12 OTA operating system.
Basically I had the wrong boot.img
BOOTLOOP FIX: (this assumes you have the appropriate MTK drivers and ADB drivers, if not, lookup how to get those installed or you can't run ADB or fastboot commands)
Download the correct stock boot.img for your version: I got mine from https://mega.nz/folder/fZx2nBaR#Q33lJstFRMQg6_0j7Z0TJw
Transfer the new boot.img and a copy of vbmeta.img (optional) into the folder where your adb.exe is located (usually platform tools folder). I use the stock vbmeta from the OTA updates from from: https://mega.nz/folder/rQhhHQpA#nNHvPlmzBXwPjmaFpuDa2Q
Reflash your downloaded stock boot image using commands "fastboot devices" to see if you device responds, if it does, then send "fastboot flash boot boot.img".
Reboot phone. If it's still stuck in a bootloop, try flashing vbmeta with command "fastboot flash vbmeta vbmeta.img" similar to the boot image flash.
If you don't have ADB and Mediatek drivers installed, but have TWRP installed, you can do the same from Step 2: Transfer files onto phones internal storage, and step 3) Use the install button in TWRP to flash boot.img to the "Boot" partition. You can also do the same for vbmeta.img to the vbmeta partition if you phone doesn't boot after that.
Hopefully it works. If not, I'm afraid you'll need to boot into TWRP, (if you ahve it installed) and press Wipe, and wipe data/dalvik/cache, then press Wipe again, and reformat the whole phone. If you can get into stock recovery, then you can also use that to format all data. That should get your phone completely wiped to fresh and should boot into a welcome screen, for first time setup.
(note: If you used TWRP to restore or wipe all partitions, PERSIST partition will not be functional leading to camera/fingerprint issues, solution below)
To get into TWRP whilst your phone is bootlooping, you can hold volume up + power to force your phone to reboot, as soon as logos fade, you can press volume down + power to get your phone into fastboot mode. Connect PC, open powershell terminal, phone should respond to "fastboot devices" command. You can then send "fastboot reboot recovery" comand to get it into TWRP.
Fix for Fingerprint scanner and Camera not working:
Apparently when you restore to a TWRP backup, TWRP does not correctly flash the PERSIST partition, so you simply need to do it manually. The persist partition contains sensor calibration data for the fingerprint and camera.
Steps I took for this fix
1) Went to my nandroid/TWRP backup which I had saved to my PC
2) Located file "persist_image.emmc.win"
3) On PC, open ADB terminal in the same folder containing the "persist_image.emmc.win" file (on windows shift+right click to open powershell)
4) Connected phone to PC, sent command "adb devices" to check if device responds, if listed, sent command "adb reboot bootloader" to get device into fastboot mode
5) Sent command "fastboot devices" to see if device responds, if listed, sent command "fastboot flash persist persist_image.emmc.win"
6) Took 1.5 seconds to send 54000 ish KB. Shoud see OKAY's on powershell screen
7) sent command "fastboot reboot" to boot phone up.
Big thanks to @HofaTheRipper for providing the stock A12 boot.img and the persist partition fix!
===============
Post 3 (you can find original post and 2nd post below too)
Phone no longer bootloops, but fingerprint scanner +camera no longer work.
Solution in post #24 of this thread by @HofaTheRipper
Basically caused by TWRP not flashing the Persist partition correctly, so it's solved by finding the "persist_image.emmc.win" file from a Nandroid backup, and flashing that manually.
===============
So phone no longer bootloops which is great, but the camera and fingerprint sensor currently don't work or respond at all
Fingerprint scanner: Trying to register a fingerprint results in the phone vibrating nonstop saying "TRY AGAIN" in big letters, with small letters "unable to complete finger print settings please retry". It continues to vibrate until the settings app is closed or minimised, and won't register a new finger at all. In fact, the fingerprint sensor doesn't even light up, and hte vibrates are the kind of vibrate the phone does to let you know theres an "error" or "not accepted try again" kind of vibration.
Camera issues: Using the option to register facial recognition in the settings app can't open camera due to error message; "camera being used by another app. Please retry later." Even just opening the stock camera app itself instantly crashes. All other apps that use a camera say they do not have permissions to access the camera, despite very clearly having been granted permission.
What I've tried so far:
-Rolling back to A11 OS
-OTA updating afresh back to A12 (again)
-using TWRP wipe darvik/cache/data
-using TWRP to reformat all data
-using settings app, android's wipe data and factory reset option
-googling and searching xda a tonne to find any possible leftover remnants of fingerprints left behind from my previous OS install
One of the thread i found suggest there could be fingerprints i could delete; https://forum.xda-developers.com/t/...ng-or-not-working-after-flashing-rom.3858845/ but I can't find the relevant files on my device.
My 2nd bootloop did indeed force me to do a TWRP wipe+reformat whilst the device was encrypted/ had a pincode, so perhaps theres some kind of security feature that's getting tripped here.
I tried the backup to Nandroid on A11, then used the OTA update to update to A12, so something tells me that perhaps a stock os reflash wouldn't help in my case.
It would be nice to have to full stock OS's for A11, A12, and A13 just to try them out and help troubleshoot.
Any help finding a solution to the camera/fingerprint issue is appreciated, or any help hunting down where I can download the full OS versions. (even for older OS's for the nord2)
My new working theory is perhaps android's innate permission system is messed up, or there's some data stored in the security module that isn't being wiped that's withholding these features relating to the fingerprint/facial unlock security features.
Every single app that tries to access camera is giving back a "please grant permissions" error, despite very clearly have permissions to use the camera.
Any ideas on how to resolve this would be great!
=============
EDITTED: Part 2, BOOT LOOPING AGAIN. Flashing boot.img doesn't resolve bootloop this time around and the phone has a pincode that I forgot to remove.
This is most likely caused due to magisk trying to modify the boot.img for the wrong stock A13 boot image, which no longer existed as I had flashed in the boot image for stock A12 as part of my first bootloop fix; But the phone still had its old data and magisk installation running.
Solved it by using TWRP Wipe option to factory reset and format data. After that, I was able to get the device to boot - current issue is just that the camera and fingerprint sensor don't work
=============
SECOND BOOTLOOP DETAILS; (resolved)
After flashing boot.img for A12, I managed to boot the phone, solving the initial bootloop. However, it didn't take me long to notice issues, and walk straight into another bootloop.
Series of events;
-Phone asked for initial setup including forcing me to apply pincode (can't skip that step)
-Part of pin setup, noticed fingerprint reader not working (vibrates and error message "unable to complete finger print settings please retry")
-Part of pin setup, noticed comera not working during facial recognition step (error message "camera app used by another app")
-Noticed camera app crashes instantly.
-forgot to remove passcode as was in the app drawer and was exploring what was going on, got distracted.
-I checked settings page -> About phone -> Phone is running A12
-checked for latest update to see if A13 is available for OTA update in my region; Nope. "You are up to date!"
Then I made the big mistake. As I was in the app drawer and just checking the state of the phone, and concerned about the fingerprint scanner and camera app not working, I found the magisk app still in the app drawer. Curious as to magisk's state; I clicked on the app and launched it.
-Note; my initial boot loop (orignial post below) was caused when I clicked magisk for the first time after rooting phone, let it the magisk app do it's first time setup thing about "installing full version"; As soon as i hit reboot it bootlooped phone. Now that i resolved that bootloop, I figured magisk might be fine now? Was curious to see what happened to magisk hence my temptation to click it and see. Didn't think to remove pincode first.
-This time, as soon as I clicked magisk, the screen IMMEDIATELY went black, popped up a message saying "restarting", and the phone immediately rebooted.
Phone is now stuck in bootloop again. And to make matters worse, phone has a pincode, which i didn't have time to remove, so stuff is encrypted.
Obviously I tried what worked before; Booted to TWRP, this time, TWRP had to ask for my pincode to decrypt device, but accepted my pincode and decrypted User0 successfully.
-Flashed boot.img for A12 device again, rebooted.
Still stuck in bootloop. Same symptoms as before; Stuck on 2 rotating white dots around the big red dot; If i wait long enough it reboots and shows 1+ symbo land orange state warning message, after a few reboots it boots to TWRP.
So now I have a pincode, and same problem as before, aka bootlooping, TWRP is still installed and working, but also probable issue with fingerprint scanner and camera (remnant from last bootloop perhaps?)
Most likely because magisk is still set to reboot when launched and to modify the boot.img, as thats the step where my first bootloop happened.
===============================
ORIGINAL POST BELOW;
initial bootloop was fixed by flashing boot.img for A12 provided in the comments below
Supposedly the boot.img I originally used was for A13; Supposedly these boot images are similar enough that they seem to mostly work for each other, until magisk touches it - issues with magisk in my 2nd bootloop post above.
================================
My Nord 2 is stuck in a bootloop
TL;DR
I was running a rooted .A11 update just fine, updated to .A12 following a guide, lost root access, so re rooted phone just like i originally did. Got to the point where i used TWRP to flash magisk.zip, that part worked fine, phone booted just fine, launched the magisk app from the app drawer, let magisk install full version, it automatically rebooted, then immediately got stuck in a bootloop.
Full story for troubleshooting context: (in case you can see where I goofed)
- I updated from .A11 to .A12 successfully which meant the phone was unrooted; Followed @pankspoo 's guide except using my own OTA update.zip after clicking download in my settings app (I'm EU region); https://forum.xda-developers.com/t/...rooted-nord-2-any-incremental-update.4347813/ (following the comment to find the update.zip folder at /data/OTA-package/update.zip
- Verified my phone was fine running the .A12 update properly; opened settings app, checked about phone page, .A12 listed and "newest version installed". Launched the root checker app and confirmed phone was "not rooted" anymore so proceeded to follow @pankspoo root guide again https://forum.xda-developers.com/t/tutorial-twrp-and-root-nord-2.4340477/ , the same guide I originally used successfully back on .A11 (worked great!)
- Got to the point in the guide where I flashed and installed TWRP, it worked just fine. Nothing unusual so far.
- Used TWRP to flash magisk.zip, also worked fine. Still nothing unusual.
- Used TWRP to make a full backup (ticked all boxes) here, but this backup file seems to be GONE (did not transfer it to PC)
- Rebooted to system, phone booted just fine, found magisk icon in the app drawer, launched the magisk app and let it do its first time setup thingy, where it "installs full magisk" and so on. I let it do it's thing, eventually it rebooted the phone;
- Phone now immediately stuck in bootloop. Don't know if Magisk even installed itself properly; Waited out the first bootloop long enough that the phone ended up rebooting multiple times and ended up automatically booting into TWRP so its not a "just wait longer" issue.
Symptoms:
Its a standard bootloop aka stuck on 2 rotating white dots around the larger red dot. If i wait longer enough, phone reboots, initially shows the 1+ icon and the "orange state not trusted boot in 5" message that we're probably all used to seeing. After a few reboots it eventually ends up booting into TWRP.
Holding Volume up+power forces the phone to reboot, but obviously, still gets stuck in the same bootloop.
Holding Volume down+power when the phone reboots places the phone into fastboot mode, which lets me connect my computer, open the powershell window, and use the "fastboot reboot recovery" command to get into TWRP instantly.
TWRP is working fine! I can still flash things and do all the normal stuff in TWRP... But not idea what to do right now.
Stuff I've already tried: (against my better judgement)
-Clicked "restore" button on TWRP; I made a TWRP backup whilst on A11, and the device does not seem to want to boot with that A11 boot image and old nandroid restored.
-renamed magisk.zip file to uninstall.zip and used TWRP to flash it; Nothing seems to have happened. Error code: "magisk will not be uninstalled please uninstall manually"
-Tried reflashing magisk.zip normally.
-Tried to manually reflash my old boot.emmc.win file form TWRP backup on the phone (this is most likely my old A11 boot image)
How do I proceed from here? All help appreciated. Edit: Turns out, i was flashing the A13 boot image from indian devices whereas I have a phone running A12. Bootloop issues were instantly resolved when the A12 boot image was flashed again;
However, magisk was still set to reboot the phone and patch the boot.img so I ended up having to wipe all data to get rid of magisk and stop magisk from corrupting the boot image.
@pankspoo
Zombnombs said:
My Nord 2 is stuck in a bootloop; VERY new user here so definitely appreciate any help immensely, androids and rooting phones is totally alien to me; and this is probably the most stressful thing I've dealt with in a LONG time.
TL;DR
I was running a rooted .A11 update just fine, updated to .A12 following a guide, lost root access, so re rooted phone just like i originally did. Got to the point where i used TWRP to flash magisk.zip, that part worked fine, phone booted just fine, launched the magisk app from the app drawer, let magisk install full version, it automatically rebooted, then immediately got stuck in a bootloop.
Full story for troubleshooting context: (in case you can see where I goofed)
- I updated from .A11 to .A12 successfully which meant the phone was unrooted; Followed @pankspoo 's guide except using my own OTA update.zip after clicking download in my settings app (I'm EU region); https://forum.xda-developers.com/t/...rooted-nord-2-any-incremental-update.4347813/ (following the comment to find the update.zip folder at /data/OTA-package/update.zip
- Verified my phone was fine running the .A12 update properly; opened settings app, checked about phone page, .A12 listed and "newest version installed". Launched the root checker app and confirmed phone was "not rooted" anymore so proceeded to follow @pankspoo root guide again https://forum.xda-developers.com/t/tutorial-twrp-and-root-nord-2.4340477/ , the same guide I originally used successfully back on .A11 (worked great!)
- Got to the point in the guide where I flashed and installed TWRP, it worked just fine. Nothing unusual so far.
- Used TWRP to flash magisk.zip, also worked fine. Still nothing unusual.
- Used TWRP to make a full backup (ticked all boxes) here, but this backup file seems to be GONE (did not transfer it to PC)
- Rebooted to system, phone booted just fine, found magisk icon in the app drawer, launched the magisk app and let it do its first time setup thingy, where it "installs full magisk" and so on. I let it do it's thing, eventually it rebooted the phone;
- Phone now immediately stuck in bootloop. Don't know if Magisk even installed itself properly; Waited out the first bootloop long enough that the phone ended up rebooting multiple times and ended up automatically booting into TWRP so its not a "just wait longer" issue.
Symptoms:
Its a standard bootloop aka stuck on 2 rotating white dots around the larger red dot. If i wait longer enough, phone reboots, initially shows the 1+ icon and the "orange state not trusted boot in 5" message that we're probably all used to seeing. After a few reboots it eventually ends up booting into TWRP.
Holding Volume up+power forces the phone to reboot, but obviously, still gets stuck in the same bootloop.
Holding Volume down+power when the phone reboots places the phone into fastboot mode, which lets me connect my computer, open the powershell window, and use the "fastboot reboot recovery" command to get into TWRP instantly.
TWRP is working fine! I can still flash things and do all the normal stuff in TWRP... But not idea what to do right now.
Stuff I've already tried: (against my better judgement)
-Clicked "restore" button on TWRP; I made a TWRP backup ticking all boxes like 10 minutes before the bootloop issue started; Right after I used TWRP to flash magisk.zip successfully; However, my NORD 2/Internal Storage/TWRP folder is currently empty; There is no backup folder there! I did not transfer it to my computer so no idea where it went.
-renamed magisk.zip file to uninstall.zip and used TWRP to flash it; Nothing seems to have happened. I did read the text on the phone and saw a bit saying "magisk will not be uninstalled please uninstall manually" so i guess something went wrong.
-Tried reflashing magisk.zip normally.
-Remembered I made a TWRP backup a few weeks ago, so used TWRP's Restore feature to restore to that backup. This is a backup was when the phone was running .A11 and obviously working fine, not sure if that matters much. (didn't help either so I assume TWRP backups don't restore stock os or anything like i thought it did?)
Obviously, none of the above resolved the boot loop and I have no idea what to do from here. Phone still stuck in the same old rotating 2 white dots around the larger red dot animation.
Not sure if I should reflashed anything at all as I'm pretty inexperienced. Scared to try anything else without consulting you guys for help first. Most google results for bootloop fixes seem super sketch and outdated so I'm scared to try much else, and already thinking I may have made things worse with the things I did already do.
How do I proceed from here? All help appreciated. Not sure if using .A12 was the wrong call here but i suspect it was.
Click to expand...
Click to collapse
Which version u r on now when u bootloop Ed tell. Me I will give u boot image flash that done
pankspoo said:
Which version u r on now when u bootloop Ed tell. Me I will give u boot image flash that done
Click to expand...
Click to collapse
Hey thanks so much for posting the guides!
OHHHHHHHH I see now. I updated to .A12 using the European OTA update.zip file, and the boot.img I used was from your guide which you said was
"2) upgrade from v11 to v13(indian)"
That must be why. Do you have a boot.img for .A12?
Or do you perhaps think I should download .A13 because it's more recent?
Zombnombs said:
Or do you perhaps think I should download .A13 because it's more recent?
Click to expand...
Click to collapse
If u r on A12 on which u r bootloop Ed then use A12 EU only boot image to. Flash and reboot i don't have A12 EU boot. Img
pankspoo said:
If u r on A12 on which u r bootloop Ed then use A12 EU only boot image to. Flash and reboot i don't have A12 EU boot. Img
Click to expand...
Click to collapse
Do you mean I have to find the boot img for A12 and nothing else will work? I'm not too sure where to find boot images.
Do you think If i download the update.zip for A13, I can flash that, while the device is bootlooped, and it might work? Would I need to use incremental update from A12 to A13 or would I use incremental from A11 to A13?
Also, I don't know how to download from your telegraph links, it doesn't seem to work for me, clicking the file doesn't download.
Is there another way to resolve the bootloop, including wiping all data just so the phone works again?
A12 Stock EU boot img:
HofaTheRipper said:
A12 Stock EU boot img:
Click to expand...
Click to collapse
@Zombnombs u got it do it now
The a12 boot image worked a charm! Thanks guys!
Okay. Phone's in a bootloop again! Literally about to cry or something
I think I need a recovery image or something? OR a way to get phone back to completely stock.
Full story;
After flashing a12 boot image, phone booted up andI checked
-Phone was running A12(checked "about phone" in settings app)
-Root access was granted (used "Root Checker" app)
-Magisk app still in the app drawer
At this point for some reason I ran the "click here to set up your phone" because the popup/notification was annoying. During this, you're forced to enter a passcode. I never got the chance to remove the passcode so the device is now "encrypted"
Things I did notice during this time whilst exploring the phone;
-Fingerprint scanner is totally broken; The white light doesn't even appear, phone vibrates constantly like it's error'ing out, and shows "unable to complete finger print settings please retry" as an error on screen
-Facial recognition step of the setup wizard also had a strange error message, saying "Camera is in use by another app".
-Camera app immediately crashed when I click it to check why facial recognition was failing.
Anyway, still thinking i was just exploring the state of the phone, I decided to click the magisk app in the app drawer to see what was happening with it;
IT INSTANTLY RESTARTED MY PHONE. Screen went black, the words "restarting" popped up and the phone rebooted without any chance for me to stop it.
And what do you know, PHONE IS BACK IN A BOOTLOOP.
First thing I tried was booting into TWRP again, which had to decrypt User0 now that I have a passcode on, but that was fine, because entering the pincode worked. I flashed the boot.img for A12 again; But it didn't help.
What should I do now? boot.img didn't work, I'm really inexperienced with this stuff. I'm new to rooting, but keen to learn and get into modding/rooting androids so I guess this is a good learning experience, albeit extremely frustrating >.>
Due to issues with finger/camera, and the fact it's still bootlooping anytime I click magisk, best option is probably to restore to complete stock? Google search says I need a recovery image for my device, but i can't find Oneplus's recovery image for Oneplus Nord 2 so I guess I'm back to asking here for help.
@HofaTheRipper @pankspoo (sorry for the tag) do either of you happen to have a recovery image?
^ Phone is back in a bootloop.
Updated the initial post again because this problem is getting kinda long winded.
TL;DR for my 2nd bootloop boot.img isn't working to fix the bootloop. Bootloop occured after clicking on magisk app, which instantly restarted phone without warning (before I could remove pincode), and put the phone into bootloop state.
Phone has a pincode on it now so TWRP has to decrypt User0, not sure if that's the reason why boot img doesn't resolve this boot loop. Even though I can enter pincode when TWRP asks for it, and TWRP manages to decrypt User0 successfully.
I did notice after fixing first bootloop, fingerprint scanner and camera didn't work, so it's probably best to just start over anyway. Add in the new bootloop, and I don't really see any reason to continue with this attempt at the root, probably best to fully reset to stock and try again, try get the fingerprint and camera working again.
Recovery Image time I guess?
Ok
Zombnombs said:
Updated the initial post again because this problem is getting kinda long winded.
TL;DR for my 2nd bootloop boot.img isn't working to fix the bootloop. Bootloop occured after clicking on magisk app, which instantly restarted phone without warning (before I could remove pincode), and put the phone into bootloop state.
Phone has a pincode on it now so TWRP has to decrypt User0, not sure if that's the reason why boot img doesn't resolve this boot loop. Even though I can enter pincode when TWRP asks for it, and TWRP manages to decrypt User0 successfully.
I did notice after fixing first bootloop, fingerprint scanner and camera didn't work, so it's probably best to just start over anyway. Add in the new bootloop, and I don't really see any reason to continue with this attempt at the root, probably best to fully reset to stock and try again, try get the fingerprint and camera working again.
Recovery Image time I guess?
Click to expand...
Click to collapse
Ok
I have the same problem(( bootloop after rebooting in magisk
IgorSamsonov said:
I have the same problem(( bootloop after rebooting in magisk
Click to expand...
Click to collapse
TL;DR of what worked for me was making sure i had the right boot.img flashed and then also flashing vbmeta afterwards. That's all it initially took.
I also seemed to solve another one by using TWRP to wipe cache/dalvik/data, then also pressing wipe, and hitting reformat (losing all data)
Finally I think if you made a TWRP backup, you should be able to restore to that, then wipe do a dalvik/cache/data wipe.
Just what worked for me, I'm pretty new at this stuff so I literalyl don't really know what I'm doing either
Zombnombs said:
TL;DR of what worked for me was making sure i had the right boot.img flashed and then also flashing vbmeta afterwards. That's all it initially took.
I also seemed to solve another one by using TWRP to wipe cache/dalvik/data, then also pressing wipe, and hitting reformat (losing all data)
Finally I think if you made a TWRP backup, you should be able to restore to that, then wipe do a dalvik/cache/data wipe.
Just what worked for me, I'm pretty new at this stuff so I literalyl don't really know what I'm doing either
Click to expand...
Click to collapse
r u root ur device after this?
IgorSamsonov said:
r u root ur device after this?
Click to expand...
Click to collapse
Nope, I'm trying to deal with my camera/fingerprint sensor issues
Zombnombs said:
Нет, я пытаюсь решить проблемы с камерой / датчиком отпечатков пальцев
Click to expand...
Click to collapse
how do you enter recovery mode without waiting for a couple of reboots ?
IgorSamsonov said:
how do you enter recovery mode without waiting for a couple of reboots ?
Click to expand...
Click to collapse
You can hold power+vol up to force a reboot, and when the logos disappear, hold Vol down + power to enter fastboot mode. You can then plug in your computer and send powershell window to send "fastboot reboot recovery"

Question Bootproblem and how go back to the standards

Dear Community,
I am a real noob when it comes to Android, flashing ROM, root and so on.
I got a Oneplus here where supposedly root rights are on it and another ROM.
Current problem, as soon as I turn it on it hangs when booting. (Bootloop - red dot with 2 running white dots)
I already tried it with power + volume+. Unfortunately unsuccessful.
Is it correct when I press Power + Volume- that you get into fastboot?
I can't get into the recovery mode either.
I would like to get the device running, but without root rights, OEM lock and the Oxygen OS from Oneplus.
So far my attempts to get it running have been unsuccessful.
Update: after 4h in the bootloop, it booted successfully. *yeah*
So how i can see, if the phone is rooted and how can i lock it?
I tried it with adb, i can find the phone with adb devices.
Then adb reboot fastboot, after that i tried to find it with fastboot devices but then he finds nothing more. the drivers are installed. also fastboot oem lock doesnt work, because the phone is not found.

Categories

Resources