Jump to content

Xiaomi Redmi S2 / Redmi Y2 (xiaomi-ysl)

From postmarketOS Wiki
Revision as of 14:51, 5 August 2023 by Bczeman (talk | contribs)
Xiaomi Redmi S2 /
Redmi Y2
Manufacturer Xiaomi
Name Redmi S2 /
Redmi Y2
Codename xiaomi-ysl
Released 2018
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 8.1
postmarketOS
Category testing
Pre-built images no
Mainline yes
postmarketOS kernel 6.3
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Keyboard
No data
Touchpad
No data
Multimedia
3D Acceleration
Works
Audio
Partial
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Works
GPS
Broken
Modem
Calls
Partial
SMS
Partial
Mobile data
Broken
Miscellaneous
FDE
No data
USB-A
No data
USB OTG
Works
HDMI/DP
No data
Sensors
Accelerometer
Works
Magnetometer
Broken
Ambient Light
Broken
Proximity
Broken
Hall Effect
Broken
Haptics
No data
Power Sensor
No data

Maintainer(s)

User:Bczeman

Users owning this device


How to enter flash mode

Press Power and Volume Down(fastboot mode)

Installation

On your host machine, install arm-none-eabi-gcc toolchain and follow the instructions below

git clone https://github.com/msm8953-mainline/lk2nd
cd lk2nd
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary
fastboot flash boot build-msm8953-secondary/lk2nd.img
fastboot reboot

Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the Volume Down. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.


Follow the Installation guide

If using recovery zip, boot into lk2nd and flash boot.img into lk2nd using

$ fastboot flash boot boot.img, then hit the power button to reboot

See also