Jump to content

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

From postmarketOS Wiki
Bczeman (talk | contribs)
m Add merge request
Bczeman (talk | contribs)
Update status
Line 15: Line 15:
| architecture = aarch64
| architecture = aarch64
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->
| status_usbnet = Y<!-- USB networking does work? then put Y here and delete this comment -->
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_flashing = Y<!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_touch = Y<!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_screen = <!-- The display is working? -->
| status_screen = P<!-- The display is working? -->
| status_wifi = <!-- Wireless network works? -->
| status_wifi = Y<!-- Wireless network works? -->
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = N<!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d = N<!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_audio = N<!-- Using the device's speakers/headphone jack works -->
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera = <!-- Taking photos and videos works. -->
| status_camera = <!-- Taking photos and videos works. -->
Line 34: Line 34:
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_calls = <!-- Talking to other people over the cellular network. -->
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| booting = no <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->


<!-- you can also use these lines if you need to:
<!-- you can also use these lines if you need to:

Revision as of 20:14, 28 October 2022

Xiaomi Redmi 5A
CHANGE_ME
CHANGE_ME
Manufacturer Xiaomi
Name Redmi 5A
Codename xiaomi-riva
Released 2017
Hardware
Chipset Qualcomm MSM8917 Snapdragon 425
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 7.1.2 with MIUI 9
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Partial
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


TODOs

  • test on device
  • Ask maintainer of kernel at (here)[1] if 4.9 rebased branch is ready to use and if right defconfig was chosen; (waiting for answer)[2]
  • Investigate Potential to share kernel with xiaomi-rolex as one of stock kernels from Xiaomi was shared between them
  • Upload packaged to pmaports?
  • Investigate dm verity
  • Investigate if firmware is needed
  • Investigate if something around CMDLINE should be changed

Contributors

  • None

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

See also