Skip to content

simonsmh/android_device_xiaomi_umi

Repository files navigation

android_device_xiaomi_umi

For building TWRP for Xiaomi Mi 10 / 10 Pro

TWRP device tree for Xiaomi Mi 10 and Mi 10 Pro

Kernel and all blobs are extracted from miui_UMI_20.5.24_096a7991fe_10.0 firmware.

The Xiaomi Mi 10 (codenamed "umi") and Xiaomi Mi 10 Pro (codenamed "cmi") are high-end smartphones from Xiaomi.

Xiaomi Mi 10 / 10 Pro was announced and released in February 2020.

Device specifications

Device Xiaomi Mi 10 / 10 Pro
SoC Qualcomm SM8250 Snapdragon 865
CPU 8x Qualcomm® Kryo™ 585 up to 2.84GHz
GPU Adreno 630
Memory 8GB / 12GB RAM (LPDDR5)
Shipped Android version 10
Storage 128GB / 256GB / 512GB UFS 3.0 flash storage
Battery Non-removable Li-Po 4780mAh
Dimensions 162.58 x 74.8 x 8.96 mm
Display 2340 x 1080 (19.5:9), 6.67 inch

Device picture

Xiaomi Mi 10

Features

Works

  • Booting.
  • Decryption.
  • ADB
  • MTP
  • Super partition functions
  • Vibration

Not Working

  • OTG

Mi 10 is using Dynamic Partition! We need update from TWRP.

Compile

First checkout minimal twrp with omnirom tree:

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

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

<project path="device/xiaomi/umi" name="TeamWin/android_device_xiaomi_umi" remote="github" revision="android-10.0" />

Finally execute these:

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

To test it:

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

Thanks

About

TWRP device tree for Mi 10 / Pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published