Skip to content

fortuna-dev/fortuna-boot-tools

Repository files navigation

fortuna-boot-tools

Pack and unpack boot.img or recovery.img source code from:

build

$ make 

clean build

$ make clean

SetUp in Linux

$ sudo cp ~/mkbootimg /bin/mkbootimg
$ sudo cp ~/unpackbootimg /bin/unpackbootimg
$ sudo chmod 755 /bin/mkbootimg
$ sudo chmod 755 /bin/unpackbootimg

unpack boot.img or recovery.img

$ unpackbootimg
            -i|--input boot.img
            [ -o|--output output_directory]
            [ -p|--pagesize <size-in-hexadecimal> ]

pack boot.img or recovery.img

$ mkbootimg
            --kernel <filename>
            --ramdisk <filename>
            [ --second <2ndbootloader-filename> ]
            [ --cmdline <kernel-commandline> ]
            [ --board <boardname> ]
            [ --base <address> ]
            [ --pagesize <pagesize> ]
            [ --dt <filename> ]
            [ --ramdisk_offset <address> ]
            [ --tags_offset <address> ]
            -o|--output <filename>

About

Pack and unpack boot.img or recovery.img

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published