Skip to content

TeamWin/android_device_xiaomi_pyxis

 
 

Repository files navigation

android_device_xiaomi_pyxis

For building TWRP for Xiaomi Mi 9 Lite

TWRP device tree for Xiaomi Mi 9 Lite

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

Finally execute these:

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

To test it:

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

Other Sources

Using precompiled stock kernel.

Thanks

About

TWRP Source for Xiaomi Mi 9 Lite/ CC9 / CC9 Meitu pyxis/vela

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 75.4%
  • C++ 24.6%