Jump to content

Xiaomi Redmi Note 8 (xiaomi-ginkgo)

From postmarketOS Wiki
Xiaomi Redmi Note 8
Xiaomi Redmi Note 8 running gnome-mobile after selecting willow(8T) on installer
Xiaomi Redmi Note 8 running gnome-mobile after selecting willow(8T) on installer
Manufacturer Xiaomi
Name Redmi Note 8
Codename xiaomi-ginkgo
Released 2019
Type handset
Hardware
Chipset Qualcomm Snapdragon 665 (SM6125)
CPU Octa-core (4x2.0 GHz Kryo 260 Gold
4x1.8 GHz Kryo 260 Silver)
GPU Adreno 610
Display 1080 x 2340 IPS LCD
Storage 32GB, 64GB, 128GB
Memory 3GB, 4GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android (MIUI) 9 (MIUI 10)
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Features
Flashing
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).
Broken
Battery
Charging and battery level reporting works
Broken
Screen
Display works. Ideally with sleep mode and brightness control.
Broken
Touchscreen
Broken
Multimedia
3D Acceleration
Broken
Audio
Audio playback, microphone, headset and buttons.
Broken
Camera
Broken
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
Broken
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Broken
USB OTG
USB On-The-Go or USB-C Role switching
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Broken

Contributors

User:Manigohan

Users owning this device

  • Annaaurora (Notes: daily driver running crdroid)
  • ArminRetro (Notes: Try to port lasted android for this)
  • Dumpster (Notes: Backup phone with LineageOS vanilla)
  • Ilya114
  • Kierownik223 (Notes: Runs ArrowOS)
  • Manigohan (Notes: broken, wrote memeline dts)
  • Mojtabavahidinasab (Notes: بوت‌لودر بازشده. می‌خوام postmarketos رو با رابط‌کاربری sxmo-de-dwm UI نصب کنم.)
  • Semfault (Notes: Former main, broken)
  • V6lhost (Notes: Main device, running CrDroid 11.2)
  • Vicenre22
  • Wdxvvy (Notes: main device running sailfishos with waydroid)
  • Zeroxonef (Notes: Backup phone 1, simless)


How to enter flash mode

Recovery mode

  • Shutdown the device completely.
  • Hold the Volume Up and Power button simultaneously. When Xiaomi logo appears, release Power and keep pressed Volume Up until recovery screen shows up.

Fastboot

  • Shutdown the device completely.
  • Hold the Volume Down and Power button simultaneously, until the "FASTBOOT" text appears.

Installation

$ pmbootstrap init # Vendor: xiaomi Device codename: ginkgo
$ pmbootstrap install
$ pmbootstrap flasher flash_boot
$ pmbootstrap flasher flash_rootfs

Hardware

Component Name Status Mainline Notes
Accelerometer/Gyroscope BMI160 N Y
Accelerometer/Gyroscope icm4x6xx N N
ALSPS stk3x3x N Y
Magnetometer ak0991x N Y
Audio max98927 N Y
WCNSS wcn3990 N Y Requires modem to be brought up
Fingerprint fpc1020 N N
Fingerprint Goodix N N

UART/Serial

By default, bootloader logs everything to UART until where the kernel loads.

Please DO note that the board takes 1.8v, although from testing, 3.3v is fine. Proceed with caution.

Baud should be 115200.

See also

ginkgo dts in linux-next

OSZAR »