Jump to content

Xiaomi Redmi 7A (xiaomi-pine): Difference between revisions

From postmarketOS Wiki
add section about rotate screen
now it section useless, because this fix was add to APKBUILD
Line 91: Line 91:


<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->
<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->
== Xfce4 ==
if you get a black screen when trying to boot from xfce4 you need to edit the lightDM configuration file.
In /etc/lightdm/lightdm.conf replace #logind-check-graphical=true with logind-check-graphical=false to make LightDM ignore that nonsense.


== Rotate screen ==
== Rotate screen ==

Revision as of 08:18, 15 June 2023

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
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.

Installation

Use pmbootstrap to build your own installation image.

$ pmbootstrap init
$ pmbootstrap install --fde

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