Backup Kernel Only - General Questions and Answers

Hello, i want to overclock my device and for this i downloaded a custom kernel, but if it fails i would like to have a backup of my stock kernel, i have TWRP recovery.Thanks.

Yakia said:
Hello, i want to overclock my device and for this i downloaded a custom kernel, but if it fails i would like to have a backup of my stock kernel, i have TWRP recovery.Thanks.
Click to expand...
Click to collapse
Just make a nandroid backup of your current ROM before you flash the kernel, if you need to go back to stock just restore the nandroid and you'll be back to what you had before you flashed. No need to complicate things with trying to backup just your stock kernel, a normal nandroid backup will do what you're looking for.
Sent from my SM-S903VL using Tapatalk

Droidriven said:
Just make a nandroid backup of your current ROM before you flash the kernel, if you need to go back to stock just restore the nandroid and you'll be back to what you had before you flashed. No need to complicate things with trying to backup just your stock kernel, a normal nandroid backup will do what you're looking for.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
Thanks, I will try that.

Related

Nandroid backup & restore...

Just want to make sure if the nandroid backup & restore is really working on Sensation with latest CWM since I have made a bunch of backups and I am heavily messing around with the phone for the past 48 hours lol... Just to be sure this backups are going to actually work in case I screw the phone...
Sent from my rooted HTC Sensation 3.5G using XDA Premium App.
Yes.... Works great.
Sent from my HTC Sensation Z710e using XDA App
Do remember that clockwork /nandroid restore will not restore the kernel. If you flashed a rom that's using a custom kernel, you will need to flash the stock kernel before trying to restore your backup or you will get stuck in a boot-loop.
Thank you both! Just wanted to confirm!
Sent from my rooted HTC Sensation 3.5G using XDA Premium App.
how do i flash back to the original kernel?
Question. What was the total file size of the Backup (stock ROM)?
Sent from my HTC Sensation 4G using XDA Premium App
stanleynhan said:
how do i flash back to the original kernel?
Click to expand...
Click to collapse
Yes, I'd love to know this along with how to get a copy of the original kernel....or is the kernel in the .zip files on the regional oem rom thread?
not working for me
You can find the stock kernel in the second post in the Android Revolution HD thread over in the development section.
Paging Dr B said:
You can find the stock kernel in the second post in the Android Revolution HD thread over in the development section.
Click to expand...
Click to collapse
Nice find... Will keep a backup just in case... Thank you!
Sent from my HTC Inspire 3.5G using XDA Premium App with CM7.
Paging Dr B said:
Do remember that clockwork /nandroid restore will not restore the kernel. If you flashed a rom that's using a custom kernel, you will need to flash the stock kernel before trying to restore your backup or you will get stuck in a boot-loop.
Click to expand...
Click to collapse
isnt the boot.img the kernel and init stuff? i was under the assumption it was backed up when you do a nandroid on most devices (like HTC). the RFS file system samsung uses on their devices prevented us from backing up and restoring a boot.img file so we have to always have a kernel in case of the good ol boot loop
so to go back to stock kernel, i install it to the sd card then flash it in recovery right?
stanleynhan said:
so to go back to stock kernel, i install it to the sd card then flash it in recovery right?
Click to expand...
Click to collapse
Yeap... That's how you flash a kernel, but not needed if what you want to do is restore from a nandroid backup... To restore just select the nandroid backup you want to restore. No need to flash any kernel prior restoring from nandroid.
Sent from my rooted HTC Sensation 3.5G using XDA Premium App.
since when do you have to reflash a stock kernel in order to flash your backup? I have tried every rom out here for the sensation didn't like any of them and reflashed my backup of stock with no issues....
Paging Dr B said:
Do remember that clockwork /nandroid restore will not restore the kernel. If you flashed a rom that's using a custom kernel, you will need to flash the stock kernel before trying to restore your backup or you will get stuck in a boot-loop.
Click to expand...
Click to collapse
This is not true. Nandroid contains the kernel image.
You would only have to flash a different kernel AFTER you restore, if you don't want to use the one that you backed up.
To the point, nandroid restore works perfect with 4.0.1.5 CWM. I confirm.
Getting mixed signals here guys. Does nandroid backup / restore the kernel?
jir591 said:
Getting mixed signals here guys. Does nandroid backup / restore the kernel?
Click to expand...
Click to collapse
Yes... Restore everything exactly when you back it up... Kernel and everything exactly.
Sent from my HTC Inspire 3.5G using XDA Premium App with CM7.
Nandroid is just the CWM backup? Or am I missing something?
Arsenal23 said:
Nandroid is just the CWM backup? Or am I missing something?
Click to expand...
Click to collapse
Yes... Is called nandroid...
Sent from my rooted HTC Sensation 3.5G using XDA Premium App.

