The OnePlus 7T Pro (codenamed "hotdog") is a flagship smartphone from OnePlus. It was released in September 2019.
First download omni-9.0 tree:
repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
Then add these string to .repo/manifests/remove.xml
Then add these projects to .repo/local_manifests/roomservice.xml (If you don't have it, you can add them to .repo/manifest.xml):
<project name="mauronofrio/android_device_oneplus_hotdog_TWRP" path="device/oneplus/hotdog" remote="github" revision="android-9.0" />
Now you can sync your source:
repo sync
To auotomatic make the twrp installer, you need to import this commit in the build/make path: https://gerrit.omnirom.org/#/c/android_build/+/33182/
Finally execute these:
. build/envsetup.sh
export ALLOW_MISSING_DEPENDENCIES=true
export LC_ALL=C
lunch omni_hotdog-eng
mka adbd recoveryimage
To test it:
fastboot boot out/target/product/hotdog/recovery.img
Kernel Source: precompiled stock one