Very major problems with recovery and roms - Verizon HTC One (M8)

So here is my problem. Every time I flash a recovery, my rom gets deleted, so I flash another one. But, when I flash a rom, my recovery gets deleted. So I flash recovery again... It's an endless cycle.
So, I either don't have a rom, or don't have recovery.
I have S-OFF with firewater and I am trying to flash skyfall and TWRP.
What the hell is going on? This has NEVER happened with any other phone I have owned.
EDIT: I have fixed the issue. If you too have this issue, please refer to post #3.

1. Are you wiping internal storage?
2. If you aren't wiping internal storage, where are you placing your ROM? Root of internal storage or in the download folder. Or your SD card? TWRP will allow you to access all your folders to find a ROM.
3. How are you flashing your recovery? Adb and the .img file from TWRP work best for me.
Flash TWRP using adb. Phone will boot into TWRP recovery. Do a factory reset WITHOUT wiping internal/external storage. Press install. Find your ROM and install it. Do a dalvik cache wipe. Reboot system. Wait...be patient and you should be good to go.
I also recommend downloading a ROM from your computer and placing it on your sdcard if you have one. Then you have no worries about it being erased. Hope this helps.
Sent from my awe inspiring HTC One M8

ironbesterer said:
So here is my problem. Every time I flash a recovery, my rom gets deleted, so I flash another one. But, when I flash a rom, my recovery gets deleted. So I flash recovery again... It's an endless cycle.
So, I either don't have a rom, or don't have recovery.
I have S-OFF with firewater and I am trying to flash skyfall and TWRP.
What the hell is going on? This has NEVER happened with any other phone I have owned.
Click to expand...
Click to collapse
use fastboot
for recovery : ./fastboot flash recovery recoveryfilename.img
for kernel : ./fastboot flash boot kernelfilename.img
at one point there were incorrect directions flashing TWRP in terminal telling you to send it to the wrong partition

scooterman said:
use fastboot
for recovery : ./fastboot flash recovery recoveryfilename.img
for kernel : ./fastboot flash boot kernelfilename.img
at one point there were incorrect directions flashing TWRP in terminal telling you to send it to the wrong partition
Click to expand...
Click to collapse
This is actually what I did and it fixed it. I forgot to edit OP.

Related

How do I fix this?

