[How To] Flash Custom recovery and ROMS after 2.20 root - AT&T, Rogers HTC One X, Telstra One XL

I'm sure there will be a lot of people running the 2.20 root then not knowing what to do. So follow this guide.
Make sure you have adb and fastboot available to use.
Download custom recovery, TWRP is preferred: http://teamw.in/project/twrp2/99
Download the ROM you want to run, plus associated gapps to your phone, place them in the download folder (look in the android development and android original development threads)
1. Put phone into bootloader mode (easy way is: 'adb reboot bootloader')
2. Run the following command:
'fastboot flash recovery openrecovery-twrp-2.3.1.0-evita.img' (make sure img file is in same folder as your adb stuff)
then 'fastboot reboot'
3. Run the following command after the phone is rebooted:
'adb reboot recovery'
4. You should be in the new TWRP recovery. From there it is recommended to do a factory reset before flashing the new ROM.
If you have the newer HBOOT 1.14 (you probably do if coming from stock 2.20), boot.img's will have to be flashed separately via fastboot. Extract the boot.img from you ROM zip of choice and put it in the same directory as fastboot. Reboot your device into boot loader and run "'fastboot flash boot boot.img' (no quotes)
You can then flash the ROM and gapps via recovery and reboot and enjoy.

GuyIncognito721 said:
I'm sure there will be a lot of people running the 2.20 root then not knowing what to do. So follow this guide.
Make sure you have adb and fastboot available to use.
Download custom recovery, TWRP is preferred: http://teamw.in/project/twrp2/99
Download the ROM you want to run, plus associated gapps to your phone, place them in the download folder (look in the android development and android original development threads)
1. Put phone into bootloader mode (easy way is: 'adb reboot bootloader')
2. Run the following command:
'fastboot flash recovery openrecovery-twrp-2.3.1.0-evita.img' (make sure img file is in same folder as your adb stuff)
then 'fastboot reboot'
3. Run the following command after the phone is rebooted:
'adb reboot recovery'
4. You should be in the new TWRP recovery. From there it is recommended to do a factory reset before flashing the new ROM.
If you have the newer HBOOT, radio and boot.imgs will have to be flashed separately via fastboot. Extract the boot.img and radio.img from you ROM zip of choice and put it in the same directory as fastboot. Reboot your device into boot loader and run "'fastboot flash boot boot.img' (no quotes) and 'fastboot flash radio radio.img'
You can then flash the ROM and gapps via recovery and reboot and enjoy.
Click to expand...
Click to collapse
Also, this thread will be useful for flash-aholics :http://forum.xda-developers.com/showthread.php?t=1910294

What if I only see the boot.img and not the radio. The rom is CleanRom V5

may I ask which ROM for a stable AOSP experience ? I daresay none of us 2.20 sufferers have been frequenting the ROM sub-forums

JustTheHustle said:
What if I only see the boot.img and not the radio. The rom is CleanRom V5
Click to expand...
Click to collapse
Sorry, I removed the part about flashing radios. You ca't with the newer HBOOT. Only if we had S-OFF.

GuyIncognito721 said:
1. Put phone into bootloader mode (easy way is: 'adb reboot bootloader')
Click to expand...
Click to collapse
Would you mind expanding on that? I'm new to this even though I've had the phone since May. I'm unable to put the phone into bootloader mode by holding power and volume down (phone just boots normally) so I need another way.
Thanks

sandys1 said:
may I ask which ROM for a stable AOSP experience ? I daresay none of us 2.20 sufferers have been frequenting the ROM sub-forums
Click to expand...
Click to collapse
RebelMOD. Jelly Bean and everything works.
Sent from my HTC One XL

Epos7 said:
Would you mind expanding on that? I'm new to this even though I've had the phone since May. I'm unable to put the phone into bootloader mode by holding power and volume down (phone just boots normally) so I need another way.
Thanks
Click to expand...
Click to collapse
More specifically I'm not sure how to connect to the device in cmd. If I run 'adb reboot bootloader' it returns "device offline"
edit - closing/re-opening cmd appears to have solved the problem.

I'm not sure what I did, but I can no longer boot into bootloader mode. When I try now, I see a phone with a red exclamation mark inside a triangle. Does anyone know what I've done wrong or how to fix this? After a minute or two the phone reboots normally.
edit - I re-ran the script for 2.20 root to create a new backup and am now back in bootloader mode.

When i wrote adb rebot recovery it did not work what happened?

so say i want to run the viper rom i just pull the boot.img out of the rom and place it with my fastboot.exe file ( i have that and my adb files from when i unlocked the bootloader in the same folder) and flash it then i boot into recovery and wipe everything and install like normal? i came from a mytouch 4g and it was as simple as putting on the sd card wiping and flashing. this has got me a little worried i may screw up somewhere
another thing, the file is just named boot do i need to rename it boot.img before i flash it?

jrlatta said:
another thing, the file is just named boot do i need to rename it boot.img before i flash it?
Click to expand...
Click to collapse
I'm guessing the filename extension is just being hidden. Did you try typing boot.img in cmd? If that works you know the extension is there.

i went ahead and flashed everything and its finished now, hopefully everything boots, well i just got a snake so i guess so far so good

