TWRP - Not wiping - Nexus 6 Q&A, Help & Troubleshooting

I've been rooted since I got the Nexus 6 and recently have been having issues with TWRP. I can back up and restore but it won't do a factory data reset or wipe of any kind. I've tried with TWRP 2.8.6.0, 2.8.7.0 and 2.8.7.1. When trying to flash a new rom I select factory data reset, even tried advance wipe and wiped the whole phone including internal storage. After flashing the rom boots up like I dirty flashed it. I've even returned to stock, rerooted and the same issues with TWRP - it just won't wipe. Any suggestions would be sincerely appreciated as I'd like to flash a Marshmallow rom.

ggrant3876 said:
I've been rooted since I got the Nexus 6 and recently have been having issues with TWRP. I can back up and restore but it won't do a factory data reset or wipe of any kind. I've tried with TWRP 2.8.6.0, 2.8.7.0 and 2.8.7.1. When trying to flash a new rom I select factory data reset, even tried advance wipe and wiped the whole phone including internal storage. After flashing the rom boots up like I dirty flashed it. I've even returned to stock, rerooted and the same issues with TWRP - it just won't wipe. Any suggestions would be sincerely appreciated as I'd like to flash a Marshmallow rom.
Click to expand...
Click to collapse
I miss in your description that you format the data partition.

NLBeev said:
I miss in your description that you format the data partition.
Click to expand...
Click to collapse
Yes I've even tried that too.

ggrant3876 said:
Yes I've even tried that too.
Click to expand...
Click to collapse
When you have TWRP installed and bootloader unlocked you could follow the instructions in the OP of the JDX rom.
What I would do: fastboot flash M-bootloader and M-radio. Reboot to bootloader and fastboot flash TWRP 2.8.7.1. Than flash the JDX 4.0 rom.
Power off the N6. Reboot in recovery TWRP and wipe cache and do a factory reset.

NLBeev said:
When you have TWRP installed and bootloader unlocked you could follow the instructions in the OP of the JDX rom.
What I would do: fastboot flash M-bootloader and M-radio. Reboot to bootloader and fastboot flash TWRP 2.8.7.1. Than flash the JDX 4.0 rom.
Power off the N6. Reboot in recovery TWRP and wipe cache and do a factory reset.
Click to expand...
Click to collapse
I thought about that but not sure it would boot if not really wiping.

ggrant3876 said:
I thought about that but not sure it would boot if not really wiping.
Click to expand...
Click to collapse
You need to connect N6 -> PC.
And use a dosbox as administrator.
You have 2 options to boot in bootloader mode.
From the PC or pressing buttons Power + Vol down. So why no boot ?

NLBeev said:
You need to connect N6 -> PC.
And use a dosbox as administrator.
You have 2 options to boot in bootloader mode.
From the PC or pressing buttons Power + Vol down. So why no boot ?
Click to expand...
Click to collapse
I've been messing with the phone for about three hours today and got it back running. Will give that a try in a day or two - so frustrated right now may make a major mistake.

I would still like to find out why TWRP has stopped wiping on my phone.

Related

[Q] Boot loop on Bootloader unlocked screen

