Xiaomi Mi 4i (xiaomi-ferrari)

From postmarketOS Wiki
Note This page is about the dedicated port of this device. There is also an optional generic port available for this device - see Generic MSM8916 (qcom-msm8916).
Xiaomi Mi 4i
Mi 4i running Phosh with (close-to-mainline) kernel
Mi 4i running Phosh with (close-to-mainline) kernel
Manufacturer Xiaomi
Name Mi 4i
Codename xiaomi-ferrari
Released 2015
Type handset
Hardware
Chipset Qualcomm Snapdragon 615 (MSM8939)
CPU Octa-core (4x1.7 GHz Cortex-A53 & 4x1.0 GHz Cortex-A53)
GPU Adreno 405
Display 1080 x 1920 IPS LCD
Storage 16/32 GB eMMC 4.5
Memory 2 GB
Architecture aarch64
Software
Original software Android (MIUI)
Original version 5.0.2
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 3.10.104
Unixbench Whet/Dhry score 2246.4
Optional Generic Port Generic MSM8916 (qcom-msm8916)
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Camera
Camera Flash
Connectivity
WiFi
Works
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
This device is based on the Snapdragon 615.
See the SoC page for common tips, guides and troubleshooting steps

Contributors

Maintainer(s)

Users owning this device

  • JuniorJPDJ (Notes: half broken touch)
  • Sungold (Notes: dead speakers and display, stopped mainline development)
  • TQMatvey (Notes: half broken touchscreen)


How to enter flash mode

Recovery mode

  • Turn the device off (or restart also works)
  • Hold Volume Up and Power button
  • Once you feel vibration and phone turns on, release Power button
  • Keep holding Volume Up until you get to recovery.

Flashing (Download, Fastboot) mode

  • Same as recovery, but this time hold the Volume Down and Power keys.

Installation

  • Install pmbootstrap first on your PC
  • zap & reinit pmbootstrap (pmbootstrap -y zap ; pmbootstrap init), choose xiaomi-libra as device
  • proceed with installation as usual: reboot device to fastboot mode, then:
pmbootstrap install
pmbootstrap flasher flash_kernel
pmbootstrap flasher flash_rootfs

See also