Xiaomi Mi 4i (xiaomi-ferrari)

From postmarketOS
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
Category testing
Pre-built images no
Original software Android (MIUI)
Original version 5.0.2
postmarketOS kernel 3.10.104
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
Unixbench Whet/Dhry score 2246.4
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Mainline
Works
Battery
3D Acceleration
Works
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader
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-ferrari as a device
  • proceed with installation as usual: reboot device to fastboot mode, then:
pmbootstrap install
pmbootstrap flasher flash_kernel
pmbootstrap flasher flash_rootfs

See also