Hi All,
I have the VZW DE and was having trouble deleting files when connecting my phone to Ubuntu (when I tried to delete a file, my phone would reboot). I figured I corrupted some files and had a nandroid backup from a few days ago. So I rebooted into TWRP and did a restore of the backup (system, data, and boot). But now when I reboot, my phone is stuck in a boot loop on the bootloader unlock screen. It will stay on for about 30 seconds, the phone will power down and then back to the bootloader unlock screen . I have no choice but to go back into TWRP.
I tried all that I could, I wiped then restored, same thing. I even had a back up from a few weeks ago but same results. Strange thing is, every time I go back into TWRP and click the Mount button, System mount is always unchecked even when I check it and reboot (same thing happens, stuck on bootloader unlock screen and will have to go back into TWRP)
Any ideas whats happening? I thought the restore would work perfectly but has completely stopped me from getting back on my phone.
Thanks guys!
atomus12 said:
Hi All,
I have the VZW DE and was having trouble deleting files when connecting my phone to Ubuntu (when I tried to delete a file, my phone would reboot). I figured I corrupted some files and had a nandroid backup from a few days ago. So I rebooted into TWRP and did a restore of the backup (system, data, and boot). But now when I reboot, my phone is stuck in a boot loop on the bootloader unlock screen. It will stay on for about 30 seconds, the phone will power down and then back to the bootloader unlock screen . I have no choice but to go back into TWRP.
I tried all that I could, I wiped then restored, same thing. I even had a back up from a few weeks ago but same results. Strange thing is, every time I go back into TWRP and click the Mount button, System mount is always unchecked even when I check it and reboot (same thing happens, stuck on bootloader unlock screen and will have to go back into TWRP)
Any ideas whats happening? I thought the restore would work perfectly but has completely stopped me from getting back on my phone.
Thanks guys!
Click to expand...
Click to collapse
what FW are you on? what twrp version are you using? did you try wiping cache and dalvik before and after restoring your back up?
jayboyyyy said:
what FW are you on? what twrp version are you using? did you try wiping cache and dalvik before and after restoring your back up?
Click to expand...
Click to collapse
Sorry about the delay. Thanks for your response jay!
If by FW you mean firmware, I'm on Verizon's 139.15.1_ghost. I just recently flashed twrp version 2.6.3.1 to prep for 4.4 and it flashed successfully. I wiped cache and dalvik before and after (always like to be on the safe side haha).
I tried a few other methods, like wiping the system and restoring, and wiping system, flashing the flashable zip 139.15.1 and restoring just data from the backup, etc.
I'm thinking about just RSDing my phone with the latest firmware (140.45.5_ghost) and start from scratch. Is that tool available for Linux?
atomus12 said:
Sorry about the delay. Thanks for your response jay!
If by FW you mean firmware, I'm on Verizon's 139.15.1_ghost. I just recently flashed twrp version 2.6.3.1 to prep for 4.4 and it flashed successfully. I wiped cache and dalvik before and after (always like to be on the safe side haha).
I tried a few other methods, like wiping the system and restoring, and wiping system, flashing the flashable zip 139.15.1 and restoring just data from the backup, etc.
I'm thinking about just RSDing my phone with the latest firmware (140.45.5_ghost) and start from scratch. Is that tool available for Linux?
Click to expand...
Click to collapse
thats your problem. you flashed twrp for 4.4 but you weren't on 4.4. I don't believe that twrp is backwards compatible. what you need to do is flash your old twrp back to the recovery. then restore your backup. then flash the stock recovery and system images. then take the ota. then flash the new twrp, then boot phone, say you wnat root. then create another back up of that twrp.
jayboyyyy said:
thats your problem. you flashed twrp for 4.4 but you weren't on 4.4. I don't believe that twrp is backwards compatible. what you need to do is flash your old twrp back to the recovery. then restore your backup. then flash the stock recovery and system images. then take the ota. then flash the new twrp, then boot phone, say you wnat root. then create another back up of that twrp.
Click to expand...
Click to collapse
Never even thought about that! I will try those steps as soon as I get home today!
Thanks jay!!

Constant Boot into TWRP

