Jump to content

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

From postmarketOS Wiki
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
Type handset
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
Software
Original software
The software and version the device was shipped with.
Android (MIUI) 10 (MIUI 11)
Extended version
The most recent supported version from the manufacturer.
Android (MIUI) 12 (MIUI 14)
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Device package device-xiaomi-miatoll
Kernel package linux-xiaomi-miatoll
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS, ...
Works
SD card
Also includes other external storage cards
Works
Battery
Charging and battery level reporting works
Partial
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Partial
Camera Flash
Works
IR TX
Works
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
NFC
Near Field Communication
Broken
Modem
Calls
Partial
SMS
Works
Mobile data
Works
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
USB OTG
USB On-The-Go or USB-C Role switching
Works
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Works
Magnetometer
Sensor to measure magnetism
Works
Ambient Light
Works
Proximity
Works
Haptics
Works

Maintainer(s)

Contributors

Users owning this device

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

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.

Installation

Warning 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. Go through the rest of the setup with your preferences
  4. After the setup completes, generate a rootfs with pmbootstrap install
  5. Reboot into fastboot mode
  6. Flash kernel and rootfs with the following command: pmbootstrap flasher flash_kernel && pmbootstrap flasher flash_rootfs
  7. Erase the dtbo partition: fastboot erase dtbo
  8. Download the latest U-Boot image and flash it with the following command: fastboot flash boot u-boot-sm7125.img
  9. Reboot the phone: fastboot reboot

Status

Features
Component Model Notes
Screen huaxing,ft8756
tianma,nt36675
Battery qcom,pm6150-qg Very inaccurate
Charger pm6150 charger
smb1395 Used as pump for pm6150 charger
Internal
storage
jedec,ufs-2.0
qcom,sc7180-qmp-ufs-phy
Touchscreen focaltech,ft8756-spi @ 0x0
novatek,nt36xxx-spi @ 0x0
Connected via spi11
GPU qcom,adreno-618
Flash LED qcom,spmi-flash-led Connected via pm6150l spmi
WiFi WCN3991
Bluetooth
NFC qcom,nq-nci @ 0x28 Connected via i2c0
Modem qcom,sc7180-mpss-pas
qcom,sc7180-ipa
USB OTG usb-c-connector Switches by pm6150 typec controller
Sensors hexagonrpcd
libSSC
Managed by ADSP-remoteproc
Haptics awinic,aw8624
ti,drv2624
Connected via i2c4
Curtana Camera sensors
Type Sensor Actuator Bus
Main D-Phy samsung,s5kgm2 @ 0x10 dongwoon,dw9800@ 0xc cci0_i2c0
Ultra Wide D-Phy ovti,ov8856 @ 0x36 - cci0_i2c1
Macro D-Phy samsung,s5k5e9 @ 0x2d dongwoon,dw9714@ 0xc cci0_i2c1
Front D-Phy ovti,ov16a1q @ 0x10 - cci1_i2c0
Depth D-Phy galaxycore,gc02m1 @ 0x37 - cci1_i2c0
Joyeuse Camera sensors
Type Sensor Actuator Bus
Main C-Phy samsung,s5kgw1 @ 0x3d dongwoon,dw9800@ 0xc cci0_i2c0
Ultra Wide D-Phy galaxycore,gc8034 @ 0x37 - cci0_i2c1
Macro D-Phy samsung,s5k5e9 @ 0x2d dongwoon,dw9714@ 0xc cci0_i2c1
Front D-Phy ovti,ov16a1q @ 0x10 - cci1_i2c0
Depth D-Phy ovti,ov2180 @ 0x36 - cci1_i2c0
Audio
Codec Appointments Notes
ti,tas2562 Main Speaker
qcom,wcd9375-codec EAR Speaker
Chassis microphones x2 After switching active mic they stops working
Analog I/O audio port

Dual booting

As of now, dual booting is impossible: Android requires the presence of the dtbo partition, on the other hand pmos requires the absence of the dtbo partition.

See also