Xiaomi Redmi 9 (xiaomi-lancelot)
Appearance
|
Xiaomi Redmi 9 | |
| Manufacturer | Xiaomi |
|---|---|
| Name | Redmi 9 |
| Codename | xiaomi-lancelot |
| Released | 2020 |
| Type | handset |
| Hardware | |
| Chipset | MediaTek Helio G80 (MT6769T) |
| CPU |
2x Cortex-A75 (2.0 GHz) 6x Cortex-A55 (1.7 GHz) |
| GPU | Mali-G52 MC2 |
| Display | 1080x2340 6.53" |
| Storage | 32/64/128 GB |
| Memory | 3/4/6 GB |
| Architecture | aarch64 |
| Software | |
Original software The software and version the device was shipped with. |
Android 10 (MIUI 11) |
Extended version The most recent supported version from the manufacturer. |
Android |
| Nura | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
Nura kernel The kernel version that runs on the device's port. |
6.16.0-4 |
| Device package |
|
| Kernel package |
|
Flashing Whether 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
|
Battery Whether charging and battery level reporting work. |
Broken
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
| Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Broken
|
Camera |
Broken
|
| Connectivity | |
Wi-Fi |
Broken
|
Bluetooth |
Broken
|
GPS |
Broken
|
| Modem | |
Calls |
Broken
|
SMS |
Broken
|
Mobile data |
Broken
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Broken
|
| This device is based on the Helio G80. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
- koutakun
Maintainer(s)
Users owning this device
- Alexei-ii (Notes: image and touch problems, locked bootloader)
- Babob1994 (Notes: Working,battery problems,unlocked)
- Bengris32 (Notes: Unlocked)
- CoderCharmander (Notes: Main phone, running MIUI until I find a suitable custom ROM)
- Crosta04 (Notes: broken screen but pmos booted)
- HackerShohag (Notes: Test Device for Linux mobile.)
- Ka33 (Notes: Broken display, but touchscreen works)
- Mahmucan (Notes: ready for pmos tests.)
- Mrrpmeowfurry (Notes: no screen or battery)
- Nikilite (Notes: i use this phone to test things)
- Tau
- TheBads
How to enter flash mode
- Fastboot: With the device powered off, hold + while connecting the device to a computer with a USB cable.
Installation
The device must first have its bootloader unlocked. Follow the LineageOS Wiki instructions for details. (requires a Windows-only application)
$ pmbootstrap flasher flash_kernel
$ pmbootstrap flasher flash_rootfs --partition=super
$ pmbootstrap flasher flash_dtbo
$ pmbootstrap flasher flash_vbmeta
Mainline
Touchscreen
The touchscreen doesn't work out of the box, requiring a specific patch file along with a firmware file for your specific device from the vendor partition named nvt_tm_fw.bin.
Extract the nvt_tm_fw.bin file from the vendor partition and install it in the /lib/firmware, renaming the file ts.bin.
Components status (based on dtbo, proceed with caution)
| Component | Model | Is driver available | Notes |
|---|---|---|---|
| Panel | nt36672A (?) | Y | Need to apply the lancelot-novatek-ts-fix.patch patch |
| Touchscreen | NVT-ts (or Goodix GT9886?) | Y | Need ts.bin firmware |
| Charger | smb1351 | N | |
| NFC | pn553 | Y | |
| Audio amplifier | aw87519 | N | |
| Fingerprint | goodix | N | Out of tree module exists |
| Backlight | ktd3137 | Y | |
| Main camera | s5kgm1sp | N | |
| Wide camera | ov13b10 | Y | |
| Macro camera | ov2180 | N | |
| Depth camera | gc5035 | N | |
| Front camera | s5k4h7yx/ov8856 | N/Y |