[Q] Wiped internal memory (recovery and ROMs can't mount)

JustLikeThat

Member
Sep 15, 2012
22
0
0
I'm a dummy.

First off, I'm still S-On.

I was attempting to flash a GPe ROM using TWRP and figured I'd wipe my phone while I was waiting for ROM to download. I clicked 'Wipe' and after not very carefully choosing my option and typing 'yes' (bottom right button, the one that nukes everything) I found that I couldn't keep my Recovery partitions running because they couldn't mount to the internal storage. TWRP just flickers before finally rebooting into a loop and Philz runs for about 20 seconds while giving me errors that it can't open or mount to `cache/recovery/...` before rebooting into the loop.

I've tried formatting the directories in Philz in separate 20 second windows by hand and have managed to make my way through the list (/cache, /data, /system, etc) to no avail. The errors that Philz gives that it can't open or mount to `/cache/recovery/...` are gone, but there is still only 20 seconds that I'm able to use it before rebooting into a loop. I've tried booting into recoveries with `fastboot boot boot/recovery.img` but those only stay running as long as the flashed recoveries (BTW I've downloaded all the recoveries and ROMs I'm trying multiple times).

It seems like the only thing I have at my disposal right now is Fastboot; ADB works in the 20 second windows, but I haven't been able to find anything on how to fix this and can't do much by myself in 20 seconds; I've tried to use RebootRUU, but as far as I can tell that just brings me to a black screen with HTC and gives me access to Fastboot.

I have no idea what to attempt next, does anyone have any thoughts or pointers? Thank you.
 

Darknites

Senior Member
Jul 2, 2011
6,266
2,530
0
I'm a dummy.

First off, I'm still S-On.

I was attempting to flash a GPe ROM using TWRP and figured I'd wipe my phone while I was waiting for ROM to download. I clicked 'Wipe' and after not very carefully choosing my option and typing 'yes' (bottom right button, the one that nukes everything) I found that I couldn't keep my Recovery partitions running because they couldn't mount to the internal storage. TWRP just flickers before finally rebooting into a loop and Philz runs for about 20 seconds while giving me errors that it can't open or mount to `cache/recovery/...` before rebooting into the loop.

I've tried formatting the directories in Philz in separate 20 second windows by hand and have managed to make my way through the list (/cache, /data, /system, etc) to no avail. The errors that Philz gives that it can't open or mount to `/cache/recovery/...` are gone, but there is still only 20 seconds that I'm able to use it before rebooting into a loop. I've tried booting into recoveries with `fastboot boot boot/recovery.img` but those only stay running as long as the flashed recoveries (BTW I've downloaded all the recoveries and ROMs I'm trying multiple times).

It seems like the only thing I have at my disposal right now is Fastboot; ADB works in the 20 second windows, but I haven't been able to find anything on how to fix this and can't do much by myself in 20 seconds; I've tried to use RebootRUU, but as far as I can tell that just brings me to a black screen with HTC and gives me access to Fastboot.

I have no idea what to attempt next, does anyone have any thoughts or pointers? Thank you.
Try flashing the stock recovery and then factory reset in bootloader then try custom recovery again.
 

Darknites

Senior Member
Jul 2, 2011
6,266
2,530
0
I've been trying the only AT&T one that I can find and I get a black screen for a couple of minutes, then a picture of the phone with a red triangle and exclamation point...
Hmm not sure then, only other thing I can think of is ruu but looks like you tried that.

Sent from my HTC One_M8 using Tapatalk
 

SaHiLzZ

Senior Member
Jan 19, 2011
2,000
516
0
That's OK. Press volume up and down a few times and select factory reset eventually. It takes a few tries and it will show up
 

SaHiLzZ

Senior Member
Jan 19, 2011
2,000
516
0
I've always been able to select factory reset in bootloader, but it doesn't do anything
Make sure you're in the bootloader go into fastboot and make sure the downloaded image is in the same folder as your fastboot.

fastboot flash recovery stockrecovery.img
fastboot erase cache
fastboot reboot-bootloader

Go into bootloader and then choose Factory Reset - let that finish running <<<Important!

Phone will go out and start bootlooping. Now power off and go back to bootloader mode:
Go into fastboot

fastboot flash recovery <custom recovery>.img
fastboot erase cache
fastboot reboot-bootloader

Now you can go into custom recovery and you should be good to go now.
 
  • Like
Reactions: JustLikeThat

ashyx

Recognized Contributor
Oct 14, 2012
15,110
9,824
0
I've been trying the only AT&T one that I can find and I get a black screen for a couple of minutes, then a picture of the phone with a red triangle and exclamation point...
That just means you have a stock recovery installed but no update to install, press volume up and the power button to enter the stock recovery when you see the red triangle.
 

JustLikeThat

Member
Sep 15, 2012
22
0
0
Make sure you're in the bootloader go into fastboot and make sure the downloaded image is in the same folder as your fastboot.

fastboot flash recovery stockrecovery.img
fastboot erase cache
fastboot reboot-bootloader

Go into bootloader and then choose Factory Reset - let that finish running <<<Important!

Phone will go out and start bootlooping. Now power off and go back to bootloader mode:
Go into fastboot

fastboot flash recovery <custom recovery>.img
fastboot erase cache
fastboot reboot-bootloader

Now you can go into custom recovery and you should be good to go now.

Holy balls thank you so so much!!!!!! You are a scholar and a saint!