[Q] Can't restore - lose boot.img - HTC One X

I made a backup of my rom..And i flashed a custom rom and device turns on and start booting but i forgot to flash boot img via fastboot..And i go in fastboot mode i flash boot.img and then HOX is not moving from HTC logo..And i'm usin twrp recovery,i restore my device but i can't turn it on because there is no boot.img..What to do???

R: [Q] Can't restore - lose boot.img
If you have made a backup of stock rom, you can download the stock boot.img from mike's thread
Sent from HOX

Twrp had a different named boot.img, called something like
Emmc.boot.win .....and you can flash that just like it is
Fastboot flash boot Emmc.boot.win

R: [Q] Can't restore - lose boot.img
Mr Hofs said:
Twrp had a different named boot.img, called something like
Emmc.boot.win .....and you can flash that just like it is
Fastboot flash boot Emmc.boot.win
Click to expand...
Click to collapse
If he made a backup of boot.img, because you can choise
Sent from HOX

Thank you guys...

R: [Q] Can't restore - lose boot.img
big noob said:
Thank you guys...
Click to expand...
Click to collapse
Have you resolved?
(press thanks if you want thanks we )
Sent from HOX

Related

[Solved] Stuck in CWM Recovery

During installation of ARHD Rom I suddenly got caught up in CWM Recovery mode. I have now tried to wipe system and everything and do a "restore" of my NANDROID backup without success. My question then is; how the hell can I push a ROM to my phone with the phone only in CWM Recovery??? I'm kind'a desparate!!!
Can also mention I'm on a Mac!
Hope someone has the answer!
Problems solved
cvtrial said:
During installation of ARHD Rom I suddenly got caught up in CWM Recovery mode. I have now tried to wipe system and everything and do a "restore" of my NANDROID backup without success. My question then is; how the hell can I push a ROM to my phone with the phone only in CWM Recovery??? I'm kind'a desparate!!!
Can also mention I'm on a Mac!
Hope someone has the answer!
Click to expand...
Click to collapse
Try restoring your nandroid backup, just remember to flash the boot.img
Sent from my fauxed HOX running ARHD 8.0.0
Did you flash recovery to the boot partition? (fastboot flash boot recovery.img)That could explain why it only boots to recovery. Try flashing recovery again (fastboot flash recovery recovery.img.) then the boot.IMG (fastboot flash boot boot.IMG )then the Rom.
Sent from my HTC One X using xda premium
I've already tried that, I've even tried going to advanced restore -> boot -> restore boot without success..
BTW; I've now managed to push a new ROM onto my phone, installed it but still it won't but other than to recovery!!!
EDIT:
rayford85 said:
Did you flash recovery to the boot partition? (fastboot flash boot recovery.img)That could explain why it only boots to recovery. Try flashing recovery again (fastboot flash recovery recovery.img.) then the boot.IMG (fastboot flash boot boot.IMG )then the Rom.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Sounds pretty much like what I did.. Will try your version now..
LATEST EDIT:
Seems like it did the trick rayford85.. Nice to see the bootanimation on my HOX again! Stupid step to forget (flashing the boot.img) LoL! Thank you rayford85!
Reusing this post to another dumb question... Everytime I reboot my phone it seems like the boot.img disappears because I have to ./fastboot-mac boot boot.img for every reboot of my phone!
Any good ideas of how to solve this?
It's flash boot.img not boot boot.img
Sent from my HTC One X using xda premium
bogfather said:
It's flash boot.img not boot boot.img
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Well well.. My device is now running smooth on ARHD! All problems solved!

[Q] how to get back to stock from Custome ROM

