[Q] Unable to restore TWRP backup - HTC Desire S

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.

Related

[Q] Restoring stock boot.img

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

[Q] twrp recovery

Good day XDA forums,
If I restore a TWRP recovery, do I need the original kernal? I tried restoring Nocturnals Jelly Bean that I backed up in recovery. It did not work without me restoring the kernal through ADB from the ROM first.The reason i'm asking is because I do not have the original kernal, although I do have a backup through TWRP of the original ROM.
you still need to fastboot the kernel for whatever rom your a restoring. i would definitely install flashimagegui to allow on the fly kernel flashing. just make sure to flash kernel beforehand or you will have to find a pc.

Cant restore backup

I made a backup on my phone in TWRP and wanted to restore it to get some contact info that I forgot to upload to my Google account. Anywho, I go into recovery and wipe me squeeky clean then restore the backup. It goes through like normal and I boot up but it doesn't get bassed the HTC splash screen. It turns to a black screen that occasionally has a white/grey bar at the top. I loaded a different backup I had and am running fine, but I still need that contact info.
Any ideas as to get the back up to work or if it is no use?
KungPow90 said:
I made a backup on my phone in TWRP and wanted to restore it to get some contact info that I forgot to upload to my Google account. Anywho, I go into recovery and wipe me squeeky clean then restore the backup. It goes through like normal and I boot up but it doesn't get bassed the HTC splash screen. It turns to a black screen that occasionally has a white/grey bar at the top. I loaded a different backup I had and am running fine, but I still need that contact info.
Any ideas as to get the back up to work or if it is no use?
Click to expand...
Click to collapse
What hboot do you have?
If its 1.14 and you're switching ROMS (your backup is of a different ROM to the last ROM you were using) you might have to fastboot flash the boot.img of the ROM you're recovering.
i think it is a kernel issue
I had to downgrade from jb to ics and I wiped clean, I run into the same problem, I realized jb uses a different kernel, wipe clean flash your choosen Rom kernel update first and then your Rom, it worked for me hopefully works for you
ilirium said:
I had to downgrade from jb to ics and I wiped clean, I run into the same problem, I realized jb uses a different kernel, wipe clean flash your choosen Rom kernel update first and then your Rom, it worked for me hopefully works for you
Click to expand...
Click to collapse
where can i get the stock boot.img or the stock one x 2.20 image to extract the boot.img?
thanks!
is this it?
would this work?
http://forum.xda-developers.com/showthread.php?t=1812459
if i download the odexed stock rooted rom and extract the boot.img, i can flash that to boot, and then run twrp restore to my backed up stock rooted rom, right?
my stock rooted rom was at&t 2.20 firmware.
Hoping I understood you correct, you basically need to flash a kernel first, so I am guessing you can use flar kernel,
http://forum.xda-developers.com/showthread.php?t=1967897
and that should be the stock kernel on steroids, however if that were not to work he has a kernel for jb phones, so I would start by these first.
I really had this issue where I could see my phone in a brick state mode then flashed the right kernel for the right rom, and boom it worked like a charm.
nespid said:
would this work?
http://forum.xda-developers.com/showthread.php?t=1812459
if i download the odexed stock rooted rom and extract the boot.img, i can flash that to boot, and then run twrp restore to my backed up stock rooted rom, right?
my stock rooted rom was at&t 2.20 firmware.
Click to expand...
Click to collapse

[Q] Get back to Sock OS with Backup

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

[Q] Unable to restore Nandroid Backup and boot

Hi guys,
nice to say hello to all of you.
I have been reading xda for a while and finally started playing with my old HTC Desire S. Kind of training in case I wanted to play with my actual device.
I wanted to unlock it thorugh htcdev, test some roms and back to stock version. Everything was fine but the last step.
At the beginning, I wanted to backup the system as it was, that's with the stock recovery. So I booted a custom recovery (not flashed) and made a nandroid backup with clockwork touch 5.8.1.5. Everything went fine.
After that, I started flashing custom recoveries and ROMs, just for fun. Some problem with that ROM, some with another, but I managed to run a couple or three.
Ok, end of the game. I want my copy back so I am restoring the nandroid.
I wipe everything, restore the nandroid through the same recovery, process finishes and says it's OK. Go back to fastboot and flash stock boot.img.
The result is I am stuck at htc logo.
I have tried flashing recovery.img also, fastboot deleting cache, relocking the bootloader...
I am pretty sure I am missing something with the booting process, but I have tried everything I know.
BTW, I have already tried RUU, but I am not capable of finding one with my CID, radio, etc.
I know it's an old device, but I would really love to solve it (because I am so f***ing pigheaded )
Thanks!!!
Grauchi said:
Hi guys,
nice to say hello to all of you.
I have been reading xda for a while and finally started playing with my old HTC Desire S. Kind of training in case I wanted to play with my actual device.
I wanted to unlock it thorugh htcdev, test some roms and back to stock version. Everything was fine but the last step.
At the beginning, I wanted to backup the system as it was, that's with the stock recovery. So I booted a custom recovery (not flashed) and made a nandroid backup with clockwork touch 5.8.1.5. Everything went fine.
After that, I started flashing custom recoveries and ROMs, just for fun. Some problem with that ROM, some with another, but I managed to run a couple or three.
Ok, end of the game. I want my copy back so I am restoring the nandroid.
I wipe everything, restore the nandroid through the same recovery, process finishes and says it's OK. Go back to fastboot and flash stock boot.img.
The result is I am stuck at htc logo.
I have tried flashing recovery.img also, fastboot deleting cache, relocking the bootloader...
I am pretty sure I am missing something with the booting process, but I have tried everything I know.
BTW, I have already tried RUU, but I am not capable of finding one with my CID, radio, etc.
I know it's an old device, but I would really love to solve it (because I am so f***ing pigheaded )
Thanks!!!
Click to expand...
Click to collapse
You can't flash roms from the recovery because you are not s off. If you have unlocked your bootloader then you have to flash using fastboot commands like the boot.img?
lilsafbig said:
You can't flash roms from the recovery because you are not s off. If you have unlocked your bootloader then you have to flash using fastboot commands like the boot.img?
Click to expand...
Click to collapse
Thank you @lilsafbig. In fact, I tried both, fastboot and recovery, and nothing worked.
Finally, I managed to create a Goldcard and install a new ICS version for my device. Was the only way I could recover a "stock" ROM, although it wasn't Orange one...

Categories

Resources