Oneplus 5 stuck on fastboot, but still have access to recovery. - ONE Q&A, Help & Troubleshooting

Hi XDA, after searching over countless threads and not being able to find the answer i'm after here goes my first post, so the problem originated when I accidentally signed out of Snapchat and wasn't able to sign back in due to safetynet so I went about trying to unroot and reroot using Magisk, however when installing the Magisk.zip, I ran into "Error 1" which I fixed by flashing a stock boot image with "fastboot flash boot boot.img", finally the zip file "successfully" installed via TWRP but upon trying to boot my phone to OS it constantly just goes back to fastboot mode and refuses to boot properly, I still have access to TWRP and have tried flashing back to stock recovery as well to no avail. What i'm wondering is if I somehow flashed the boot improperly and that's causing it to not boot to OS and if not what else can I do to restore my phone to working order, at this point i'm not that fussed over having root access but need to know how I can fix this, I have also tried flashing a stock ROM from stock recovery but just after starting the install it and the loading bar going up slightly it stops and goes back to the file selection page. Please help!
Edit: I have flashed the boot.img again using a newer stock image and now when I attempt to boot normally I get taken to a black screen with a white LED

Related

[Q] Flashed Clockwork Recovery img disappearing

So my Nexus S is rooted and working fine except for one rather annoying issue that is hopefully an easy fix. The flashed Clockwork recovery image keeps "unflashing"! If I reflash it it will boot into recovery once and then lose the image upon subsequent reboots. Am I missing some setting to make the phone keep the recovery image flashed permanently?
Thanks in advance!
Hobart007 said:
So my Nexus S is rooted and working fine except for one rather annoying issue that is hopefully an easy fix. The flashed Clockwork recovery image keeps "unflashing"! If I reflash it it will boot into recovery once and then lose the image upon subsequent reboots. Am I missing some setting to make the phone keep the recovery image flashed permanently?
Thanks in advance!
Click to expand...
Click to collapse
Yes, the new 2.3.1 update has a safety feature that automatically rewrites the stock recovery to the phone if it detects it's been changed.
Search the forum, there are several threads on it with details, but in a nutshell you'd have to delete the shell script that initiates the check (/etc/install-recovery.sh), which should do it, but they're also deleting the actual replacement recovery.
Then your CWM recovery should stick.

XZP Wont Boot after Flashing Standard Rom

Hi All,
I've been trying to install TWRP, Root etc on my XZP since yesterday. I've done something wrong at some point, and now my phone will not boot at all.
I had no troubles unlocking bootloader, installing TWRP etc initially. I then tried to install a custom rom from these forums and that's where things spiraled downwards for me.
As part of that procedure, I needed to flash the latest sony firmware first. That went fine.
However, now TWRP is not able to decrypt storage, so I'm not able to flash anything else. Perhaps this is because I booted into the new sony firmware and forgot change the pattern/fingerprint to pin/fingerprint.
So I'm not able to unlock the storage via TWRP by entering a password.
I tried to reflash the same firmware again using newflasher. But the phone won't boot at all. It turns off immediately after the Unlocked bootloader warning. It's not going into a boot loop. Just turns off.
I then tried to flash the TWRP recovery image using adb fastboot command, and the flash seemed to execute properly, but I still can not boot into recovery.
Is it possible the main storage is still encrypted, so nothing can flash to it? Bricked? If so, how do I proceed?
I read something about reformatting partitions? But I'm not able to get into TWRP recovery menu to do this.
*EDIT: I reflashed trwp recovery image, and am not able to boot into recovery. I still can not unlock (unencrypt) the main storage though.
*2nd EDIT: I followed the instructions here:https://forum.xda-developers.com/android/general/how-to-fix-unable-to-mount-data-t3830897
I was then able to flash the stock ROM back onto my device, and I'm able to boot my phone up. I'll look at installing a custom ROM at a later date.
Thread closed at OP request

Fastboot Bootloop

