Awesome
MagiskBoot - Boot Image Modification Tool
The most complete tool for unpacking and repacking Android boot images.
Note: This is a minimal (dirty) copy of topjohnwu's MagiskBoot.
Documentation
Build
- Using MSYS2
clang64
environment withmingw-w64-clang-x86_64-toolchain
packages group, LLVM version 14 and up, runmingw32-make
command. (magiskboot.exe
will appear in theout
folder). - if built a non-static variant, all DLLs in
out/obj/lib/shared
must be present in your PATH for successful execution.
What's changed:
cpio
actionextract
with no paramaters toramdisk
folder in current directory.- it creates
cpio
file to allow mode/uid/gid changes in Windows (withsync
orpack
)
- it creates
- new
cpio
actionsync
that synchronize incpio entries withramdisk
directory (as new cpio). Any changes will be captured and dumped toincpio
. - new
cpio
actionpack
as follows:cpio pack [-c <config>] <infolder> <outcpio>
- if
<config>
is undefinedcpio
is looked-up instead.
- if
For Windows
- There's some UBs/SFs that needs to be addressed (test and report).
- Tested and working operations are limited.