Tree for building Unofficial TWRP for OnePlus 5. (Decryption works on Android 12.x 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 | 1920 x 1080 px, 5.5 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: https://github.com/faoliveira78/android_kernel_oneplus_msm8998
First repo init the TWRP 12.1 tree:
mkdir ~/android/twrp-12.1
cd ~/android/twrp-12.1
repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-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 twrp.xml):
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="faoliveira78/android_kernel_oneplus_msm8998" path="kernel/oneplus/msm8998" remote="github" revision="lineage-19.1"/>
<project name="faoliveira78/android_device_oneplus_cheeseburger" path="device/oneplus/cheeseburger" remote="github" revision="android-12.1"/>
</manifest>
Now you can sync your source:
repo sync
Finally execute these:
. build/envsetup.sh
export LC_ALL=C
lunch twrp_cheeseburger-eng
mka recoveryimage