I got my OnePlus 7 Pro today and tried to install Magisk by patching the boot.img. After trying to flash the patched image, I now have an issue where rebooting the devices leads me straight back to the bootloader. Trying to enter recovery also leads me straight back to the bootloader. I tried flashing the original boot.img I extracted from the OTA update file provided by OnePlus, but it still isn't working. I do not have TWRP or any custom recovery installed. Any help would be much appreciated. I noticed similar threads, however they all installed twrp, though I haven't yet as trying to run "fastboot boot twrp.img" always resulted in it booting to a screen saying "fastboot mode" which wasn't terribly helpful.
Edit: Its not the tmobile/5g/carrier version. I purchased it through OnePlus' website though I forget the exact model number.
Well, "fastboot boot twrp.img" does not work on all devices, sometimes you have to use: fastboot flash boot insert_twrp_img_name_here.img​Learned that the hard way, also use the unofficial twrp from mauronofrio.
Had the same problem as you have, and fixed it with that unofficial twrp.
Faith1105 said:
Well, "fastboot boot twrp.img" does not work on all devices, sometimes you have to use: fastboot flash boot insert_twrp_img_name_here.img​Learned that the hard way, also use the unofficial twrp from mauronofrio.
Had the same problem as you have, and fixed it with that unofficial twrp.
Click to expand...
Click to collapse
Did you need to completely revert to stock after the issue, or did flashing twrp fix the fastboot loop?
Edit: Trying to flash the stock fastboot rom currently as flashing twrp did nothing probably because me trying to fix it broke everything. Hopefully the stock rom will get everything back to a working state where I can try again, just this time flashing twrp.
Also using windows this time instead of linux....
mnbvcxzl90 said:
Did you need to completely revert to stock after the issue, or did flashing twrp fix the fastboot loop?
Edit: Trying to flash the stock fastboot rom currently as flashing twrp did nothing probably because me trying to fix it broke everything. Hopefully the stock rom will get everything back to a working state where I can try again, just this time flashing twrp.
Also using windows this time instead of linux....
Click to expand...
Click to collapse
Ok, so, trying to restore stock seems to have failed miserably.... any advice is most welcomed qq
OK.... so trying to unbrick the device using the msm stuff, I couldn't even make it to the downloader screen. After holding volume +/- and powering off, my screen is now black HOWEVER the phone gets detected by windows when I plug & unplug it. I have no idea what to do anymore. Someone please help
Figured I'd give the solution here in case someone else is in the same exact problem as me:
Follow the instructions over at https://forum.xda-developers.com/oneplus-7-pro/how-to/op7pro-collection-unbrick-tools-t3956595
I tried to de-brick it using the fastboot roms and all that, no dice. The only thing that seems to have worked was following the above and using the msm tool. Everything wiped, but hey, at least the phone is bootable again and now I have a way to fix it should this happen again. Yay for happy endings.
Edit: Also, following Faith1105's advice, flashing twrp to boot instead of trying to just boot it first worked successfully and from there I was able to install magisk.
Edit 2: Now wifi isn't working.... why life, why...
Edit 3: OK: EVERYTHING IS GOOD NOW. Twrp ran into a boot loop issue, used twrp to flash the most recent android 10 zip, rebooted and was greeted by stock recovery, then used that to wipe absolutely everything and reboot. After skipping through initial setup and making use wifi was working I rebooted again and this time tried booting twrp the way the usual instructions say to, this time it worked for whatever reason so once that started I used twrp to flash twrp's installer and magisk. It looks like everything is working correctly now. If you have the same issue maybe this stuff will work for you or maybe not: I don't know, and honestly I'm now brain dead lol.

Samsung Galaxy A5 stuck in bootloop after trying to convert from SuperSU to Magisk