ImmenseGT said:
When i wrote adb rebot recovery it did not work what happened?
Click to expand...
Click to collapse
FWIW I had to flash TWRP twice. Didn't stick the first time for some reason.
Sent from my cm_tenderloin using xda app-developers app

if I am already in the bootloader and flashing the boot.img, can I run reboot recovery from my computer right after to go straight to my recovery and flash the rom?
---------- Post added at 03:12 AM ---------- Previous post was at 03:08 AM ----------
Zonen said:
if I am already in the bootloader and flashing the boot.img, can I run reboot recovery from my computer right after to go straight to my recovery and flash the rom?
Click to expand...
Click to collapse
also do I do a factory reset in recovery before I do my fast boot flash boot.img? or do I first flash the boot.img, then reboot to recovery and do factory reset?

Zonen said:
if I am already in the bootloader and flashing the boot.img, can I run reboot recovery from my computer right after to go straight to my recovery and flash the rom?
Click to expand...
Click to collapse
I believe so. That is what I have been doing.

Epos7 said:
................................oops
Click to expand...
Click to collapse
what?
---------- Post added at 03:24 AM ---------- Previous post was at 03:18 AM ----------
Epos7 said:
I believe so. That is what I have been doing.
Click to expand...
Click to collapse
did you get venom installed ok like that?

Zonen said:
if I am already in the bootloader and flashing the boot.img, can I run reboot recovery from my computer right after to go straight to my recovery and flash the rom?
---------- Post added at 03:12 AM ---------- Previous post was at 03:08 AM ----------
also do I do a factory reset in recovery before I do my fast boot flash boot.img? or do I first flash the boot.img, then reboot to recovery and do factory reset?
Click to expand...
Click to collapse
i booted into recovery and wiped everything and then went and flashed the boot image then from bootloader, used the volume keys to get to recovery, booted into recovery and selected the file i wanted to flash let it run and presto it worked, i did not choose to wipe again since i wiped before flashing the boot image because i was afraid it would erase it

Just let you guys know, my toolkit allows you to flash boot.img. Just place the boot.img in the /Data/Kernels folder and press "With this command" and it'll flash it!
http://forum.xda-developers.com/showthread.php?t=1952426

yep working for me too.

Related

[Q] Stuck on boot up screen...HELP!

Hi everyone i'm new here and i would like your help.
I have an AT&T HTC ONE X and I just tried installing CM10 on my phone using TWRP recovery method. I followed every single step, did everything i read and saw in the youtube video. Unfortunately, when i clicked 'reboot system', my phone started to reboot but now i'm stuck on the boot screen "HTC quietly brilliant". What can i do?
PLEASE HELP ME!!!!!!!!!!!!!!!!!!!
so you flashed boot.img in fastboot if u are on hboot 1.14, if you dont you will be stuck at boot screen.
you should also do a full wipe in twrp if you are coming from another rom.
Stuck on boot up screen...HELP!
DvineLord said:
so you flashed boot.img in fastboot if u are on hboot 1.14, if you dont you will be stuck at boot screen.
you should also do a full wipe in twrp if you are coming from another rom.
Click to expand...
Click to collapse
Exactly how do i flash boot.img?
{Answers} 2.20 Root Questions & Answers
DvineLord said:
{Answers} 2.20 Root Questions & Answers
Click to expand...
Click to collapse
Followed these steps but nothing!!!
3) Another scenario, if you struck in boot for every long and you panicked and you did factory reset. After you can access only twrp recovery then do not worry, do the following
"plug in phone to your computer and enter twrp, choose "mount". Get on your computer and download Rom of choice. Once downloaded, extract Rom and seperate the boot.img. rezip Rom. Transfer Rom onto phone.
fastboot boot.img, then flash the Rom through twrp. Then your golden" (Thanks to InflatedTitan) ( Do not understand fastboot , boot.img then read above)
cuteyr said:
Followed these steps but nothing!!!
3) Another scenario, if you struck in boot for every long and you panicked and you did factory reset. After you can access only twrp recovery then do not worry, do the following
"plug in phone to your computer and enter twrp, choose "mount". Get on your computer and download Rom of choice. Once downloaded, extract Rom and seperate the boot.img. rezip Rom. Transfer Rom onto phone.
fastboot boot.img, then flash the Rom through twrp. Then your golden" (Thanks to InflatedTitan) ( Do not understand fastboot , boot.img then read above)
Click to expand...
Click to collapse
forget that previous post i found what i was doing wrong. instead of just putting the boot.img file to the phone i was putting the file without boot...thanks you very much

Bricked my HTC One X installing Rom

