=========================================
The Xiaomi 12T (codenamed "plato") is a high-end, mid-range smartphone from Xiaomi.
It was released in October 2022.
Basic | Spec Sheet |
---|---|
CPU | Octa-core CPU with 4x Arm Cortex-A78 up to 2.85GHz |
Chipset | Mediatek Dimensity 8100 |
GPU | Mali-G610 MC6 |
Memory | 8 GB RAM (LPDDR5 6400Mbps) |
Shipped Android Version | 12 |
Storage | 128/256 GB (UFS 3.1) |
Battery | Li-Po 5000 mAh, non-removable |
Display | 1220 x 2712 pixels, 6.67 inches, 60/120hz |
Works:
- ADB
- Decryption (Android 14)
- Display
- Fasbootd
- Flashing
- MTP
- Sideload
- USB OTG
- Vibrator
First checkout minimal twrp with aosp tree:
repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
repo sync -j$(nproc --all)
Then add these projects to .repo/manifest.xml:
<project path="device/xiaomi/plato" name="JonesqPacMan/android_device_xiaomi_plato_TWRP" remote="github" revision="TWRP-12.1_A14-HyperOS" />
Finally execute these:
source build/envsetup.sh
repopick <needed patch>
lunch twrp_plato-eng
mka vendorbootimage -j$(nproc --all)
fastboot flash vendor_boot twrp-3.7.0-12.1_A14-HyperOS-vendor_boot-plato.img