Hi
I backed up my stock rom with the correct boot.img.
I then flashed the boot.img supplied with the insertcoin rom and then flashed the rom itself.
When I wanted to restore the backup of the stock rom I also had to flash the boot.img again - is this normal? I was expecting that when I did a restore of the stock rom it would also have backed up the correct boot.img?
Let me know if I'm doing something wrong
Thanks
Manny
mannysroot said:
Hi
I backed up my stock rom with the correct boot.img.
I then flashed the boot.img supplied with the insertcoin rom and then flashed the rom itself.
When I wanted to restore the backup of the stock rom I also had to flash the boot.img again - is this normal? I was expecting that when I did a restore of the stock rom it would also have backed up the correct boot.img?
Let me know if I'm doing something wrong
Thanks
Manny
Click to expand...
Click to collapse
Because the phone is currently s-on you can't flash boot.IMG from.clockworkmod has to always be done from fast boot.
Sent from my HTC One X using xda app-developers app
Hello,
I'm coming from a HTC Desire, and when reading the guides how to install roms on the HOX, the neccesity to flash a separate boot.img for every rom via fastboot was new to me.
Is this always the case? And lets say I have a stable 4.0.4 installation and want to mess around with CM10 - I get that have to flash the CM10 boot.img before installing the ROM, but would I then also have to re-flash my old boot.img before rstoring my old nandroid backup, or is the boot image included in the backup?
Thanks aheasd for an answer,
saxelfur
i guess yes.. you have to re-flash the boot.img of the rom that you are restoring...
faiz02 said:
i guess yes.. you have to re-flash the boot.img of the rom that you are restoring...
Click to expand...
Click to collapse
Okay, thanks - so I suppose right now there is now way to restore a backup from a different rom on the go. Oh well, I should be able to live without that
saxelfur said:
Okay, thanks - so I suppose right now there is now way to restore a backup from a different rom on the go. Oh well, I should be able to live without that
Click to expand...
Click to collapse
You do not have to flash the boot.img before restoring a nandroid backup...Y
ou restore everything, boot.img included.
panooos said:
You do not have to flash the boot.img before restoring a nandroid backup...Y
ou restore everything, boot.img included.
Click to expand...
Click to collapse
Great, even better!
panooos said:
You do not have to flash the boot.img before restoring a nandroid backup...Y
ou restore everything, boot.img included.
Click to expand...
Click to collapse
Not true; if you're restoring a backup which used a different boot.img than the one you already have installed, you need to manually flash the boot.img from your nandroid backup in fastboot.
The reason we have to use fastboot to flash the boot.img is that, thanks to HTC's security policies, it is not possible to write to the boot partition from recovery. Hence when you flash a ROM the boot.img isnt written, and has to be manually flashed. This also means that when you restore a backup in recovery it is still unable to write to the boot partition, so the boot.img from your backup is not written and must also be flashed manually.
hopscotchjunkie said:
Not true; if you're restoring a backup which used a different boot.img than the one you already have installed, you need to manually flash the boot.img from your nandroid backup in fastboot.
The reason we have to use fastboot to flash the boot.img is that, thanks to HTC's security policies, it is not possible to write to the boot partition from recovery. Hence when you flash a ROM the boot.img isnt written, and has to be manually flashed. This also means that when you restore a backup in recovery it is still unable to write to the boot partition, so the boot.img from your backup is not written and must also be flashed manually.
Click to expand...
Click to collapse
Really? I once flashed a kernel and could not pass the loading screen...everything got fixed as soon as i restored my backup...
Lucky for you. But these guys are correct. The only way to flash boot is through fastboot.
Recovery restore cannot restore a boot.img
Sent from my HTC One X using xda app-developers app
panooos said:
Really? I once flashed a kernel and could not pass the loading screen...everything got fixed as soon as i restored my backup...
Click to expand...
Click to collapse
Yep. Boot partition simply isn't writable from recovery (without s-off). There's no difference between recovery trying to write a boot.img from a zip on /sdcard and recovery trying to write a boot.img from a folder on /sdcard (if there was we would just need to modify recovery to treat new flashes as restores to get around the problem).
I'm not saying it won't work if you don't; if you're switching between Sense ROMs or restoring an earlier version of the ROM you're using then there's a good chance that the ROM will still boot and run fine, but you'll be running with the kernel & ramdisk you had before the restore.
Always learning sth new... Ty
Sent from my HTC One X using xda app-developers app
Well shoot. How do I get the boot.img from the stock rom that came with it. It wasn't exactly in standard .zip format for me to extract the .img......
If you did a nandroid backup it's there in plain sight.
Hello,
This is probably a silly question but I was just wondering if I had to reflash the correct kernel when I restore a ROM. Let me give a scenario as I don't think I can find a decent way to word it.
Lets say I flashed PACman last week and that runs on Hellboy CM10 kernel but then I fancied a change so I did a Nandroid backup in CWM, flashed a Sense kernel (Like Titanium Kiss) then flashed a Sense ROM such as SuPrimo. If I decided to switch back to PACman would I have to flash the boot.img (Hellboy CM10 in this case) before hand or is the boot.img stored in the Nandroid backup?
I'm just curious.
Thank you,
Curtis.
Hello Curtis,
The boot.img is backed up in the nandroid backup.if you open the backup using winrar,you will be able to see it.
you will need to flash the Hellboy kernel again or Pacman will not boot.
If our device was s-off,there would be no need to flash the kernel as it would automatically flash it.
It(boot.img) is stored in the backup,but you must flash it.
U must flash boot.IMG while restoring pacman... that's what while restoring ROM first u should flash boot.IMG
Sent from my One V using Tapatalk 2
Hey guys, just a quick question about restoring from a nandroid backup. Let's assuming I'm using custom rom A and made a nandroid backup of it. Then later on, I change to custom rom B and made another nandroid backup of that.
Well, assuming the boot.img from both custom rom A and B are different, then say if I were to restore back to custom rom A, I would have to re-flash the boot.img for that rom correct? OR, will restoring custom rom A from the nandroid backup also flash the boot.img for me automatically?
I came from other phones where flashing a new rom or from a nandroid backup is simply a one-step process. HTC One X is the first phone I've used where I have to deal with flashing the boot.img as an additional step as well, so just wanna confirm if this is the case for a nandroid restore as well.
chaoscreater said:
Hey guys, just a quick question about restoring from a nandroid backup. Let's assuming I'm using custom rom A and made a nandroid backup of it. Then later on, I change to custom rom B and made another nandroid backup of that.
Well, assuming the boot.img from both custom rom A and B are different, then say if I were to restore back to custom rom A, I would have to re-flash the boot.img for that rom correct? OR, will restoring custom rom A from the nandroid backup also flash the boot.img for me automatically?
I came from other phones where flashing a new rom or from a nandroid backup is simply a one-step process. HTC One X is the first phone I've used where I have to deal with flashing the boot.img as an additional step as well, so just wanna confirm if this is the case for a nandroid restore as well.
Click to expand...
Click to collapse
You have to flash the boot.img for the ROM you're restoring through fastboot. Recovery cannot flash boot.img for you since you need S-OFF, which impossible to achieve (let's not go there).
tomascus said:
You have to flash the boot.img for the ROM you're restoring through fastboot. Recovery cannot flash boot.img for you since you need S-OFF, which impossible to achieve (let's not go there).
Click to expand...
Click to collapse
yup got it. Thanks!
Hello!
I need to return using a stock rom (at the moment i'm using aicp). I have a nandroid backup of the stock rom just after unlocking the bootloader, but since then i changed kernel (from stock to xmister) and the recovery (from clockwork to twrp). Do i have to change recovery and kernel before restoring the nandroid backup? or can i leave everything as it is and flash without problem?
Thank you!
Flash the stock boot image from the nandroid zip and also a jellybean cwm recovery as the kitkat recovery will not let you restore jb nandroid.