Jump to content

Xiaomi Redmi Note 9 / Redmi 10X 4G (xiaomi-merlin)

From postmarketOS Wiki
Xiaomi Redmi Note 9 /
Redmi 10X 4G
The device, running XFCE4
The device, running XFCE4
Manufacturer Xiaomi
Name Redmi Note 9 /
Redmi 10X 4G
Codename xiaomi-merlin
Model M2003J15SG
Released 2020
Type handset
Hardware
Chipset MediaTek Helio G85 (MT6769Z)
CPU Octa-core (2x2.0 GHz Cortex-A75
6x1.8 GHz Cortex-A55)
GPU Mali-G52 MC2
Display 1080x2340 IPS LCD
Storage 64GB/128GB
Memory 3GB/4GB/6GB
Architecture aarch64
Software
Original software Android (MIUI)
Original version
The version the device was shipped with.
11 (MIUI 11)
FOSS bootloader no
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
4.14.320
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.
Partial
Touchscreen
Partial
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
IR TX
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested
Magnetometer
Sensor to measure magnetism
Untested
Ambient Light
Untested
Proximity
Untested
Haptics
Untested


Contributors

Users owning this device

  • Tjari (Notes: Baseband chip is fried, so phone sometimes quickly shuts down right after powering it on)


Know your variant

Model Codename Model Number Has NFC?
Redmi 10X 4G merlin M2003J15SC N
Redmi Note 9 (NFC) merlinnfc M2003J15SG Y
Redmi Note 9 merlin M2003J15SS N

How to enter flash mode

Press and hold Volume Down + Power simultaneously while device is powered off.

Installation

Unlocking the bootloader

Unlock the bootloader using the official method with Mi Unlock Tool https://en.miui.com/unlock

You'll need to link your device with your Mi Account and wait around 7 to 30 days to unlock the device.

Alternatively, you can also unlock the phone's bootloader using MTKClient.

Flashing postmarketOS

Type pmbootstrap init on a terminal window and choose the following in the wizard:

Release channel: edge
Vendor: xiaomi
Device codename: merlin

xfce4, mate are tested and work out of the box. Other UIs are not guaranteed to work.

After choosing an user interface and the rest, type the below command to begin downloading and preparing postmarketOS for installation:

$ pmbootstrap install

Then, turn off the device, hold Volume Down + Power, and connect it to the computer with a USB cable.

After doing this, type the following commands to flash postmarketOS to your device.

$ pmbootstrap flasher flash_kernel
$ pmbootstrap flasher flash_rootfs

You must also flash LineageOS's DTBO by typing:

$ fastboot flash dtbo dtbo.img

After the flashing is finished, finally type

$ fastboot reboot

to exit fastboot.

Flashing Android over postmarketOS

You have to flash stock super.img and boot.img with the following commands.

$ fastboot flash super super.img
$ fastboot flash boot boot.img

Working UIs

Hardware status

Touchscreen

Our device's pmaports do not include the necessary touchscreen firmware, so you have to include them on the rootfs yourself (for now).

Currently the touchscreen works on Xfce4, but not MATE.

Battery

The battery percentage is always at 0%.

Screen

The screen works with a generic framebuffer driver, so brightness controls don't work. It also can't be turned off.

Suspend

The device seems to hang after a few moments, which might be related to suspend being broken.

See also