How to backup current kernel or extract it from ROM zip? - Galaxy Note 10.1 Q&A, Help & Troubleshooting

I want to install a different kernel on my n8013 but want to be able to go back to the latest stock kernel (which is included with Darkman's latest n8013 deodexed stock ROM). I've looked around for a flashable zip of just the stock kernel for the CMD3 build of the ROM but can't find one.
If I run a backup in TWRP and only check "boot," will that be enough?
Or, can I just grab the "boot.img" located in the root of the ROM's zip file? (if yes, how do I turn into a flashable zip?)
Basically, I want to be able to go back to my stock kernel without have to re-flash the entire ROM or reinstalling an entire backup.

drdoombot said:
I want to install a different kernel on my n8013 but want to be able to go back to the latest stock kernel (which is included with Darkman's latest n8013 deodexed stock ROM). I've looked around for a flashable zip of just the stock kernel for the CMD3 build of the ROM but can't find one.
If I run a backup in TWRP and only check "boot," will that be enough?
Or, can I just grab the "boot.img" located in the root of the ROM's zip file? (if yes, how do I turn into a flashable zip?)
Basically, I want to be able to go back to my stock kernel without have to re-flash the entire ROM or reinstalling an entire backup.
Click to expand...
Click to collapse
If you are running TWRP you just need to backup "boot".
Sent from my GT-N8013 using XDA Premium 4 mobile app

Related

[Q] Restore stock kernel and unroot?

All - There is absolutely nothing wrong with my TF101 but I am getting annoyed at the Asus Update notices and wanted to know if there was a way to go back to a stock kernel and then un-root for the update before re-rooting and switching back to a custom kernel. All without loosing my data/config/etc.
I have seen how to un-root but not restore a stock kernel.
I assume it is possible and I am simply trying to walk a thin line that no one else cares to do!
Thanks if you can help and if my search skills failed me I apologize.
use titanium backup, freeze the app DMClient, no more update
Thanks - that is one solution to try.
That stopped the update notice - but as I fall farther and farther behind on versions (8.6.5.6) the OC and CWM are not really worth it, or more specifically I do not want to have to rebuild my install after a full flash/wipe.
Amy idea's?
Thanks
So what configuration do you want to have in the end? Latest firmware, rooted, with a custom kernel? and no more update notifications?
I suppose there are a few ways to go about this:
1) download the stock 8.6.5.13 firmware from the asus website and use that to upgrade. It will also flash the stock kernel. You can wait for the OTA and afterwards, re-root and apply a custom kernel. You might have to flash the stock recovery to get the update to flash or you can use adb and CWM to get it to flash.
2) my favorite- download the 8.6.5.13 firmware and the OTA and repackage them into a rooted rom. It's like a new rom and a puzzle all in one. You can even add a custom kernel to get everything in one shot.
Both of these should keep your data partition intact.
The fine line is more like a limbo - you have to either choose to revert to stock every time you want to upgrade and hope that the update doesn't fail. Or, you can take advantage of root privileges so that you can load custom roms, even if they are just rooted versions of the stock firmware.
gee one said:
2) my favorite- download the 8.6.5.13 firmware and the OTA and repackage them into a rooted rom. It's like a new rom and a puzzle all in one. You can even add a custom kernel to get everything in one shot.
Click to expand...
Click to collapse
Sounds like a plan - tips or source for the too dumb to fail instructions?
Thanks!
Download the 8.6.5.13 firmware from ASUS. Choose android/firmware and download the country specific firmware for 8.6.5.13 (or latest firmware)
Unzip it and it will be an ASUS folder with some goodies inside. Copy the whole folder onto your externel sdcard. Insert the sdcard into your TF and it should recognize the update. Apply it and you'll have stock 8.6.5.13. Check for updates and apply it. Re-root and update you kernel and you should be good to go.
Link for firmware:
http://www.asus.com/Eee/Eee_Pad/Eee_Pad_Transformer_TF101/#download
sent from my cyanogen(mod) vision
Im just wondering; will this method work with a custom rom? I currently have a Modaco custom ROM, but this is based on .9 firmware.
Im happy to resort to the method above if it will let me progress to the latest firmware (which i can then re-root afterwards) but keep my data intact.
Thanks for your advice.
I don't know if the custom rom will recognize the firmware. If it does, it should work.
As far as rolling your own, I'm not sure there are any step by step instructions from start to finish. You'll need to know how to:
1) root a rom (adding su and Superuser.apk)
2) package a flashable zip file (including updating the updater-script)
3) manipulate a rom to add/remove things like kernels, system firmware, etc.
4) pack/unpack boot and other android! magic files
5) pack/unpack blob files
6) (optional) deodex a rom
gee one said:
As far as rolling your own, I'm not sure there are any step by step instructions from start to finish. You'll need to know how to:
1) root a rom (adding su and Superuser.apk)
2) package a flashable zip file (including updating the updater-script)
3) manipulate a rom to add/remove things like kernels, system firmware, etc.
4) pack/unpack boot and other android! magic files
5) pack/unpack blob files
6) (optional) deodex a rom
Click to expand...
Click to collapse
OK - sounds like my desire exceeded my ability by many a mile.
Thanks for the other suggestion - I think that plus Titanium Backup and a little bit of time should do it.

