Hi all,
I have stock ics nandroid, I am going to reflash this so, i can install the offical JB on my HOX CID__001. My question though, do i just flash the nandroid from the custom recovery or will i also have to copy the boot.img to my pc and flash this also, or is this not needed when just restoring nandroid. Currently running Maximus JB, but want the offical JB for nandroid.
You need to flash boot.img also. Fild it at sdcard /clockworkmod/backups/backupname/boot.img
can we download that boot.img from internet or it already in the sd card. is it different ?
nkenny94 said:
can we download that boot.img from internet or it already in the sd card. is it different ?
Click to expand...
Click to collapse
If you look into the nandroid backup folder you see the boot.img in there, it belongs to the nandroid backup. So of you want to restore the nandroid you also have to flash that particular boot.img !
Related
Hey,
If you do a nandroid backup, then wipe, flash a new rom and a new boot.img, will the boot.img from the previous rom be restored if you do restore it? Or do you have to fastboot flash it again? If so, is the boot.img which is found in the backup folder the one to use?
Thanks
yeah i am wondering the same question. Actually I have a nandroid backup of the stock rom, and i flashed other roms before too. I tried nandroid restore and everything did go back to stock, but I am concerned whether I need to flash any boot.img? if the stock kernel is untouched while flashing other roms, does that mean i dont need to reflash the boot.img?
When flashing other roms the stock kernel is not changed. Unless you have an s-off device. If you did not fastboot flash boot boot.img then when you restore your back up you will be fine. If you did flash a new kernel then you will need to flash the boot.img for your backup as the backup will only restore the kernel on s-off devices.
Sent from my HTC One X using Tapatalk 2
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.
i just wanted to know since a nandroid backup backs up the boot.img of a rom as well as the data, could i make different "stock" backups of roms and just format the system and factory reset and restore roms from backups? like say i back up pacman rom, then go to stock. can i just reflash pacman without the boot.img (say i dont have a computer) and restore the backup? would that make the boot.img work? cause if so i could have one backup of each rom on my 16gb sd card and just reflash when i need it. thanks guys
sneakysnake16 said:
i just wanted to know since a nandroid backup backs up the boot.img of a rom as well as the data, could i make different "stock" backups of roms and just format the system and factory reset and restore roms from backups? like say i back up pacman rom, then go to stock. can i just reflash pacman without the boot.img (say i dont have a computer) and restore the backup? would that make the boot.img work? cause if so i could have one backup of each rom on my 16gb sd card and just reflash when i need it. thanks guys
Click to expand...
Click to collapse
Which recovery are you on and are you primoc or primou?..... I don't think the recovery will actually backup the boot.img even though it says it does... someone else might be able to answer better though
Sorry forgot that but I'm primoc with twrp 2 recovery on Pac man 19.3
Sent from my HTC One V using xda premium
sneakysnake16 said:
i just wanted to know since a nandroid backup backs up the boot.img of a rom as well as the data, could i make different "stock" backups of roms and just format the system and factory reset and restore roms from backups? like say i back up pacman rom, then go to stock. can i just reflash pacman without the boot.img (say i dont have a computer) and restore the backup? would that make the boot.img work? cause if so i could have one backup of each rom on my 16gb sd card and just reflash when i need it. thanks guys
Click to expand...
Click to collapse
No it wont..... U have to flash boot.img again.....even though its backed up, it is not restored due to S-on
rohov said:
No it wont..... U have to flash boot.img again.....even though its backed up, it is not restored due to S-on
Click to expand...
Click to collapse
Damn thanks!
Sent from my HTC One V using xda premium
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 going to return to stock rom but I have one question about Nandroid backup.
I have a backup from CWM Recovery and I now using TWRP recovery can I still restore the backup? if so where about do I copy the backup to on the sd card?
Thanks
shankly1985 said:
Hello I going to return to stock rom but I have one question about Nandroid backup.
I have a backup from CWM Recovery and I now using TWRP recovery can I still restore the backup? if so where about do I copy the backup to on the sd card?
Thanks
Click to expand...
Click to collapse
you need to flash cwm recovery first and do a full wipe. I think the backup folder is clockworkmod/backup/"date". I find it easier to just wipe then do a backup, even though is nothing on your phone, and this will give you the file structure you need. then go to the "backup/date" folder and delete the contents and replace them with your saved backup and flash it. and dont forget to flash the boot.img from your backup too