hi
i just rooted added CWM and flashed my 1st custome rom ARHD 9.10
it req to flash a boot.img before flashing the rom i did it flashed the rom everything is ok .Before that i did a nand backup of my orignal rom
now for my info if needed in the future my qestion is
if i want to go back to my orignal nand backup can i just flash it back via CWM
ie restore my backed up orignal stock rom
i did ask this question in one of the threads and they say
this : extract boot.img from your nandroid > flash it with fastboot > go in CWM recovery Flash back the backed up orignal rom via CWM
im not a techie but just going by logic i feel as my original baked up rom has the original boot.img. If i just restore it Via CWM it should work
before i try this and may be brick my 2 weeks old phone can any one kindly give me the exact process for the same :laugh:
thanks in advance & sorry if this has been asked and answered i did search and could not find any answers for the same:laugh:
haree said:
hi
i just rooted added CWM and flashed my 1st custome rom ARHD 9.10
it req to flash a boot.img before flashing the rom i did it flashed the rom everything is ok .Before that i did a nand backup of my orignal rom
now for my info if needed in the future my qestion is
if i want to go back to my orignal nand backup can i just flash it back via CWM
ie restore my backed up orignal stock rom
i did ask this question in one of the threads and they say
this : extract boot.img from your nandroid > flash it with fastboot > go in CWM recovery Flash back the backed up orignal rom via CWM
im not a techie but just going by logic i feel as my original baked up rom has the original boot.img. If i just restore it Via CWM it should work
before i try this and may be brick my 2 weeks old phone can any one kindly give me the exact process for the same :laugh:
thanks in advance & sorry if this has been asked and answered i did search and could not find any answers for the same:laugh:
Click to expand...
Click to collapse
You must flash the boot.img inside your nandroid backup if you are going to restore.
Sent from my HTC One X using Tapatalk 2
Tingelholm said:
You must flash the boot.img inside your nandroid backup if you are going to restore.
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
hi
thanks im not good with the fast boot commands
can i just use the fastboot tool i got with the ARHD rom
ie replace the boot.img with the orignal from my Nand back up use the tool and then Flash my nand back up will this work:laugh:
haree said:
hi
thanks im not good with the fast boot commands
can i just use the fastboot tool i got with the ARHD rom
ie replace the boot.img with the orignal from my Nand back up use the too and then Flash my nand back up will this work:laugh:
Click to expand...
Click to collapse
Yup, place the nandroid boot.img in a folder along with the fastboot files. When you are going to restore plug in your phone to your computer. Open CMD and navigate to your fastboot folder. Type adb reboot-bootloader to enter fastboot on your phone. Then type fastboot flash boot boot.img. After that you are good to restore your nandroid backup!
Sent from my HTC One X using Tapatalk 2
Tingelholm said:
Yup, place the nandroid boot.img in a folder along with the fastboot files. When you are going to restore plug in your phone to your computer. Open CMD and navigate to your fastboot folder. Type adb reboot-bootloader to enter fastboot on your phone. Then type fastboot flash boot boot.img. After that you are good to restore your nandroid backup!
Sent from my HTC One X using Tapatalk 2
Click to expand...
Click to collapse
hi
thanks again buddy
im not new to flashing android custom roms i have done it on my other phones
like the SG3(I5801), HTC tattoo & my last phone Spice MI410(Ideos x6)
but the Bl**dy process on the HOX seems to be too confusing for me
may be ill get it soon:good::laugh:
Flashing a stock ROM is the same.process as flashing any other ROM.
The reason boot.img has to be done separately is because HTC haven't got round to fixing the bootloader to allow flashing the boot.img. When they do that (I though MoDaCo Paul was chasing them.at one point), then flashing ROMs will be one step process again.
BenPope said:
Flashing a stock ROM is the same.process as flashing any other ROM.
The reason boot.img has to be done separately is because HTC haven't got round to fixing the bootloader to allow flashing the boot.img. When they do that (I though MoDaCo Paul was chasing them.at one point), then flashing ROMs will be one step process again.
Click to expand...
Click to collapse
Edit: moved to Samesung threat.

