Xiaomi Redmi 5A (xiaomi-riva)
Appearance
![]() 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 |
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 and until fastboot logo
Installation
First build the image:
$ pmbootstrap init
$ pmbootstrap install
Then in order to flash it put your device in fastboot mode, and plug it in USB. Then do:
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel
Wifi
To connect to a wifi network simply run:
$ sudo nmtui
And connect to your prefered wifi network using the terminal UI.
See also
- pmaports!3595 Initial merge request
- Specs on GSMArena.com