Jump to content

Xiaomi Redmi 8 (xiaomi-olive)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Generic MSM89x7 (qcom-msm89x7) for installation instructions and more information.
Xiaomi Redmi 8
Redmi 8 running XFCE4 with fastfetch
Redmi 8 running XFCE4 with fastfetch
Manufacturer Xiaomi
Name Redmi 8
Codename xiaomi-olive
Released 2019
Type handset
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
Software
Original software
The software and version the device was shipped with.
Android 10 (MIUI 12)
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
pmOS kernel
The kernel version that runs on the device's port.
Mainline
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
3121
Generic port Generic MSM89x7 (qcom-msm89x7)
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS...
Works
SD card
Also includes other external storage cards.
Works
Battery
Whether charging and battery level reporting work.
Broken
Screen
Whether the display works; ideally with sleep mode and brightness control.
Partial
Touchscreen
Broken
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
IR TX
Untested
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Broken
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Works
Magnetometer
Sensor to measure the Earth's magnetism
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Untested

Contributors

Users owning this device

  • Acealtair (Notes: (8A 2/32) vol- broken, bricked)
  • Acealtair (Notes: same as above except power and vol+ are broken too)
  • ByteXD23! (Notes: ma main device, unlocked bootloader 😇)
  • Filip2cz
  • KlevVid (Notes: device for experiments)
  • Krindra (Notes: main device)
  • Ks51 (Notes: 3/32, evox (a16) installed)
  • Lavacat (Notes: Is actually Redmi 8A, 2/32, attempting to mainline)
  • Meterode (Notes: Redmi 8 4/64 Red)
  • MIAMI cooler (Notes: 8A, touch doesn't work :))
  • Sergiotarxz (Notes: Running stock android, waiting for mainline port, may contribute)
  • Thisisme333 (Notes: 8A Running lineageos, My main)

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.

Installation

$ pmbootstrap init # choose Vendor: qcom Device codename: msm89x7
$ fastboot flash dtbo dtbo-xiaomi-olive.img # Build from barni2000/dtbo-lk2nd repo
$ fastboot flash boot lk2nd-msm8952.img # Build lk2nd from msm8916-mainline/lk2nd repo
$ pmbootstrap flasher flash_rootfs

Working UIs


See also