Xiaomi 12 (xiaomi-cupid): Difference between revisions
Appearance
Add some flashing instructions |
m status_emmc = Y |
||
Line 34: | Line 34: | ||
| status_gps = | | status_gps = | ||
| status_mobiledata = | | status_mobiledata = | ||
| status_emmc = Y | |||
| status_sms = | | status_sms = | ||
| status_calls = | | status_calls = |
Revision as of 17:02, 10 November 2023
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.
Status: mainline heavy WIP
This means that it cannot be selected in pmbootstrap.
Status: mainline heavy WIP
![]() Xiaomi 12 | |
Manufacturer | Xiaomi |
---|---|
Name | 12 |
Codename | xiaomi-cupid |
Released | 2021 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 8 Gen 1 (SM8450) |
CPU | Octa-core (1x 3.00 GHz Cortex-X2 & 3x 2.50 GHz Cortex-A710 & 4x 1.80 GHz Cortex-A510) |
GPU | Adreno 730 |
Display | 1080 x 2400 (120Hz 6.28" AMOLED) |
Storage | 128/256 GB |
Memory | 8/12 GB |
Architecture | aarch64 |
Software | |
Original software | Android (MIUI) |
Original version | 12 (MIUI 13) |
Extended version | 13 (MIUI 14) |
postmarketOS | |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
No data |
Battery |
No data |
Screen |
No data |
Touchscreen |
No data |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
No data |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
No data |
Mobile data |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
This device is based on the Snapdragon 8 Gen 1. See the SoC page for common tips, guides and troubleshooting steps |
The Xiaomi 12 is the most recent Xiaomi flagship device that can boot a source-built downstream kernel.
Contributors
Maintainer(s)
Users owning this device
Flashing
Flashing requires wiping some partitions to make sure the bootloader does not mess up the mainline kernel devicetree. Currently you will need a vbmeta.img
and vbmeta_sytem.img
from Android and patch it.
dd if=/dev/zero of=zero.bin bs=4096 count=1 fastboot set_active b fastboot erase vendor_boot fastboot flash dtbo zero.bin fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img fastboot --disable-verity --disable-verification flash vbmeta_system vbmeta_system.img
Afterwards, you can flash the device as usual using pmbootstrap's flasher utilities.