TWRP tree

How to build twrp

Guide: https://unofficialtwrp.com/build-compile-twrp-recovery/

Tip: If you use WSL2 on windows avoid performin commands in /mnt dirrectory, otherwise it will hugly decrease your performance.

mkdir twrp
cd twrp
repo init -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-11
# This download can take aroud 2 to 3 hours so be patient( in my case it was around 15 min on the second try, because at the begining I have accidently used /mnt directory ||BRUH|| ).
repo sync -c -j 12 --force-sync --no-clone-bundle --no-tags
cd twrp
export ALLOW_MISSING_DEPENDENCIES=true
. build/envsetup.sh
lunch twrp_odinlite_6877_fhd_v1-eng
# We are building boot image, because ayn odin lite uses A/B partition scheme and does not have separete partition for recovery. Because, of that we need to bundle it with boot.
mka bootimage

Now you can flash boot.img

It will be located at out/target/product/odinlite_6877_fhd_v1/boot.img

My attempts to create a TWRP device tree

Attempt 1: Port oneplus nord 2 ce 5g

Base image thread: https://forum.xda-developers.com/t/unofficial-twrp-3-6-2_11-0-oneplus-nord-ce-2-5g.4490091/ Base image git: https://github.com/Ko-Hi-Dev/twrp_iv2201.git

Tutorials( not working):

Carliv: https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbnhTX1BZY19kNUJWQThRYklvcnNfc045bnZJUXxBQ3Jtc0ttZFBLYk1KUmI5cnZ1aXNpZy1aN1llT2EydTFLY2hJT3kwVXRKb0J6Zk53ZmN6VzRPMjA2bHFIX1NDWHZPUjVSd3p1elRUNTQwMTVWQ2tsRXQ1akowczFHNlFLV2RoZWl5c3I1ZWgtWndZTlF2VlV5UQ&q=https%3A%2F%2Fandroidfilehost.com%2F%3Ffid%3D1322778262904020080&v=m_dGUYDcKQ0

Attempt 2: twrpdtgen

Tool: https://github.com/twrpdtgen/twrpdtgen

Guide: https://forum.xda-developers.com/t/guide-to-twrp-building.4515895/

Attempt 2.5: Manual device tree port

Similar devices: https://www.gsmarena.com/results.php3?s4Gs=0&sChipset=100&sWLANs=3&sBluetooths=1

Tools:

TWRP templates:

Tutorials: