Available Branches
android versions | branch |
---|---|
10,11,12 | shrp-12.1 |
Android 10 and 11 isn't supported anymore. We recommend to update your trees for Android 12.1
- To initialize your local repository using the AOSP trees to build SHRP Reborn, use a command like this:
repo init -u https://github.com/SHRP-Reborn/manifest.git -b shrp-12.1
- Then to sync up:
repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags
- Then to setup the build:
cd <source-dir>; export ALLOW_MISSING_DEPENDENCIES=true; . build/envsetup.sh; lunch twrp_<device>-eng
The build target is dependent on the device, and should reflect the location of stock recovery on the device. Issue the build command that applies to your device:
- Recovery partition:
mka recoveryimage
orsource build/envsetup.sh; lunch twrp_<device>-eng; mka recoveryimage
- Boot image:
mka bootimage
orsource build/envsetup.sh; lunch twrp_<device>-eng; mka bootimage
- Vendor_boot image:
mka vendorbootimage
orsource build/envsetup.sh; lunch twrp_<device>-eng; mka vendorbootimage