Xiaomi Mi 8 (xiaomi-dipper)

From postmarketOS
Xiaomi Mi 8/
Mi 8 Pro
Mi 8
Mi 8
Manufacturer Xiaomi
Name Mi 8/
Mi 8 Pro
Codename xiaomi-dipper, xiaomi-equuleus
Released 2018
Category testing
Pre-built images no
Original software Android (MIUI)
Original version 8.0
Extended version 10 (MIUI 12)
postmarketOS kernel Y
Hardware
Chipset Qualcomm Snapdragon 845 (SDM845)
CPU Octa-core (4x 2.8 GHz Kryo 385 Gold & 4x 1.7 GHz Kryo 385 Silver)
GPU Adreno 630
Display 1080 x 2248 AMOLED
Storage 64/128 GB
Memory 6 GB
Architecture AArch64
Type Handset
Features
USB Networking
Works
Flashing
Works
Touchscreen
Display
Works
WiFi
Works
FDE
Mainline
Works
Battery
Works
3D Acceleration
Audio
Bluetooth
Works
Camera
GPS
Mobile data
Works
Internal storage
SMS
Works
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


Phone details

The Mi 8 and Mi 8 Pro (codenamed dipper and equuleus, respectively) are nearly identical, except for the placement of the fingerprint sensor.

Note Please be aware that only equuleus has a device port in pmaports (pmaports#2661)


Partition map

equuleus:/ # ls -la /dev/block/bootdevice/by-name/

total 0
drwxr-xr-x 2 root root 1740 1971-01-10 22:05 .
drwxr-xr-x 3 root root 1880 1971-01-10 22:05 ..
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 ImageFv -> /dev/block/sdf4
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 abl_a -> /dev/block/sde32
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 abl_b -> /dev/block/sde33
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 aop_a -> /dev/block/sde14
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 aop_b -> /dev/block/sde15
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 apdp -> /dev/block/sde6
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk01 -> /dev/block/sda3
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk02 -> /dev/block/sda4
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk03 -> /dev/block/sda5
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk04 -> /dev/block/sda8
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk05 -> /dev/block/sda13
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk31 -> /dev/block/sdd1
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk32 -> /dev/block/sdd3
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk33 -> /dev/block/sdd5
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk41 -> /dev/block/sde3
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk42 -> /dev/block/sde9
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk43 -> /dev/block/sde16
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk44 -> /dev/block/sde17
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk45 -> /dev/block/sde25
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk46 -> /dev/block/sde29
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk47 -> /dev/block/sde38
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk48 -> /dev/block/sde40
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bk49 -> /dev/block/sde41
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk51 -> /dev/block/sdf2
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk52 -> /dev/block/sdf3
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 bk53 -> /dev/block/sdf5
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 bluetooth -> /dev/block/sde24
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 boot -> /dev/block/sde45
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 cache -> /dev/block/sda20
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 cdt -> /dev/block/sdd2
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 cmnlib64_a -> /dev/block/sde20
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 cmnlib64_b -> /dev/block/sde21
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 cmnlib_a -> /dev/block/sde18
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 cmnlib_b -> /dev/block/sde19
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 cust -> /dev/block/sda18
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 ddr -> /dev/block/sdd4
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 devcfg_a -> /dev/block/sde12
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 devcfg_b -> /dev/block/sde13
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 devinfo -> /dev/block/sda12
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 dip -> /dev/block/sde28
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 dsp -> /dev/block/sde44
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 dtbo -> /dev/block/sde37
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 frp -> /dev/block/sda7
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 fsc -> /dev/block/sdf1
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 fsg -> /dev/block/sde36
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 hyp_a -> /dev/block/sde26
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 hyp_b -> /dev/block/sde27
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 keymaster_a -> /dev/block/sde22
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 keymaster_b -> /dev/block/sde23
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 keystore -> /dev/block/sda6
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 limits -> /dev/block/sde2
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 logdump -> /dev/block/sda16
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 logfs -> /dev/block/sda10
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 logo -> /dev/block/sde43
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 minidump -> /dev/block/sda17
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 misc -> /dev/block/sda9
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 modem -> /dev/block/sde46
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 modemst1 -> /dev/block/sdf6
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 modemst2 -> /dev/block/sdf7
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 msadp -> /dev/block/sde7
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 oops -> /dev/block/sda11
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 persist -> /dev/block/sda14
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 persistbak -> /dev/block/sda15
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 qupfw_a -> /dev/block/sde4
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 qupfw_b -> /dev/block/sde5
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 recovery -> /dev/block/sda19
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 sec -> /dev/block/sde1
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 splash -> /dev/block/sde42
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 spunvm -> /dev/block/sde39
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 ssd -> /dev/block/sda2
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 sti -> /dev/block/sde30
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 storsec_a -> /dev/block/sde10
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 storsec_b -> /dev/block/sde11
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 switch -> /dev/block/sda1
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 system -> /dev/block/sde48
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 toolsfv -> /dev/block/sde31
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 tz_a -> /dev/block/sde34
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 tz_b -> /dev/block/sde35
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 userdata -> /dev/block/sda21
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 vbmeta -> /dev/block/sde8
lrwxrwxrwx 1 root root   16 1971-01-10 22:05 vendor -> /dev/block/sde47
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 xbl_a -> /dev/block/sdb2
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 xbl_b -> /dev/block/sdc2
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 xbl_config_a -> /dev/block/sdb1
lrwxrwxrwx 1 root root   15 1971-01-10 22:05 xbl_config_b -> /dev/block/sdc1

Contributors

Maintainer(s)

Users owning this device

  • Adomerle (Notes: Broken screen)
  • Akitlove (Notes: (Mi8/dipper) Samsung ea8074 display panel Unofficial LCD screen mainlining in progress)
  • Eralp Celebi (Notes: In surgery!)
  • GloomyJD (Notes: Works (Mi 8 Pro))
  • Konradybcio (Notes: Daily driver)
  • Nieldv
  • Sporos (Notes: (Mi8Pro/Equuleus) mainlining in progress)
  • Xiliuya (Notes: (Mi8/dipper) test in progress)


How to enter flash mode

Bootloader Unlocking

Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock

The device will not unlock if the device isn't 7 days old (from the time when your device connects to internet and powered on, and linked with Mi Account)

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.

Links

Not submitted to the main line https://gitlab.com/Akitlove