Jump to content

Xiaomi Mi Mix 3 (xiaomi-perseus)

From postmarketOS Wiki
Xiaomi Mi Mix 3
File:xiaomi-perseus.jpg
Manufacturer Xiaomi
Name Mi Mix 3
Codename xiaomi-perseus
Released 2018
Type handset
Hardware
Chipset Qualcomm Snapdragon 845 (SDM845)
CPU Octa-core (4x2.8 GHz Kryo 385 Gold
4x1.8 GHz Kryo 385 Silver)
GPU Adreno 630
Display 1080 x 2340 AMOLED
Storage 64/128/256GB UFS2.1
Memory 6/8GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android (MIUI) 9.0 (MIUI 10) (Linux 4.9)
Extended version
The most recent supported version from the manufacturer.
Android (MIUI) 10 (MIUI 12)
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.
6436.7
Features
Flashing
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
Charging and battery level reporting works
Partial
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Partial
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Broken
Camera Flash
Works
IR TX
Untested
Connectivity
WiFi
Partial
Bluetooth
Works
GPS
Partial
NFC
Near Field Communication
Untested
Modem
Calls
Partial
SMS
Partial
Mobile data
Partial
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Works
Magnetometer
Sensor to measure magnetism
Works
Ambient Light
Works
Proximity
Works
Hall Effect
Also known as flip cover sensor
Broken
Haptics
Works

How to enter flash mode

You have to press Power + Volume Down to enter the bootloader.

Installation

In order to install postmarketOS the bootloader must be unlocked. Unlocking is done by following the official process provided by Xiaomi (read the FAQ for detailed instructions).

Move contents of https://codeberg.org/Noi/perseus into $HOME/.local/var/pmbootstrap/cache_git/pmaports/device/community (overwrite)

Run pmbootstrap init and select xiaomi as vendor and perseus as device.

Follow the onscreen instruction and configure as your needs.

Build the system

pmbootstrap install
Notice During installation the kernel has to be compiled

Flash the kernel and rootfs:

pmbootstrap flasher flash_kernel
pmbootstrap flasher flash_rootfs --partition userdata
fastboot erase dtbo
fastboot reboot
Warning WARNING: Do not reboot via the power button on the device! This can result in not all data being properly written to storage, corrupting the rootfs and resulting strange behaviour like postmarketOS getting stuck during boot!
Note Always use fastboot reboot after flashing.

Updating the bootloader

This involves downloading MIUI and extracting bootloader images to flash. Refer to the LineageOS wiki for more info.

Renegade Project

Has support, can boot PostmarketOS.

Xiaomi Mi Mix 3 Renegade Project Page

List of issues

WIP

Community Info

Contributors

  • Ya_Code
  • BigfootACA
  • Noi

Users owning this device

See also

OSZAR »