Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Xiaomi Mi 9

Lin Jie edited this page Apr 11, 2019 · 28 revisions

Xiaomi Mi 9

Although this device is A-only, you have to choose GSI for A/B devices because this device is "system-as-root". \

Tested with 20190409 image

Hardware Support

  • Camera:

Basic usage works. Extented support works enabling it from Phh settings

  • Speaker / Microphone

Works

  • Bluetooth

A2DP AAC works
In-call broken

  • Wi-Fi

Works, tethering works

  • GPS

Works, including double band

  • NFC

Works

  • SIM / Mobile Data / Voice

Works, LTE+ works. Need to switch technology in *#*#4636#*#* to LTE/UMTS (global forces 3G... why?)

  • VoLTE

Not tested

  • Dual-Sim

Working except it's not possible to select main (4G) SIM

  • Fingerprint Reader

Mostly Works Broken on Always on Display

  • Brightness control

Works

  • Quick Charge

Works (9V/2A with USB PD charger)

  • Wireless Charge

Works

  • Type-c audio output

Works

  • Video recording:

Limited to 1080p/720p. Need to kang Pixel 3 media_profiles_V1_0.xml
media_profiles_V1_0.xml
Limited to 30fps. Need to copy media_profiles.xml to /vendor/etc
media_profiles.xml

  • Misc

Instagram video recording: Good and smooth (stock lags)

Tested By:

  • @phhusson - 17 March 2019
  • @koenkk - 05 April 2019
  • @linjie997 - 11 April 2019

Flashing instructions

No need for magisk, nor no-verity, no-forceencrypt...
You simply need to flash vbmeta then system.
Download vbmeta from https://github.com/TadiT7/xiaomi_cepheus_dump/raw/cepheus-user-9-PKQ1.181121.001-9.3.1-release-keys/firmware-update/vbmeta.img
Reboot to bootloader:

fastboot reboot bootloader

Flash it with

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Flash system with

fastboot flash system system.img

Reboot to recovery pressing power up + power

Factory reset, reboot

Community

Telegram: https://t.me/mi9aosp

Template created by @zguithues

Clone this wiki locally