[Q] Boot Img & Restoring - HTC One X+

So I have rooted my HOX+ & installed custom rom & it's bootloader.
I have made a nandbackup & now I want to try another Rom & so will have to flash it's bootloader.
So it I want to restore the nand back up I made & clean everything out will I have to flash the boot img for the restore img I am about to go back to or does the nand back up the boot img as well
Hope that make sense?
Thanks

I posted the same question a while back and I didn't get a response.
However, what I do know is that restoring a nand will not restore your boot.img because we do not have S-off. So, your recovery software will not be able to flash the boot partition in the nand restore. You'd have to restore that boot.img seperately in fastboot. IF you restore a stock nand coming from a custom ROM, I'm pretty sure you'd just hang at splash screen until you flash back to that same custom rom.
I also don't know if you can extract the boot.img somehow from the nand.
So, I haven't verified this works yet, but if I ever have to, or want to restore the stock nand, I went here:
Stock ATT ROM Zips
Downloaded the stock rom ZIP, extracted the boot.img and then I'll fastboot flash before\after restoring the nand.
Let me know if you try this out, or if someone else could confirm this is the correct process?
Thanks

nespid said:
I posted the same question a while back and I didn't get a response.
However, what I do know is that restoring a nand will not restore your boot.img because we do not have S-off. So, your recovery software will not be able to flash the boot partition in the nand restore. You'd have to restore that boot.img seperately in fastboot. IF you restore a stock nand coming from a custom ROM, I'm pretty sure you'd just hang at splash screen until you flash back to that same custom rom.
I also don't know if you can extract the boot.img somehow from the nand.
So, I haven't verified this works yet, but if I ever have to, or want to restore the stock nand, I went here:
Stock ATT ROM Zips
Downloaded the stock rom ZIP, extracted the boot.img and then I'll fastboot flash before\after restoring the nand.
Let me know if you try this out, or if someone else could confirm this is the correct process?
Thanks
Click to expand...
Click to collapse
Thanks for the reply.
I know how you feel, to say this is a Q & A it sometimes feels like waiting for a drink in the Sahara

Lol can't look a gift horse in the mouth...
Sent from my HTC EVARE_UL using xda premium

nespid said:
Lol can't look a gift horse in the mouth...
Sent from my HTC EVARE_UL using xda premium
Click to expand...
Click to collapse
I hear you brother:good:

Actually....when the boot.img is flashed it is extracted to where it belongs. So backups do back up the boot.img. Just restore and nothing extra has to be done.

hukel56 said:
Actually....when the boot.img is flashed it is extracted to where it belongs. So backups do back up the boot.img. Just restore and nothing extra has to be done.
Click to expand...
Click to collapse
I'm pretty sure you have to flash boot.img separate from the restore if you're not s-off.
Sent from my HTC EVARE_UL using xda premium

Nope. I haven't and it works just fine.

hukel56 said:
Nope. I haven't and it works just fine.
Click to expand...
Click to collapse
Did you restore from custom rom to stock?
Sent from my HTC EVARE_UL using xda premium

hukel56 said:
Nope. I haven't and it works just fine.
Click to expand...
Click to collapse
Yes you do. Your most likely going from sense rom to sense rom, you its not needed. If your on a CM rom and try to restore a sense rom s-on you'll bootloop
Sent from my One X using Tapatalk 2

Related

Help restoring from ICS back to GB ROM.

