Xiaomi Redmi 7A (xiaomi-pine): Difference between revisions
Appearance
m →See also: Initial merge request |
mNo edit summary |
||
(18 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
| imagecaption = Xiaomi Redmi 7A running XFCE | | imagecaption = Xiaomi Redmi 7A running XFCE | ||
| releaseyear = 2019 | | releaseyear = 2019 | ||
| originalsoftware = Android | | originalsoftware = Android (MIUI) | ||
| originalversion = 9 (MIUI 10) | | originalversion = 9 (MIUI 10) | ||
| extendedversion = 10 | | extendedversion = 10 | ||
Line 16: | Line 16: | ||
| memory = 2 / 3 GB | | memory = 2 / 3 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = | | type = Handset | ||
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | <!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | ||
| status_usbnet = Y | | status_usbnet = Y | ||
Line 39: | Line 39: | ||
| status_nfc = - | | status_nfc = - | ||
| status_usba = - | | status_usba = - | ||
| status_hdmidp = <!-- Video and audio output with HDMI or DisplayPort works --> | | status_hdmidp = - <!-- Video and audio output with HDMI or DisplayPort works --> | ||
| status_keyboard = | | status_keyboard = | ||
| status_touchpad = <!-- Touchpad works (Usually applicable to laptops) --> | | status_touchpad = - <!-- Touchpad works (Usually applicable to laptops) --> | ||
| status_irtx = - | | status_irtx = - | ||
| status_accel = <!-- The sensor that measures proper acceleration works --> | | status_accel = <!-- The sensor that measures proper acceleration works --> | ||
Line 64: | Line 64: | ||
== Contributors == | == Contributors == | ||
* [[user:Hitechshell|Hitechshell]] | |||
== Users owning this device == | == Users owning this device == | ||
Line 75: | Line 75: | ||
== How to enter flash mode == | == How to enter flash mode == | ||
* '''Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons. | * '''Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons. | ||
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons; and while holding {{Button|Volume Up}}, release {{Button|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 | |||
<syntaxhighlight lang="shell-session"> | |||
$ fastboot flash dtbo dtbo-xiaomi-pine.img | |||
$ fastboot flash boot lk2nd.img | |||
</syntaxhighlight> | |||
== Installation == | == Installation == | ||
Line 80: | Line 92: | ||
<!-- Expand this with the commands needed for flashing, add --sdcard to install if it makes sense etc. --> | <!-- Expand this with the commands needed for flashing, add --sdcard to install if it makes sense etc. --> | ||
< | <syntaxhighlight lang="shell-session"> | ||
$ pmbootstrap init | $ pmbootstrap init | ||
$ pmbootstrap | $ pmbootstrap flasher flash_kernel | ||
</ | $ pmbootstrap flasher flash_rootfs --partition userdata | ||
</syntaxhighlight> | |||
== Working UIs == | |||
* [[i3]] (i3wm) | |||
* [[LXQt]] | |||
* [[MATE]] | |||
* [[Plasma]] (plasma-desktop) | |||
* [[SXMO]] (dwm) | |||
* [[Xfce4]] | |||
<!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | <!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | ||
== Rotate screen == | |||
create file <code>/etc/X11/xorg.conf.d/00-display-rotate.conf</code> | |||
and put this | |||
<pre> | |||
Section "Device" | |||
Identifier "LCD" | |||
Option "Rotate" "CW" | |||
EndSection | |||
</pre> | |||
also for rotate touchscreen you need to create udev file: | |||
<code>/etc/udev/rules.d/98-touchscreen-cal.rules</code> | |||
<pre> | |||
ATTRS{name}=="fts_ts", ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1" | |||
</pre> | |||
== See also == | == See also == | ||
Line 94: | Line 130: | ||
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page] | * [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page] | ||
--> | --> | ||
* {{MR| | * {{MR|4114|pmaports}} Initial merge request | ||
* [https://twrp.me/xiaomi/xiaomi-mi439.html TWRP for Xiaomi SDM439 Devices] | |||
* [https://wiki.lineageos.org/devices/Mi439 Lineageos wiki page] | * [https://wiki.lineageos.org/devices/Mi439 Lineageos wiki page] | ||
* [https://github.com/msm8916-mainline/lk2nd lk2nd] | |||
<!-- | <!-- | ||
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one. | If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one. |
Latest revision as of 11:47, 1 February 2025
![]() 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 |
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
- Chmod-rwx (Notes: works)
- Hitechshell
- Winbo-yml-exe (Notes: main phone, running lineageos 22.)
How to enter flash mode
- Fastboot: Power on the device with both and buttons.
- Recovery: Power on the device with both and buttons; and while holding , release .
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
- pmaports!4114 Initial merge request
- TWRP for Xiaomi SDM439 Devices
- Lineageos wiki page
- lk2nd