Installed Jelly Bean Want To Go Back To ICS

I rooted & installed CWM via the one-click method. It installs Rogue XM Recovery 1.3.0.
http://forum.xda-developers.com/showthread.php?t=1689193
I backed everything up in CWM so that when & if I flashed back everything would be backed up. So I flashed Jelly Bean
[ROM][JB][4.1.1] AOSP build #4 http://forum.xda-developers.com/showthread.php?t=1779133
I played around with & didn't see what the big deal was with Jelly Bean was. Also was irritated that there was no file explore built into the ROM. I really like the one on Asus ICS ROM. Anyway I go back into recovery to install the stock Asus ICS ROM (US_epaduser9_2_1_27UpdateLauncher.zip). It tries but aborts
Finding update package...
Opening update package ...
Installing update...
Installation aborted.
What am i missing or doing wrong?
Well for starters the only reason the stock ICS roms have a file explorer is because its an Asus proprietary app, every custom ICS, or JB rom will require you to download one. Secondly are you trying to re-flash the stock rom or restore your back up? Id recommend you try using TWRP
JoinTheRealms said:
Well for starters the only reason the stock ICS roms have a file explorer is because its an Asus proprietary app, every custom ICS, or JB rom will require you to download one. Secondly are you trying to re-flash the stock rom or restore your back up? Id recommend you try using TWRP
Click to expand...
Click to collapse
Just trying to re-flash the stock ROM.
jadesse said:
Just trying to re-flash the stock ROM.
Click to expand...
Click to collapse
I think i seen this before you are trying to flash an update to a rom not that actual rom......check the file size. I haven't had any issue converting Jb back to ICS. you have to flash a fresh install of the version you backed up then you can flash the back up you made. The mounting from ICS to JB is different and you cannot go backwards without flahsing a clean rom first.
itj1228 said:
I think i seen this before you are trying to flash an update to a rom not that actual rom......check the file size. I haven't had any issue converting Jb back to ICS. you have to flash a fresh install of the version you backed up then you can flash the back up you made. The mounting from ICS to JB is different and you cannot go backwards without flahsing a clean rom first.
Click to expand...
Click to collapse
I downloaded the newest firmware straight from the Asus website. That is what I am trying to flash but it fails to. If I should be doing something else then please tell me.
Did you unzip the download and flash the zip that is inside? For some reason Asus packages a zip within a zip. You need the one on the inside to flash.
Woodrube said:
Did you unzip the download and flash the zip that is inside? For some reason Asus packages a zip within a zip. You need the one on the inside to flash.
Click to expand...
Click to collapse
I feel like such a moron because that was the issue. I found the .24 firmware that I had extracted to a folder with the need zip file in side. I was able to flash t e.24 with out an issue. I knew my issue was something stupid but I could put my finger on it right away.
You might want to go back to the ASUS site and download the newer firmware(.27) and do the same thing(install the zip inside the zip) That's the newest Official ASUS Firmware.
http://support.asus.com/Download.aspx?SLanguage=en&m=Eee+Pad+Transformer+TF101&p=20&s=16
sfot said:
You might want to go back to the ASUS site and download the newer firmware(.27) and do the same thing(install the zip inside the zip) That's the newest Official ASUS Firmware.
http://support.asus.com/Download.aspx?SLanguage=en&m=Eee+Pad+Transformer+TF101&p=20&s=16
Click to expand...
Click to collapse
I already had it.

