Jump to content

Xiaomi Redmi 9 (xiaomi-lancelot)

From postmarketOS Wiki
Xiaomi Redmi 9
Xiaomi Redmi 9
Xiaomi Redmi 9
Manufacturer Xiaomi
Name Redmi 9
Codename xiaomi-lancelot
Released 2020
Type handset
Hardware
Chipset MediaTek Helio G80 (MT6769T)
CPU Cortex A75
A55 Octa-Core
GPU Mali-G52 MC2
Display 1080x2340 6.53"
Storage 32/64/128GB
Memory 3/4/6GB
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
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
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
Battery
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Partial
Touchscreen
Broken
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Broken
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested


Currently touch screen is not working on these device as only the button devices seem to emit events.

Contributors

  • koutakun

Maintainer(s)

Users owning this device


How to unlock phone

https://wiki.lineageos.org/devices/lancelot/install#unlocking-the-bootloader (requires windows only application).

NOTE: apps allows to install correct drivers for fastboot.


How to enter flash mode

Power + volume down while it is off, then you can flash it using pmbootstrap flasher flash_kernel; pmbootstrap flasher flash_rootfs --partition=super; pmbootstrap flasher flash_vbmeta (must be OEM unlock for this, see above).

NOTE: Fastboot entered via on my phone, fastboot entered via adb reboot fastboot run into different fastboot implementation (showed blue word FASTBOOTD instead of orange FASTBOOT), which did not have implemented certain oem commands, the log from windows application showed error when running fastboot oem device-info command.

Mainline

Components status (based on dtbo, proceed with caution)

Component Model Is driver available Notes
Panel nt36672A (?) Y Needs driver hacking to support 1080x2340
Touchscreen NVT-ts (or Goodix GT9886?) Y Out of tree module exists, needs hacking to support mediatek/xiaomi changes (goodix: N/A)
Charger smb1351 N
NFC pn553 Y
Audio amplifier aw87519 N
Fingerprint goodix N Out of tree module exists
Backlight lm3697 Y Needs driver hacking
Main camera s5kgm1sp N
Wide camera ov13b10 Y
Macro camera ov2180 N
Depth camera gc5035 N
Front camera s5k4h7yx/ov8856 N/Y