abootimg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
abootimg [2012/02/14 21:52] – [Introduction] armelf | abootimg [2012/02/15 00:36] (current) – [Usage] armelf | ||
---|---|---|---|
Line 3: | Line 3: | ||
project' | project' | ||
====== Introduction ====== | ====== 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 |
- | the AC100 (Be carefull to not mess your bootimg | + | |
- | a bootable image). abootimg can work directly on block devices, or, the safest way, on a file | + | |
- | image. | + | |
| | ||
- | | + | For further informations, |
| | ||
====== Usage ====== | ====== Usage ====== | ||
Line 20: | Line 17: | ||
abootimg -x / | abootimg -x / | ||
</ | </ | ||
- | *modifiying | + | *updating |
< | < | ||
dd if=/ | dd if=/ | ||
abootimg -u / | abootimg -u / | ||
</ | </ | ||
+ | < | ||
+ | <span style=" | ||
+ | </ | ||
+ | : if you want to modify **/ | ||
+ | ===== 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 under [[installing_linux# | ||
+ | < | ||
+ | apt-get install libblkid-dev | ||
+ | git clone git:// | ||
+ | cd abootimg | ||
+ | make | ||
+ | cp -p abootimg / | ||
+ | </ | ||
+ | ====== References ====== | ||
+ | [[http:// | ||
+ | [[http:// | ||
====== Greatings ====== | ====== Greatings ====== | ||
- | | + | Thank you very much for this great tools ggrandou! ;-) |
abootimg.1329252758.txt.gz · Last modified: 2012/02/14 21:52 by armelf · Currently locked by: 10.89.1.3,198.8.84.3