Jump to content

Xiaomi Redmi 5A (xiaomi-riva): Difference between revisions

From postmarketOS Wiki
Bczeman (talk | contribs)
No edit summary
Bczeman (talk | contribs)
No edit summary
Line 16: Line 16:
| architecture = aarch64
| architecture = aarch64
| type = handset
| type = handset
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = Y
| status_usbnet = Y<!-- USB networking does work? then put Y here and delete this comment -->
| status_flashing = Y
| status_flashing = Y<!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_touch = Y
| status_touch = Y<!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_screen = P
| status_screen = Y<!-- The display is working? -->
| status_wifi = Y
| status_wifi = Y<!-- Wireless network works? -->
| status_xwayland = Y
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde = Y
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = Y
| status_mainline = Y<!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_battery = Y
| status_battery = Y<!-- Charging the battery with charging-sdl is possible -->
| status_3d = Y
| status_3d = Y<!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_accel = N
| status_accel = N<!-- The sensor that measures proper acceleration works -->
| status_audio = N
| status_audio = N<!-- Using the device's speakers/headphone jack works -->
| status_bluetooth = Y
| status_bluetooth = Y<!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera = N
| status_camera = N<!-- Taking photos and videos works. -->
| status_gps = N
| status_gps = N<!-- The Global Positioning System sensor works.  -->
| status_mobiledata = N
| status_mobiledata = N<!-- Connecting to the Internet via cellular network. -->
| status_sms = N
| status_sms = N<!-- Sending and receiving short messages works as intended. -->
| status_calls = N
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_emmc = Y
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status_sdcard = Y
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status =
 
| booting = yes
<!-- you can also use these lines if you need to:
| pmoskernel = 6.12.5
Version of the kernel that pmos is running
| status_otg = N
| pmoskernel = 3.x.x
see Unixbench page on wiki
| whet_dhry = 0.0
Is OTG available, not used in wiki
| status_otg = -
-->
}}
}}



Revision as of 14:44, 1 January 2025

Xiaomi Redmi 5A
Redmi 5A running gnome-mobile
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.12.5
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Works
Screen
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Broken
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


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 power and Volume - (down) until fastboot logo

Installation

Note Oreo version is not supported, downgrade to V10.1.1.0.NCKCNFI
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).
$ 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

Gallery

See also