Nexus 5 bootloops even after doing a factory reset? - Nexus 5 Q&A, Help & Troubleshooting

I tried to get rid of root by going into the supersu app and clicking the uninstall option. It then rebooted, but it went into a bootloop. I already wiped multiple times but nothing happened.
Could it be because of xposed being installed?
Thanks.

Was stock recovery used to perform the factory reset?

audit13 said:
Was stock recovery used to perform the factory reset?
Click to expand...
Click to collapse
No, I used TWRP to do it. v2.8.7.0 I think.

Try with stock recovery.

audit13 said:
Try with stock recovery.
Click to expand...
Click to collapse
How would I uninstall TWRP recovery?

Flash the recovery.img file that is included with the stock rom. Fastboot flash recovery recovery.img.

audit13 said:
Flash the recovery.img file that is included with the stock rom. Fastboot flash recovery recovery.img.
Click to expand...
Click to collapse
Hmm, still boot loops. Am I forced to just reflash the fctory image?

Since it still bootloops, I recommend flashing back to a completely stock ROM to make sure the phone still functions properly.

audit13 said:
Since it still bootloops, I recommend flashing back to a completely stock ROM to make sure the phone still functions properly.
Click to expand...
Click to collapse
Dang. I wish I wouldn't have to wipe my files, but there aren't That many important stuff. Thanks.

audit13 said:
Since it still bootloops, I recommend flashing back to a completely stock ROM to make sure the phone still functions properly.
Click to expand...
Click to collapse
Sorry for this, but could you also help me install nonsystemless root? systemless causes trouble with layers so it would be very nice if you could help.
Thanks

Which rom is on the phone? For stock LP, flash supersu from twrp. Many custom mm ROMs are prerooted.

audit13 said:
Which rom is on the phone? For stock LP, flash supersu from twrp. Many custom mm ROMs are prerooted.
Click to expand...
Click to collapse
Wait the nonsystemless root is gotten by just flashing it? I always thought it was the other way.
Thanks so so so much for your help!

Related

[Q] PLEASE HELP!!! - Won't boot back up

I rooted my phone and used firewater to get S-OFF (a lifesaver), then unfortunately installed a TWRP recovery that has completely messed up the device. It wouldn't respond at all and I was lucky enough to flash CWM when I got it back to bootloader. Now, at least I do have a recovery to work from.
I can't do a factory reset (just goes back to recovery), can't sideload a new ROM, and tried to flash a new boot.img and system.img from here:http://forum.xda-developers.com/showthread.php?t=2706233
None of these have worked and I'm at a loss in terms of what else I can do to get the phone working again. Any ideas????
Alex
Bump
Sent from my HTC One M8!
U WOT M8?
AP26322 said:
I rooted my phone and used firewater to get S-OFF (a lifesaver), then unfortunately installed a TWRP recovery that has completely messed up the device. It wouldn't respond at all and I was lucky enough to flash CWM when I got it back to bootloader. Now, at least I do have a recovery to work from.
I can't do a factory reset (just goes back to recovery), can't sideload a new ROM, and tried to flash a new boot.img and system.img from here:http://forum.xda-developers.com/showthread.php?t=2706233
None of these have worked and I'm at a loss in terms of what else I can do to get the phone working again. Any ideas????
Alex
Click to expand...
Click to collapse
Have you tried pushing back the stock recovery and then doing a factory reset?
droidkevlar said:
Have you tried pushing back the stock recovery and then doing a factory reset?
Click to expand...
Click to collapse
I have not. Where can I find the stock recovery?
AP26322 said:
I have not. Where can I find the stock recovery?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2708291
Stock recovery, boot and hboot are in there. I would start with the boot, then recovery, and then factory reset.
droidkevlar said:
http://forum.xda-developers.com/showthread.php?t=2708291
Stock recovery, boot and hboot are in there. I would start with the boot, then recovery, and then factory reset.
Click to expand...
Click to collapse
Thanks so much. Installed the boot, then recovery and it's back to working like a charm. Great to know all of these .imgs are in one place, too. You're a lifesaver!
http://forum.xda-developers.com/showthread.php?t=2708291
Try it.
AP26322 said:
Thanks so much. Installed the boot, then recovery and it's back to working like a charm. Great to know all of these .imgs are in one place, too. You're a lifesaver!
Click to expand...
Click to collapse
NP

restore back to stock cm-12.0-YNG1TAS2I3 using toolkit

