1
0
mirror of https://github.com/anestisb/android-unpackbootimg.git synced 2024-05-31 21:59:57 -03:00
Tools to work with Android boot images
Go to file
Anestis Bechtsoudis 5261ca365d
Add mkbootimg python tool
Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
2017-05-15 16:39:40 +03:00
include/mincrypt Initial commit 2015-12-19 19:11:27 +02:00
libmincrypt Remove left AOSP mk 2015-12-19 19:12:26 +02:00
.gitignore Initial commit 2015-12-19 19:11:27 +02:00
bootimg.h Update code from upstream 2017-05-15 16:39:00 +03:00
Makefile Update code from upstream 2017-05-15 16:39:00 +03:00
mkbootimg.c Update code from upstream 2017-05-15 16:39:00 +03:00
mkbootimg.py Add mkbootimg python tool 2017-05-15 16:39:40 +03:00
README.md Initial commit 2015-12-19 19:11:27 +02:00
unpackbootimg.c Update code from upstream 2017-05-15 16:39:00 +03:00

unpackbootimg

unpackbootimg & mkbootimg to work with Android boot images.

Since image tools are not part of Android SDK, this standalone port of AOSP system/core aims to avoid complex building chains.

$ make
$ ./unpackbootimg
usage: unpackbootimg
  -i|--input boot.img
  [ -o|--output output_directory]
  [ -p|--pagesize <size-in-hexadecimal> ]
$ ./mkbootimg
usage: mkbootimg
       --kernel <filename>
       --ramdisk <filename>
       [ --second <2ndbootloader-filename> ]
       [ --cmdline <kernel-commandline> ]
       [ --board <boardname> ]
       [ --base <address> ]
       [ --pagesize <pagesize> ]
       [ --ramdiskaddr <address> ]
       -o|--output <filename>