Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 678 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 678 Bytes

TWRP Device configuration for realme X2 Pro (samurai)

Features

Works:

  • ADB
  • Decryption of /data
  • Screen brightness settings
  • Correct screenshot color
  • MTP
  • Flashing (opengapps, roms, images and so on)
  • Backup/Restore
  • USB OTG

Compile

First checkout minimal twrp source:

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
repo sync
git clone https://github.com/zahid5656/twrp_device_realme_RMX1931.git device/realme/samurai

Finally execute these:

. build/envsetup.sh
lunch twrp_RMX1931-eng
mka recoveryimage

To test it:

fastboot boot out/target/product/RMX1931/recovery.img