is it safe to restore back to cm-12.0-YNG1TAS2I3, i am currently on Resurrection Remix Rom 5.1.1, was wondering just starting fresh and going back to stock, anything special i need to do to my phone, i am assuming it will revert back to stock recovery and will this relock the bootloader? thank u.
Bradl79 said:
is it safe to restore back to cm-12.0-YNG1TAS2I3, i am currently on Resurrection Remix Rom 5.1.1, was wondering just starting fresh and going back to stock, anything special i need to do to my phone, i am assuming it will revert back to stock recovery and will this relock the bootloader? thank u.
Click to expand...
Click to collapse
Do you mean restoring a TWRP backup? It won't touch your recovery or your bootloader. Just make sure you wipe properly (system, data, cache, dalvik cache) before restoring.
no doing a full clean restore to stock cm12s, from toolkit
Bradl79 said:
no doing a full clean restore to stock cm12s, from toolkit
Click to expand...
Click to collapse
Don't use a toolkit, they're nothing but trouble and inevitably cause problems. It's perfectly safe to flash the cm-12.0-YNG1TAS2I3 stock images and you'll find detailed instructions in my guide thread:
http://forum.xda-developers.com/showthread.php?t=2839471
Or you can use my re-packaged factory images. It's all automated using a flash-all.bat similar to Nexus devices. Literally a one-click option (with the manual option available too)
EddyOS said:
Or you can use my re-packaged factory images. It's all automated using a flash-all.bat similar to Nexus devices. Literally a one-click option (with the manual option available too)
Click to expand...
Click to collapse
Does your automated script have the "fastboot reboot-bootloader" command between each flash?
Heisenberg said:
Does your automated script have the "fastboot reboot-bootloader" command between each flash?
Click to expand...
Click to collapse
Nope, I've removed all that and they now work (tested on my own OPO)
EddyOS said:
Nope, I've removed all that and they now work (tested on my own OPO)
Click to expand...
Click to collapse
Awesome, I know that rebooting between flashes was causing bricks for some people so that's good to know.
Heisenberg said:
Awesome, I know that rebooting between flashes was causing bricks for some people so that's good to know.
Click to expand...
Click to collapse
Yeah, heard that myself so re-did them. I've only posted the latest CM12S images as I've not the time to go through al the others!
EddyOS said:
Or you can use my re-packaged factory images. It's all automated using a flash-all.bat similar to Nexus devices. Literally a one-click option (with the manual option available too)
Click to expand...
Click to collapse
thank u both for the info, on ur reflash back to stock does it flash stock recovery and relock bootloader? and could i just reflash twrp?
Bradl79 said:
thank u both for the info, on ur reflash back to stock does it flash stock recovery and relock bootloader? and could i just reflash twrp?
Click to expand...
Click to collapse
I think @EddyOS's script does relock the bootloader, which you definitely don't want because once relocked sometimes it won't unlock again. He'll need to confirm that though. It definitely flashes the stock recovery but you can flash TWRP again.
Heisenberg said:
I think @EddyOS's script does relock the bootloader, which you definitely don't want because once relocked sometimes it won't unlock again. He'll need to confirm that though. It definitely flashes the stock recovery but you can flash TWRP again.
Click to expand...
Click to collapse
It doesn't relock, no. I link to a script that does if you want to though
No that's OK I do not want to relock it, thank u both for all ur help

Can modified boot.img be flashed while oxygen 5.1.8 is running?

I'm running 5.8.1 stock rom Franco Kernel. The app says it can, is this true?
Also is there a stock 5.1.8 boot.img file that has TWRP installed into it that can be flashed by Francos app.
Any info appreciated
What you need to do exactly?
lgvoelkernet said:
I'm running 5.8.1 stock rom Franco Kernel. The app says it can, is this true?
Also is there a stock 5.1.8 boot.img file that has TWRP installed into it that can be flashed by Francos app.
Any info appreciated
Click to expand...
Click to collapse
The kennels can be flashed while system is running because it's a different partition and when it flashes, it keeps TWRP and magisk in tact.
mikex8593 said:
The kennels can be flashed while system is running because it's a different partition and when it flashes, it keeps TWRP and magisk in tact.
Click to expand...
Click to collapse
Thanks. Now for a stock boot.img modified only with TWRP in it
Hitman478™ said:
What you need to do exactly?
Click to expand...
Click to collapse
I need to flash 5.1.8 boot.img, one that has TWRP in it.
I DON'T HAVE ACCESS TO A PC so adb and fastboot are out.
And I have stock recovery, can't flash from there ?
That's what's up. ?
lgvoelkernet said:
I need to flash 5.1.8 boot.img, one that has TWRP in it.
I DON'T HAVE ACCESS TO A PC so adb and fastboot are out.
And I have stock recovery, can't flash from there
That's what's up.
Click to expand...
Click to collapse
You need custom recovery or fastboot, otherwise, impossible, as far as I know.
lgvoelkernet said:
I need to flash 5.1.8 boot.img, one that has TWRP in it.
I DON'T HAVE ACCESS TO A PC so adb and fastboot are out.
And I have stock recovery, can't flash from there
That's what's up.
Click to expand...
Click to collapse
Have you asked Franco if this is possible? You can flash kernels while booted, so I don't see a reason you couldn't also flash recovery. The kernel, recovery, and magisk are all in the boot partition together.
However, I have no idea if the kernel flashers (EXKM can also do it) can flash a full boot.img properly.
iElvis said:
Have you asked Franco if this is possible? You can flash kernels while booted, so I don't see a reason you couldn't also flash recovery. The kernel, recovery, and magisk are all in the boot partition together.
However, I have no idea if the kernel flashers (EXKM can also do it) can flash a full boot.img properly.
Click to expand...
Click to collapse
Best idea so far, will check.!

