Using delta_generator to repack payload.bin
.
- A compatible Linux system (x86_64/aarch64)
- git
- openjdk-jre
- python
- python-protobuf
- zip
- unzip
- openssl
- openssl-tool
sudo apt-get install git openssl openjdk-17-jre-headless python-protobuf python unzip zip
pkg install git openssl-tool zip unzip python openjdk-17
git clone https://github.com/snowwolf725/Payload_Repack_Tool.git
cd Payload_Repack_Tool
#copy *.img into IMAGES folder
#cp -a *.img IMAGES
./repackPayload.sh
cd Payload_Repack_Tool
#copy *.img into IMAGES folder
#cp -a *.img IMAGES
#modify META/dynamic_partitions_info.txt
#vi META/dynamic_partitions_info.txt
./repackPayload_withDpart.sh
cd Payload_Repack_Tool
#copy *.img into IMAGES folder
#cp -a *.img IMAGES
#modify META/*.txt SYSTEM/build.prop
#vi META/*.txt SYSTEM/build.prop
./repackZip.sh
【Android payload.bin 打包-哔哩哔哩】