Hi, I've a Desire S, S-ON running CM7 and would just like to know if it's ok to flash the boot.img found in the nandroid backup of my stock rooted rom (after the stock rom restore). Or do I perhaps have to find another one?
If in case I need another, there was a dropbox link here http://forum.xda-developers.com/show....php?t=1616741 [Collection | 1.26 & 1.28] Fastboot Pack v1.2 but 1st) I'm in China ATM and dropbox is blocked so can't download it and 2nd) I wouldn't know/don't understand what 1.26 or 1.28 are or how they correspond.
Any advice is appreciated
When you took a nandroid backup of your stock ROM, the boot.img would also be backuped up
Just do a nandroid restore and flash the boot.img in the nandroid backup from fastboot
CLOSED...
Related
I intend to flash a custom ROM on my One S. I've noticed all roms require flashing boot.img
I did some searching on what boot.img is and found that it has the kernel and booting instructions.. Now, if I flash a new boot.img and some time in the future wanted to restore the stock rom, how do I restore the original one?
I have my nandroid and apps backup. Is that sufficient?
Pheroh said:
I intend to flash a custom ROM on my One S. I've noticed all roms require flashing boot.img
I did some searching on what boot.img is and found that it has the kernel and booting instructions.. Now, if I flash a new boot.img and some time in the future wanted to restore the stock rom, how do I restore the original one?
I have my nandroid and apps backup. Is that sufficient?
Click to expand...
Click to collapse
Restoring the Nandroid will restore the boot image, it is backed up during the Nandroid
If you use TWRP as your recovery, you won't need to flash boot image separate. TWRP bypasses the HTC restriction, allowing the boot image to be flashed with the rom.
If you want a copy of the stock boot.img, I know LeeDroid's Supreme ROM has it linked in the thread there. If you dig that thread out, you can download it and keep a copy of it.
Or run ruu if u want to go back to stock completely
Sent from my HTC One S using xda premium
Thanks all..
I should start my journey then
Good Luck and enjoy
Do as it seems you have done--read OP pages and beginning and ending pages of threads and include System wipes when wiping before flashing--
An update..
As I begun testing various roms.. I found out that neither TWRP nor CWM could manage to flash the boot.img from a nandroid.. I had to flash it via fastboot EVERY time.. TWRP took around 5 min just to flash the boot image and although it reported success, it didn't work! I got stuck at boot animation after flashing my stock nandroid until I flashed a stock boot.img..
No big deal, but just a note for those adventurers..
Flashing With RUU
I'm really new to Android. I've rooted my phone and installed something called TWRP. So will installing a RUU restore the original Boot Image and the Bootloader ? Please repli. Soon Thanks in advance.
AW: [Q] Restoring stock boot.img
The RUU will install stock recovery, stock boot.img and stock rom to your phone. You will lose root, custom recovery and your custom rom.
You have to relock your bootloader for running a RUU.
Sent from my HTC One S using xda app-developers app
Hey Guys, I'm on Viper One S Rom right now!
In case I want to go back to my untouched original HTC Rom I am going to use the twrp Backup i made before flashing the custom rom.
But where do I get the matching boot.img from my Backup, which i certainly have to flash when I'll restore?
Thank You!
I don't have twrp installed, but in cwm recovery the boot image is part of the backup. I bet it is in twrp as well. Look inside the nandroid folder. (In cwm it's /sdcard/clockworkmod/backup/(timestamp)/)
If you can't find it there you can always extract it from the ROM that the backup is from.
-Jobo
When you do a backup in TWRP it asks you what you want to backup. By default "system" "data" and "boot" are checked for backup. Unless you changed these settings while you backed up your original rom. Your boot.img should be part of the backup.
Now I'm not sure how it works if you are not on HBoot 1.09 or lower.. As with higher HBoots you can't flash boot.img's through TWRP or CWM
If anything there should be a thread in development with the individual boot.img's or atleast an RUU you can extract the boot.img from.
Sent from my HTC VLE_U using Tapatalk 2
I flashed few custom ROMs in last few days. I used to restore to stock ROM using CWM recovery using backup but now backup itself is not working and I want my data with stock ROM back anyhow. I have nandroid backup copy on my pc. Is there any way I can restore it from PC?
I downloaded original firmware i.e. ST26i_11.0.A.7.5_CE.ftf but when I try to flash using flashtool, device gets disconnected automatically. I am not able to flash. Plz tell me the solution.
anupbokil said:
I flashed few custom ROMs in last few days. I used to restore to stock ROM using CWM recovery using backup but now backup itself is not working and I want my data with stock ROM back anyhow. I have nandroid backup copy on my pc. Is there any way I can restore it from PC?
I downloaded original firmware i.e. ST26i_11.0.A.7.5_CE.ftf but when I try to flash using flashtool, device gets disconnected automatically. I am not able to flash. Plz tell me the solution.
Click to expand...
Click to collapse
rom manager from google play lets you download backup's from pc or cloud storage but im not sure if its for the free users as i have the premium licence but its worth a check. with the flashtool problem try reinstalling the drivers or flashtool its self.
Not the same question, but similar.
When installing CM10 FXP on my stock 4.0.4 Xperia J, i did fastboot flash boot boot.img then entered cwm and made backup.
As far as i know, flashing boot.img erases only kernel and init image, so except wrong boot.img (4.1 JB kernel) in cwm backup, all other data is intact. And now, if i want to get back to more-or-less stock is it sufficient to use vengence (or any other 4.0) kernel boot.elf, rename it to boot.img and put its md5sum into file containing image md5 sums?
Plus, is it possible to get stock firmware 7.5 kernel in boot.img format to create functioning stock backup?
0x4721 said:
Not the same question, but similar.
When installing CM10 FXP on my stock 4.0.4 Xperia J, i did fastboot flash boot boot.img then entered cwm and made backup.
As far as i know, flashing boot.img erases only kernel and init image, so except wrong boot.img (4.1 JB kernel) in cwm backup, all other data is intact. And now, if i want to get back to more-or-less stock is it sufficient to use vengence (or any other 4.0) kernel boot.elf, rename it to boot.img and put its md5sum into file containing image md5 sums?
Plus, is it possible to get stock firmware 7.5 kernel in boot.img format to create functioning stock backup?
Click to expand...
Click to collapse
You can use vengeance, or open the .ftf you used for flashing and extract kernel.sin from it.That's the stock kernel.Open it with 7zip or similar, and you can see the kernel.sin straight from there.It's flashable from flashtool.
Hi all.
I unlocked my DS (4.0.4) using Desire S All-In-One kit 2.0, flashed TWRP, and rooted. Phone is S-ON
I took a backup with TWRP, and flashed a new ROM. After the flash, I also flashed the boot.img as I read in the XDA forums and elsewhere.
Everything went fine, I flashed anothe ROM, same procedure, no problem.
After playing with ROMs, I decided to restore the TWRP backup I took before starting.
It just boots into TWRP again. I tried flashing the stock boot.img (which I extracted from the official EU 4.0.4 RUU), but no luck. The phone stays at a black screen after the HTC logo.
I can flash any other ROM, flash the boot.img and I am good to go, I just cannot restore my backup.
Any solutions?
in order to restore backup, you have to flash your backup and the corresponding boot.img
Sent from my supercharged :tank:
hisname said:
in order to restore backup, you have to flash your backup and the corresponding boot.img
Sent from my supercharged :tank:
Click to expand...
Click to collapse
I did.
After the restore, I flashed the boot.img in the official RUU.
That's all I have anyway, as the one in the backup is in a different format (it has a different size anyway).
Is there another source I can get the ICS boot.img to flash?
I tried some other boot images and it didn't work.
As an experiment, I tried restoring another twrp backup from another rom I tried before, and it also didn't work, even after flashing its own boot.img it originally came with.
Today I tried a method of just booting into recovery (temporary recovery) which has (allegedly) the ability to restore the kernel, with no luck.
I can only restore with the same rom.
Hi,
Before I flashed my first rom, I backed up the stock OS, and I still have it. If I wanted to flash it back onto my phone, can I just use the ClockworkMod recovery and choose restore? I know after that it will still have an unlocked bootloader and will be rooted, but I just wanna know if I need to use RUU to flash the stock rom which I still have because I backed it up.
Thanks!
elias.acab said:
Hi,
Before I flashed my first rom, I backed up the stock OS, and I still have it. If I wanted to flash it back onto my phone, can I just use the ClockworkMod recovery and choose restore? I know after that it will still have an unlocked bootloader and will be rooted, but I just wanna know if I need to use RUU to flash the stock rom which I still have because I backed it up.
Thanks!
Click to expand...
Click to collapse
I am assuming you made the backup of the stock with ClockworkMod.
Yes, you can restore it and do not have to RUU and you will be fine. Most likely you have fastboot flashed a new boot.img when you installed the new Rom. If you are S-on a restore will not be able to change your boot.img back.
You will need to fastboot flash the backup's boot.img.
This is why it is good to have your backup on your pc. When you open that backup file on your pc, you will see the boot.img file that you need to flash.
If you have changed your recovery or updated it you most likely will have to flash the recovery that made the backup.
The exceptions to the rule would be something like: Maximus HD, where you would need to downgrade your firmware, clear storage in bootloader when you have the stock recovery installed. Reinstall your custom recovery and restore your backup.
tivofool said:
I am assuming you made the backup of the stock with ClockworkMod.
Yes, you can restore it and do not have to RUU and you will be fine. Most likely you have fastboot flashed a new boot.img when you installed the new Rom. If you are S-on a restore will not be able to change your boot.img back.
You will need to fastboot flash the backup's boot.img.
This is why it is good to have your backup on your pc. When you open that backup file on your pc, you will see the boot.img file that you need to flash.
If you have changed your recovery or updated it you most likely will have to flash the recovery that made the backup.
The exceptions to the rule would be something like: Maximus HD, where you would need to downgrade your firmware, clear storage in bootloader when you have the stock recovery installed. Reinstall your custom recovery and restore your backup.
Click to expand...
Click to collapse
Yes! I made it with clockworkmod, thanks, I will try that!
Sent from my One S using xda app-developers app