Xiaomi Redmi 7A (xiaomi-pine)

From postmarketOS Wiki
Xiaomi Redmi 7A
Xiaomi Redmi 7A running XFCE
Xiaomi Redmi 7A running XFCE
Manufacturer Xiaomi
Name Redmi 7A
Codename xiaomi-pine
Released 2019
Type handset
Hardware
Chipset Qualcomm Snapdragon 439 (SDM439)
CPU 4x1.95GHz & 4x1.45GHz Cortex A53
GPU Adreno 505
Display 720x1440
Storage 16 / 32 GB
Memory 2 / 3 GB
Architecture aarch64
Software
Original software Android (MIUI)
Original version 9 (MIUI 10)
Extended version 10
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Partial
Screen
Works
Touchscreen
Works
Keyboard
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
Connectivity
WiFi
Works
Bluetooth
GPS
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
Works
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Power Sensor


Contributors

Users owning this device


How to enter flash mode

  • Fastboot: Power on the device with both Power and Volume Down buttons.
  • Recovery: Power on the device with both Power and Volume Up buttons; and while holding Volume Up, release Power.

Installation

Use pmbootstrap to build your own installation image.

$ pmbootstrap init
$ pmbootstrap flasher flash_kernel
$ pmbootstrap flasher flash_rootfs --partition userdata

Working UIs


Rotate screen

create file /etc/X11/xorg.conf.d/00-display-rotate.conf and put this

Section "Device"
  Identifier "LCD"
  Option "Rotate" "CW"
EndSection

also for rotate touchscreen you need to create udev file: /etc/udev/rules.d/98-touchscreen-cal.rules

ATTRS{name}=="fts_ts", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"

See also