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
Related
Just to be on the safe side, please advise:
I have backed up the stock rom on the internal memory. Now, supposing I want to restore it through CWM, would it be necessary to flash the stock boot.img, or is that needed only when you flash the RUU?
Thank you.
Sent from my HTC One X using xda premium
I tried once. I did not flash stock boot.img
oftiklaus said:
Just to be on the safe side, please advise:
I have backed up the stock rom on the internal memory. Now, supposing I want to restore it through CWM, would it be necessary to flash the stock boot.img, or is that needed only when you flash the RUU?
Thank you.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Yes, when you restore the backup the boot.img will not be restored with it by cwm. You'll need to flash the boot.img manually through fastboot.
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.
Hi there
I just installed venom on my one x successfully and now I'm looking at kernels
Mainly the Bricked kernel
I'd just like to ask if I flash this kernel, and want to restore my phone with my original sense backup (the first nandroid backup I took), do I have to flash another kernel before I can restore the back up or does the Kernel only affect the rom currently installed?
I'm extremely sorry for the unclear language, I'm not exactly sure how to put it
Thanks,
Yadash
When you restore the backup , you have to flash the boot.img (kernel) from that particular backup. It's located in the backup folder
MarcelHofs said:
When you restore the backup , you have to flash the boot.img (kernel) from that particular backup. It's located in the backup folder
Click to expand...
Click to collapse
Thanks man!
So basically if I install another rom now, and want to restore the backup I made of Viper
I find the boot.img of Viper and flash it and then restore the rom?
Also when I factory wipe to install the next rom does it clear the kernel too?
Let's make it simple, if you flash a rom you also always flash the kernel from that rom !
The same for a backup.
If you flash some other kernel to a different rom , it won't boot !
If you completely wipe your phone the kernel will stay. The kernel will only be overwritten by flashing a different kernel.
Thanks again
I completely understand now, and thank you so much for the help!
No problem. :thumbup:
Sorry one last one
If I install the bricked kernal and want to go back to the original one that viper came with
Do I just run the boot.img that came with Viper?
No, let's say you flash the bricked kernel
Flash the boot.img with fastboot commands and then enter the recovery and flash the modules from the bricked kernel.
If you want to go back and flash the boot.img that came with viper x you will get a bootloop because the modules do not match.
Or you flash the boot.img from viper and reflash the rom without a full wipe
Or you can use the venom flasher to install different kernels of your choice. The custom (stock viper) is also included in that tool
Oh awsome sir, thanks so much again!!
I'm still a Huge Noob at this sort of stuff
No problem :thumbup:
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