Jump to content

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
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data

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