lkv1988 / unpack-mkbootimg

Android unpackbootimg/mkbootimg tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Developers run make under linux (need to install gcc, make) or windows(neet to install minGW), after the success of the executable file mkbootimg / unpackbootimg.


1.unpackbootimg 
---------------------------------------------------------------
 1.1 usage:

-i|--input boot.img
[ -o|--output output_directory]
[ -p|--pagesize ]

 1.2 example:
    ./unpackbootimg -i boot.img  -o boot

2.mkbootimg
---------------------------------------------------------------
 2.1 usage
--kernel
--ramdisk
[ --second ]
[ --cmdline ]
[ --board ]
[ --base]

[ --pagesize ]

[ --ramdiskaddr]
-o|--output

 2.2 exapmle
   ./mkbootimg --cmdline 'no_console_suspend=1 console=null' --kernel zImage --ramdisk boot/boot.img-ramdisk.gz -o boot.img --base 02e00000 --ramdiskaddr 0x81508000

About

Android unpackbootimg/mkbootimg tools