OnePlus 13 (codenamed "dodge") is a high-end smartphone from OnePlus.
mkdir twrp && cd twrp
repo init --depth=1 -u https://github.com/TWRP-Test/platform_manifest_twrp_aosp.git -b twrp-16.0
repo sync
git clone --depth=1 https://github.com/WenHao-Dev/twrp_device_oneplus_dodge device/oneplus/dodge
source build/envsetup.sh
lunch twrp_dodge-bp2a-eng
make recoveryimage
If there is no error, recovery.img will be found in out/target/product/dodge/recovery.img
NOTE
Using Github Actions to build twrp-16 branch may fail because of the large source
Works:
- ADB
- Display
- Decryption
- Fasbootd
- Flashing
- MTP
- Sideload
- USB OTG
- Vibrator
- Mount /data
- Touch
fastboot flash recovery recovery.img
or
fastboot flash recovery_a recovery.img
fastboot flash recovery_b recovery.img