Xiaomi POCO M2 Pro / Redmi Note 9S / Redmi Note 9 Pro / Redmi Note 9 Pro Max / Redmi Note 10 Lite (xiaomi-miatoll)

From postmarketOS
Xiaomi POCO M2 Pro /
Redmi Note 9S /
Redmi Note 9 Pro /
Redmi Note 9 Pro Max /
Redmi Note 10 Lite
Xiaomi Redmi Note 9 Pro (xiaomi-joyeuse) with aftermarket display
Xiaomi Redmi Note 9 Pro (xiaomi-joyeuse) with aftermarket display
Manufacturer Xiaomi
Name POCO M2 Pro /
Redmi Note 9S /
Redmi Note 9 Pro /
Redmi Note 9 Pro Max /
Redmi Note 10 Lite
Codename xiaomi-miatoll
Released 2020
Category testing
Pre-built images no
Original software Android (MIUI)
Original version 10 (MIUI 11)
Extended version 12 (MIUI 14)
Hardware
Chipset Qualcomm Snapdragon 720G (SM7125)
CPU Octa-core (2x2.3 GHz Kryo 465 Gold & 6x1.8 GHz Kryo 465 Silver)
GPU Adreno 618
Display 1080 x 2400 (IPS LCD, 6.67")
Storage 64/128 GB
Memory 4/6 GB
Architecture AArch64
Type Handset
Features
USB Networking
Works
Flashing
Works
Touchscreen
Broken
Display
Works
WiFi
Broken
FDE
Works
Mainline
Works
Battery
Broken
3D Acceleration
Broken
Audio
Broken
Bluetooth
Broken
Camera
Broken
GPS
Broken
Mobile data
Broken
Internal storage
SMS
Broken
Calls
Broken
USB OTG
Broken
NFC
Broken
Sensors
Accelerometer
Broken
Magnetometer
Broken
Ambient Light
Broken
Proximity
Broken
Hall Effect
Broken
Barometer
Broken
Power Sensor
Broken
Misc
Built-in DVB
Camera Flash
Broken
Ir TX
Broken
Memory Card
Haptics
Broken
Ethernet
Broken
FOSS bootloader
Broken
This device is based on the Qualcomm Snapdragon 720G (SM7125).
See the SoC page for common tips, guides and troubleshooting steps

Contributors

Users owning this device

  • Bczeman
  • Jojo autoboy (Notes: Main device, Redmi Note 9S (curtana) variant)
  • Miki (Notes: main device, turns out all the weird issues were caused by the battery, after replacing everything except the mobo it's all good)
  • Omame (Notes: daily driver)
  • Projjal
  • Selfisekai (Notes: held by polish law enforcement)
  • Somekool (Notes: Currently running PixysOS)
  • Ungeskriptet (Notes: Working on upstreaming SM7125 support)

Know your variant

Model Codename Model Number Supported?
POCO M2 Pro gram
  • M2003J6CI
N
Redmi Note 9S curtana
  • M2003J6A1G
  • M2003J6A1R
Y
Redmi Note 9 Pro (Global) joyeuse
  • M2003J6B2G
Y
Redmi Note 9 Pro (India) curtana
  • M2003J6A1I
N
Redmi Note 9 Pro Max excalibur
  • M2003J6B1I
N
Redmi Note 10 Lite curtana
  • 2109106A1I
N

Reach out to ungeskriptet if the model you have is listed as not supported here.

How to enter flash mode

  • Fastboot: Power on the device with both Power and Volume Down buttons.
  • Recovery: Power on the device with both Power and Volume Up buttons.

EDL Mode

Note Note: An authenticated Mi account for EDL flashing is required.

To enter the EDL mode, disconnect the battery and short these two points while powering it on with USB. If lsusb -d 05c6:9008 shows you a device, you can let go of the short.

Xiaomi-joyeuse edl-mode.png

Installation

Icon WARNING: Make sure to backup any important data before you proceed
  1. Install pmbootstrap
  2. Run through pmbootstrap init and select 'xiaomi' as the vendor and 'miatoll' as the device
  3. Select the right kernel for your variant by typing out the codename
  4. Go through the rest of the setup with your preferences
  5. After the setup completes, generate a rootfs with pmbootstrap install
  6. Reboot into bootloader mode
  7. Flash kernel and rootfs with the following command: pmbootstrap flasher flash_kernel && pmbootstrap flasher flash_rootfs
  8. Erase the dtbo partition: fastboot erase dtbo
  9. Reboot the phone: fastboot reboot

See also