Lisenced Under Apache License 2.0
- Set up the build environment following instructions from here (Fully compatible/tested)
- Clone the device tree in the root of twrp source:
git clone -b android-11.0 https://github.com/soulr344/android_device_samsung_m21.git device/samsung/m21
- To build:
export ALLOW_MISSING_DEPENDENCIES=true && . build/envsetup.sh && lunch omni_m21-eng && mka recoveryimage -j$(nproc)