Xiaomi POCO F3 (xiaomi-alioth)
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. | 
|  Official image for the smartphone | |
| Manufacturer | Xiaomi | 
|---|---|
| Name | POCO F3 | 
| Codename | xiaomi-alioth | 
| Released | 2021 | 
| Type | handset | 
| Hardware | |
| Chipset | Qualcomm Snapdragon 870 (SM8250-AC) | 
| CPU | Octa-core (1x3.2 GHz Kryo 585 3x2.42 GHz Kryo 585 4x1.80 GHz Kryo 585) | 
| GPU | Adreno 650 | 
| Display | 1080x2400 AMOLED, 120Hz, HDR10+, 1300 nits (peak) | 
| Storage | 128/256 GB UFS 3.1 | 
| Memory | 6/8 GB RAM | 
| 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 13 | 
| 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 | 
| This device is based on the Snapdragon 870. See the SoC page for common tips, guides and troubleshooting steps | 
Contributors
- Nikroks
- RodoMa92
- Weijia
Maintainer(s)
Users owning this device
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,ams667xx01 | 90/120Hz 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,ft3658 @ 0x0 | Connected via spi4 | 
| 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 | 
| Type | Sensor | EEPROM | Actuator | Bus | 
|---|---|---|---|---|
| Main D-Phy | sony,imx582 @ 0x10 | giantec,gt24p128e @ 0x51 | dongwoon,dw9800@ 0xc | cci0_i2c0 | 
| Ultra Wide D-Phy | sony,imx355 @ 0x1a | giantec,gt24p64e @ 0x50 | - | cci1_i2c0 | 
| Macro D-Phy | samsung,s5k5e9 @ 0x2d | puya,p24c64f @ 0x52 | dongwoon,dw9800@ 0xc | cci0_i2c1 | 
| Front D-Phy | samsung,s5k3t2 @ 0x10 | puya,p24c64f @ 0x51 | - | cci1_i2c1 | 
Note:
- EEPROMs work, but sensor drivers can't work with EEPROMs yet. Libcamera doesn't support it either?
| Codec | Appointments | Bus | Notes | 
|---|---|---|---|
| cirrus,cs35l41 | EAR Speaker | i2c3 @ 0x40 | |
| Main Speaker | i2c3 @ 0x41 | ||
| 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.
