android bootimg 工具,GitHub - anestisb/android-unpackbootimg: Tools to work with Android boot images...
unpackbootimgunpackbootimg & 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 chain
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 ]
$ ./mkbootimg
usage: mkbootimg
--kernel
[ --ramdisk ]
[ --second <2ndbootloader-filename> ]
[ --cmdline ]
[ --board ]
[ --base
][ --pagesize ]
[ --dt ]
[ --kernel_offset ]
[ --ramdisk_offset ]
[ --second_offset ]
[ --tags_offset ]
[ --os_version ]
[ --os_patch_level ]
[ --hash ]
[ --id ]
-o|--output
$ ./mkbootimg.py
usage: mkbootimg.py [-h] --kernel KERNEL [--ramdisk RAMDISK] [--second SECOND]
[--cmdline CMDLINE] [--base BASE]
[--kernel_offset KERNEL_OFFSET]
[--ramdisk_offset RAMDISK_OFFSET]
[--second_offset SECOND_OFFSET] [--os_version OS_VERSION]
[--os_patch_level OS_PATCH_LEVEL]
[--tags_offset TAGS_OFFSET] [--board BOARD]
[--pagesize {2048,4096,8192,16384}] [--id] -o OUTPUT
Credits to @osm0sis for maintaining
most of the unpackbootimg logic that is no longer present in AOSP.
更多推荐
所有评论(0)