Git Product home page Git Product logo

android_device_xiaomi_umi_twrp's Introduction

android_device_xiaomi_umi_TWRP

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_CMI_21.9.17_1c6ed0daa1_11.0.zip 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 650
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 (Android 11)
  • ADB
  • MTP
  • OTG
  • Super partition functions
  • Vibration

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_aosp.git -b twrp-11
repo sync

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

<project path="device/xiaomi/umi" name="sekaiacg/android_device_xiaomi_umi_TWRP" remote="github" revision="android-12.1" />

Use ccache

#Enable ccache
export USE_CCACHE=1
export CCACHE_EXEC=$(which ccache)

Finally execute these:

export ALLOW_MISSING_DEPENDENCIES=true
. build/envsetup.sh
lunch twrp_umi-eng
mka recoveryimage

To test it:

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

Thanks

android_device_xiaomi_umi_twrp's People

Contributors

sekaiacg avatar mauronofrio avatar notsyncing avatar simonsmh avatar troj80 avatar petercxy avatar siankatabg avatar bgcngm avatar demon000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.