Files
mi8-platina-linux/release/README.md
T

50 lines
2.7 KiB
Markdown

# Xiaomi Mi 8 Lite (`platina`) - PostmarketOS Linux Release v0.8.2-cellular
## Compressed Flashing Package
- **File**: `platina-linux-v0.8.2-cellular-release.tar.xz`
- **Compressed Size**: `290M` (Extracts to ~`920 MB` flashable images)
- **SHA256**: `eef135e8bb32062cbde37201da71c94f167665f86633d3cd366cf7fe00ad9441`
### Package Contents
- `boot.img` (`24M`) - Linux kernel `7.2.12-sdm660` (`r25`) + Tianma NT36672A DTB (with IPA v2.6L BAM node) + initramfs
- `xiaomi-platina.img` (`896M`) - Ext4 root filesystem image (`UUID=e7344fd1-6d0e-4344-a778-3042abf96780`, `LABEL=pmOS_root`)
- `vbmeta.img` (`4.0K`) - Disabled AVB verification image
- `flash.sh` - One-click Fastboot flashing script for macOS and Linux
- `flash.bat` - One-click Fastboot flashing script for Windows
- `README.md` - Bundle documentation and post-flash notes
- `SHA256SUMS` - SHA-256 checksums of image components
---
## Quick Unpack & Flash
### Recommended one-step command (auto-extracts on first run):
```bash
./scripts/flash_release.sh
```
### Manual on macOS / Linux:
```bash
mkdir -p artifacts/release-v0.8.2-cellular
tar -xJf release/platina-linux-v0.8.2-cellular-release.tar.xz -C artifacts/release-v0.8.2-cellular
cd artifacts/release-v0.8.2-cellular
shasum -a 256 -c SHA256SUMS --ignore-missing
./flash.sh
```
### On Windows:
1. Extract `platina-linux-v0.8.2-cellular-release.tar.xz` using 7-Zip or WinRAR.
2. Put phone into Fastboot mode (Volume Down + Power).
3. Double-click `flash.bat`.
---
## System Capabilities Pre-Configured in this Image
- **4G LTE Cellular Data (`qmapmux0.0`)**: SDM660 IPA v2.6L BAM transport + `platina-dsp` + `ModemManager` + `platina-cellular --auto` (`metric 700`).
- **Route Priority Hierarchy**: `USB NCM (metric 50)` > `Wi-Fi (metric 200)` > `4G LTE Cellular (metric 700)`, preferring USB host networking when connected and failing over automatically to Wi-Fi then 4G LTE when unplugged.
- **Power Key, Status Screen & DVFS Standby (`platina-power-chord` & `platina-status-screen`)**: Short-pressing **Power** toggles the live framebuffer status screen and `FB_BLANK_POWERDOWN` display blanking; holding **Power** for 3s shuts down cleanly on battery or enters Offline Charger mode when external power is connected (auto-poweroff on unplug); 60s idle enters crash-free runtime DVFS standby (`300/633 MHz`) with `/sys/power/state` locked (`000`) to protect WCN3990 Wi-Fi and IPA 4G stability.
- **Wi-Fi**: Qualcomm WCN3990 via `ath10k_snoc`, powersave disabled.
- **USB Headless SSH**: `172.16.42.1/24` (`server@172.16.42.1`).
- **EasyTier Mesh & Battery Protection (`platina-battery-guard`)**: Active by default (80% charge cap / 50% resume, 45°C thermal cutoff, 5% emergency shutdown).