[Q] Restoring - HTC One X

Before i even root my rom i made a backup..And i root mycphone i put custom rom (including flashong custom boot.img cm10.1) and now i want to restore my backup..And now is the question..I must flash stock boot.img or just restore device without flashin another boot.img?
Sent from my HTC One X using xda premium

You need to flash the boot.img that is located inside the backup folder, then a full wipe in recovery and restore the nandroid

Mr Hofs said:
You need to flash the boot.img that is located inside the backup folder, then a full wipe in recovery and restore the nandroid
Click to expand...
Click to collapse
thank you
Sent from my HTC One X using xda premium

And if you are asking this because you want to update to JB you also need to flash back the stock recovery afterwards . The phone won't update on a custom recovery

Related

[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] Can't restore - lose boot.img

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

[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

[Q] reverting to stock from nandroid?

Hi
I think I have a hardware issue and need to return my phone to ThreeUK.
Currently rooted and running Viper x 3.8 with TWRP recovery.
version is 3.14.771.34
I have been reading around and trying to work out how to get it back to stock. So far I understand there is no RUU and i need to use a nandroid back up. I downloaded the appropriate one from the collection on here but that is where I am getting stuck.
I read (ckpv5) that the following steps are what I need:
a. Flash the attached stock boot.img
b. Restore your nandroid backup
c. Reboot to bootloader again
d. Flash the attached stock recovery.img
e. Relock your bootloader with command "fastboot oem lock"
f. Reboot your device.. you are done.
I can't work out how to get the boot.img from the nandroid file I downloaded (in the past I just opened the rom zip file and copied it) but when i extract the files there isn't a boot.img?
I am also not sure if I can use TWRP to restore the backup or where to get the most recent recovery.img?
Thanks for any help.
columbo67 said:
Hi
I think I have a hardware issue and need to return my phone to ThreeUK.
Currently rooted and running Viper x 3.8 with TWRP recovery.
version is 3.14.771.34
I have been reading around and trying to work out how to get it back to stock. So far I understand there is no RUU and i need to use a nandroid back up. I downloaded the appropriate one from the collection on here but that is where I am getting stuck.
I read (ckpv5) that the following steps are what I need:
a. Flash the attached stock boot.img
b. Restore your nandroid backup
c. Reboot to bootloader again
d. Flash the attached stock recovery.img
e. Relock your bootloader with command "fastboot oem lock"
f. Reboot your device.. you are done.
I can't work out how to get the boot.img from the nandroid file I downloaded (in the past I just opened the rom zip file and copied it) but when i extract the files there isn't a boot.img?
I am also not sure if I can use TWRP to restore the backup or where to get the most recent recovery.img?
Thanks for any help.
Click to expand...
Click to collapse
Inside the nandroid you should find boot.img and recovery.img as a part of the nandroid. If there's no boot.img inside there's something wrong with the backup.
patensas said:
Inside the nandroid you should find boot.img and recovery.img as a part of the nandroid. If there's no boot.img inside there's something wrong with the backup.
Click to expand...
Click to collapse
I am possibly doing something really stupid. The file I have downloaded from the nandroid collections thread is a 7zp. It is not like the usual zip rom. I used 7zip to extract the files but when I did this there was no boot.img file. There were references to boot but not a boot.img file. Like I said I may not be opening the file correctly or doing something else wrong?
It's probably a boot.emmc.win file. That is done with twrp recovery !
Sent from my HTC One X using XDA Premium 4 mobile app
Mr Hofs said:
It's probably a boot.emmc.win file. That is done with twrp recovery !
Sent from my HTC One X using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks. Do I do the full wipe straight after flashing the boot, and by using twrp (which is my custom recovery)?
You think the above steps (with full wipe) are ok and if I just want to get the 4.2 upgrade from the carrier can I stop after flashing the custom recovery?
Flash the boot file, make a full wipe and restore the stock nandroid backup.
After that you flash back the stock 3.14 recovery. The one in the backup is not stock.
Sent from my HTC One X using XDA Premium 4 mobile app
Mr Hofs said:
Flash the boot file, make a full wipe and restore the stock nandroid backup.
After that you flash back the stock 3.14 recovery. The one in the backup is not stock.
Sent from my HTC One X using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Cheers. I have got a 3.14 recovery from the nandroid collection thread. Is the standard twrp factory reset ok going from viper to stock?
Have ran into a problem
When i tried to restore the stock nandroid using twrp, nothing seemed to happen. I selected the file to restore and the twrp logo cam up and the screen immediately went of. When i pressed the power button it showed the twrp lock screen, but no restore had appeared to happen. I rebooted the phone but it still showed the viper screen and then got stock on the white htc logo screen.
Here are the steps I went through:
1.Downloaded the nandroid for my cid. It was a twrp backup in a 7z file
2. Extracted to the 7z file into its own folder in order to get the boot file.
3.Placed the boot.emmc.win file in my fastboot folder
4. Within the stock nandroid that was extracted i took the folder that contained the boot files etc and placed that in my backup folder beside my own backups in twrp so that i could select this folder to restore.
5. went into bootloader and fastboot.
6. Flashed - fastboot flash boot boot.emmc.win
7. fastboot erase cache
8. i then booted into twrp and performed a wipe
9. Tried to restore the stock nandroid
Any suggestions as to why this did not work?
Thanks
Anyone please?
Solved it by updating twrp 2.5 to the latest version.

Categories

Resources