Jump to content

Xiaomi Redmi 7 (xiaomi-onclite)

From postmarketOS Wiki
Note This device is supported as part of a generic port. Refer to Generic MSM8953 (qcom-msm8953) for installation instructions and more information.
Xiaomi Redmi 7
Xiaomi Redmi 7
Xiaomi Redmi 7
Manufacturer Xiaomi
Name Redmi 7
Codename xiaomi-onclite
Released 2019
Type handset
Hardware
Chipset Qualcomm Snapdragon 632 (SDM632)
CPU Octa-core (4x1.8 GHz Kryo 250 Gold
4x1.8 GHz Kryo 250 Silver)
GPU Adreno 506
Display 720 x 1520
Storage 16/32/64GB
Memory 2/3/4GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 9
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Category community
Pre-built images
Whether pre-built images are available here.
no
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.
6.13
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
0.0
Generic port Generic MSM8953 (qcom-msm8953)
Device package device-qcom-msm8953
Kernel package linux-postmarketos-qcom-msm8953
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).
Works
Internal storage
eMMC, SD cards, UFS, ...
Works
Battery
Charging and battery level reporting works
Broken
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Partial
Camera
Broken
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Partial
Modem
Calls
Partial
SMS
Works
Mobile data
Partial
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Works
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
Untested
Haptics
Works

Maintainer(s)

Users owning this device


How to enter flash mode

Volume Down + Power boots the phone into fastboot mode.

Installation

Follow the usual Installation guide but stop before flashing.

Download dtbo.img here. Enter fastboot mode and and flash the downloaded image to the dtbo partition:

$ fastboot flash dtbo dtbo.img
$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs

Mainline Status

What works

  • Jack Detection (Headset Mic detection is not working)
  • Touch (focaltech only)
  • leds
  • USB
  • GPU
  • Wifi/BT
  • Buttons
  • SD Card Reader
  • Haptics

Partial

  • Mobile data

Modem

Modem works since 6.7.2

Display

Texas Instruments TPS61163A display regulator is not supported.

Audio

awinic aw87329 speaker codec driver is missing. Maybe it could be applied from downstream.

Not works

  • Charging (missing charging driver)
  • Battery (missing driver, there is a WIP driver)
  • Sensors (waiting for new smgr driver, needs some trace from android)
  • OTG not works

See also