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 22:41] – [Usage] 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 | + | **abootimg** is a tool created by Gilles Grandou for manipulating Android Boot Images directly from the AC100 (Be carefull to not mess your bootimg |
| | ||
- | For further informations, | + | For further informations, |
| | ||
====== Usage ====== | ====== Usage ====== | ||
Line 12: | Line 12: | ||
abootimg -i / | abootimg -i / | ||
</ | </ | ||
- | here is the output for an AC100-114: | + | *extracting current bootable image |
+ | < | ||
+ | cd / | ||
+ | abootimg -x / | ||
+ | </ | ||
+ | *updating the kernel on a copy of the current bootable image | ||
+ | < | ||
+ | dd if=/ | ||
+ | abootimg -u / | ||
+ | </ | ||
+ | < | ||
+ | <span style=" | ||
+ | </ | ||
+ | : if you want to modify **/ | ||
+ | ===== Output examples ===== | ||
+ | below there is the output | ||
< | < | ||
root@ac100:/ | root@ac100:/ | ||
Line 36: | Line 51: | ||
* id = 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 | * id = 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 | ||
- | </ | + | |
- | *extracting current bootable image | + | |
- | < | + | |
- | cd / | + | |
- | abootimg -x / | + | |
- | </ | + | |
- | here is the result and files extracted: | + | |
- | < | + | |
root@ac100:/ | root@ac100:/ | ||
writing boot image config in bootimg.cfg | writing boot image config in bootimg.cfg | ||
Line 52: | Line 60: | ||
initrd.img | initrd.img | ||
zImage | 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 / | ||
</ | </ | ||
- | *updating the kernel on a copy of the current bootable image | + | ====== Compiling ====== |
+ | if your distribution don't provide this tool, follow this method to compile it under [[installing_linux# | ||
< | < | ||
- | dd if=/dev/mmcblk0p2 of=/tmp/part-6.img | + | apt-get install libblkid-dev |
- | abootimg -u /tmp/part-6.img -k /boot/vmlinuz | + | git clone git://gitorious.org/ac100/ |
+ | cd abootimg | ||
+ | make | ||
+ | cp -p abootimg | ||
</ | </ | ||
+ | ====== References ====== | ||
+ | [[http:// | ||
+ | [[http:// | ||
====== Greatings ====== | ====== Greatings ====== | ||
Thank you very much for this great tools ggrandou! ;-) | Thank you very much for this great tools ggrandou! ;-) |
abootimg.1329255690.txt.gz · Last modified: 2012/02/14 22:41 by armelf · Currently locked by: 10.89.1.3,169.150.237.8