Xiaomi Redmi 5A (xiaomi-riva)

From postmarketOS
Xiaomi Redmi 5A
Redmi 5A running gnome-mobile
Redmi 5A running gnome-mobile
Manufacturer Xiaomi
Name Redmi 5A
Codename xiaomi-riva
Released 2017
Category testing
Pre-built images no
Original software Android
Original version 7.1.2 (MIUI 9)
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
Type handset
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Partial
WiFi
Works
FDE
Mainline
Broken
Battery
3D Acceleration
Broken
Audio
Broken
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

Maintainer(s)

Users owning this device

  • Bczeman
  • CoderCharmander (Notes: Recently superseded by my new phone, trying to port various Linux distros on it)
  • 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

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.

Note: Use the wlan0 interface.

Gallery

See also