Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.1 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.1 KB

android_device_xiaomi_ginkgo

For building TWRP for Xiaomi Redmi Note 8

TWRP device tree for Xiaomi Redmi Note 8

Features

Works:

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

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/xiaomi/ginkgo" name="mauronofrio/android_device_xiaomi_ginkgo" remote="github" revision="android-9.0" />

Finally execute these:

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

To test it:

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

Other Sources

Using precompiled stock kernel.

Thanks