Extract Kernel blob - Android Software/Hacking General [Developers Only]

Hi all, I've searched and can't find an answer to this, I would like to be able to flash a stock kernel without having to flash a complete ROM, at the moment I've got the latest OTA from Asus which I've rooted and put CWM on - all is very stable and I'm happy with it. However I like to experiment with custom Kernels , my point is, where can i find a stock Asus kernel (blob or zip I don't mind ) that I can flash using CWM or dd etc... ? My current build is 9.2.1.24 with kernel 2.6.39.4 [email protected]#1
Many thanks
Pete Kane

It's better to backup the whole ROM since most kernels come with their own modules and/or libraries. Backing up only kernel and restore it may cause some issues e.g. Wi-fi not working etc.

Ok, thanks for that

Related

Kernel doubt

Hi, mates.
I have updated the Transformer to 3.2, with root and recovery.
My question is if I can install a kernel (eg Clemsyn) leaving the original rom. And if there is any way back to the stock kernel if there is any problem.
Txs!!!!!!!!!!!

New owner

I just picked up a used TF101 and have been reading the threads learning more about my new ( used ) toy.
The tablet just recently updated itself to ICS 4.0.3 with Kernel 2.6.39.4 & 9..2.1.27 and now I would like to root the device and look at the possibility of loading new roms etc.
I have read the forum until my eyes hurt. Is there someone that can point me at the correct thread to root my device safely?
Thanks
jziggy101 said:
I just picked up a used TF101 and have been reading the threads learning more about my new ( used ) toy.
The tablet just recently updated itself to ICS 4.0.3 with Kernel 2.6.39.4 & 9..2.1.27 and now I would like to root the device and look at the possibility of loading new roms etc.
I have read the forum until my eyes hurt. Is there someone that can point me at the correct thread to root my device safely?
Thanks
Click to expand...
Click to collapse
To get root & custom recovery, the following methods are reported to be working with the latest Asus ROM:
http://forum.xda-developers.com/showthread.php?t=1689193
http://forum.xda-developers.com/showthread.php?t=1681155
http://forum.xda-developers.com/showthread.php?t=1688012
I have personally used the first method about a month ago, no problem with my tf101 and the latest ROM (9.2.1.27)
Aliante said:
To get root & custom recovery, the following methods are reported to be working with the latest Asus ROM:
http://forum.xda-developers.com/showthread.php?t=1689193
http://forum.xda-developers.com/showthread.php?t=1681155
http://forum.xda-developers.com/showthread.php?t=1688012
I have personally used the first method about a month ago, no problem with my tf101 and the latest ROM (9.2.1.27)
Click to expand...
Click to collapse
I've can also vouch for the first method on TF101G with latest ICS ( [TOOL]PERI-0.4 One click root+recovery/fix-bootloops+soft-bricks ALL Devices V0.4). Just install it on the PC, run the .BAT file and follow the instructions to root and install Custom Recovery on the Transformer.
The only issue I've had is that its custom Recovery won't seem flash the ASUS stock ROM for some reason. So what I do now is use the above tool to get root and Custom Recovery, then use that to flash ClockWorkMod Recovery v6.0.1.4 NoTouch Hybrid from http://forum.xda-developers.com/showthread.php?t=1855686 - click the Download link and get the cwm-6.0.1.4-notouch-hybrid.zip file (apparently the Touch version is currently broken).
From CWM recovery you should be able to flash any custom ROM and kernel etc., and also return to stock by flashing the ASUS stock ROM from their download site (make sure you select the right one for your model and unzip it first - for some reason they put the zip ROM inside another zip).
If you do return to stock, don't forget you'll also lose root and custom recovery so you'll need to start over.
Good luck!

[Completed] How to install a custom kernel

Well im a newb how do i install a custom kernel without losing files cuz i wanna install a rom that was a cm 11 port
Hi,
You flash roms and kernels from a custom recovery, like twrp or CWM. Also, there's usually instructions for flashing in most rom and kernel threads.
I can't direct you anywhere without knowing your device make and model number.
Though I've answered your questions. ?
Good luck!

[Q] about kernels of moto g [CM12]

i am not overly familiar with many things regarding different kernels and how to work with them, so i was wishing a few questions that i had could be clarified by someone who knows:
1. when a kernel is flashed? i mean except for the times when we flash kernel.zips via recovery, is it flashed whenever we install a custom rom? or is it flashed with bootloaders when we flash firmware?
2. I am using CM12 official nightly and facing camera frizz issues. I came across a post in the official CM12 thread where they said flashing a modified kernel supposedly fixed this problem. Now my question is, after flashing a custom kernel, is there any way to go back to the stock one? by stock i mean either the one i was on right before flashing the custom kernel or stock moto g kernel provided by motorola?
that also begets the question, can kernels be backed up like roms using recovery?
gearguy365 said:
i am not overly familiar with many things regarding different kernels and how to work with them, so i was wishing a few questions that i had could be clarified by someone who knows:
1. when a kernel is flashed? i mean except for the times when we flash kernel.zips via recovery, is it flashed whenever we install a custom rom? or is it flashed with bootloaders when we flash firmware?
2. I am using CM12 official nightly and facing camera frizz issues. I came across a post in the official CM12 thread where they said flashing a modified kernel supposedly fixed this problem. Now my question is, after flashing a custom kernel, is there any way to go back to the stock one? by stock i mean either the one i was on right before flashing the custom kernel or stock moto g kernel provided by motorola?
that also begets the question, can kernels be backed up like roms using recovery?
Click to expand...
Click to collapse
1. The kernel is first flashed when you install a ROM. You are supposed to flash a custom kernel after flashing a ROM otherwise the rom zip will overwrite it. It doesn't matter if you install it in the recovery or the boot loader.
2. To go back to the stock kernel just take it from the zip of the ROM and flash in the bootloader
where can i find the kernel inside the rom zip?
and if i want the stock motorola kernel that comes with factory firmwares
how can i collect that?
A ROM.zip contains the system folder and a boot.img
The kernel is in the boot.img
So if u flash a different kernel and still facing problems then flash the ROM again.
mistercheese said:
A ROM.zip contains the system folder and a boot.img
The kernel is in the boot.img
So if u flash a different kernel and still facing problems then flash the ROM again.
Click to expand...
Click to collapse
flashing only the boot.img of a rom wont bring back the default kernel?
and is there any way to make a flashable zip of a kernel from that particualr boot.img?cause all the kernels i see (like donkey kang/customized cm12 kernel) there are all distributed in .zip format.....

[flash new kernel - hlte] Trying to flash a newly compiled kernel

Hello, thanks in advance for your future help.
I have a Samsung Galaxy Note 3 hlte and I was looking to build and flash a official kernel (from opensource.samsung.com) on my device.
So I built the kernel with no error and it is resulting of course with a zImage, next step was to flash on my device so I re-created a new boot.img (by extracting my current ramdisk etc and using it with my fresh kernel) (thanks to abootimg).
But I can't go in "normal boot" with that new boot image, I have to reflash my old boot.img if I want to use my phone.
So I suppose I don't understand something, do you guys have some idea of what I'am not doing good ? I Just want to be able to use the kernel I compiled before.
Any help will be appreciated.
Thanks.

Categories

Resources