Xiaomi Redmi 5A (xiaomi-riva): Difference between revisions
Appearance
Update status |
Gelzar2041 (talk | contribs) |
||
(21 intermediate revisions by 8 users not shown) | |||
Line 4: | Line 4: | ||
| codename = xiaomi-riva | | codename = xiaomi-riva | ||
| image = File:xiaomi-riva.jpg | | image = File:xiaomi-riva.jpg | ||
| imagecaption = | | imagecaption = Redmi 5A running gnome-mobile | ||
| releaseyear = 2017 | | releaseyear = 2017 | ||
| originalsoftware = Android 7.1.2 | | originalsoftware = Android | ||
| chipset = Qualcomm | | originalversion = 7.1.2 (MIUI 9) | ||
| chipset = Qualcomm Snapdragon 425 (MSM8917) | |||
| cpu = Quad-core 1.4 GHz Cortex-A53 | | cpu = Quad-core 1.4 GHz Cortex-A53 | ||
| gpu = Adreno 308 | | gpu = Adreno 308 | ||
Line 14: | Line 15: | ||
| memory = 2/3 GB | | memory = 2/3 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | |||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = Y | | status_flashing = Y | ||
| status_touch = Y | | status_touch = Y | ||
| status_screen = P | | status_screen = P | ||
| status_wifi = Y | | status_wifi = Y | ||
| status_xwayland = | | status_xwayland = Y | ||
| status_fde = | | status_fde = Y | ||
| status_mainline = | | status_mainline = Y | ||
| status_battery = | | status_battery = Y | ||
| status_3d = | | status_3d = Y | ||
| status_accel = | | status_accel = N | ||
| status_audio = | | status_audio = Y | ||
| status_bluetooth = | | status_bluetooth = Y | ||
| status_camera = | | status_camera = N | ||
| status_gps = | | status_gps = N | ||
| status_mobiledata = | | status_mobiledata = N | ||
| status_sms = | | status_sms = N | ||
| status_calls = | | status_calls = N | ||
| status = | | status_emmc = Y | ||
| booting = yes | | status_sdcard = Y | ||
| status = | |||
| booting = yes | |||
| pmoskernel = 6.13 | |||
| pmoskernel = | | genericdevice=Generic MSM89x7 (qcom-msm89x7) | ||
| optionalgenericdevice = no | |||
| | | status_otg = N | ||
}}{{Based on SoC|Qualcomm_Snapdragon_425/427/430/435_(MSM8917/MSM8920/MSM8937/MSM8940)|Snapdragon 425}} | |||
| status_otg = | |||
}} | |||
== Contributors == | == Contributors == | ||
* | * ''[[user:bczeman|Barnabas Czeman]]'' | ||
== Maintainer(s) == | == Maintainer(s) == | ||
<!-- Only if this device doesn't run on linux-postmarketos yet! --> | <!-- Only if this device doesn't run on linux-postmarketos yet! --> | ||
<!-- This person needs to be willing to answer questions from users of this device --> | <!-- This person needs to be willing to answer questions from users of this device --> | ||
* ''[[user:bczeman|Barnabas Czeman]]'' | |||
== Users owning this device == | == Users owning this device == | ||
Line 76: | Line 66: | ||
== Installation == | == Installation == | ||
{{Note|Oreo version is not supported, downgrade to V10.1.1.0.NCKCNFI}} | |||
* Follow the [[Installation guide]] | |||
{{Note|'''Warning:''' Flashing [[lk2nd]] is '''required''', as it is a hard dependency. Without it the mainline kernel will not select the display panel (resulting in black screen on boot).}} | |||
<syntaxhighlight lang="shell-session"> | |||
$ pmbootstrap init # choose Vendor: qcom Device codename: msm89x7 | |||
$ pmbootstrap install | |||
$ pmbootstrap flasher flash_lk2nd | |||
$ pmbootstrap flasher flash_rootfs | |||
</syntaxhighlight> | |||
=== Wifi === | |||
To connect to a wifi network simply run: | |||
<syntaxhighlight lang="shell-session"> | |||
$ sudo nmtui | |||
</syntaxhighlight> | |||
And connect to your prefered wifi network using the terminal UI. | |||
Note: Use the '''wlan0''' interface. | |||
== Notes == | |||
- Some desktop environment will result in a blank. LXQT or SXMO UI is Recommended to use. | |||
- KDE Mobile DE may be struggling running on this device | |||
== See also == | == See also == | ||
* {{MR|3595|pmaports}} Initial merge request | * {{MR|3595|pmaports}} Initial merge request | ||
* [https://www.gsmarena.com/xiaomi_redmi_5a-8898.php Specs on GSMArena.com] | * [https://www.gsmarena.com/xiaomi_redmi_5a-8898.php Specs on GSMArena.com] | ||
* {{Device package|xiaomi-riva}} | |||
* {{Kernel package|xiaomi-riva}} | |||
* {{Firmware package|xiaomi-riva}} | |||
<!-- | <!-- | ||
Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234): | Link to related GitLab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234): | ||
Line 87: | Line 104: | ||
You can also add normal web links: | You can also add normal web links: | ||
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page] | * [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page] | ||
--> | --> |
Latest revision as of 22:51, 2 February 2025
This device is supported as part of a generic port. Refer to Generic MSM89x7 (qcom-msm89x7) for installation instructions and more information. |
![]() Redmi 5A running gnome-mobile | |
Manufacturer | Xiaomi |
---|---|
Name | Redmi 5A |
Codename | xiaomi-riva |
Released | 2017 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 425 (MSM8917) |
CPU | Quad-core 1.4 GHz Cortex-A53 |
GPU | Adreno 308 |
Display | 720x1280 IPS |
Storage | 16/32 GB |
Memory | 2/3 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 7.1.2 (MIUI 9) |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
postmarketOS kernel | 6.13 |
Generic port | Generic MSM89x7 (qcom-msm89x7) |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
Works |
Battery |
Works |
Screen |
Partial |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
Audio |
Works |
Camera |
Broken |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Broken |
NFC |
No data |
Modem | |
Calls |
Broken |
SMS |
Broken |
Mobile data |
Broken |
Miscellaneous | |
FDE |
Works |
USB OTG |
Broken |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Broken |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
This device is based on the Snapdragon 425. See the SoC page for common tips, guides and troubleshooting steps |
Contributors
Maintainer(s)
Users owning this device
- AppData 174
- Bczeman
- CoderCharmander (Notes: Recently superseded by my new phone, trying to port various Linux distros on it)
- Gelzar2041 (Notes: slightly cracked screen, 2/16)
- Hander (Notes: testing rolex version on riva)
- Meowka (Notes: Boots with kernel for android)
- Misopog (Notes: Few scratches, stock)
- Paricbat (Notes: Im not sure if it works, cracked screen)
How to enter flash mode
- Shutdown the phone completely
- Hold and until fastboot logo
Installation
Oreo version is not supported, downgrade to V10.1.1.0.NCKCNFI |
- Follow the Installation guide
Warning: Flashing lk2nd is required, as it is a hard dependency. Without it the mainline kernel will not select the display panel (resulting in black screen on boot). |
$ pmbootstrap init # choose Vendor: qcom Device codename: msm89x7
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs
Wifi
To connect to a wifi network simply run:
$ sudo nmtui
And connect to your prefered wifi network using the terminal UI.
Note: Use the wlan0 interface.
Notes
- Some desktop environment will result in a blank. LXQT or SXMO UI is Recommended to use.
- KDE Mobile DE may be struggling running on this device
See also
- pmaports!3595 Initial merge request
- Specs on GSMArena.com
- Device package
- Kernel package
- Firmware package