Skip to content

Elkowak/android_device_xiaomi_dipper

Repository files navigation

android_device_xiaomi_dipper

For building TWRP for Xiaomi Mi 8

TWRP device tree for Xiaomi MI 8

Features

Works:

  • ADB
  • Decryption of /data
  • Screen brightness settings
  • Vibration on touch
  • Correct screenshot color

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/dipper" name="mauronofrio/android_device_xiaomi_dipper" remote="github" revision="android-9.0" />

Finally execute these:

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

To test it:

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

Contributors

Here

Other Sources

Kernel Sources: https://github.com/LineageOS/android_kernel_xiaomi_sdm845

Thanks