I was on stock ROM and had my bootloader unlocked
I flashed the latest TWRP on my XSP
Then on booting into recovery I wiped data/cache/dalvik cache and then installed AICP with the GApps
after installing when i chose reboot it asked me whether to install superuser I clicked no and rebooted
And now even on normal booting it goes into TWRP
even if I try to connect to my laptop in fastboot mode it is booting up into TWRP
basically no matter what button i press, It is booting up into TWRP
I have installed the latest TWRP available
I even tried the hard seret but again it goes into TWRP
AnishK said:
I was on stock ROM and had my bootloader unlocked
I flashed the latest TWRP on my XSP
Then on booting into recovery I wiped data/cache/dalvik cache and then installed AICP with the GApps
after installing when i chose reboot it asked me whether to install superuser I clicked no and rebooted
And now even on normal booting it goes into TWRP
even if I try to connect to my laptop in fastboot mode it is booting up into TWRP
basically no matter what button i press, It is booting up into TWRP
I have installed the latest TWRP available
I even tried the hard seret but again it goes into TWRP
Click to expand...
Click to collapse
Flash tangerine and see if the problem is solved.
If not,
Do a full wipe again, flash ROM, then tangerine, then GApps.
AnishK said:
I was on stock ROM and had my bootloader unlocked
I flashed the latest TWRP on my XSP
Then on booting into recovery I wiped data/cache/dalvik cache and then installed AICP with the GApps
after installing when i chose reboot it asked me whether to install superuser I clicked no and rebooted
And now even on normal booting it goes into TWRP
even if I try to connect to my laptop in fastboot mode it is booting up into TWRP
basically no matter what button i press, It is booting up into TWRP
I have installed the latest TWRP available
I even tried the hard seret but again it goes into TWRP
Click to expand...
Click to collapse
Hello. This problem is really weird. May I know where did you learned to flash the TWRP recovery?
Also what is the current state of your bootloader?
In the meantime, you can try out my Stock Components as Flashable ZIPs to flash. Read the OP carefully and only choose FOTAkernel component.
Flash it through your TWRP. Shut down the phone (Main Menu > Reboot > Power off) and try to fastboot.
Zenith said:
Flash tangerine and see if the problem is solved.
If not,
Do a full wipe again, flash ROM, then tangerine, then GApps.
Click to expand...
Click to collapse
Did a full wipe, flashed ROM, then tangerine, then GApps..
Rebooted the phone
And no response
It just vibrated as always when it turns on but the screen didn't even turned on.
TechnoSparks said:
Hello. This problem is really weird. May I know where did you learned to flash the TWRP recovery?
Also what is the current state of your bootloader?
In the meantime, you can try out my Stock Components as Flashable ZIPs to flash. Read the OP carefully and only choose FOTAkernel component.
Flash it through your TWRP. Shut down the phone (Main Menu > Reboot > Power off) and try to fastboot.
Click to expand...
Click to collapse
I flashed the TWRP using flashtool on my laptop
And currently my bootloader in unlocked
AnishK said:
Did a full wipe, flashed ROM, then tangerine, then GApps..
Rebooted the phone
And no response
It just vibrated as always when it turns on but the screen didn't even turned on.
Click to expand...
Click to collapse
Seems to be an unusual problem.
Try flashing stock again.
AnishK said:
I flashed the TWRP using flashtool on my laptop
And currently my bootloader in unlocked
Click to expand...
Click to collapse
Please try to flash stock ROM again.
Zenith said:
Seems to be an unusual problem.
Try flashing stock again.
Click to expand...
Click to collapse
Yeah.. Flashed stock Rom again..
But before it i tried installing some other Rom's.. other than AICP..
it was successful for resurrection remix and stryflex..
but again when i used to flash TWRP it again used to start booting into recovery..
Might be some problem with the recovery.. Didn't try any other recovery though..
AnishK said:
Yeah.. Flashed stock Rom again..
But before it i tried installing some other Rom's.. other than AICP..
it was successful for resurrection remix and stryflex..
but again when i used to flash TWRP it again used to start booting into recovery..
Might be some problem with the recovery.. Didn't try any other recovery though..
Click to expand...
Click to collapse
I'm not sure which TWRP you installed,
but this is an updated one and it works perfectly. It won't get deleted even if you change ROMs.
Flash the fotakernel of your device from the link provided by TechnoSparks in post#3.
Then flash TWRP.
Zenith said:
I'm not sure which TWRP you installed,
but this is an updated one and it works perfectly. It won't get deleted even if you change ROMs.
Flash the fotakernel of your device from the link provided by TechnoSparks in post#3.
Then flash TWRP.
Click to expand...
Click to collapse
I had installed the latest TWRP..
No idea why this happened..
I will try installing fotakernel and then TWRP..

Cannot boot into recovery (TWRP)

