Skip to content
Rowan Decker edited this page Jun 14, 2013 · 2 revisions

Todo: Update page names...

Extracting kernel and initrd from blob

The TF201 uses blob images to flash partitions. These blobs can come in various names. The boot partition is usually called boot.blob (in custom rom zips) or blob.LNX (in Asus firmware).

Once you obtain a boot blob, use abootimg -x boot.blob to extract it.

This will create three files: booting.cfg, zImage, initrd.gz.

The zImage (kernel) and initrd.gz (init) can then be used with kernel_chooser.

Extracting blob.LNX from Asus firmware

Download a stock firmware from Asus.com.

Unzip the folder and you should find a blob.

You can then extract the blob with blobunpack.

This will create blob.LNX, blob.SOS, and blob.EBT.

The blob.LNX can be extracted using abootimg (see above).

Kexec Patches

https://github.com/EnJens/kernel_tf201_stock/commits/android-tegra-nv-3.1-kexec is a branch of the Asus kernel made for kexec.

Here are a list of patches you can apply:

https://github.com/EnJens/kernel_tf201_stock/commit/565ee915266cbc0bb3dcda87a1a2c908dddc3ad1.patch
https://github.com/EnJens/kernel_tf201_stock/commit/32c26d439fec2e01058dfe90393a608d45cf1ccc.patch
https://github.com/EnJens/kernel_tf201_stock/commit/6d50f06aeee55e96211fb02558a46f6b4ae2dc15.patch
https://github.com/EnJens/kernel_tf201_stock/commit/e443f15cd73232b78827dc108c1d2ffbd5bc1fb1.patch
https://github.com/EnJens/kernel_tf201_stock/commit/11ed1d2c1f561d2a21568f74801b296f8696499c.patch
https://github.com/EnJens/kernel_tf201_stock/commit/0bdfda23a235c213b9177cb37411d616d119a538.patch
https://github.com/EnJens/kernel_tf201_stock/commit/f7e519cd6de35d2097785b588aa9a1e935010502.patch
https://github.com/EnJens/kernel_tf201_stock/commit/b655e93d9c4bddaca5d37f626c1c0af669dd451a.patch
https://github.com/EnJens/kernel_tf201_stock/commit/6e5043854b55a8552d35d56ed9de414d095cd4d6.patch

For more information on kexec see http://forum.xda-developers.com/showthread.php?t=2104706

Clone this wiki locally