Ok so I'm currently running the latest ICS CleanROM but would like to restore back to my GN nandroid I made. I'm just confused on what steps I need to do. I guess the ICS ROMs use different kernels that are not compatible with GB. In which case I don't know where to get the latest OTA stock kernel from so I can restore back to GB. Been searching and trying to read but it gets confusing. Any help would be greatly appreciated. Thanks guys.
Sent from my HTC Rezound using XDA App
TeamSPD said:
Ok so I'm currently running the latest ICS CleanROM but would like to restore back to my GN nandroid I made. I'm just confused on what steps I need to do. I guess the ICS ROMs use different kernels that are not compatible with GB. In which case I don't know where to get the latest OTA stock kernel from so I can restore back to GB. Been searching and trying to read but it gets confusing. Any help would be greatly appreciated. Thanks guys.
Sent from my HTC Rezound using XDA App
Click to expand...
Click to collapse
There is a posted latest OTA stock on android developement , but I think it got pushed back to the 2nd page by now.
He has 2 files , one is a zip and the other a ph98img file.
Now, the text file in the ph98img file is our old stock number so it won't auto install.
Here is what I did, put the first file on the root of the external SD card.
Open up the second file and remove the boot.img file, and put on your desktop or better yet into your fastboot folder that you used to unlock with.
Now, reboot in recovery and wipe data/factory reset. Then install your backup, but don't reboot yet. Flash the 1 st file you downloaded from the OTA kernel post. After that is done , return to main recovery menu.
Now select developer menu, then select reboot to bootloader. After you are in bootloader select fastboot (should say FastbootUSB ) if your phone is plugged in and your in fastboot.
Finally, open up a command prompt from the fastboot folder containing the boot.img from the 2nd file and type in fastboot flash boot boot.img
This will flash the rest of the stock kernel for you . Now ,, just reboot normally and you should be good to go .
Now, this is if the backup nand your restoring was using the stock OTA kernel. If not , its the same process just pull the boot.img out of the kernel from whatever rom your trying to restore.
TeamSPD said:
Ok so I'm currently running the latest ICS CleanROM but would like to restore back to my GN nandroid I made. I'm just confused on what steps I need to do. I guess the ICS ROMs use different kernels that are not compatible with GB. In which case I don't know where to get the latest OTA stock kernel from so I can restore back to GB. Been searching and trying to read but it gets confusing. Any help would be greatly appreciated. Thanks guys.
Sent from my HTC Rezound using XDA App
Click to expand...
Click to collapse
i just came back to cleanrom 1.5.5 from ics rom and this is what i did.
you need the cleanrom and cleanflash 1.0 to do this.
cleanrom: http://www.scottsroms.com/downloads.php?do=file&id=70
cleanflash: http://www.scottsroms.com/downloads.php?do=file&id=57
extract the rom file and copy the boot.img file and paste on cleanflash folder.
also put the rom file in your ext. sdcard.
now use cleanflash.exe and flash the boot.img first
then from bootloader, go to recovery and wipe then flash the rom
Awesome thanks guys this is helpful. Gonna give it a try.
Sent from my HTC Rezound using XDA App
TeamSPD said:
Awesome thanks guys this is helpful. Gonna give it a try.
Sent from my HTC Rezound using XDA App
Click to expand...
Click to collapse
I believe CleanROM 1.5+ & RezROM 1.4+ ROMs include and automatically install the kernel.

[Q] Need help restoring a backup in TWRP