As the title suggest, I fail to boot into TWRP.
I have unlocked the phone and flashed TWRP (https://dl.twrp.me/raphael/twrp-3.3.1-0-raphael.img).
I could boot into TWRP using Power + Volume Up , wiped everything (except vendor) and pushed a custom rom to the internal storage.
I restarted the phone for some reason and cannot boot into TWRP anymore. Whatever I do, I end up in fastboot. Tried to flash various versions of TWRP with the same result.
Can you guys help me out?
Edit: I flashed the corresponding Xiaomi fastboot image and repeated the process, same problem.
Edit: Solved by repeating again.
flel said:
As the title suggest, I fail to boot into TWRP.
I have unlocked the phone and flashed TWRP (https://dl.twrp.me/raphael/twrp-3.3.1-0-raphael.img).
I could boot into TWRP using Power + Volume Up , wiped everything (except vendor) and pushed a custom rom to the internal storage.
I restarted the phone for some reason and cannot boot into TWRP anymore. Whatever I do, I end up in fastboot. Tried to flash various versions of TWRP with the same result.
Can you guys help me out?
Edit: I flashed the corresponding Xiaomi fastboot image and repeated the process, same problem.
Edit: Solved by repeating again.
Click to expand...
Click to collapse
In future, don't wipe everything. You should only need to do the factory reset in TWRP, which will automatically wipe data, cache and dakvik. If you are flashing over MIUI then you will also need to format data.
There is almost never any need to wipe anything else in TWRP when doing normal custom ROM flashing.

Stuck on fastboot

followed every step while trying to flash Pixel Experience. when trying to reboot my phone got stuck on fastboot. so i flashed it back MIUI successful. i tried to flash it again in Pixel Experience but i keep on getting stuck on fastboot.
valepius14 said:
followed every step while trying to flash Pixel Experience. when trying to reboot my phone got stuck on fastboot. so i flashed it back MIUI successful. i tried to flash it again in Pixel Experience but i keep on getting stuck on fastboot.
Click to expand...
Click to collapse
From stock MIUI.
Install TWRP
Boot into TWRP
Do a factory reset
Format data - Format not wipe, need to type yes to confirm
Reboot to recovery (TWRP)
Flash PE
Boot into the ROM
Everything should be good
Flash Magisk if required
Do not wipe any other partitions in TWRP, the factory reset is enough.
Make sure you format data in TWRP - don't miss this step out.

Question How do i get Stock recovery to not replace TWRP when rebooting???

Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Helhound0 said:
Tried a bunch of things to make the TWRP installation persistent, but it just goes back to MIUI recovery when i reboot from the system.
I'm using TWRP 3.5.2 by Nebrassy.
USB debugging turned on
Correct drivers installed
fastboot devices work Using minimal ADB and fastboot
I have the file renamed as TWRP.img.
Steps i followed:
fastboot boot "TWRP.img" - Correctly boots into TWRP
install the TWRP image to the recovery partition - Happens with no errors
Reboot to system - No errors there as well
Reboot to recovery - Goes back to MIUI recovery.
Can someone please tell me what i should do?
PS: Tried with TWRP 3.6.0 as well just now. Same issue.
Click to expand...
Click to collapse
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Laptapper said:
Try again to flash TWRP dirty and if it's started don't boot with software. You have to boot TWRP again by pressing volume + and power button until you'll get vibration , afterwards you'll be in TWRP again, clear dalvik and cache and restart system via TWRP menu
Click to expand...
Click to collapse
Sorry mate that didn't work. Still going back to stock recovery...
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Helhound0 said:
Sorry mate that didn't work. Still going back to stock recovery...
Click to expand...
Click to collapse
Then you've got to do a flash with stock ROM and miflash via pc
Laptapper said:
Then you've got to do a flash with stock ROM and miflash via pc
Click to expand...
Click to collapse
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
romuser87 said:
I used the Disable-Dm-Verity-Zip directly in TWRP after installation. Worked without a problem.
Click to expand...
Click to collapse
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
Helhound0 said:
I read that somewhere too but that didn't help me at all... Maybe i have a bad zip file..
Can you share the zip you flashed?
Also, any idea how i could get this fixed:
Click to expand...
Click to collapse
The attached file worked for me
Helhound0 said:
Would that re-lock the bootloader? And if so do i have to wait 7 more days for it to be unlocked?
Click to expand...
Click to collapse
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
HiQual said:
1. With MiFlash there is an option at the bottom of the screen to lock bootloader. Just make sure it is NOT checked, and you will be safe to use MiFlash without relocking bootloader.
2. When installing TWRP for first time, it is essential that your first reboot is straight back to TWRP - then it becomes persistent, and future reboots to recovery will be to TWRP. If you do not do the first reboot back to TWRP, the stock MIUI ROM recovery reinstalls itself.
Click to expand...
Click to collapse
The first ever twrp install i did, i rebooted to system by mistake but i reflashed twrp and made sure to reboot to recovery.... That was the second try. I think i may have tried at least two dozen times since that but it just kept booting back to stock recovery...
I think I'll run with this until the end of Jan and then redo everything from scratch...
Helhound0 said:
Since i didn't find a solution to make the installation presistant, i went ahead and flashed Elixir with the temporarily booted TWRP. Then wiped cache and dalvik, flashed the TWRP image, formatted data and then rebooted. Now it works.
Edit: This method did something to my recovery. I can boot to system and recovery fine but TWRP isn't able to mount the data partition. So i'm not able to flash anything or root the device anymore.
I tried formatting data, no luck.
Then tried repairing the data partition. No luck.
Changed the file system to EX2 and then EX4... Nothing.
Anyone know a solution for this?
Click to expand...
Click to collapse
I'm stuck at this stage. Have you found any solution yet?

Categories

Resources