[Q] Need Xperia J stock ROM back

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.

Help, Question about before first time flash ROM.

Newbie here, first time want to flash custom rom.
I want to flash CyanogenMod 10.1.2 | Jellybean 4.2.2 - KANG. But i not sure the step and the file need.
http://forum.xda-developers.com/showthread.php?t=2115520
I had download the files:
1.) "cm-10.1-20130720-Albinoman887-pyramid.zip"
2.) "gapps-jb-20130301-signed.zip"
3.) "ChronicKernel-TW-jfvzw-RC2.zip"
, so this three files is needed right? The kernel file is number 3? or?
I'm using Htc sensation with S-off and rooted. current phone using stock ROM and stock Kernel.
alexyong92 said:
Newbie here, first time want to flash custom rom.
I want to flash CyanogenMod 10.1.2 | Jellybean 4.2.2 - KANG. But i not sure the step and the file need.
http://forum.xda-developers.com/showthread.php?t=2115520
I had download the files:
1.) "cm-10.1-20130720-Albinoman887-pyramid.zip"
2.) "gapps-jb-20130301-signed.zip"
3.) "ChronicKernel-TW-jfvzw-RC2.zip"
, so this three files is needed right? The kernel file is number 3? or?
I'm using Htc sensation with S-off and rooted. current phone using stock ROM and stock Kernel.
Click to expand...
Click to collapse
Hi,
Make a nandroid and backup your phone first.
Wipe clean in recovery(Data,cacheand dalvik)
Flash the ROM and Gapps first, and boot up.
Let the ROM settle for a while,then flash the new kernel.
malybru said:
Hi,
Make a nandroid and backup your phone first.
Wipe clean in recovery(Data,cacheand dalvik)
Flash the ROM and Gapps first, and boot up.
Let the ROM settle for a while,then flash the new kernel.
Click to expand...
Click to collapse
So this is the kernel i need right? ChronicKernel-TW-jfvzw-RC2.zip
alexyong92 said:
So this is the kernel i need right? ChronicKernel-TW-jfvzw-RC2.zip
Click to expand...
Click to collapse
You don't "need" a new kernel. After a nandroid, do a full wipe except sdcard and flash rom and gapps, since you're coming from ics.
However, if you're dissatisfied with the kernel provided with the rom, then go ahead and flash that too.
JAM THAT THANKS BUTTON.
Happy to help.
alexyong92 said:
So this is the kernel i need right? ChronicKernel-TW-jfvzw-RC2.zip
Click to expand...
Click to collapse
Hi,
IIRC the Chronic kernel is included in the ROM.
Check after you have installed the ROM.
It is listed in settings/about phone.

[Q] How to go back to stock kernel on final Lollipop?

So I have installed franco Kernel on final lollipop on my Nexus 5 and I want to flash another Kernel but it says I have to do a clean flash with stock kernel. I didnt find a .zip stock kernel for stock LRX210 and I want to know how to go back to kernel. I can flash .img but if its going to erase my data I would prefer a .zip to flash in recovery, thanks!
Flash stock ROM.zip
i need flashable stock kernel zip too..
amir7777 said:
So I have installed franco Kernel on final lollipop on my Nexus 5 and I want to flash another Kernel but it says I have to do a clean flash with stock kernel. I didnt find a .zip stock kernel for stock LRX210 and I want to know how to go back to kernel. I can flash .img but if its going to erase my data I would prefer a .zip to flash in recovery, thanks!
Click to expand...
Click to collapse
get wugfresh's root toolkit , specify what OS you are running, got advaced utilities on the bottom left click launch, then under retore stock kernel click stock kernel .. and voila
get wugfreshes rootkit here http://www.wugfresh.com/nrt/
rootSU said:
Flash stock ROM.zip
Click to expand...
Click to collapse
but thats gonna wipe all his data yeah ?

Categories

Resources