Jump to content

Xiaomi Redmi 7A (xiaomi-pine)

From postmarketOS Wiki
Revision as of 21:52, 21 January 2025 by Bczeman (talk | contribs) (lk2nd installatipn)
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
No data
SD card
No data
Battery
Partial
Screen
Works
Touchscreen
Works
Keyboard
No data
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
Works
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Power Sensor
No data


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.

lk2nd

lk2nd is supported with msm8916-mainline/lk2nd for installation custom dtbo.img is needed.

Prebuilt images can be found here https://github.com/barni2000/dtbo-lk2nd/releases

$ fastboot flash dtbo dtbo-xiaomi-pine.img
$ fastboot flash boot lk2nd.img

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