[Q] Stuck on the white htc logo :(

Hello to everyone.
I was having custom ICS rom, when I found out that there is OTA to JB for my HOX. So I reverted to stock using RUU method and got the OTA update. I had the stock JB rom. I made the nandroid backup and wanted to flash custom JB rom (ViperX Rom). I unlocked my bootloader again, got custom recovery (CWM 5.8.4.0). Then I flashed the boot.img from the rom's zip package and erased cache. I made a full wipe using CWM. Then, using recovery I flashed the custom rom (Viper). The whole process went without any problems, but after rebooting I got stuck oh the white htc logo.
Reverting to stock using my backup ended up on the white logo again. I cannot flash any rom (tried Sense and CM roms) coz every time I got that f...g white screen.
My bootloader is unlocked, hboot 1.36, S-ON model. Custom recovery (CWM 5.8.4.0). I've been trying for four days to get my HOX back to life.
Can anyone, please help me with that.
I don't know what's wrong with your phone, but if you just want to revert back to your backed up ROM, try flash boot from your backup first, and then restore backup. Or try reinstall RUU, maybe...
Die you use the right command for flashing the boot.img ?
Fastboot flash boot boot.img
and NOT
Fastboot boot boot.img ?
TommY.KillER said:
I don't know what's wrong with your phone, but if you just want to revert back to your backed up ROM, try flash boot from your backup first, and then restore backup. Or try reinstall RUU, maybe...
Click to expand...
Click to collapse
I tried to flash the stock boot.img before restoring backup - with no luck
I cannot reinstal RUU, coz I cannot find one, ie RUU 3.16.69.2 (if I am right).
@Mr Hofs
Yes, I used the proper command: fastboot flash boot boot.img and erased cache. It seems that I do everything right, but I still get the bootloop.
Oke, so now the bootloader is unlocked ?
Re-copy the boot.img file from the nandroid folder to the fastboot folder...just to be sure
Flash it with fastboot command and enter the recovery
Then
Wipe data/factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts & storage - format cache, data, system
Then restore the nandroid again !
Sent from my HTC One X using xda premium
Mr Hofs said:
Oke, so now the bootloader is unlocked ?
Re-copy the boot.img file from the nandroid folder to the fastboot folder...just to be sure
Flash it with fastboot command and enter the recovery
Then
Wipe data/factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts & storage - format cache, data, system
Then restore the nandroid again !
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Did what you said. Still nothing
bartdeli said:
Did what you said. Still nothing
Click to expand...
Click to collapse
hmmm so all the steps are covered, could you do me a favour ? flash a new custom ICS rom from scratch....sounds stupid but i had a case a while back that had the updated hboot but also got several errors ....
Mr Hofs said:
hmmm so all the steps are covered, could you do me a favour ? flash a new custom ICS rom from scratch....sounds stupid but i had a case a while back that had the updated hboot but also got several errors ....
Click to expand...
Click to collapse
Hey, you are THE MAN. Seems to be working. I am on viper 2.6 now!!!
What now?
Give me your main version number
Fastboot getvar version-main
Sent from my HTC One X using xda premium
Mr Hofs said:
Give me your main version number
Fastboot getvar version-main
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
2.17.69.2 - I have that RUU if that's what you mean
Yes but the ruu is crap because you already have the 1.36 hboot. Try this
Do a full wipe again and get your 2.17.69 nandroid from here
http://forum.xda-developers.com/showthread.php?t=1975140
Restore it with its boot.img
Then flash back this 2.17 stock recovery
http://db.tt/U5CK4noo
And start updating again and again .....
Mr Hofs said:
Yes but the ruu is crap because you already have the 1.36 hboot. Try this
Do a full wipe again and get your 2.17.69 nandroid from here
http://forum.xda-developers.com/showthread.php?t=1975140
Restore it with its boot.img
Then flash back this 2.17 stock recovery
http://db.tt/U5CK4noo
And start updating again and again .....
Click to expand...
Click to collapse
OK. Will start tomorrow (or today in the morning, coz it's after midnight )
Thank you for your help so far.
No problem ! I hope to see some good news tomorrow
Sent from my HTC One X using xda premium
Mr Hofs said:
No problem ! I hope to see some good news tomorrow
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I cannot revert to stock recovery. I got an error: cannot load "recovery.img"
My command was fastboot flash recovery recovery.img. The file is in the fastboot folder.
When I was trying to get back to stock for the first time I also had that error. That is why I had to use the RUU to revert to stock.
What now?
did you rename my file to recovery.img ?
Mr Hofs said:
did you rename my file to recovery.img ?
Click to expand...
Click to collapse
yes
are you hiding extensions in windows for the filenames, so that it's not called
recovery.img.img ? seen that problem also before !
Mr Hofs said:
are you hiding extensions in windows for the filenames, so that it's not called
recovery.img.img ? seen that problem also before !
Click to expand...
Click to collapse
No, I do not hide the extensions. I can see the extensions for all the files.
My fastboot folder below.
Ow yeah i see, what could be the problem here ?!
Does the nandroid work ? Except for the stock recovery ?
Try this ... enter the recovery and wipe the cache partition and dalvik cache ....
Then reboot into the bootloader
Adb reboot bootloader (works when you are in recovery)
Keep the phone there and reboot the pc and try again .....
Mr Hofs said:
Ow yeah i see, what could be the problem here ?!
Does the nandroid work ? Except for the stock recovery ?
Try this ... enter the recovery and wipe the cache partition and dalvik cache ....
Then reboot into the bootloader
Adb reboot bootloader (works when you are in recovery)
Keep the phone there and reboot the pc and try again .....
Click to expand...
Click to collapse
yes, I am on stock with custom recovery.
That "adb reboot bootloader" shall I write in cmd in fastboot usb?

[Q] Need Urgent Help...

I have a htc desire hd,bootloader unlocked by htc dev.I was also using SVHD rom.I tried to flash rom which i have used earlier on the device which is cyanogenmod 10.1.But today it got stucked in the logo screen.i use the method of flashing boot.img file through cmd in fastboot.
When i tried to recover my nandroid backup,everything goes fine.but it didnt boot up.its just stuck on htc logo screen now...
My question is that , is there a limit of flashing boot.img file?I mean whenever i installed a new rom i used the method of flashing boot.img through cmd.
Is there a way of removing all boot.img files i hv pushed in my phone through cmd.In case if there is a limit...
Did you flash the correct boot.img associated with the Rom your flashing? (Each different roms boot.img is generally only for the Rom its from)
When you restored your backup, did you flash the backed up boot.img located in the backup folder on the sdcard?
Sent from my HTC Desire HD using xda app-developers app
Lavi26jan said:
I have a htc desire hd,bootloader unlocked by htc dev.I was also using SVHD rom.I tried to flash rom which i have used earlier on the device which is cyanogenmod 10.1.But today it got stucked in the logo screen.i use the method of flashing boot.img file through cmd in fastboot.
When i tried to recover my nandroid backup,everything goes fine.but it didnt boot up.its just stuck on htc logo screen now...
My question is that , is there a limit of flashing boot.img file?I mean whenever i installed a new rom i used the method of flashing boot.img through cmd.
Is there a way of removing all boot.img files i hv pushed in my phone through cmd.In case if there is a limit...
Click to expand...
Click to collapse
Nandroid backups do not require to flash the boot.img in fastboot. Boot.img are not stored in the phone. Every time you flash a different one the other is overwritten. It is like replacing the rom...that is why full wipe is important.
glevitan said:
Nandroid backups do not require to flash the boot.img in fastboot. Boot.img are not stored in the phone. Every time you flash a different one the other is overwritten. It is like replacing the rom...that is why full wipe is important.
Click to expand...
Click to collapse
Q, if your htcdev unlocked and if one restores a backup of a Rom say cm9 and the phone is currently using a sense Rom, shouldnt you have to manually restore the boot.img that's backup up to get it working with the restored rom?
Sent from my HTC Desire HD using xda app-developers app

HTC Desire HD unlocked / S-ON cant flash

Dear friends
been trying to flash the CM11 or the CM7 ace but no success..
looked for many downloads regarding VISIONary+ and others (most couldnt get due toinvalis links)
Managed to unlock the boot (naw it says xxx UNLOCKED xxx on HBOOT screen) but with the S-ON.
everytime i add a zip flash rom to root from sdcard I recieve the massege invalis operation > root from oem-001 and the mobile starts all over with the same settings.
Please help putting in mind that whos on the other side of your thread is some how noob in this..
Thank you in advance for all the help.
You must flash boot.IMG via fastboot if you're s on
Sent from my MB886 using Tapatalk
chrisb906 said:
You must flash boot.IMG via fastboot if you're s on
Sent from my MB886 using Tapatalk
Click to expand...
Click to collapse
Thank you for replying, can you just explain how? and what is the latest valid rom that I can get to my Desire HD?
Thank you again
http://m.youtube.com/watch?v=5xVl2dBTnmI#
You have to extract the boot.img from the zip you are trying to flash inside the folder you have fastboot.Then you give the command fastboot flash boot boot.img to flash the new kernel.
You could also install 4EXT recovery and use smartflash as long as you are s-on.
Thanx a million for all.. I will try to do that today and will forward the results.
Thanx again
ONE QUESTION:
shall I connect the devise at the buginning or after flashinf the boot comand? and in what status the devise should be connected (fastboot or recovery)?
Another thing: as Im running windows, my PC is recognizing the device imidietly, so do I still hav to install any drive from htcdev ? and what drive is that ?
Sorry for that but as I said before, Im a little noob in this..
Thanx in advance..
OK, here are the results:
did the tutorial to the letter as in the link, everything went well till the end, after that I restarted the devise and simply it goes to recovery?
now everytime I restart the devise it goes to recovery automatically?
lordjinx said:
OK, here are the results:
did the tutorial to the letter as in the link, everything went well till the end, after that I restarted the devise and simply it goes to recovery?
now everytime I restart the devise it goes to recovery automatically?
Click to expand...
Click to collapse
I told you to install 4ext if you like!
4ext is a recovery with the ability either you are S-ON or S-OFF user can flash for you any kernel you like with smart flash.
What you probably did was to flash this recovery as kernel for your device.If you want to install this recovery you have to install it to recovery partition using fastboot flash recovery {your recovery.img}.
If you want to make your rom working again you have to extract the boot.img file from the zip you was trying to install using recovery and you flash it manually using fastboot flash boot boot.img or you could use 4ext to flash it with smartflash but it would be better if you installed it first to the recovery partition (If you use 4ext now you probably have to make a full flash of your rom except if you find only the kernel in a zip or you have an older nandroid backup with the right kernel to restore).
** You have to enable smartflash only if you are S-ON.If you S-OFF your device you should disable this feature. **
Gatosbil said:
I told you to install 4ext if you like!
4ext is a recovery with the ability either you are S-ON or S-OFF user can flash for you any kernel you like with smart flash.
What you probably did was to flash this recovery as kernel for your device.If you want to install this recovery you have to install it to recovery partition using fastboot flash recovery {your recovery.img}.
If you want to make your rom working again you have to extract the boot.img file from the zip you was trying to install using recovery and you flash it manually using fastboot flash boot boot.img or you could use 4ext to flash it with smartflash but it would be better if you installed it first to the recovery partition (If you use 4ext now you probably have to make a full flash of your rom except if you find only the kernel in a zip or you have an older nandroid backup with the right kernel to restore).
Click to expand...
Click to collapse
WHAT !!!
Im so sorry but I didnt understand anything.. how can I install the 4ext if its an android market app ? I cant even get the desire HD working?
and what is the smartflash ?
Im so sorry but as I said Im noob in this so....
Thank you anyway..
lordjinx said:
WHAT !!!
Im so sorry but I didnt understand anything.. how can I install the 4ext if its an android market app ? I cant even get the desire HD working?
and what is the smartflash ?
Im so sorry but as I said Im noob in this so....
Thank you anyway..
Click to expand...
Click to collapse
Just extract the boot.img of the rom zip you was trying to install in the folder you have the fastboot and then install it using the command fastboot flash boot boot.img while you are in bootloader.
Don't be confused with 4ext.This is just a recovery like cwm.
Gatosbil said:
Just extract the boot.img of the rom zip you was trying to install in the folder you have the fastboot and then install it using the command fastboot flash boot boot.img while you are in bootloader.
Don't be confused with 4ext.This is just a recovery like cwm.
Click to expand...
Click to collapse
That you tube video explains it all

Categories

Resources