Xiaomi Redmi Note 9 / Redmi 10X 4G (xiaomi-merlin)
![]() 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 | 11 (MIUI 11) |
FOSS bootloader | no |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | no |
postmarketOS kernel | 4.14.320 |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Partial |
Screen |
Partial |
Touchscreen |
Partial |
Multimedia | |
3D Acceleration |
Broken |
Connectivity | |
Modem | |
Miscellaneous | |
USB OTG |
Broken |
Sensors | |
Contributors
- natsunemimi
- Tjari
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
+ 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
+ , 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
- pmaports!4808 Initial merge request
- Device package
- Kernel package