Skip to content

soulr344/android_device_samsung_m21

Repository files navigation

TWRP device tree for Samsung Galaxy M21

Lisenced Under Apache License 2.0

How to build

  1. Set up the build environment following instructions from here (Fully compatible/tested)
  2. 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
  1. To build:
export ALLOW_MISSING_DEPENDENCIES=true && . build/envsetup.sh && lunch omni_m21-eng && mka recoveryimage -j$(nproc)