Xiaomi Redmi 8 (xiaomi-olive)

From postmarketOS
Xiaomi Redmi 8
Redmi 8 running XFCE4
Redmi 8 running XFCE4
Manufacturer Xiaomi
Name Redmi 8
Codename xiaomi-olive
Released 2019
Category testing
Original software Android
Original version 10 (MIUI 12)
Hardware
Chipset Qualcomm Snapdragon 439 (SDM439)
CPU 4x1.95 GHz Cortex-A53 & 4x1.45 GHz Cortex A53
GPU Adreno 505
Display 720 x 1520 IPS
Storage 32GB/64GB
Memory 3GB/4GB
Architecture AArch64
Type handset
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Works
Mainline
Battery
Partial
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Ir TX
Ir RX
Stylus
Memory Card
Haptics
FOSS bootloader


Contributors

Users owning this device


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.

Device notes

FDE

Use unl0kr instead osk-sdl

$ pmbootstrap install --fde --add unl0kr

Partition layout

lrwxrwxrwx 1 root root 20 1970-01-01 04:31 DDR -> /dev/block/mmcblk0p5
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 aboot -> /dev/block/mmcblk0p31
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 abootbak -> /dev/block/mmcblk0p32
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 apdp -> /dev/block/mmcblk0p15
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 bk1 -> /dev/block/mmcblk0p8
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 bk2 -> /dev/block/mmcblk0p9
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 bk3 -> /dev/block/mmcblk0p12
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 bk4 -> /dev/block/mmcblk0p34
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 boot -> /dev/block/mmcblk0p52
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 cache -> /dev/block/mmcblk0p57
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 cmnlib -> /dev/block/mmcblk0p24
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 cmnlib64 -> /dev/block/mmcblk0p26
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 cmnlib64bak -> /dev/block/mmcblk0p27
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 cmnlibbak -> /dev/block/mmcblk0p25
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 config -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 cust -> /dev/block/mmcblk0p61
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 devcfg -> /dev/block/mmcblk0p13
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 devcfgbak -> /dev/block/mmcblk0p14
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 devinfo -> /dev/block/mmcblk0p38
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 dip -> /dev/block/mmcblk0p33
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 dpo -> /dev/block/mmcblk0p3
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 dsp -> /dev/block/mmcblk0p46
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 dspbak -> /dev/block/mmcblk0p47
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 dtbo -> /dev/block/mmcblk0p39
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 dtbobak -> /dev/block/mmcblk0p40
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 exaid -> /dev/block/mmcblk0p55
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 fsc -> /dev/block/mmcblk0p1
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 fsg -> /dev/block/mmcblk0p43
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 gsort -> /dev/block/mmcblk0p44
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 keymaster -> /dev/block/mmcblk0p28
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 keymasterbak -> /dev/block/mmcblk0p29
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 keystore -> /dev/block/mmcblk0p22
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 limits -> /dev/block/mmcblk0p6
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 logdump -> /dev/block/mmcblk0p54
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 mcfg -> /dev/block/mmcblk0p37
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 mdtp -> /dev/block/mmcblk0p50
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 mdtpbak -> /dev/block/mmcblk0p51
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 minidump -> /dev/block/mmcblk0p56
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 misc -> /dev/block/mmcblk0p30
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 modem -> /dev/block/mmcblk0p58
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 modemst1 -> /dev/block/mmcblk0p41
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 modemst2 -> /dev/block/mmcblk0p42
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 mota -> /dev/block/mmcblk0p21
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 msadp -> /dev/block/mmcblk0p16
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 persist -> /dev/block/mmcblk0p48
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 persistbak -> /dev/block/mmcblk0p49
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 recovery -> /dev/block/mmcblk0p53
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 rpm -> /dev/block/mmcblk0p19
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 rpmbak -> /dev/block/mmcblk0p20
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 sbl1 -> /dev/block/mmcblk0p17
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 sbl1bak -> /dev/block/mmcblk0p18
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 sec -> /dev/block/mmcblk0p4
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 splash -> /dev/block/mmcblk0p45
lrwxrwxrwx 1 root root 20 1970-01-01 04:31 ssd -> /dev/block/mmcblk0p2
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 syscfg -> /dev/block/mmcblk0p23
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 system -> /dev/block/mmcblk0p59
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 tz -> /dev/block/mmcblk0p35
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 tzbak -> /dev/block/mmcblk0p36
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 userdata -> /dev/block/mmcblk0p62
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 vbmeta -> /dev/block/mmcblk0p10
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 vbmetabak -> /dev/block/mmcblk0p11
lrwxrwxrwx 1 root root 21 1970-01-01 04:31 vendor -> /dev/block/mmcblk0p60

Installation

See also