I did the HTC One X All in one root and I then downloaded Jellybam and put it on the root of my storage. I booted into recovery and wiped the cache. Thats where I think I went wrong by only wiping the cache. Now I just need to figure out how I can get back into the bootloader as I'm stuck in a boot loop. Any help would be appreciated.
Luminate7s said:
I did the HTC One X All in one root and I then downloaded Jellybam and put it on the root of my storage. I booted into recovery and wiped the cache. Thats where I think I went wrong by only wiping the cache. Now I just need to figure out how I can get back into the bootloader as I'm stuck in a boot loop. Any help would be appreciated.
Click to expand...
Click to collapse
Power off the phone, hold the power button and the phone will shut down... Press the volume- and power, boot in bootloader and select recovery, boot in recovery and wipe dalvik, cache and factory reset... Reflash jellybam... If your hboot is 1.14 and your phone is s-on you need to manually flash the boot.img, extract de zip of jellybam find the boot.img, put on your fastboot directory and use the command fastboot flash boot boot.img
atileto said:
Power off the phone, hold the power button and the phone will shut down... Press the volume- and power, boot in bootloader and select recovery, boot in recovery and wipe dalvik, cache and factory reset... Reflash jellybam... If your hboot is 1.14 and your phone is s-on you need to manually flash the boot.img, extract de zip of jellybam find the boot.img, put on your fastboot directory and use the command fastboot flash boot boot.img
Click to expand...
Click to collapse
My phone doesn'tt show up on my computer but I can still put it into bootloader and such through it so how can I extract the zip. And yes my device is s-on and it's h-boot 1.140002 or something like that.
What hboot r u on?
a box of kittens said:
What hboot r u on?
Click to expand...
Click to collapse
1.140002
So you're going to need to do a number of steps
Download the Rom you had wanted to flash on your comp
Extract the boot.img from the zip by opening the zip
Get your phone into fastboot mode(I'll post a tutorial on how to flash the boot.img in a sec)
After you have flashed the boot.img go into recovery and do a factory reset and flash the Rom again
Luminate7s said:
1.140002
Click to expand...
Click to collapse
Dowload the Rom in your computer or boot in recovery and mount the phone to the pc and transfer Rom.zip to the pc and extract it and find the boot.img
Hhttp://forum.xda-developers.com/show....php?t=1671237
Flashing boot img through fastboot...
download the file in the link which above which will include adb and fastboot....put that on your computer somewhere you can find it.. now take the boot image out of the Rom zip and place it in that folder... Boot your phone into bootloader scroll down and select fastboot and now open a command prompt with in the fastbootbadb folder on your comp and type to command without the quotes "fastboot flash boot boot.img"...now go wipe in recovery and install the Rom it doesn't matter if you keep the boot img in the Rom zip or not
a box of kittens said:
So you're going to need to do a number of steps
Download the Rom you had wanted to flash on your comp
Extract the boot.img from the zip by opening the zip
Get your phone into fastboot mode(I'll post a tutorial on how to flash the boot.img in a sec)
After you have flashed the boot.img go into recovery and do a factory reset and flash the Rom again
Click to expand...
Click to collapse
My phone won't show up on my computer under devices with removable storage so how can i get the boot.img out of the zip and put it on my phone? Also under my bootloader it says ***Tampered** so idk if that's bad or not.
Did you not read? ....download it on your computer.....
a box of kittens said:
Did you not read? ....download it on your computer.....
Click to expand...
Click to collapse
It is on my computer
Ok so follow the directions I gave you. Look at my other post
a box of kittens said:
Hhttp://forum.xda-developers.com/show....php?t=1671237
Flashing boot img through fastboot...
download the file in the link which above which will include adb and fastboot....put that on your computer somewhere you can find it.. now take the boot image out of the Rom zip and place it in that folder... Boot your phone into bootloader scroll down and select fastboot and now open a command prompt with in the fastbootbadb folder on your comp and type to command without the quotes "fastboot flash boot boot.img"...now go wipe in recovery and install the Rom it doesn't matter if you keep the boot img in the Rom zip or not
Click to expand...
Click to collapse
Theres a million links in that thread how do i find right file with adb
Luminate7s said:
Theres a million links in that thread how do i find right file with adb
Click to expand...
Click to collapse
Oops sorry I'll give you the right dl
---------- Post added at 06:27 AM ---------- Previous post was at 06:26 AM ----------
http://forum.xda-developers.com/attachment.php?attachmentid=1179735&d=1344782533
a box of kittens said:
Oops sorry I'll give you the right dl
---------- Post added at 06:27 AM ---------- Previous post was at 06:26 AM ----------
http://forum.xda-developers.com/attachment.php?attachmentid=1179735&d=1344782533
Click to expand...
Click to collapse
how do i open cmd within the fastboot folder
Basic computer knowledge... I'll let you Google that... I've done my share here I hope your phone gets better and your thanks button gets fixed
a box of kittens said:
Basic computer knowledge... I'll let you Google that... I've done my share here I hope your phone gets better and your thanks button gets fixed
Click to expand...
Click to collapse
I added the adb folder to my system variables and when i typed the code in its says ''error could not load 'boot.img' ''
So just place the adb folder somewhere on your desktop...put the boot.img inside of there.. make sure your phone is in fastboot...make sure you open the command prompt within the directory usually shift key+ right click and you'll see a option to open one... Than type the command I told you too
a box of kittens said:
So just place the adb folder somewhere on your desktop...put the boot.img inside of there.. make sure your phone is in fastboot...make sure you open the command prompt within the directory usually shift key+ right click and you'll see a option to open one... Than type the command I told you too
Click to expand...
Click to collapse
Ok I flashed the boot.img so now do i just go to recovery and flash the rom?
EDIT: Wiped dalvik and cache, did a fr and phones booting up thanks I really appreciate it.
Luminate7s said:
Ok I flashed the boot.img so now do i just go to recovery and flash the rom?
Click to expand...
Click to collapse
Do a factory reset in recovery(tip never do a factory reset from bootloader) than flash the Rom than you should be good to go

Bricked my phone trying to update to 4.2! Help!

Hello, all. I've spent the last four hours trying update my AT&T HTC One X running Android 4.1.1 to 4.2.2 and I failed hard!
First, I used the all-in-one toolkit to unlock my bootloader, flash clockwork recovery, and root the phone. The first guide I was following gave me error status 7 when I tried to flash the ROM so I wen to this guide:
update-htc-one-x-cm101-android-422-jelly-bean-custom-firmware/2/ (from team android website)
I got to the step below using the SDK I downloaded from dev.android.com and now my phone is dead! The HTC logo appears and then it goes to a black screen. Luckily, I can still reach my fastboot and clockwork recovery menu but nothing I try makes the phone boot.
Step 8 - Type the following command and press Enter.
fastboot flash boot boot.img
Step 9 - Then, type the following command and press Enter.
fastboot reboot
I just want my phone back to normal please! I don't care about rooting anymore. Thank you.
zenkix said:
Hello, all. I've spent the last four hours trying update my AT&T HTC One X running Android 4.1.1 to 4.2.2 and I failed hard!
First, I used the all-in-one toolkit to unlock my bootloader, flash clockwork recovery, and root the phone. The first guide I was following gave me error status 7 when I tried to flash the ROM so I wen to this guide:
update-htc-one-x-cm101-android-422-jelly-bean-custom-firmware/2/ (from team android website)
I got to the step below using the SDK I downloaded from dev.android.com and now my phone is dead! The HTC logo appears and then it goes to a black screen. Luckily, I can still reach my fastboot and clockwork recovery menu but nothing I try makes the phone boot.
Step 8 - Type the following command and press Enter.
fastboot flash boot boot.img
Step 9 - Then, type the following command and press Enter.
fastboot reboot
I just want my phone back to normal please! I don't care about rooting anymore. Thank you.
Click to expand...
Click to collapse
Alright, the ROMs you've been trying to flash are for the quad core One X... please stay in this forum and you should be good to go!
Any ROMs and kernels from here http://forum.xda-developers.com/forumdisplay.php?f=1541 and here http://forum.xda-developers.com/forumdisplay.php?f=1726. Try to flash something from there and report back (you'll still need to flash boot.img
RollTribe said:
Alright, the ROMs you've been trying to flash are for the quad core One X... please stay in this forum and you should be good to go!
Any ROMs and kernels from here http://forum.xda-developers.com/forumdisplay.php?f=1541 and here http://forum.xda-developers.com/forumdisplay.php?f=1726. Try to flash something from there and report back (you'll still need to flash boot.img
Click to expand...
Click to collapse
Thank you very much for your help? Could you please point me to a ROM to flash? I looked through those links and have no idea which to pick/what to do. It doesn't even have to be 4.2...I just want a working phone again. Thanks again!
zenkix said:
Thank you very much for your help? Could you please point me to a ROM to flash? I looked through those links and have no idea which to pick/what to do. It doesn't even have to be 4.2...I just want a working phone again. Thanks again!
Click to expand...
Click to collapse
Well... What would you like? Completely stock? Sense with tweaks? 4.2 with minor tweaks? 4.2 with a ton of tweaks?
RollTribe said:
Well... What would you like? Completely stock? Sense with tweaks? 4.2 with minor tweaks? 4.2 with a ton of tweaks?
Click to expand...
Click to collapse
4.2 with minor tweaks sounds great! Although right now I kinda just want to the stock "boot.img" to verify that my phone is still usable and not totally bricked.
zenkix said:
4.2 with minor tweaks sounds great! Although right now I kinda just want to the stock "boot.img" to verify that my phone is still usable and not totally bricked.
Click to expand...
Click to collapse
Alright then CM10.1 http://forum.xda-developers.com/showthread.php?t=2064621 and AOKP http://forum.xda-developers.com/showthread.php?t=2064724 will both suit you. These have the different boot.img than stock, but just extract and fastboot flash boot boot.img and you should be good to go!
RollTribe said:
Alright then CM10.1 http://forum.xda-developers.com/showthread.php?t=2064621 and AOKP http://forum.xda-developers.com/showthread.php?t=2064724 will both suit you. These have the different boot.img than stock, but just extract and fastboot flash boot boot.img and you should be good to go!
Click to expand...
Click to collapse
Quick update...I flashed boot.img of the first link (CynogenMod) and my phone got passed the "HTC Quietly Brilliant" screen! But now it seems stuck on HTC One (Beats Audio at the bottom) screen. I'll give it a few minutes...
I'm really worried that I did major damage to my phone in the bootloader and clockwork recovery menus. I literally tried every single option there trying to get my phone to boot earlier.
Oh man...it seems stuck. Maybe I should just flash the completely stock boot.img file. If that works, I will factory reset my phone just to make sure everything is back to how it was before.
Dude it sounds like you're trying to flash a cm boot.img with a Sense ROM, that ain't gonna work. You can't just extract a boot.img and flash it with a different ROM.
You need to extract the boot.img from the ROM you're about to flash, then flash that ROM, then flash the boot.img you just extracted.
Sent from my Evita
timmaaa said:
Dude it sounds like you're trying to flash a cm boot.img with a Sense ROM, that ain't gonna work. You can't just extract a boot.img and flash it with a different ROM.
You need to extract the boot.img from the ROM you're about to flash, then flash that ROM, then flash the boot.img you just extracted.
Sent from my Evita
Click to expand...
Click to collapse
Thanks for your help man. If what you're saying is correct, does that mean my phone is hopeless? I deleted/wiped everything using the ClocworkMod Recovery menu. When I choose "install zip from sdcard" I get "E: Can't mount /sdcard/" and when I try to mount an sdcard I get "Error mounting /sdcard". I don't think I can flash any ROMs right now unless install zip from sideload is an option (I don't know how sideloading works).
Try using TWRP recovery instead, you'll find it here:
http://goo.im/devs/OpenRecovery/evita
Download it, check md5 is correct, then:
fastboot flash recovery filename.img
(Filename = exact TWRP recovery filename)
Then issue this command:
fastboot erase cache
Then:
fastboot reboot-bootloader
Now you should be able to select recovery on your phone screen and it should boot into TWRP. Next go to mount and mount usb storage. See if it comes up in Windows, it might need to be formatted from the sounds of it. If it doesn't show up as a usable drive, format it to fat32.
Once that's done you should be able to copy a ROM to your phone to flash. So copy it over, then extract the boot.img from the copy on your pc, then put the boot.img in your fastboot folder.
Do a full wipe in recovery (cache/dalvik/factory reset/system), then install the ROM, then reboot to bootloader, make sure phone is connected by usb, make sure fastboot usb comes up on your phone screen then issue the following command:
fastboot flash boot boot.img
Make sure it's the boot.img from the ROM you just flashed. Now once that's done you should be able to reboot into the ROM.
Sent from my Evita
timmaaa said:
Try using TWRP recovery instead, you'll find it here:
http://goo.im/devs/OpenRecovery/evita
Download it, check md5 is correct, then:
fastboot flash recovery filename.img
(Filename = exact TWRP recovery filename)
Then issue this command:
fastboot erase cache
Then:
fastboot reboot-bootloader
Now you should be able to select recovery on your phone screen and it should boot into TWRP. Next go to mount and mount usb storage. See if it comes up in Windows, it might need to be formatted from the sounds of it. If it doesn't show up as a usable drive, format it to fat32.
Once that's done you should be able to copy a ROM to your phone to flash. So copy it over, then extract the boot.img from the copy on your pc, then put the boot.img in your fastboot folder.
Do a full wipe in recovery (cache/dalvik/factory reset/system), then install the ROM, then reboot to bootloader, make sure phone is connected by usb, make sure fastboot usb comes up on your phone screen then issue the following command:
fastboot flash boot boot.img
Make sure it's the boot.img from the ROM you just flashed. Now once that's done you should be able to reboot into the ROM.
Sent from my Evita
Click to expand...
Click to collapse
This sounds like a good plan. I will give it a try tomorrow after work. Thank you guys for your help!
I couldn't sleep...so I followed your steps and my phone is now alive! Thank you!
I think now I need to flash GApps, right? I have this ---> gapps-jb-20130301-signed.zip
Any chance that's the wrong zip file? Do I need a special one for CM10.1?
That's the right gapps zip, it's the most recent one so yeah you're good to flash it.
And no problems, you're welcome
Sent from my Evita

Booting only takes me to TWRP

So, I went through the temp root/S-off routine with WeakSauce and Firewater. Then flashed TWRP over adb. Rebooted to TWRP which asked if I wanted to install SuperSU. I said yes. Rebooted again and came back up in TWRP. Cannot boot to system. Rebooting always takes me back to recovery. Help would be much appreciated!
Oh, and I can also boot to the bootloader, if that helps.
Can you load a rom to the internal memory or on the SD card and then flash and install a new rom?
Same Here
droidmark said:
So, I went through the temp root/S-off routine with WeakSauce and Firewater. Then flashed TWRP over adb. Rebooted to TWRP which asked if I wanted to install SuperSU. I said yes. Rebooted again and came back up in TWRP. Cannot boot to system. Rebooting always takes me back to recovery. Help would be much appreciated!
Oh, and I can also boot to the bootloader, if that helps.
Click to expand...
Click to collapse
Hey man the same thing happened to me last night, i thought i bricked my phone. I personally dont think the adb method of getting twrp onto the phone is working right now. If someone knows what we are doing wrong plz let us know.
Here is how i fixed it:
1. Put phone into bootloader, put it on fastboot, plug it into computer. You will see it change to "fastboot usb"
2. Download and do this http://forum.xda-developers.com/showthread.php?t=2708686 . To do this go back to your console (terminal or cmd), navigate back to the folder with adb in it, and instead of running the adb commands just type in " fastboot flash boot M8VZWbootInsecure.img ". its easiest to put that boot img in the same folder as adb and fastboot. once that is done you just need to reboot the phone and you are golden.
3. Problem is, when you do this you can no longer get back to your recovery, you get a screen with a red triangle and exclamation mark. I thought I bricked my phone lol.
4. Doing a alternate soft reset will get the phone back to normal android ( hold down power and volume up for 10 secs)
5. to fix it complete use the flashboot method of copying over the recovery onto the phone as shown here http://teamw.in/project/twrp2/226 . This is essentially the same method as in step 2 its just copying over the twrp.img into the recovery section of the phone.
By doing this I was able to get TWRP to work and be able to boot normally to system. Hope this helps.
I think the command you run has something to do with it. "Fastboot flash boot nameofrecovery.img"
Almost certain the command has to be "fastboot flash nameofrecovery.img"
Sent from my HTC6525LVW using Tapatalk
edited to fix all my auto-correct typing mistakes.
The Stig 04 said:
I think the command you run has something to do with it. "Fastboot flash boot nameofrecovery.img"
Almost certain the command has to be "fastboot flash nameofrecovery.img"
Click to expand...
Click to collapse
My understanding is that there's two ways of getting into a custom recovery in adb:
1: "fastboot flash recovery nameofrecovery.img" this will flash over the previous recovery whatever that was. It will stick and you get into the new recovery either through hboot or a ROM's advanced power menu.
2: "fastboot boot nameofrecovery.img" this will boot into the recovery temporarily and allow you flash things. Once you reboot from that temp recovery it will boot using whatever kernel (or other .img file in this case) you have flashed into the boot partition.
The syntax for flashing is "fastboot flash <partition> <name-of-file-to-flash-to-that-partition>"
The syntax for booting an image is "fastboot boot <name-of-the-file-to-boot>"
It sounds like you mixed those 2 together and typed " fastboot flash boot nameofrecovery.img" so when you go to boot your phone now the only thing your phone sees to boot is the recovery. That's why your solution is twofold.
1: Flash the kernel to the boot partition: "fastboot flash boot nameofkernel.img" (sometimes these are just named "boot.img"). This will load the Kernel, modules, and ROM so that your phone will boot properly.
2: flash the recovery to the recovery partition: "fastboot flash recovery nameofrecovery.img" This will permanently install your custom recovery so that you can go back into it next time you want to flash ROMs, make/restore backups, etc.
You should be good to go and will likely never make THAT mistake again. Ask me how I know...
cntryby429 said:
edited to fix all my auto-correct typing mistakes.
My understanding is that there's two ways of getting into a custom recovery in adb:
1: "fastboot flash recovery nameofrecovery.img" this will flash over the previous recovery whatever that was. It will stick and you get into the new recovery either through hboot or a ROM's advanced power menu.
2: "fastboot boot nameofrecovery.img" this will boot into the recovery temporarily and allow you flash things. Once you reboot from that temp recovery it will boot using whatever kernel (or other .img file in this case) you have flashed into the boot partition.
The syntax for flashing is "fastboot flash <partition> <name-of-file-to-flash-to-that-partition>"
The syntax for booting an image is "fastboot boot <name-of-the-file-to-boot>"
It sounds like you mixed those 2 together and typed " fastboot flash boot nameofrecovery.img" so when you go to boot your phone now the only thing your phone sees to boot is the recovery. That's why your solution is twofold.
1: Flash the kernel to the boot partition: "fastboot flash boot nameofkernel.img" (sometimes these are just named "boot.img"). This will load the Kernel, modules, and ROM so that your phone will boot properly.
2: flash the recovery to the recovery partition: "fastboot flash recovery nameofrecovery.img" This will permanently install your custom recovery so that you can go back into it next time you want to flash ROMs, make/restore backups, etc.
You should be good to go and will likely never make THAT mistake again. Ask me how I know...
Click to expand...
Click to collapse
I didn't use fastboot load TWRP, I used the adb method shown on TeamWin's project page for the Verizon M8:
***********
Download - ADB / Terminal method:
Download the newest .img file from here
Download the above file. Save it to the root of your /sdcard directly (internal memory only) and rename it to twrp.img
Launch terminal emulator or connect to your computer and open an adb shell, then type the following:
su
dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p43
Then reboot to complete installation.
***********
Thanks all for the other suggestions which I am about to attempt!
I had this happen to me on my Asus EeePad TF101. It seems that TWRP has a bug that prevents it from setting a "boot to system" flag on some devices, causing it to always boot to recovery.
The solution for the TF101 was to reinstall the stock boot image, which appears to align with the instructions already given. Good luck! I know the terrible feeling I had when this happened to my tablet...
Zallantor said:
Hey man the same thing happened to me last night, i thought i bricked my phone. I personally dont think the adb method of getting twrp onto the phone is working right now. If someone knows what we are doing wrong plz let us know.
Here is how i fixed it:
1. Put phone into bootloader, put it on fastboot, plug it into computer. You will see it change to "fastboot usb"
2. Download and do this http://forum.xda-developers.com/showthread.php?t=2708686 . To do this go back to your console (terminal or cmd), navigate back to the folder with adb in it, and instead of running the adb commands just type in " fastboot flash boot M8VZWbootInsecure.img ". its easiest to put that boot img in the same folder as adb and fastboot. once that is done you just need to reboot the phone and you are golden.
3. Problem is, when you do this you can no longer get back to your recovery, you get a screen with a red triangle and exclamation mark. I thought I bricked my phone lol.
4. Doing a alternate soft reset will get the phone back to normal android ( hold down power and volume up for 10 secs)
5. to fix it complete use the flashboot method of copying over the recovery onto the phone as shown here http://teamw.in/project/twrp2/226 . This is essentially the same method as in step 2 its just copying over the twrp.img into the recovery section of the phone.
By doing this I was able to get TWRP to work and be able to boot normally to system. Hope this helps.
Click to expand...
Click to collapse
Whew! Thanks!!
Not only did that save my bacon, it had the added benefit of getting me the insecure kernel which I had forgotten about since going through the whole root/S-off/unlock bootloader/insecure kernel routine with my Droid DNA quite a while back.
Zallantor said:
Hey man the same thing happened to me last night, i thought i bricked my phone. I personally dont think the adb method of getting twrp onto the phone is working right now. If someone knows what we are doing wrong plz let us know.
Here is how i fixed it:
1. Put phone into bootloader, put it on fastboot, plug it into computer. You will see it change to "fastboot usb"
2. Download and do this http://forum.xda-developers.com/showthread.php?t=2708686 . To do this go back to your console (terminal or cmd), navigate back to the folder with adb in it, and instead of running the adb commands just type in " fastboot flash boot M8VZWbootInsecure.img ". its easiest to put that boot img in the same folder as adb and fastboot. once that is done you just need to reboot the phone and you are golden.
3. Problem is, when you do this you can no longer get back to your recovery, you get a screen with a red triangle and exclamation mark. I thought I bricked my phone lol.
4. Doing a alternate soft reset will get the phone back to normal android ( hold down power and volume up for 10 secs)
5. to fix it complete use the flashboot method of copying over the recovery onto the phone as shown here http://teamw.in/project/twrp2/226 . This is essentially the same method as in step 2 its just copying over the twrp.img into the recovery section of the phone.
By doing this I was able to get TWRP to work and be able to boot normally to system. Hope this helps.
Click to expand...
Click to collapse
I was soft bricked and only able to boot into bootloader and recovery and this write up worked for me. Just wanted to say thanks.
Don't use adv/terminal way. It's writing recovery to wrong partition..
Sent from my HTC6525LVW using XDA Premium 4 mobile app
The fastboot command to flash your recovery is:
fastboot flash recovery recovery.img
where "recovery.img" is the name of your recovery.img file on your host computer. Don't use "fastboot flash boot recovery.img", as I believe this will flash your boot partition, not the recovery partition.
hanginwithdaddo said:
The fastboot command to flash your recovery is:
fastboot flash recovery recovery.img
where "recovery.img" is the name of your recovery.img file on your host computer. Don't use "fastboot flash boot recovery.img", as I believe this will flash your boot partition, not the recovery partition.
Click to expand...
Click to collapse
if you flash to anything but the recovery partition your in some trouble.
same goes for anything like this, make sure you know what that .img is and you trust it. someone could have renamed an hboot to recovery and you end up flashing an hboot to your recovery partition because someone was careless with naming of files.
So I need help... I'm stuck in a bootloader loop. And every time I try to do this fix, terminal keeps telling me this:
error: cannot open 'M8VZWbootInsecure.img'
Any ideas?
tim.ton said:
So I need help... I'm stuck in a bootloader loop. And every time I try to do this fix, terminal keeps telling me this:
error: cannot open 'M8VZWbootInsecure.img'
Any ideas?
Click to expand...
Click to collapse
are you on a mac? reboot...
---------- Post added at 08:36 AM ---------- Previous post was at 08:32 AM ----------
The Stig 04 said:
I think the command you run has something to do with it. "Fastboot flash boot nameofrecovery.img"
Almost certain the command has to be "fastboot flash nameofrecovery.img"
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
This is incorrect.
command is:
fastboot flash recovery nameofrecovery.img
additionally, since you can boot into TWRP, have you tried sideloading a rom?
(in TWRP, go to ADVANCED, click SIDELOAD... i think you need to swipe to activate... then from terminal: adb sideload nameofROM.zip)
RBThompsonV said:
are you on a mac? reboot...
---------- Post added at 08:36 AM ---------- Previous post was at 08:32 AM ----------
This is incorrect.
command is:
fastboot flash recovery nameofrecovery.img
Click to expand...
Click to collapse
Oh yeah! Lol I knew it was something like that. Thanks!
Sent from my HTC6525LVW using Tapatalk

HTC ONE SV only restart after 10s...

Hi, y have a problem with my htc one device, i I made a bad manipulation, and after that my phone only reboot after 5s of utilisation...
The version of my device is 4.2.2 and i used the recovery team win recovery project v2.6.3.2, the phone is rooted. In fact this problem was appared when i go to the menu bootloader, and i click on the button reboot in the menu fastboot and after that, only reboot after 10s.... Please help me !
Now my phone is totaly useless....
Whats your phone version (k2u & k2ul or cricket, boost version)?
Can you boot into recovery?
old.splatterhand said:
Whats your phone version (k2u & k2ul or cricket, boost version)?
Can you boot into recovery?
Click to expand...
Click to collapse
Yes, i can boot in recovery mod, and my version of my phone is 4.2.2 official. I have K2_UL, and i don't know the boost version. But my boot version is HBOOT : 2.21.0000 And radio : 1.18.40a.00.05
Ok, follow the Link in my signature to my index thread. You will find a Link to a stock 4.2.2 rom for k2ul. Flash this with twrp recovery (make a full wipe before) and don't forget to flash boot.img with fastboot cmd if you are S-on.
old.splatterhand said:
Ok, follow the Link in my signature to my index thread. You will find a Link to a stock 4.2.2 rom for k2ul. Flash this with twrp recovery (make a full wipe before) and don't forget to flash boot.img with fastboot cmd if you are S-on.
Click to expand...
Click to collapse
ok i found it : http://forum.xda-developers.com/showthread.php?t=2684620
[ROM][OTA UPDATE] DreamBeats Rom v2.2 K2_U/UL 4.2.2 OC UV MODS
This rom is official ?
and i have a question, i have install sdk on my pc, but i don't found Fastboot. How to download it ? And the link for download [ROM][OTA UPDATE] DreamBeats Rom v2.2 K2_U/UL 4.2.2 OC UV MODS is broken :/ And how to flash the rom via the cmd ? I'm a noob in this domain....
I'm on my phone, can't give you links right now or explain how to setup fastboot. But the web or xda are full of guides for that.
This rom was removed because it's against the rules of xda. Look for "stock odexed 4.2.2" rom in my index thread.
old.splatterhand said:
I'm on my phone, can't give you links right now or explain how to setup fastboot. But the web or xda are full of guides for that.
This rom was removed because it's against the rules of xda. Look for "stock odexed 4.2.2" rom in my index thread.
Click to expand...
Click to collapse
Damn it i have download the rom stock, and after dat i'm lost.. I d'ont understood how to install it via fastboot, i need a tutoriel
You flash the rom in recovery (this rom for k2ul).
After that, extract (only!) boot.img and copy it to your fastboot folder.
Flash the boot.img with fastboot with the following command:
Code:
fastboot flash boot boot.img
Wipe Cache and Dalvik Cache afterwards.
You will find all you need for fastboot in this Android.zip from attachment. Unzip it in a folder called fastboot and start cmd window there and you are good to go.
You can check before flashing boot.img if the phone is recognized with fastboot cmd
Code:
fastboot devices
old.splatterhand said:
You flash the rom in recovery (this rom for k2ul).
After that, extract (only!) boot.img and copy it to your fastboot folder.
Flash the boot.img with fastboot with the following command:
Code:
fastboot flash boot boot.img
Wipe Cache and Dalvik Cache afterwards.
You will find all you need for fastboot in this Android.zip from attachment. Unzip it in a folder called fastboot and start cmd window there and you are good to go.
You can check before flashing boot.img if the phone is recognized with fastboot cmd
Code:
fastboot devices
Click to expand...
Click to collapse
ok thanks, but the problem when i installed the driver for my HTC, i'm on window 8.64bits, the installshield don't worked. He have a problem of compatibilities. Because, when y used fastboot i have a trobleshooting : waiting for device
This is a problem you have to solve yourself, as i don't have Win 8.1.
But if you do a search here on xda there are a plenty of threads about drivers and windows.
Just a few:
http://forum.xda-developers.com/showthread.php?t=2714921
http://forum.xda-developers.com/showthread.php?t=2217396
http://forum.xda-developers.com/showthread.php?t=2633904
Another chance is to try other usb
ports or another PC.
I have same problem
MrPixel67 said:
Hi, y have a problem with my htc one device, i I made a bad manipulation, and after that my phone only reboot after 5s of utilisation...
The version of my device is 4.2.2 and i used the recovery team win recovery project v2.6.3.2, the phone is rooted. In fact this problem was appared when i go to the menu bootloader, and i click on the button reboot in the menu fastboot and after that, only reboot after 10s.... Please help me !
Now my phone is totaly useless....
Click to expand...
Click to collapse
I have a cricket HTC One SV i decided to boot my phone into recovery and wipe everything off it. now when i start it up it says HTC one and kinda freezes, but i can access fastboot and all lol i need to figure out how to make my phone work again.
I'm sorry, but i can't help you in this case, because there is no rom or backup for cricket which you can flash.
old.splatterhand said:
I'm sorry, but i can't help you in this case, because there is no rom or backup for cricket which you can flash.
Click to expand...
Click to collapse
Ok, after flash my phone with fastboot, i send the command fastboot flash boot boot.img, and the second command, the phone reboot cycles againt after 30s....
What means "after 30 seconds"? Does it boot into android os?
Try to restore this backup for k2ul: http://forum.xda-developers.com/showthread.php?t=2516661
old.splatterhand said:
What means "after 30 seconds"? Does it boot into android os?
Try to restore this backup for k2ul: http://forum.xda-developers.com/showthread.php?t=2516661
Click to expand...
Click to collapse
How to restor the back up with the command on fastboot ?
This is not for fastboot. This is for Twrp recovery.
And please answer my question from my lrevious post.
old.splatterhand said:
This is not for fastboot. This is for Twrp recovery.
And please answer my question from my lrevious post.
Click to expand...
Click to collapse
Yes, my phone boot on android interface, but 30s after the boot, the phone reboot cycle...
Ok, the wait with the backup and try this first (each step for its own):
- boot without simcard and see if it still reboots
- boot without sdcard and see if it still reboots
- boot while phone is plugged to a charger and see if it still reboots
Post the results here.
old.splatterhand said:
Ok, the wait with the backup and try this first (each step for its own):
- boot without simcard and see if it still reboots
- boot without sdcard and see if it still reboots
- boot while phone is plugged to a charger and see if it still reboots
Post the results here.
Click to expand...
Click to collapse
ok i have try this, and after 30s always reboot againt and againt cycle reboot :'(

Categories

Resources