I made a backup of my HTC EVO LTE Stock ROM in TWRP, I flashed CMX, now I want to go back to Stock, so I went to TWRP>Install, I can see my backup folder under /sdcard/TWRP/BACKUPS/name of backup.. but I when I select the folder it does not give me the option to Install it. It just opens as an empty folder. I did notice the folder is not in a .zip format. Is this the reason why? Did I miss something during the back up process? And if so, how can I fix it? Is it as easy as just converting the regular folder into a .zip folder then try to install it this way?.. Please tell me not everything is lost, lol.. Any suggestions are greatly appreciated.
onavarro said:
I made a backup of my HTC EVO LTE Stock ROM in TWRP, I flashed CMX, now I want to go back to Stock, so I went to TWRP>Install, I can see my backup folder under /sdcard/TWRP/BACKUPS/name of backup.. but I when I select the folder it does not give me the option to Install it. It just opens as an empty folder. I did notice the folder is not in a .zip format. Is this the reason why? Did I miss something during the back up process? And if so, how can I fix it? Is it as easy as just converting the regular folder into a .zip folder then try to install it this way?.. Please tell me not everything is lost, lol.. Any suggestions are greatly appreciated.
Click to expand...
Click to collapse
There should be a restore option on the main screen in twrp recovery. If you hit that it will allow you to choose what file you want to restore
Sent from my EVO using xda app-developers app
Seconded. Choose "restore" to restore nandroid backups.
krobinso2295 said:
There should be a restore option on the main screen in twrp recovery. If you hit that it will allow you to choose what file you want to restore
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I see that now!. I can see what the difference is now. THANKS SO MUCH! :laugh:
Hello I'm coming from clockwork mod and now using Twrp. I renamed my backup and when I go to restore my backup I do not see it in tarp>backups? Any ideas? Thanks in advance!
shane1diamond said:
Hello I'm coming from clockwork mod and now using Twrp. I renamed my backup and when I go to restore my backup I do not see it in tarp>backups? Any ideas? Thanks in advance!
Click to expand...
Click to collapse
You can't restore back up made in clockwork mod using twrp recovery.
Sent from my lair.
Need to Restore But Getting Black Screen
Okay so my situation is similiar to the OP.
I was running CM10 then a custom sense Rom.
I made an original backup, but when I restore it I get a black screen at boot.
Typically when I flash a Rom I have to fastboot flash the boot.img which is no biggie, but there's no boot.img that I can find in the twrp backup.
Might be just as easy to flash a stock Rom, but not sure exactly where to find one. Everything I've found is rooted or custom in some way.
Thanks in advance for any replies.
tankerkevo said:
Okay so my situation is similiar to the OP.
I was running CM10 then a custom sense Rom.
I made an original backup, but when I restore it I get a black screen at boot.
Typically when I flash a Rom I have to fastboot flash the boot.img which is no biggie, but there's no boot.img that I can find in the twrp backup.
Might be just as easy to flash a stock Rom, but not sure exactly where to find one. Everything I've found is rooted or custom in some way.
Thanks in advance for any replies.
Click to expand...
Click to collapse
Download the rom you are trying to restore, and fast boot that bootimg.
Sent from my EVO using Tapatalk 2
thicklizard said:
Download the rom you are trying to restore, and fast boot that bootimg.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
The ROM I'm trying to restore is the original state of my phone. Would this be a stock ROM with a versioning date of October 28th(the day I got my phone and made the backup), current stock ROMs, or launch stock ROMs. Basically will any boot.img work from a stock ROM?
I do see the boot sector being written during the restore process. There is a boot.something.win file in the backup folder for the backup. Can this be fastbooted? I'm a bit timid to try that, but thinking it may be worth a shot...
tankerkevo said:
The ROM I'm trying to restore is the original state of my phone. Would this be a stock ROM with a versioning date of October 28th(the day I got my phone and made the backup), current stock ROMs, or launch stock ROMs. Basically will any boot.img work from a stock ROM?
I do see the boot sector being written during the restore process. There is a boot.something.win file in the backup folder for the backup. Can this be fastbooted? I'm a bit timid to try that, but thinking it may be worth a shot...
Click to expand...
Click to collapse
I think this is what you would need
http://themikmik.com/showthread.php...oted-Based-on-Latest-OTA-(Odexed-and-Deodexed)
Just download the kernel/bootimg and fast boot it and you should be good to go
Sent from my EVO using Tapatalk 2
clockwork recovery f's up your misc partition on this phone.. DO NOT use clockwork mod recovery on this phone! it f ed up mine.. mines fixed now but it was a pain to fix
thicklizard said:
I think this is what you would need
LINK REMOVED SO I COULD POOST
Just download the kernel/bootimg and fast boot it and you should be good to go
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the quick reply, QuickWizard is very fitting. I actually got it after I finished going my own route though.
I grew a pair and went with my got and I went ahead and flashed the boot.emmc.win from the twrp backup in flashboot. It successfully got me booted and logged into the phone. That said the stock rom is so crappy...
But, I was having issues on CM10 with MHL, on a "stock rom with goodies" I was having radio issues with the latest firmawares, so now it's back to my rooted stock backup and I'm doing the HTC System OTA update... Should be interesting what happens next...
Again thank you all with the quick replies!

[Q] Restoring nandriod