"Hi! I'm messaging you in regards to my issue while flashing Cyanogenmod 10. I will try to explain exact details of what happened. First I successfully rooted flash clockwork recovery mod superuser etc. using your amazing step by step videos. I decided to flash CM10. I did the beginning part by opening cmd prompt and doing the boot.img etc. While I was on fastboot mode I noticed you had an option for hboot. I did not have that option so instead I clicked Bootloader, opened into to recovery, and tried vigorously installing cm10 from sd card but it always said it could not open it and aborted it. I panicked and wipe data/cache/dalvik cache. I tried multiple times and I still could not install it. On the bootloader I decided to click Factory Reset. It took me too recovery but now I cannot open my sdcard and this error keeps popping up: "E: Can't mount". Now I am panicking big time because I know this could by a soft brick but I have no idea how to undo everything. Please help! It would be greatly appreciated! ".
This is the message i sent to the person who made the video but I am also posting it here because I was wondering how to undo all of this and fix it. This is his video he does a good job of explaning but I just want to fix this and get it back to normal: http://www.youtube.com/watch?v=elDvcVot7qo
Thanks everyone!
First things first... Don't use clock work use twrp second r u sure that cm10 is for our phone not the int one...third don't factory reset from bootloader you corrupted your sd reformat your sd flash twrp from fastboot go into recovery and drag over a Ron from your comp and flash
omario8484 said:
First things first... Don't use clock work use twrp second r u sure that cm10 is for our phone not the int one...third don't factory reset from bootloader you corrupted your sd reformat your sd flash twrp from fastboot go into recovery and drag over a Ron from your comp and flash
Click to expand...
Click to collapse
This, also note what version your hboot is, 1.14 means you have to flash the boot.img first from fastboot before you can install that .zip fromTWRP
omario8484 said:
First things first... Don't use clock work use twrp second r u sure that cm10 is for our phone not the int one...third don't factory reset from bootloader you corrupted your sd reformat your sd flash twrp from fastboot go into recovery and drag over a Ron from your comp and flash
Click to expand...
Click to collapse
I just found out that there is a version specifically for the AT&T builds. Yeah I did that and corrupted my sdcard and now I'm stuck on how to reformat it. I have to admit I am quite a noob at this but I've been flashing since my old Samsung Captiviate.
Myrder said:
This, also note what version your hboot is, 1.14 means you have to flash the boot.img first from fastboot before you can install that .zip fromTWRP
Click to expand...
Click to collapse
Yes you're right I have to fastboot the boot.img first. I'm just stuck on how to get back because the CM10 I put on my phone was for a different version of the One X and I've corrupted my sd card.
omario8484 said:
First things first... Don't use clock work use twrp second r u sure that cm10 is for our phone not the int one...third don't factory reset from bootloader you corrupted your sd reformat your sd flash twrp from fastboot go into recovery and drag over a Ron from your comp and flash
Click to expand...
Click to collapse
I did exactly as you said and I did reformat SD from windows using TWRP and successfully flashed CM10/GAAPS etc. But my phone is just on a bootloop with the HTC screen popping up and a message saying "This build is for development purposes only. Do not distribute outside of HTC without HTC's written permission. Failure to comply may lead to legal action". Now what lol?
sam10037 said:
I did exactly as you said and I did reformat SD from windows using TWRP and successfully flashed CM10/GAAPS etc. But my phone is just on a bootloop with the HTC screen popping up and a message saying "This build is for development purposes only. Do not distribute outside of HTC without HTC's written permission. Failure to comply may lead to legal action". Now what lol?
Click to expand...
Click to collapse
You'll always see that screen that's our splashy screen after we unlock our bl...but it seems as your forgetting to flash the boot IMG manually through fastboot AFTER you flash the rom
omario8484 said:
You'll always see that screen that's our splashy screen after we unlock our bl...but it seems as your forgetting to flash the boot IMG manually through fastboot AFTER you flash the rom
Click to expand...
Click to collapse
+1. You need to manually flash boot.img via fastboot first, and then flash the CM10 rom w/ GApps. fastboot flash boot boot.img
once you've flashed the boot.img via fastboot (hopefully that'll clear up your bootloop issue). There is an app around called FlashImageGUI for flashing img files (straight from the zip too) so you don't need a computer to flash the boot.img. This is a great timesaver.
stopped at clockwork recovery .....
CheesyNutz said:
stopped at clockwork recovery .....
Click to expand...
Click to collapse
exactly, dude screwed up. time to start from scratch.

Stuck in Fastboot

