This repo contains a collection of some Android (but not exclusively) tools for various usages and also some libraries (though some are mini-ports) that might be useful.
Note: For this project, I worked on it when I was learning, so it is not that perfect and not everything is correct.
- e2fsdroid
- ext2simg
- magiskboot
- mke2fs
- e2fstool
- img2simg
- make_ext4fs
- simg2img
- libbase (mini-port)
- libext2_e2p
- libext2_support
- liblzma
- libsparse
- libbz2
- libext2_misc
- libext2_uuid
- libmagiskbase
- libz (old port)
- libcutils (mini-port)
- libext2_profile
- libext2fs
- libmincrypt
- libzopfli
- libext2_blkid
- libext2_quota
- libfdt
- libnt
- libext2_com_err
- libext2_ss
- liblz4
- libselinux
- Using MSYS2
clang64environment withmingw-w64-clang-x86_64-toolchainpackages group, LLVM version 14 and up, runmingw32-makecommand. - if built a non-static variant, all DLLs in
out/obj/lib/sharedmust be present in your PATH for successful execution.
e2fsdroid,ext2simgandmke2fshad many UBs and most of them are fixed.mke2fscreates 1k block-sized images without crashing unlike the official release.mke2fs,img2simgandext2simgmakes valid sparse images.make_ext4fsis now using the re-based C++ libsparse.- All problems with paths should be resolved, both Unix-like and Windows styles work.
e2fsdroidandmake_ext4fsboth work when file config (uid, gid, mode and capability config) or/and selinux contexts are provided.
- There's some UBs/SFs that need to be addressed (test and report).
- Tested and working operations are limited.