Xiaomi Mi 5X (xiaomi-tiffany)

From postmarketOS
Jump to navigation Jump to search
Xiaomi Mi 5X
Xiaomi Mi 5X
Xiaomi Mi 5X
Manufacturer Xiaomi
Name Mi 5X
Codename xiaomi-tiffany, xiaomi-rossy
Released 2017
Category testing
Original software Android 7.1.2 (on Linux 3.18.31)
Hardware
Chipset Qualcomm MSM8953 Snapdragon 625
CPU Octa-core 2.0 GHz Cortex-A53
GPU Adreno 506
Display 1080x1920 IPS LCD
Storage 64 GB
Memory 4 GB
Architecture aarch64
Features
USB Networking
Flashing
Touchscreen
Display
WiFi
Xwayland
FDE
Mainline
Partial
Battery
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG
NFC


This device is based on Snapdragon 625.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

Users owning this device

OEM unlock

How to enter flash mode

  • Stock Fastboot: Power on the device with both Power and Volume Down buttons
  • lk2nd Fastboot: Power on the device. After it vibrates, hold Volume Down
Note Note: Pressing the keys too early will cause the stock bootloader to handle the key combination. You will end up in the wrong Fastboot interface.
  • Recovery: Power on the device with both Power and Volume Up buttons

Installation

Xiaomi Mi 5X can have 4 codenames: tiffany (Primary codename), rossy (A device created at the Xiaomi factory in Beijing "Exclusively" for the Chinese market), tissot (Although it is Mi A1, but also Mi 5X are found with the same codename. Most likely it is Mi A1, but the a/b structure was changed to a only, and miui from Mi 5X was also installed. But it could also be Mi 5X (tiffany), but with a flashed bootloader from Mi A1), oxygen (A device with firmware from the seller (more often from Vietnam) with an unlocked bootloader and a "surprise" in the form of a bootloader from Xiaomi Mi Max2 under the nickname Oxygen).

What works

What works partially

What does not work

Mainline

Warning! Lk2nd is a hard dependency, without it the mainline kernel will not boot. You can get lk2nd for tissot from here: https://github.com/JIaxyga/lk2nd/releases
lk2nd fastboot screen example

Mainlining on Xiaomi Mi A1 (tissot) in the active stage. This kernel should work on Xiaomi Mi 5X (tiffany) too, but tests are needed. Kernel package Device package.
If you are ready to become a tester, ping JIaxyga on #postmarketos-mainline.

Parts Status Notes
USB Networking Works
Flashing Works
Touch Screen Works focaltech,ft5435 (edt-ft5x06).
Display Works EBBG ili7807(ilitek) works; tianma otm1911(focal) and ft8716 not tested.
WiFi Works 2.4GHz, 5GHz work fine. The access point works too. (firmware-xiaomi-tissot)
Xwayland Works
FDE Works
Mainline Works
Battery Partial coslight / scud / sunwoda liwei.
Reporting is done via the pmi8950 qcom-fg driver.
However the charger has not been ported yet, so charging does not work.
3D Acceleration Works
Accelerometer bosch,bmi160.
Audio Partial maxim,max98927 Earpiece, microphones and audio jack detection works fine.
Bluetooth Works (firmware-xiaomi-tissot)
Camera Front Cam: samsung_s5k5e8_i Back Cam: ov_12a10_i Back Sub Cam: ov_13880_i.
GPS
Mobile data
SMS
Calls
USB OTG Broken Needs the charger to be enabled.
NFC Unavailable

Sensors:

Parts Status Notes
Fingerprint fpc,fpc1020 / goodix,gf3208
Accelerometer / Gyroscope bosch,bmi160
Magnetometer AKM, AK09918
Light / Proximity LiteOn, LTR579 ALSPS; LTR2568
Gravity / Rotation QTI
Hall Works BU52061NVX
Led Works awinic,aw2013

See also: MSM8953 mainlining status

Serial debugging (UART)

See also: Serial debugging

See also