Okay so I tried to flash cyanogenmod 11 for the first time on this moto G (US). It bootlooped and I tired to reflash it again and it did the same. There was no way of returning to stock because I had not made a backup. So I tried to flash stock in the bootloader and that didn't work. I went into the recovery and it said 'cant mount /sdcard. So go back into the bootloader and format the sdcard and that doesn't work (which I returned to the recovery to see it not working). I go back and flash twrp thinking that recovery would have something to help me flash a new rom and now I don't even have a working recovery. It takes me straight back to the bootloader and every time I flash a recovery it says Mismatched partition size (recovery) and I am unable to boot into it.
I have no clue on what to do at this point and I need help.
also it says invalid "boot image header!" in red letters
http://forum.xda-developers.com/showthread.php?t=2542219
Install full factory image with fastboot.
P.Kosunen said:
http://forum.xda-developers.com/showthread.php?t=2542219
Install full factory image with fastboot.
Click to expand...
Click to collapse
Alright thankyou!
I got everything to work again but I still can't flash roms. They just bootloop :S
It could be too big recovery install with fastboot causes problem, every recovery cwm/twrp i tried to install with fastboot fails.
http://forum.xda-developers.com/showpost.php?p=49559872&postcount=234
Twrp_MotoG_signed_010814_163615.zip
Download vocoderisms TWRP build, extract "recovery.img" from it.
After you have kitkat installed and working:
Option 1, use TWRP without install:
Boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img) and install rom from there.
Option 2, install TWRP (have not tested):
Upload twrp zip to phone (adb push Twrp_MotoG_signed_010814_163615.zip /sdcard/), boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img), install Twrp_MotoG_signed_010814_163615.zip.
Misterowl said:
Okay so I tried to flash cyanogenmod 11 for the first time on this moto G (US). It bootlooped and I tired to reflash it again and it did the same. There was no way of returning to stock because I had not made a backup. So I tried to flash stock in the bootloader and that didn't work. I went into the recovery and it said 'cant mount /sdcard. So go back into the bootloader and format the sdcard and that doesn't work (which I returned to the recovery to see it not working). I go back and flash twrp thinking that recovery would have something to help me flash a new rom and now I don't even have a working recovery. It takes me straight back to the bootloader and every time I flash a recovery it says Mismatched partition size (recovery) and I am unable to boot into it.
I have no clue on what to do at this point and I need help.
Click to expand...
Click to collapse
https://docs.google.com/file/d/0B2LP8tI1Xwu4MGtPTlpVcVQxN0k/preview this cwm worked for me
You do know flashing stock again removes root, so it has to be rerooted again ?
aradalien said:
You do know flashing stock again removes root, so it has to be rerooted again ?
Click to expand...
Click to collapse
Yes I am very aware and followed through with root with that outcome.
kieranc88 said:
https://docs.google.com/file/d/0B2LP8tI1Xwu4MGtPTlpVcVQxN0k/preview this cwm worked for me
Click to expand...
Click to collapse
CWM doesn't work it. It boots up (Im used cyanogenmod) the cyanogenmod boot animation but just stays there.
P.Kosunen said:
It could be too big recovery install with fastboot causes problem, every recovery cwm/twrp i tried to install with fastboot fails.
http://forum.xda-developers.com/showpost.php?p=49559872&postcount=234
Twrp_MotoG_signed_010814_163615.zip
Download vocoderisms TWRP build, extract "recovery.img" from it.
After you have kitkat installed and working:
Option 1, use TWRP without install:
Boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img) and install rom from there.
Option 2, install TWRP (have not tested):
Upload twrp zip to phone (adb push Twrp_MotoG_signed_010814_163615.zip /sdcard/), boot to bootloader (adb reboot bootloader), boot twrp (fastboot boot recovery.img), install Twrp_MotoG_signed_010814_163615.zip.
Click to expand...
Click to collapse
I've flashed twrp too and came out with the same outcome.
stuck in fastboot
Misterowl said:
Okay so I tried to flash cyanogenmod 11 for the first time on this moto G (US). It bootlooped and I tired to reflash it again and it did the same. There was no way of returning to stock because I had not made a backup. So I tried to flash stock in the bootloader and that didn't work. I went into the recovery and it said 'cant mount /sdcard. So go back into the bootloader and format the sdcard and that doesn't work (which I returned to the recovery to see it not working). I go back and flash twrp thinking that recovery would have something to help me flash a new rom and now I don't even have a working recovery. It takes me straight back to the bootloader and every time I flash a recovery it says Mismatched partition size (recovery) and I am unable to boot into it.
I have no clue on what to do at this point and I need help.
Click to expand...
Click to collapse
Exactly i am also facing same problem....
mobile unable to instal firmware...
still i am searching for solution ...
guys plz help me
I thought I am the only one with this problem..After mailing the phone to SC and got it back after 2 months, the phone still looks the same, just like they did nothing to fix it.

