Skip to content

mauronofrio/android_device_realme_RMX1901

Repository files navigation

android_device_realme_RMX1901

For building TWRP for Realme X

TWRP device tree for Realme X

Features

Works:

  • ADB
  • Decryption of /data (Only if pattern or pin or password is not setted)
  • Screen brightness settings
  • Correct screenshot color
  • MTP
  • Flashing (opengapps, roms, images and so on)
  • Backup/Restore (Needs more testing)
  • USB OTG
  • Touchscreen

TO-DO:

  • Vibration support

Compile

First checkout minimal twrp with omnirom tree:

repo init -u git://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni.git -b twrp-9.0
repo sync

Then add these projects to .repo/manifest.xml:

<project path="device/realme/RMX1901" name="mauronofrio/android_device_realme_RMX1901" remote="github" revision="android-9.0" />

Finally execute these:

. build/envsetup.sh
lunch omni_RMX1901-eng
mka recoveryimage ALLOW_MISSING_DEPENDENCIES=true # Only if you use minimal twrp tree.

To test it:

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

Other Sources

Kernel Sources: https://github.com/arter97/android_kernel_realme_sdm710

Thanks

Thanks to @arter97 for the newer kernel with f2fs support