English | 中文
This is a personal modification based on LineageOS
.
chmod +x build.sh
bash build.sh
This patch is implemented by me personally. The specific principle is to integrate the customized Recovery
into the flash package by modifying the compilation process.
The tools involved are:
The entire replacement process refers to the packaging script of OrangeFox
. After applying this patch, you need to export the following environment variables:
export CUSTOM_MAGISKBOOT=<absolute path to the MagiskBoot tool you are using>
export CUSTOM_TWRP=<absolute path to the Recovery image you need to replace>
Then execute this script to replace the original boot.img
when the final kernel is packaged.
_It is worth noting that this patch may currently only support the replacement and modification of boot.img
. You may need to test other forms by yourself. If you find that it does not work, please refer to my patch and submit a Pull Request
to me. _
Spoof Google Photos
to achieve unlimited image cloud storage by disguising the device model as PixelXL
.
This part is modified from: