Xiaomi Mi 11 Lite 4G (xiaomi-courbet)
Appearance
This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories. This means that it cannot be selected in pmbootstrap. |
![]() | |
Manufacturer | Xiaomi |
---|---|
Name | Mi 11 Lite 4G |
Codename | xiaomi-courbet |
Released | 2021 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 732G (SM7150-AC) |
CPU |
Octa-core (2x 2.3 GHz Kryo 470 Gold 6x 1.8 GHz Kryo 470 Silver) |
GPU | Adreno 618 |
Display | 1080 x 2400 AMOLED LCD |
Storage | 64/128 GB |
Memory | 6/8 GB |
Architecture | aarch64 |
Software | |
Original software The software and version the device was shipped with. |
Android (MIUI) 11 (MIUI 12) |
Extended version The most recent supported version from the manufacturer. |
Android (MIUI) |
FOSS bootloader | no |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
no |
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 |
Broken
|
Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Broken
|
Camera |
Broken
|
Camera Flash |
Broken
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
GPS |
Broken
|
NFC Near Field Communication |
Works
|
Modem | |
Calls |
Works
|
SMS |
Works
|
Mobile data |
Works
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Partial
|
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 |
Broken
|
Magnetometer Sensor to measure magnetism |
Broken
|
Ambient Light |
Broken
|
Proximity |
Broken
|
Haptics |
Broken
|
This device is based on the Snapdragon 732G. See the SoC page for common tips, guides and troubleshooting steps |
Users owning this device
- Adrian (Notes: Mainlining :))
- Kevinwidjaja21 (Notes: Booting PMOS v24.12 stable. Considering porting to edge with u-boot and generic device support.)
Mainline
A work in progress mainline kernel is being developed here.
We are looking for testers. If you have a device and want to help, please join: #sm7150-mainline:matrix.org on Matrix.
Installation
Currently only work on an out-of-tree fork (https://gitlab.postmarketos.org/kevinwidjaja21/pmaports/-/tree/courbet_stable) of pmaports and only on v24.12 stable version. Need to port u-boot support and systemd before properly merging this device to main repository.
- Make sure that pmbootstrap is installed on your host and that your phone has an unlocked booloader and is on the latest stock firmware
- Run through
pmbootstrap init
, select v24.12 release channel and select xiaomi as the vendor and courbet as the device. - Build the kernel package by running
pmbootstrap build linux-postmarketos-qcom-sm7150 --force
- Generate the rootfs and flash pmOS to the phone by running
pmbootstrap install
- Backup and erase the dtbo partition
- To boot Linux, you'll have to erase the dtbo partition. It is recommended to back it up first if you want to boot Android again
- Run
dd if=/dev/block/by-name/dtbo of=/sdcard/dtbo.img
from a rooted shell on your phone and pull it withadb pull /sdcard/dtbo.img
to your computer. This can be skipped if you plan to do clean install of custom android ROM. - Boot into bootloader mode
- Erase the dtbo partition with
fastboot erase dtbo
- To restore the partition flash it with
fastboot flash dtbo dtbo.img
- Flash the rootfs to install pmOS to the phones internal storage by running
pmbootstrap flasher flash_rootfs --partition userdata
- Boot the kernel
- To boot temporarily, without flashing run
pmbootstrap flasher boot
- To flash the kernel to the boot partition, run
pmbootstrap flasher flash_kernel
and reboot withfastboot reboot
- To boot temporarily, without flashing run