Do I need to restore the ROM I made my nandriod from first? Or can I restore my previous nandriod off any ROM I'm currently using?
I'm sure this has had to been asked before, but maybe I'm using the xda search wrong.
Thanks
platinumthomas said:
Do I need to restore the ROM I made my nandriod from first? Or can I restore my previous nandriod off any ROM I'm currently using?
I'm sure this has had to been asked before, but maybe I'm using the xda search wrong.
Thanks
Click to expand...
Click to collapse
Just wipe in Aron Ra and then restore from your nandroid. I commonly jump from Rom to Rom, just make sure you wipe in between.
Yupyup your nandroid reverts you to whatever that particular nandroid saved..
Sent from my ADR6425LVW using xda app-developers app
Thanks
Thanks guys. I'm not sure what is wrong with my phone. Clean ROM 4.3 was the only one that would work for me, until this morning. I finally got RAGE1.8 to work. All other ROMs would boot loop, including all Clean ROMs after 4.3. I had been reinstalling Clean ROM and then restoring the nandriod, I'm glad I can skip one step if I need to go back.
Make sure you wipe before you restore a nandroid. If you don't it could cause it to bootloop.
Also if you're s on it could be an issue with kernel compatibility
Sent from my ADR6425LVW using xda app-developers app
I am S on. Maybe I'm wrong, but I thought loading the PH98IMG file in the bootloader was loading the kernel.
First, you really should S-Off, it will make it a whole lot easier, it will allow you to jump from Rom to Rom a lot easier. Be careful because some new roms call for the latest firmware to run correctly.
platinumthomas said:
I am S on. Maybe I'm wrong, but I thought loading the PH98IMG file in the bootloader was loading the kernel.
Click to expand...
Click to collapse
It has to be the ph file from the rom you are on

[Q] Can not restore nadroid backup after running BeanStalk Android 4.3

I am fairly new to rooting and flashing custom roms world. I have a HTC EVO 4G LTE, which is rooted but S-On and with TWRP 2.6 recovery installed.
After usingSense based roms, MeanBean, Viperand Sense 5 port, for a few months, I installed BeanStalk rom (Android 4.3) a few nights ago just to try out. After trying this rom out for the last few days, I realized that I prefer Sense based rom so I attempted to restore to the nandroid backup of the Viper rom that I was using before I flashed BeanStalk. I was able to restore the VIper rom but while rebooting the system, it got stuck on HTC screen and then the screen just shut off after a while. The same thing occurred when I tried to restore to MeanBean rom as well. However, the funny thing is that BeanStalk rom backup I made booted up fine. I am at wits end with this. Anyone has any advice and solution on my predicament?
Thanks in advance for advise and solution to resolve this issue and sorry for my lengthy post.
James
My suggestion would be start from scratch and clean flash viper or meanbean again.
EVOlved human
---------- Post added at 02:39 PM ---------- Previous post was at 02:36 PM ----------
Also try installing an earlier version of TWRP. Some people are reporting bugs with 2.6.
EVOlved human
Try wiping everything before restoring. I've had that same issue before on several versions of TWRP.
Since you are s-on in order to get your nand backups to work you need to extract the boot.img from said roms and fastboot it:
Fastboot flash boot boot.img
Restore your nand, then reboot to bootloader and flash the boot.img
Sent from my EVO using Tapatalk 4
chaibaby said:
I am fairly new to rooting and flashing custom roms world. I have a HTC EVO 4G LTE, which is rooted but S-On and with TWRP 2.6 recovery installed.
After usingSense based roms, MeanBean, Viperand Sense 5 port, for a few months, I installed BeanStalk rom (Android 4.3) a few nights ago just to try out. After trying this rom out for the last few days, I realized that I prefer Sense based rom so I attempted to restore to the nandroid backup of the Viper rom that I was using before I flashed BeanStalk. I was able to restore the VIper rom but while rebooting the system, it got stuck on HTC screen and then the screen just shut off after a while. The same thing occurred when I tried to restore to MeanBean rom as well. However, the funny thing is that BeanStalk rom backup I made booted up fine. I am at wits end with this. Anyone has any advice and solution on my predicament?
Thanks in advance for advise and solution to resolve this issue and sorry for my lengthy post.
James
Click to expand...
Click to collapse
jocarog said:
Since you are s-on in order to get your nand backups to work you need to extract the boot.img from said roms and fastboot it:
Fastboot flash boot boot.img
Restore your nand, then reboot to bootloader and flash the boot.img
Sent from my EVO using Tapatalk 4
Click to expand...
Click to collapse
Thanks to all who have posted suggestions to help me out.
I tried wiping everything before restoring my backup and it still get stuck on HTC screen . I'll try fresh install of a Sense based rom tonight after work when I can devote more time to my phone. The weirdest part is that I can restore BeanStalk rom backup that I made straight from TWRP. I wonder if the problem I'm experiencing has to do with trying to go from a CM10 based rom back to Sense based roms. Any thoughts? Thanks.
Nvm
Sent from my EVO 4G LTE using xda app-developers app
jocarog said:
Since you are s-on in order to get your nand backups to work you need to extract the boot.img from said roms and fastboot it:
Fastboot flash boot boot.img
Restore your nand, then reboot to bootloader and flash the boot.img
Sent from my EVO using Tapatalk 4
Click to expand...
Click to collapse
@jocarog. Thanks for your instruction. I finally tried it last night and it worked beautifully. I did not realize that boot image has to flashed separately even for nandroid restore. Greatly appreciated. :good:
jocarog said:
Since you are s-on in order to get your nand backups to work you need to extract the boot.img from said roms and fastboot it:
Fastboot flash boot boot.img
Restore your nand, then reboot to bootloader and flash the boot.img
Sent from my EVO using Tapatalk 4
Click to expand...
Click to collapse
I am just curious if I can use the app Flash Image GUI to flash the kernel (boot image) and then go to TWRP recovery to restore the said backup?
Glad you got it working and for flash gui, personally I've never used it but give it a try and let us know...
Sent from my EVO using Tapatalk 4

