Xiaomi POCO F2 Pro (xiaomi-lmi)
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. | 
|  POCO F2 Pro | |
| Manufacturer | Xiaomi | 
|---|---|
| Name | POCO F2 Pro (Redmi K30 Pro) | 
| Codename | xiaomi-lmi | 
| Released | 2020 | 
| Hardware | |
| Chipset | Qualcomm Snapdragon 865 (SM8250) | 
| CPU | 8-core (1x 2.84 GHz Kryo 585 3x 2.42 GHz Kryo 585 4x 1.80 GHz Kryo 585) | 
| GPU | Adreno 650 | 
| Display | 1080 x 2400 | 
| Storage | 128/256 GB | 
| Memory | 6/8/12 GB | 
| Architecture | aarch64 | 
| Software | |
| Original software The software and version the device was shipped with. | Android 10 (MIUI 12) | 
| Extended version The most recent supported version from the manufacturer. | Android | 
| postmarketOS | |
| Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. | no | 
| Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. | 9463.8 | 
| 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 | 
| Internal storage eMMC, SD cards, UFS... | Works | 
| Battery Whether charging and battery level reporting work. | Works | 
| 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. | Partial | 
| Camera | Partial | 
| Camera Flash | Works | 
| IR TX | Works | 
| Connectivity | |
| WiFi | Works | 
| Bluetooth | Works | 
| GPS | Broken | 
| NFC Near Field Communication | Works | 
| Modem | |
| Calls | Broken | 
| SMS | Broken | 
| Mobile data | Broken | 
| Miscellaneous | |
| FDE Full disk encryption and unlocking with unl0kr. | Untested | 
| USB OTG USB On-The-Go or USB-C Role switching. | Works | 
| Sensors | |
| Accelerometer Handles automatic screen rotation in many interfaces. | Works | 
| Magnetometer Sensor to measure the Earth's magnetism | Works | 
| Ambient Light Measures the light level; used for automatic screen dimming in many interfaces. | Works | 
| Proximity | Broken | 
| Haptics | Broken | 
The device is also known as Xiaomi Redmi K30 Pro. Some resources call POCO F2 Pro a "rebranded version of Redmi K30 Pro".
Xiaomi Redmi K30 5G is NOT xiaomi-lmi! it's xiaomi-picasso!
Contributors
Maintainer(s)
Maintainer(s)
Users owning this device
- Alexeymin (Notes: Daily driver, 8/256 variant)
- Ashirviskas (Notes: Backup phone, 8/256 variant. Charging a bit borked)
- Dinolek (Notes: Daily driver)
- Jja2000 (Notes: Daily driver)
- Kxxt (Notes: 8GB RAM, 128GB Flash, branded 'K30 Pro', running postmarketOS)
- Pomoke (Notes: 8GB RAM, 128GB Flash, branded 'K30 Pro')
- Slwyts (Notes: 12GB RAM, 128GB Flash, branded 'Redmi K30 Pro')
- Thka (Notes: 8/256 variant)
How to enter flash mode
- Bootloader: Power on the device with both and buttons.
- Recovery: Power on the device with both and buttons.
- Fastbootd: Reboot into bootloader mode first and then run fastboot reboot fastbootfrom a computer.
Installation
| Note: The device has not yet been merged into pmaports. Use manual installation. | 
PostmarketOS Installation guide.
Status
| Component | Model | Notes | 
|---|---|---|
| Screen | samsung,ams667uu01 | 60Hz are supported | 
| Battery | qcom,pm8150b-fg | |
| Charger | qcom,pm8150b-charger | |
| ti,bq2597x-standalone | Used as pump for pm8150b-charger | |
| Internal storage | jedec,ufs-2.0 qcom,sm8250-qmp-ufs-phy | |
| Touchscreen | focaltech,ft3518 @ 0x38 | Connected via i2c13 | 
| GPU | qcom,adreno-650 | Requires a650 (unsigned) & a650-zap (signed) firmware | 
| SBA-MUX | fcs,fsa4480 @ 0x42 | Connected via i2c15 | 
| Flash LED | qcom,spmi-flash-led | Connected via pm8150l spmi | 
| WiFi | qca6391 | Requires ath11k (unsigned) firmware | 
| Bluetooth | Requires qca (unsigned) firmware | |
| NFC | qcom,nq-nci @ 0x28 | Connected via i2c1 | 
| Modem | sdx55m | SDX55m is not supported by mainline | 
| USB OTG | usb-c-connector | Switches by pm8150b typec controller | 
| Sensors | hexagonrpcd libSSC | Managed by SDSP-remoteproc Requires signed SDSP firmware | 
| Haptics | awinic,aw8697 | Connected via i2c11 | 
| Codec | Appointments | Bus | Notes | 
|---|---|---|---|
| ncp,tfa9874 | EAR Speaker | i2c3 @ 0x34 | |
| Main Speaker | i2c3 @ 0x34 | ||
| qcom,wcd9380-codec | Chassis microphones x3 | ||
| Analog I/O audio port | 
Known issues
* Changing brightness causes graphical artifacts
Serial UART
UART TX is below the sub board connector on the left size of a 0402 capacitor. Baud - 115200. For ground you can use the metal shielding.