Downgrade from 9.0.2 to 9.0.1?

Hi, just tried to do this by flashing the old zip trough TWRP, but i always end to boot in recovery, maybe i'm doing something wrong...?
I tried this today and happened the same, i guess you have to clean flash to downgrade.
Also a tip, if you got stuck in recovery and yet cannot decrypt (doesn't ask for password/pin in TWRP), boot to fastboot mode, use the command "fastboot boot <the img file name for twrp>" so that you can boot directly to the img file from your PC. This way it will ask for your password.
Killua96 said:
Hi, just tried to do this by flashing the old zip trough TWRP, but i always end to boot in recovery, maybe i'm doing something wrong...?
Click to expand...
Click to collapse
You might try flashing again when you get booted back to TWRP. That way, you can get 9.01 flashed to both slots if it's not already. No guarantees, but it's worth a try.
maigre said:
You might try flashing again when you get booted back to TWRP. That way, you can get 9.01 flashed to both slots if it's not already. No guarantees, but it's worth a try.
Click to expand...
Click to collapse
I tried this way too but keep getting booted back to TWRP. Even did a wipe of the caches, system and data (not internal storage).
Is there anything I can still try?
jiatern said:
I tried this way too but keep getting booted back to TWRP. Even did a wipe of the caches, system and data (not internal storage).
Is there anything I can still try?
Click to expand...
Click to collapse
Flash Magisk again.
maigre said:
Flash Magisk again.
Click to expand...
Click to collapse
I did as well but it didn't help. Still the same.
jiatern said:
I did as well but it didn't help. Still the same.
Click to expand...
Click to collapse
Backup all your data outside the phone and flash a fastboot rom, it worked with me stuck in fastboot and I got back from that horrible 9.0.2
Killua96 said:
Backup all your data outside the phone and flash a fastboot rom, it worked with me stuck in fastboot and I got back from that horrible 9.0.2
Click to expand...
Click to collapse
Why horrible?
PuCiNhOOO said:
Why horrible?
Click to expand...
Click to collapse
Keyboard continuously crash 'cause the new gesture system, that have longer animations and the recent app one loses the vibration feedback and it' s also a lot confusing.
Anyway you can read the same things in the ota's thread, unfortunately are widespread problems
​
Killua96 said:
Keyboard continuously crash 'cause the new gesture system, that have longer animations and the recent app one loses the vibration feedback and it' s also a lot confusing.
Anyway you can read the same things in the ota's thread, unfortunately are widespread problems
Click to expand...
Click to collapse
I think they pushed the update too fast from beta to stable... But yes, agree with the gestures bug... Its a fact, but the other stuff is good
Killua96 said:
Backup all your data outside the phone and flash a fastboot rom, it worked with me stuck in fastboot and I got back from that horrible 9.0.2
Click to expand...
Click to collapse
Can you link me to the exact fastboot rom you flashed? Some said I have to use the downgrade zip from OnePlus to Oreo 5.1.1 then only upgrade to 9.0.1. The OP of the fastboot rom said the rom is not for downgrading.
Did you downgrade to Oreo first or directly flash the 9.0.1 fastboot rom?
jiatern said:
Can you link me to the exact fastboot rom you flashed? Some said I have to use the downgrade zip from OnePlus to Oreo 5.1.1 then only upgrade to 9.0.1. The OP of the fastboot rom said the rom is not for downgrading.
Did you downgrade to Oreo first or directly flash the 9.0.1 fastboot rom?
Click to expand...
Click to collapse
I've wiped everything, then downgraded to Pie directly, but I was in a slightly different situation (only fastboot available).
Just to be sure flash the Oreo one and then upgrade to Pie.
With the whole A/B partition layout it should be easier to downgrade too right?

Resurrection back to Stock?

To go back to Stock from Resurrection using the all in one tool can I just flash the fastboot stock ROM without doing anything special? I tried to do it via the msm tool but got stuck. I did search for this answer but had no luck.
UnicornHub said:
To go back to Stock from Resurrection using the all in one tool can I just flash the fastboot stock ROM without doing anything special? I tried to do it via the msm tool but got stuck. I did search for this answer but had no luck.
Click to expand...
Click to collapse
Yes it work with just flashing fastboot stock rom.
I have not done it but I am sure flashing stock rom via twrp followed by twrp zip (and magisk,if desired) should bring you back to stock. Just to be sure, flash twice to ensure you covered both a/b slots
You need to format data in TWRP then flash OOS in TWRP
Zhuang zhuang said:
You need to format data in TWRP then flash OOS in TWRP
Click to expand...
Click to collapse
I don't have TWRP or root. I lost it after an update.
UnicornHub said:
I don't have TWRP or root. I lost it after an update.
Click to expand...
Click to collapse
If you have PC, you can install TWRP via fastboot easily. I've never used the fastboot rom before, so I don't know about it.

Categories

Resources