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.
Related
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.
Hi Guys,
I have a (dummy) question... I hope you can answer me...
I run 'Venom Flasher' for changing from FAUX 010VF to NCX 2.17-6.
After reboot the cell stoped in white screen.
I tryed all wipe, including factory reset, and there is no way to launch system.
I decided to restore a Nandroid backup, beliving this backup will restore all system, including kernel (FAUX).
After reset the system launch... but... For my surprise the kernel running is the NCX...
How is it possible?
For me a Nandroid backup should restore including the kernel...
Am I crazy or what did I do wrong?
Thanks all!!!
Ps.: the nandroid backup was done with Rom Manager.
You have to extract the boot.IMG from your nandroid and flash that in fastboot, then restore your nandroid. Without s-off, recovery can't flash the boot.IMG
sent from my One X using xda venom premium
Since we don't have soff, kernels must be flashed manually from a pc/mac using fastboot. Just make sure you flash that from your nandroid backup and no other version.
Sent from my HTC One X using xda premium
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
Yesterday I wanted to go back to stock 4.2.2 Rom on my HOX, I restored my nadroid backup but it didn't worked.
I surfed on internet looking for a solution but every post said you have to re lock bootloader then run ruu blah blah blah....
Solution- if you have flashable zip file of stock rom ( I downloaded it from android revolution hd website )
1- unzip the file copy boot.img in c drive of your computer.
2- flash the zip file via cwm recovery.
3- turn HOX power down return back to fastboot mode plug usb in it.
4-( I assume you have proper setup of adb if you don't have then ask google) now run this command in adb "fastboot flash boot c:\boot.img
5- now reboot your phone let it start upto the welcome screen.
6- turn it off go back to cwm recovery now you can restore your nandroid backup.
Sent from my HTC One X using xda premium
Why posting this in this context ? It's confusing. You do not need a flashable zip of a stock rom. A custom recovery and a nandroid backup is enough ! And it's all the same coming from any rom.
1: flash the boot.img from the backup
2: perform a full wipe in the recovery
3: restore the desired nandroid backup
4: reboot and enjoy
No other way, it works always like that ! And there are many good guides already.
So i think you did something wrong between full wiping and restoring the nandroid
Sent from my HTC One X using XDA Premium 4 mobile app
Sent from my HTC One X using xda premium
Mr Hofs said:
Why posting this in this context ? It's confusing. You do not need a flashable zip of a stock rom. A custom recovery and a nandroid backup is enough ! And it's all the same coming from any rom.
1: flash the boot.img from the backup
2: perform a full wipe in the recovery
3: restore the desired nandroid backup
4: reboot and enjoy
No other way, it works always like that ! And there are many good guides already.
So i think you did something wrong between full wiping and restoring the nandroid
Sent from my HTC One X using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Flash boot.img after the nandroid backup is completed its confusing because you are advanced user.
Sent from my HTC One X using xda premium
No your part of flashing a stock rom first is confusing and absolutely unnecessary ! Why would you flash a rom before you want to go to stock ? It's all extra you have to do !
Just do as i said and it works, and again ... this can be found on whole xda. It's not that you found some missing key here.
And where did i say anything about flashing a boot.img after restoring the nandroid backup here ? And as additional info, a boot.img can be flashed before or afte. It makes no differrence
And between your #1 and #2 you need to full wipe. If you flash another rom straight over an aosp (or any other rom) it will result in a non booting phone ! So your info contains not only unnecessary steps, it's also incomplete
Sent from my HTC One X using XDA Premium 4 mobile app