I was trying to switch from SuperSU to Magisk in what I thought would be a simple process following an online tutorial. I went into TWRP recovery and flashed the zip to clear superSU root. Then I flashed the boot.img that I extracted from one of my nandroid backups, and then flashed magisk. But when I rebooted, it's stuck in a loop, just the initial splash screen for a brief moment, then it reboots. Can't access recovery mode or bootloader because it reboots too fast. I'm pretty freaked out here I only meant to install youtube vanced not brick my phone. It won't connect to ADB on my computer because it's too busy rebooting. Is there any way to save my phone? Obviously the boot.img I flashed was the problem, I'm wondering if I extracted it from the wrong backup (different phone). I know that if I can get back into recovery mode I can restore the correct backup, but at the moment all I can do is let the battery drain down because it's not responding to anything.
Please help!
Well I figured it out on my own, but I don't know how to delete the thread.
PistolSlap said:
I was trying to switch from SuperSU to Magisk in what I thought would be a simple process following an online tutorial. I went into TWRP recovery and flashed the zip to clear superSU root. Then I flashed the boot.img that I extracted from one of my nandroid backups, and then flashed magisk. But when I rebooted, it's stuck in a loop, just the initial splash screen for a brief moment, then it reboots. Can't access recovery mode or bootloader because it reboots too fast. I'm pretty freaked out here I only meant to install youtube vanced not brick my phone. It won't connect to ADB on my computer because it's too busy rebooting. Is there any way to save my phone? Obviously the boot.img I flashed was the problem, I'm wondering if I extracted it from the wrong backup (different phone). I know that if I can get back into recovery mode I can restore the correct backup, but at the moment all I can do is let the battery drain down because it's not responding to anything.
Please help!
Click to expand...
Click to collapse

TWRP crashing, stuck in recovery bootloop

For the last couple years I've been following this process to retain root using the TWRP A/B Retention Script and installing Magisk to the inactive slot after OTA and everything been fine and dandy. However, after the last time I performed this process Magisk would immediately crash when I tried to launch its app. Upon investigating I noticed that the file it downloaded for flashing was suspiciously small, so I suspect it flashed a corrupted file. I had already successfully rebooted my phone several times after the OTA, so I figured it was just Magisk that got corrupted and TWRP must be fine. I recently tried to reboot into recovery and discovered that TWRP is broken too. My phone briefly flashes the TWRP logo before the screen goes black and it tries to reboot into recovery again.
I've been able to get into fastboot by simultaneously holding down the power button and both volume buttons. However, none of the options in fastboot actually get my anywhere. Choosing start, recovery mode, or power off just get me back into the TWRP bootloop, and restart bootloader obviously just keeps me in fastboot.
I assume I need to reflash TWRP and Magisk, but I'm not sure how to go about that. Can someone point me in the right direction? Thanks.
This is how I proceeded:
Downloaded the latest TWRP image (twrp-3.6.2_11-0-guacamole.img) from here: https://dl.twrp.me/guacamole/
Verified the md5sum to ensure the download wasn't corrupted.
fastboot boot twrp-3.6.2_11-0-guacamole.img
In TWRP, Advanced > Flash Current TWRP
Now I have a working recovery, but I still can't boot into my system. When I go to Reboot > System in TWRP it just boots back into recovery.
I enabled MTP in TWRP and copied off all the data I cared about, then used the "Flash Factory Images" option in the TOOL ALL IN ONE to flash 9.5.13-GM21AA-OnePlus7ProOxygen_21.O.16_OTA_016_all_1908281716_b2bb5-FASTBOOT.zip. I tried it without checking the box to erase everything, hoping I could keep my data, but that didn't work. With that box checked though I was able to boot again, but I cannot turn on WiFi for some reason. I'm hoping the OTA will fix that issue. Does anyone know how to get WiFi working again or why it may have stopped working?
altayh said:
I cannot turn on WiFi for some reason. I'm hoping the OTA will fix that issue.
Click to expand...
Click to collapse
Fortunately enough the first OTA did indeed solve the WiFi issue. Now I've applied all of the OTAs and finally have my phone in a proper working state again.

Categories

Resources