fastboot flash rom

can i fastboot flash a rom or other zip? i've run into a problem after flashing a rom that wont boot and twrp wont mount data or my internal storage so i cant flash anything else. any help would be appretiated
I dont know how to do it, but have heard you can use the sideload feature of the twrp recovery to flash a rom. Or you could try flashing the new twrp recovery if your not on the new one. The new twrp 2.8.0.3 recovery was released on 9-30-14 last I checked its not updated on xda yet but you can get it on the twrp recovery web site which its on the link below, its the newest one on the bottom of the list.
http://techerrata.com/browse/twrp2/m8_wlv
reaper420 said:
can i fastboot flash a rom or other zip? i've run into a problem after flashing a rom that wont boot and twrp wont mount data or my internal storage so i cant flash anything else. any help would be appretiated
Click to expand...
Click to collapse
worse case scenario, run the RUU, fastboot flash recovery recovery.img then install ROM in recovery.
Honestly, you might as well apply the whole RUU and get yourself back to a working stock before putting another custom ROM back on. Follow the OP in this thread: http://forum.xda-developers.com/showthread.php?t=2873144
I tried every method possible and none worked, I recently cracked my screen so I just took this as a sign and went ahead and got it replaced with insurance. Thanks for all the suggestions
did your recovery constantly reboot into a white htc screen ?
jxcorex28 said:
did your recovery constantly reboot into a white htc screen ?
Click to expand...
Click to collapse
Are you using the correct Vzw version of twrp or cwm?

Multiple recoveries installed

I'm screwed. I attempted to install an updated TWRP, so i selected that option in ROM Toolbox Pro. Everything installed correctly (TWRP 2.7??). I decide let me see if TWRP installer will replace that with the updated 2.8.5. I run TWRP installer and it installs correctly. My assumption was that the TWRP installer would overwrite the ROM Toolbox version. Well, i reboot into the 2.8.5 recover (like it suggested) and i hit Reboot and then it reboots into 2.7. From there it thinks there is no OS installed. Rebooting from there just reboots me back in 2.7 recovery. I can get into Fastboot, and then back in 2.8.5 recovery. I flashed a new ROM, but that didn't fix it. I attempted to flash an RUU but i can't seem to get that working either. Am I completely screwed and should i call insurance on it?
Help me XDA, you're my only hope.
theoden144 said:
I'm screwed. I attempted to install an updated TWRP, so i selected that option in ROM Toolbox Pro. Everything installed correctly (TWRP 2.7??). I decide let me see if TWRP installer will replace that with the updated 2.8.5. I run TWRP installer and it installs correctly. My assumption was that the TWRP installer would overwrite the ROM Toolbox version. Well, i reboot into the 2.8.5 recover (like it suggested) and i hit Reboot and then it reboots into 2.7. From there it thinks there is no OS installed. Rebooting from there just reboots me back in 2.7 recovery. I can get into Fastboot, and then back in 2.8.5 recovery. I flashed a new ROM, but that didn't fix it. I attempted to flash an RUU but i can't seem to get that working either. Am I completely screwed and should i call insurance on it?
Help me XDA, you're my only hope.
Click to expand...
Click to collapse
To solve this, you could get phone into Fastboot and flash Dottat's RUU for the M8 - he made several versions.
For sure, add HTC_Fastboot.exe to your ADB folder and use it, NOT regular fastboot.
It will overwrite your previous recovery with stock and fix your phone. Then later, you could flash TWRP 2.8.7 thru Fastboot.
I put Dottat's RUU on my external SD card and it loaded, however, whenever it goes to reboot, it still goes back into the wrong recovery.
It's probably not necessary to run an RUU. You incorrectly flashed the new recovery to the wrong partition. Flash the new recovery VIA FASTBOOT, boot into it through the bootloader screen, and either flash a rom or restore a backup and you should be good to go. You definitely don't need to be worrying about an insurance claim for now.
Edit: by VIA FASTBOOT I mean with the command fastboot flash recovery <nameofrecoveryfile>.img
cntryby429 said:
It's probably not necessary to run an RUU. You incorrectly flashed the new recovery to the wrong partition. Flash the new recovery VIA FASTBOOT, boot into it through the bootloader screen, and either flash a rom or restore a backup and you should be good to go. You definitely don't need to be worrying about an insurance claim for now.
Edit: by VIA FASTBOOT I mean with the command fastboot flash recovery <nameofrecoveryfile>.img
Click to expand...
Click to collapse
I would flash firmware or ruu, if indeed he flashed recovery to wrong partition, that partition needs the correct one which firmware wlil do, and ruu will 100% do.
Personally I'd run ruu, go to stock recovery and run a factory reset.
theoden144 said:
I put Dottat's RUU on my external SD card and it loaded, however, whenever it goes to reboot, it still goes back into the wrong recovery.
Click to expand...
Click to collapse
Gotta use ADB and HTC_Fastboot.exe
Thanks for all the tips. I tried re-installing the old ROM after I ran the RUU and it worked. Hopefully it cleared out the incorrect recovery. Lesson learned: don't use apps to update the recovery!
Again thanks for all the help!
theoden144 said:
Thanks for all the tips. I tried re-installing the old ROM after I ran the RUU and it worked. Hopefully it cleared out the incorrect recovery. Lesson learned: don't use apps to update the recovery!
Again thanks for all the help!
Click to expand...
Click to collapse
Twrp manager is not a safe way to flash recovery because they aren't flashing by block name yet. They are still hard-coded to block number. The partitions have changed during ota already...so the app does hose things up a bit.
Sent from my Nexus 6 using Tapatalk

