Xiaomi Redmi S2 / Redmi Y2 (xiaomi-ysl)

From postmarketOS Wiki
Xiaomi Redmi S2 /
Redmi Y2
Manufacturer Xiaomi
Name Redmi S2 /
Redmi Y2
Codename xiaomi-ysl
Released 2018
Type handset
Hardware
Chipset Qualcomm Snapdragon 625 (MSM8953)
CPU Octa-core 2.0 GHz Cortex-A53
GPU Adreno 506
Display 720 x 1440 IPS
Storage 32 GB / 64 GB
Memory 3 GB / 4 GB
Architecture aarch64
Software
Original software Android
Original version 8.1
FOSS bootloader yes
postmarketOS
Category community
Pre-built images yes
postmarketOS kernel 6.7.5
Unixbench Whet/Dhry score 4109.86
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Works
Camera
Partial
Camera Flash
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Partial
Modem
Calls
Works
SMS
Works
Mobile data
Partial
Miscellaneous
FDE
Works
USB OTG
Works
HDMI/DP
Sensors
Accelerometer
Works
Magnetometer
Broken
Ambient Light
Works
Proximity
Broken
Hall Effect
Broken
Haptics
Broken
Barometer
Power Sensor
Works
This device is based on the Qualcomm Snapdragon 450 (MSM8953).
See the SoC page for common tips, guides and troubleshooting steps

Maintainer(s)

Contributors

Users owning this device


Mainline kernel

Parts Hardware Status
Chipset MSM8953 Works
GPU Adreno 506 Works
Modem - Partial
Touch Screen fts_ts Works
Fingerprint goodix_fp Broken
Accelerometer BMI120 Works
Magnetometer AK09918 Broken
Sound msm8953sndcardm Works
Notifications LED AW2013 Works
Panel hx8394f, ili9881c, ili7807d Works
Front Camera S5K3P8SP Partial
Main Back Camera IMX486, OV12A10 Broken
Second Back Camera S5K5E8 Broken

Installation

Note Note: lk2nd is a hard dependency, without it the mainline kernel will not select the panel.
$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs

How to enter flash mode

Note Note: Pressing the keys too early will cause the stock bootloader to handle the key combination. You will end up in the wrong Fastboot interface.
  • Stock Fastboot: Power on the device with both Power and Volume Down buttons
  • lk2nd Fastboot: Power on the device. After it vibrates, hold Volume Down
  • Recovery: Power on the device with both Power and Volume Up buttons

Modem

Modem works since 6.7.2.

Note Note: Mobile data, SMS and Calls are working. Mobile data not works on every device.

GPU

Works but with some glitches.

For fix firefox glitches

$ MESA_GLES_VERSION_OVERRIDE=2.0 firefox-esr

Photos

See also