Does the nandroid backup from recovery backup firmware?

Just a quickie...
Done a nandroid backup from within 4EXT recovery of my phone, which is stock 2.3.4, as I'm tempted to give one of the ICS custom roms a go.
These require flashing the ICS firmware before installing the custom ROM.
If I go back via the nandroid restore from recovery, does this restore the firmware or would that need re-flashing first?
No, it does not.
Sent from my HTC Sensation 4G XE with Beats Audio using xda premium
chrisw99 said:
Just a quickie...
Done a nandroid backup from within 4EXT recovery of my phone, which is stock 2.3.4, as I'm tempted to give one of the ICS custom roms a go.
These require flashing the ICS firmware before installing the custom ROM.
If I go back via the nandroid restore from recovery, does this restore the firmware or would that need re-flashing first?
Click to expand...
Click to collapse
No it will not restore firmware, but if you keep a library of firmware on your SD card you can install as you need from recovery. Rename the PG58IMG files with a reference to the firmware so you don't get muddled up, then rename to PG158IMG as you need.

[Q] TWRP vs. CWM

I remember seeing over in the Dev. forums that CWM recovery isn't restoring the kernel properly when people try to restore their backup of the stock ROM
Does this happen with TWRP as well? Or is the issue with the stock ROM / Kernel?
I'm hesitant to try CM9 and would like a clean way to recover to the stock ROM without having to use the downgrade method and reinstall everything.
edgemaster191 said:
I remember seeing over in the Dev. forums that CWM recovery isn't restoring the kernel properly when people try to restore their backup of the stock ROM
Does this happen with TWRP as well? Or is the issue with the stock ROM / Kernel?
I'm hesitant to try CM9 and would like a clean way to recover to the stock ROM without having to use the downgrade method and reinstall everything.
Click to expand...
Click to collapse
From what I read in the CM9 thread someone had the same issue when using TWRP.
Nandroids don't include the kernel i believe it must be restored seperately
It should, wouldn't that be in boot.img? I know on my Droid Inc I have gone between sense and aosp backups, both using different kernels.
Sent from my ADR6300 using Tapatalk 2

restoring from a backup

Im a little ashamed but I have never restored from a backup before in recovery. Do you have to wipe and all that prior to restoring or just hit restore?
Sent from my HTC One X using XDA
joho5 said:
Im a little ashamed but I have never restored from a backup before in recovery. Do you have to wipe and all that prior to restoring or just hit restore?
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
I believe the restore wipes automatically...I could be wrong though. I haven't had to restore a rom in months.
It does. Restore formats the partitions then restores to them.
restoring stock rom without backup
Speaking of restoring through recovery, Is it possible to restore my phone to stock rom without the back up? If not, then RUU to stock 1.85 is the only way right? I installed a new rom yesterday, and I decided to wipe everything including SD so I basically erased my stock rom backup.
JCon0320 said:
Speaking of restoring through recovery, Is it possible to restore my phone to stock rom without the back up? If not, then RUU to stock 1.85 is the only way right? I installed a new rom yesterday, and I decided to wipe everything including SD so I basically erased my stock rom backup.
Click to expand...
Click to collapse
The best thing for you to do now is restore via the RUU to stock.
Once you have that done you can go ahead and flash other ROM's
Good Luck!:good:
BIGMOH said:
The best thing for you to do now is restore via the RUU to stock.
Once you have that done you can go ahead and flash other ROM's
Good Luck!:good:
Click to expand...
Click to collapse
Right on! I am just curious just in case I need to send my phone back for warranty.. thanks!

[Q] Stock boot.img for Villec2

Do i need to flash a stock boot.img when restoring a backup from TWRP?
My experience points to yes because I tried and it never got to boot animation after nandroid restore. Not 100% sure though.
Sent from my HTC One S using Tapatalk 2
Well if you think about it technically... If your backup is a custom rom and you restore it you have to flash its kernel, so since the backup is like a custom rom only backupped so you will have to flash its kernel too

Categories

Resources