abootimg
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
abootimg [2011/08/15 18:22] – created ggrandou | abootimg [2012/02/15 00:14] – [Compiling] armelf | ||
---|---|---|---|
Line 1: | Line 1: | ||
TODO | TODO | ||
====== abootimg ====== | ====== abootimg ====== | ||
+ | project' | ||
+ | ====== Introduction ====== | ||
+ | **abootimg** is a tool created by Gilles Grandou for manipulating Android Boot Images directly from the AC100 (Be carefull to not mess your bootimg otherwise you will need the free tool [[putusb]] or the proprietary NVidia' | ||
+ | | ||
+ | For further informations, | ||
+ | | ||
+ | ====== Usage ====== | ||
+ | *reading current boot image | ||
+ | < | ||
+ | abootimg -i / | ||
+ | </ | ||
+ | *extracting current bootable image | ||
+ | < | ||
+ | cd / | ||
+ | abootimg -x / | ||
+ | </ | ||
+ | *updating the kernel on a copy of the current bootable image | ||
+ | < | ||
+ | dd if=/ | ||
+ | abootimg -u / | ||
+ | </ | ||
+ | ===== Output examples ===== | ||
+ | below there is the output of the previous commands for an AC100-114: | ||
+ | < | ||
+ | root@ac100:/ | ||
+ | Android Boot Image Info: | ||
+ | * file name = / | ||
+ | |||
+ | * image size = 8388608 bytes (8.00 MB) | ||
+ | page size = 2048 bytes | ||
+ | |||
+ | * Boot Name = " | ||
+ | |||
+ | * kernel size = 3146584 bytes (3.00 MB) | ||
+ | ramdisk size = 2310081 bytes (2.20 MB) | ||
+ | |||
+ | * load addresses: | ||
+ | kernel: | ||
+ | ramdisk: | ||
+ | tags: | ||
+ | |||
+ | * cmdline = mem=448M@0M tegrapart=recovery: | ||
+ | |||
+ | * id = 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 | ||
+ | |||
+ | root@ac100:/ | ||
+ | writing boot image config in bootimg.cfg | ||
+ | extracting kernel in zImage | ||
+ | extracting ramdisk in initrd.img | ||
+ | root@ac100:/ | ||
+ | bootimg.cfg | ||
+ | initrd.img | ||
+ | zImage | ||
+ | |||
+ | root@ac100:/ | ||
+ | 16384+0 records in | ||
+ | 16384+0 records out | ||
+ | 8388608 bytes (8.4 MB) copied, 0.430688 s, 19.5 MB/s | ||
+ | root@ac100:/ | ||
+ | reading kernel from / | ||
+ | Writing Boot Image / | ||
+ | </ | ||
+ | ====== Compiling ====== | ||
+ | if your distribution don't provide this tool, follow this method to compile it is under [[installing_linux# | ||
+ | < | ||
+ | apt-get install libblkid-dev | ||
+ | git clone git:// | ||
+ | cd abootimg | ||
+ | make | ||
+ | cp -p abootimg / | ||
+ | </ | ||
+ | ====== References ====== | ||
+ | [[http:// | ||
+ | |||
+ | [[http:// | ||
+ | ====== Greatings ====== | ||
+ | Thank you very much for this great tools ggrandou! ;-) |
abootimg.txt · Last modified: 2012/02/15 00:36 by armelf