No WiFi after restore ??

HOX+
ARHD8
Sense5
Was O2, 4.2.2, Sense 5 before root etc
Flashed ARHD8 without problems and works fine.
Make backup of OS before flash 'just in case'.
Problem..... I restored the original OS just to see if it worked but the WiFi is playing up.
If the WiFi was switched on BEFORE reboot the button to turn off is inactive.
If the WiFi was off BEFORE reboot when I turn it on it constantly says 'turning on' but doesn't turn on.
Any suggestions ?
Thanks
Did you flash the boot.img before/after restore?
Sent from my HTC One X+ using Tapatalk 2
AndroHero said:
Did you flash the boot.img before/after restore?
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Excuse my ignorance, new to all of this, I presume you mean a 'stock' boot.img ?
If so, no I didn't. Where am I likely to find one ?
Thanks again.
10rdan said:
Excuse my ignorance, new to all of this, I presume you mean a 'stock' boot.img ?
If so, no I didn't. Where am I likely to find one ?
Thanks again.
Click to expand...
Click to collapse
I didn't need to reflash boot.img when 'restoring' back to ARHD8 from dodgy stock restore. Works fine.
Cheers
10rdan said:
I didn't need to reflash boot.img when 'restoring' back to ARHD8 from dodgy stock restore. Works fine.
Cheers
Click to expand...
Click to collapse
Ofcourse not, because you have the ARHD kernel already installed. Did you look in the stock backup to see if TWRP took a backup of your stock boot.img? If not grab it from one of the "stock style" custom roms of the same base as your backup.
Sent from my HTC One X+ using Tapatalk 2
AndroHero said:
Ofcourse not, because you have the ARHD kernel already installed. Did you look in the stock backup to see if TWRP took a backup of your stock boot.img? If not grab it from one of the "stock style" custom roms of the same base as your backup.
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Ok, I'll look into that.
Thanks for your help.
I've had a look in the backup folder and there are 2 "boot files".
boot.emmc.win and boot.emmc.win.md5
I'm sure.I've read somewhere that the the "boot.emmc.win" should be renamed "boot.img".
Is that correct ?
Thanks
10rdan said:
I've had a look in the backup folder and there are 2 "boot files".
boot.emmc.win and boot.emmc.win.md5
I'm sure.I've read somewhere that the the "boot.emmc.win" should be renamed "boot.img".
Is that correct ?
Thanks
Click to expand...
Click to collapse
no need to rename, just flash it in fastboot using "fastboot flash boot boot.emmc.win" command
reaper90 said:
no need to rename, just flash it in fastboot using "fastboot flash boot boot.emmc.win" command
Click to expand...
Click to collapse
Ok, thanks a lot for your help.

Categories

Resources