Unlock bootloader, flash twrp, vbeta, flash rom...ok but phone no boot!!!

Guys!!! what the hell!
i did everyting was written in here. Bootloader unlock, everything ok, flashed twrp, flash vbeta.img then flash any rom but the phone never boot! still go always and alwasy again to recovery!!!
What am i missing?
Format data in twrp.then reboot
I've done everything. Format everything ecc but nothing has changed...still no boot and recovery immediately.
I've tried to put the stock recovery again and it boots (i flashed of course via twpr the c.01 RUI ozip file before). I really can't understand.
I've tried to root the phone but again problem. I put the twrp recovery again (on the C.01 stock rom) then flashed magisk 20.1 or the latest. Everything ok, rebooted and....it says the boot img is corrupted, write or go to the service support! So i entered again in fastboot and flashed a new boot.img. No boot but can enter recovery. Put again the twrp, flashed stock rom again, put stock recovery, format data and now eveyrhing ok. Why so hard to even root???
Did you check format data on right bottom of twrp.this is not same as the wiping data
i made all format.
another curious stuff is. I put twrp, vbeta img . Reboot in twrp. ok. I reboot phone, go to RUI then i try to go again in recovery and .....no more twrp! but stock one! twrp has been replaced! why!!!!!?
Correct,Stock rom will replace twrp to stock recovery.but custom rom not changing recovery
I was doing the same mistake.
You must Format Data after flashing Rom and if on reboot to system it says Os not installed then first reboot to recovery.
waqar bukhari said:
I was doing the same mistake.
You must Format Data after flashing Rom and if on reboot to system it says Os not installed then first reboot to recovery.
Click to expand...
Click to collapse
uhm ok.
So basically - Flash twrp - go to twrp - flash rom (pixel experience for example) - format data - and then reboot to recovery again?? what's the point sorry
oh man i missed up the format stuff.
Thank you very much. I made it. After format data then i insalled the pixel experience rom via adb sideload now it started let's see hows it the modding rom world on this device!
I followed all those steps. My phone boots, stays on Lineage logo for 4-5 minutes and then it reboots back to orange recovery. Any idea? Thanks!

Categories

Resources