Tree for building Unofficial PBRP for OnePlus 5/5T. (Decryption works on Android 12+ ROMs)
Basic | Spec Sheet |
---|---|
CPU | Quad-core 2.45GHz Kryo & quad-core 1.9GHz Kryo |
Chipset | Qualcomm MSM8998 Snapdragon 835 |
GPU | 710MHz Adreno 540 |
Memory | 6GB / 8GM RAM (LPDDR4X) |
Shipped Android Version | Android 7.1.1 |
Last Android Version | Android 10.0 |
Storage | 64/128 GB |
Battery | Non-removable Li-Po 3300 mAh battery |
Display | 5 - 1920 x 1080 px, 5.5 inches (401 PPI) / 5T - 2160 x 1080 px, 6.01 inches (401 PPI density) |
Camera (Back) | 16 MPx, f/1.7, 24mm, DCAF autofocus + 20 MPx, f/2.6, 36mm, PDAF autofocus |
Camera (Front) | 16 MPx, f/2.0 |
Kernel source: (prebuilt) https://github.com/faoliveira78/4.14-kernel-oneplus-msm8998
First repo init the TWRP 12.1 tree:
mkdir ~/android/pbrp-12.1
cd ~/android/pbrp-12.1
repo init -u https://github.com/PitchBlackRecoveryProject/manifest_pb -b android-12.1
Then add to a local manifest (if you don't have .repo/local_manifests then make that directory and make a blank file and name it something like pbrp.xml):
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="faoliveira78/android_device_oneplus_cheese_dump-pbrp" path="device/oneplus/cheese_dump" remote="github" revision="android-12.1"/>
</manifest>
Now you can sync your source:
repo sync
If you don't want a universal build, i.e. you just want one that only works for roms with standard partitions, then remove the vendorsetup.sh file from the tree.
Finally execute these:
. build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
export LC_ALL=C
lunch omni_cheese_dump-eng
mka pbrp