A small tool for repacking the main partitions system, vendor, odm and product, insert init.d, root access etc., and build an aml_upgrade_package installation image.
You do not have to worry about the file and folder permissions, these are automatically assigned according to Android 9 source code.
- In this project make_ext4fs has been replaced by e2fsdroid and mke2fs
Advantages over make_ext4fs - reduced sparse-image size
- This tool is intended for advanced Linux users and ROM developers
- Installation on Ubuntu >= 18.04 64bit (VirtualBox on Windows is supported)
Project "afck" (Android Firmware Construction Kit) from @anpaza was taken over as an automated basic control for bc-tool
update *-02b
- added bc-clean menu
- other bug fixes
- automatic detection of incompatibility sepolicy
- added encrypted DTB support
- negative partition size fix
- added partition resize function
- added decompile dtb function
- added compile dtb function
(This function is indispensable when working with faulty custom ROMs, or combine/port two different ROMs)
Integration of the bc-tool (Android 9) in afck
preparation
- clone afck-Project
git clone https://github.com/anpaza/afck.git
sudo apt install android-sdk-libsparse-utils android-sdk-ext4-utils gawk
sudo apt install device-tree-compiler
Install
- Download bc-tool-update-pie-q-02a (beta)
bc-tool-update-pie-q-02b.tar.xz
- Extract bc-tool to afck
tar xvJf bc-tool-update-pie-q-02b.tar.xz -C ~/afck
cd ~/afck/ingredients
./01-get-it-all
cd ..
(Read bc-tool/readme.md file for more information)
- List of available mod's
make mod-help

Special thanks:
* @a3sf6f - (Project base) for treble_vendor_image
* @anpaza - afck (Android Firmware Construction Kit)
* @rkhat2 - for sefcontext_compile
* @tytso - for e2fsprogs
Comment