Skip to content

Latest commit

 

History

History
51 lines (47 loc) · 1.57 KB

README.md

File metadata and controls

51 lines (47 loc) · 1.57 KB

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>