[Q] twrp recovery - AT&T, Rogers HTC One X, Telstra One XL

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.

Related

[Q] Custom Recovery neccessary to perform Nandroid Backup?

Hi,
I already searched the forums, but couldn't find a clear answer. If you would be so kind, just answer the questions with yes/no
A custom recovery is just more capable than the normal recovery?
A custom recovery image is neccessary for a nandroid backup?
Does the custom recovery image overwrites the normal recovery?
Does the original recovery gets restored, if I restore a nandroid backup, which was made at the very first start of the phone (for warranty purpose)?
Is it possible to flash a kernel without a custom recovery or do I need it anyway?
Finally this is what I'm planning to to:
I'll receive my Nexus s today and want to change the carrier-info and install a custom kernel. Therefore I'd like to proceed as follows:
Create a nandroid backup with the original recovery for warranty purpose
Install a custom recovery image (clockworkmod recovery?)
Change carrier-info according to the how-to
Update to stock 2.3.4
Root the phone
Install netarchy kernel
Lock bootloader
Are the steps fine or did I miss something. I would be very delighted if one of you guys could help me!
Thanks in advance!
Long story short you'll need the custom recovery to do anything you see on xda.
Thanks, but that still leaves me 2 questions:
Does the custom recovery overwrite the original recovery?
Is the original recovery restored when I install the original stock rom / nandroid backup?
ca509 said:
Thanks, but that still leaves me 2 questions:
Does the custom recovery overwrite the original recovery?
Is the original recovery restored when I install the original stock rom / nandroid backup?
Click to expand...
Click to collapse
You have two options:
Code:
fastboot boot recovery.img
In case you just want to make a nandroid backup and preserve stock recovery, no flashing process through this command, phone simple boots into a custom recovery.
Code:
fastboot flash recovery recovery.img
Flash any custom recovery and replace stock or wherever recovery was installed before. Very useful if you want to install different kind of ROMs or kernels.
Restoring a backup or flashing a stock ROM will bring back stock recovery. Just make sure this script is present in your phone: /etc/install-recovery.sh It will do the job for you after reboot.

[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

CyanogenMOD 10 back up question.

Hi,
I have followed everything in this thread http://forum.xda-developers.com/showthread.php?t=1837863
I have backups nandroid ready and wasn't too sure, if I dont like this build then i could restore back to stock using CWM? or Odin.
I felt that I need to wait for reply to comfirm before flashing this cyanogenMOD 10.
Thanks!
LeonKnight12 said:
Hi,
I have followed everything in this thread http://forum.xda-developers.com/showthread.php?t=1837863
I have backups nandroid ready and wasn't too sure, if I dont like this build then i could restore back to stock using CWM? or Odin.
I felt that I need to wait for reply to comfirm before flashing this cyanogenMOD 10.
Thanks!
Click to expand...
Click to collapse
IF my memory serves me right, with an unlocked bootloader, you can recover to a TW rom but I think its needs to either have the kernel built into it OR you need to somehow flash to a TW kernel. I say this because I think that if your kernel is still an AOSP one, then the device will not boot up.
some roms already come with a kernel for their rom so I think in most cases, with CWM 6.0.1.x, you could restore a TW nandroid.
If you want to restore a backup of a TouchWiz rom you have then just use the EZ Recovery app to flash the hybrid (CWM/Kexec) recovery...reboot to recovery and restore your nandroid. Simple process!
Once the Dev's building TW roms start using the non-kexec flashing method then you will be able to restore using the normal CWM recovery. Just like you said, you can also use ODIN to restore to stock but it's a pain because you have to root all over again. Just know you have a few options.
Ok thanks everyone!
So good
Fwiw... I've been switching back and forth between Synergy and CM for a couple days now (flashing multiple times) and cwm touch works for synergy but u need new cwm for CM10.
Hope this helps.

[Q] Unable to restore TWRP backup

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.

[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

Categories

Resources