Xiaomi Redmi Note 11 (xiaomi-spes)
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. |
|
Xiaomi Redmi Note 11, Booting Linux 7.2.1 on Das U-Boot. | |
| Manufacturer | Xiaomi |
|---|---|
| Name | Redmi Note 11 |
| Codename | xiaomi-spes |
| Model | 2201117TG, 2201117TI, 2201117TY, 2201117TL |
| Released | 2021 |
| Type | handset |
| Hardware | |
| Chipset | Qualcomm Snapdragon 680 (SM6225) |
| CPU |
4x2.4 GHz Kryo 265 Gold 4x1.9 GHz Kryo 265 Silver |
| GPU | Adreno 610 |
| Display | 1080x2400 AMOLED, 90Hz |
| Storage | 64 GB, 128 GB |
| Memory | 4 GB, 6 GB |
| Architecture | aarch64 |
| Software | |
Original software The software and version the device was shipped with. |
Android 11 |
Extended version The most recent supported version from the manufacturer. |
Android |
| FOSS bootloader | yes |
| postmarketOS | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
7.2.1 |
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). |
Untested
|
Internal storage eMMC, SD cards, UFS... |
Untested
|
SD card Also includes other external storage cards. |
Untested
|
Battery Whether charging and battery level reporting work. |
Untested
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Partial
|
Touchscreen |
Untested
|
| Multimedia | |
3D Acceleration |
Untested
|
Audio Audio playback, microphone, headset and buttons. |
Untested
|
Camera |
Untested
|
Camera Flash |
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. |
Untested
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Untested
|
Ambient Light Measures the light level; used for automatic screen dimming in many interfaces. |
Untested
|
Proximity |
Untested
|
Haptics |
Untested
|
Secondary Bootloader Whether it is possible to chainload U-Boot from stock bootloader. |
Works
|
|---|---|
Mainline Whether latest upstream versions of U-Boot are not broken and it is possible to use them. |
Untested
|
Internal Storage Whether it is possible to boot from internal storage (e.g. eMMC or UFS). |
Works
|
SD card Whether it is possible to boot from SD card. |
Works
|
USB Host Whether it is possible to boot from a USB storage or connect a keyboard. |
Untested
|
USB Peripheral Whether it is possible to use device as a peripheral in U-Boot, e.g. for fastboot mode. |
Works
|
Display |
Works
|
Buttons Whether it is possible to navigate in boot menu or grub with volume and power buttons. |
Works
|
- Note: U-Boot support is not uploaded yet and is VERY experimental, but it does boot. Same thing for the kernel.
Contributors
- Omar mahboubi
- SCOS100
- Tuxryan (Initial mainline port)
Users owning this device
- Cino (Notes: i have 2 of those stupid things, 6/128)
- Kmlupreti (Notes: on custom rom)
- Omar mahboubi (Notes: Home server running Droidian)
- PiotrZPL (Notes: Running Android custom ROMs)
- Rmux
- SCOS100 (Notes: Developing Mainline)
- Seebz (Notes: custom rom, no battery)
- Skajmer (Notes: Daily driver on crDroid)
- Tuxryan (Notes: Backup phone, developing mainline Linux.)
How to enter flash mode
To acess fastboot, you can use any of:
- Turn off the device, then hold Power button and Vol- simultaneously until the device powers on
- With ADB access, run
adb reboot bootloader
Installation
Using pmbootstrap (downstream kernel)
Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select xiaomi as the vendor and spes as the codename.
To flash the image to the device:
- Enter flashing mode (see #How to enter flash mode)
- Run
pmbootstrap export, then useaik-unpackto unpack the boot.img, replace the header version from 0 to 3, run <aik-repack> then flash the newly made image withfastboot flash boot yourimage.img - Run
pmbootstrap flasher flash_rootfs
Mainline
Right now, the mainline kernel is not available for download, as is the U-Boot source for this device. I am working on stabilizing the build enough for it to be ready for actual development of more features. For the current source, or if you want to help, please ping @SCOS100 on Telegram.
For further assistance, feel free to ask in the sm6225 matrix channel: https://matrix.to/#/#sm6225-mainline:matrix.org