Created
December 6, 2018 15:09
-
-
Save merothh/8401efb8364dd98357bbcc44d0980f70 to your computer and use it in GitHub Desktop.
repack android boot image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./mkbootimg --kernel ./boot.img-zImage --ramdisk ./boot.img-ramdisk.gz --cmdline "$(cat ./boot.img-cmdline)" --base "$(cat ./boot.img-base)" --pagesize "$(cat ./boot.img-pagesize)" --ramdisk_offset "$(cat ./boot.img-ramdiskoff)" --second_offset "$(cat ./boot.img-secondoff)" --tags_offset "$(cat ./boot.img-tagsoff)" --kernel_offset "$(cat ./boot.img-kerneloff)" --os_version "$(cat ./boot.img-osversion)" --os_patch_level "$(cat ./boot.img-oslevel)" --header_version "$(cat ./boot.img-headerversion)" --hash "$(cat ./boot.img-hash)" --output ./boot-new.img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment