Xiaomi Redmi S2 / Redmi Y2 (xiaomi-ysl): Difference between revisions
Appearance
Update kernel version |
No edit summary |
||
Line 33: | Line 33: | ||
| status_camera = N | | status_camera = N | ||
| status_gps = N | | status_gps = N | ||
| status_mobiledata = | | status_mobiledata = P | ||
| status_sms = P | | status_sms = P | ||
| status_calls = P | | status_calls = P | ||
Line 53: | Line 53: | ||
== Maintainer(s) == | == Maintainer(s) == | ||
* [[User:Bczeman|Bczeman]] | * [[User:Bczeman|Bczeman]] | ||
== Contributors == | |||
* [[User:WorryNori|WorryNori]] | |||
== Users owning this device == | == Users owning this device == | ||
Line 62: | Line 65: | ||
== Mainline kernel == | == Mainline kernel == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 67: | Line 71: | ||
! scope="col"| Hardware | ! scope="col"| Hardware | ||
! scope="col"| Status | ! scope="col"| Status | ||
|- | |- | ||
| scope="row"| Chipset | | scope="row"| Chipset | ||
| MSM8953 | | MSM8953 | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| GPU | | scope="row"| GPU | ||
| Adreno 506 | | Adreno 506 | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| Modem | | scope="row"| Modem | ||
| - | | - | ||
| class="feature feature-partial" | Partial | | class="feature feature-partial" | Partial | ||
|- | |- | ||
| scope="row"| Touch Screen | | scope="row"| Touch Screen | ||
| fts_ts | | fts_ts | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| Fingerprint | | scope="row"| Fingerprint | ||
| goodix_fp | | goodix_fp | ||
| class="feature feature-no" | Broken | | class="feature feature-no" | Broken | ||
|- | |- | ||
| scope="row"| Accelerometer | | scope="row"| Accelerometer | ||
| BMI120 | | BMI120 | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| Magnetometer | | scope="row"| Magnetometer | ||
| AK09918 | | AK09918 | ||
| class="feature feature-no" | Broken | | class="feature feature-no" | Broken | ||
|- | |- | ||
| scope="row"| Sound | | scope="row"| Sound | ||
| msm8953sndcardm | | msm8953sndcardm | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| Notifications LED | | scope="row"| Notifications LED | ||
| AW2013 | | AW2013 | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| Panel | | scope="row"| Panel | ||
| hx8394f, ili7807d, ili9881c | | hx8394f, ili7807d, ili9881c | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| Front Camera | | scope="row"| Front Camera | ||
| S5K3P8SP | | S5K3P8SP | ||
| class="feature feature-no" | Broken | | class="feature feature-no" | Broken | ||
|- | |- | ||
| scope="row"| Main Back Camera | | scope="row"| Main Back Camera | ||
| IMX486 | | IMX486 | ||
| class="feature feature-no" | Broken | | class="feature feature-no" | Broken | ||
|- | |- | ||
| scope="row"| Second Back Camera | | scope="row"| Second Back Camera | ||
| S5K5E8 | | S5K5E8 | ||
| class="feature feature-no" | Broken | | class="feature feature-no" | Broken | ||
|} | |} | ||
Line 145: | Line 135: | ||
=== How to enter flash mode === | === 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 {{Button|Power}} and {{Button|Volume Down}} buttons | * '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons | ||
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}} | * '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}} | ||
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons | * '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons | ||
== | == Modem == | ||
Modem works with work in progress IPA patches [https://github.com/msm8953-mainline/linux/tree/6.7.0/main 6.7.0/main], you have to compile kernel yourself and enable <code>CONFIG_QCOM_IPA2_LITE</code>. | |||
{{note|'''Note:''' Mobile data, SMS and Calls are working, but there's no sound from microphone and speaker.}} | |||
== | == GPU == | ||
Works but with some glitches. No known workaround. | |||
== Photos == | == Photos == |
Revision as of 05:44, 25 January 2024
![]() | |
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 The software and version the device was shipped with. |
Android 8.1 |
Extended version The most recent supported version from the manufacturer. |
Android |
FOSS bootloader | yes |
postmarketOS | |
Category | community |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
6.6.12 |
Unixbench score Unixbench Whetstone/Dhrystone score. See Unixbench. |
4109.86 |
Device package |
![]() |
Kernel package |
![]() |
Flashing It is possible to flash the device with pmbootstrap flasher . |
Works
|
---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Internal storage eMMC, SD cards, UFS, ... |
Works
|
Battery Charging and battery level reporting works |
Works
|
Screen Display works. Ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
Multimedia | |
3D Acceleration |
Works
|
Audio Audio playback, microphone, headset and buttons. |
Works
|
Camera |
Broken
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
GPS |
Broken
|
Modem | |
Calls |
Partial
|
SMS |
Partial
|
Mobile data |
Partial
|
Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Works
|
USB OTG USB On-The-Go or USB-C Role switching |
Works
|
Sensors | |
Accelerometer Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile |
Works
|
Magnetometer Sensor to measure magnetism |
Broken
|
Ambient Light |
Broken
|
Proximity |
Broken
|
Hall Effect Also known as flip cover sensor |
Broken
|
Power Sensor Sensor to monitor current, voltage and power. Not fuel gauge! |
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
- AmateurPenguin (Notes: this device sucks)
- Bczeman
- ItsVixano (Notes: Cracked display glass)
- Kotleni (Notes: Works but laggy and slow)
- NixXiz (Notes: 3/32)
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, ili7807d, ili9881c | Works |
Front Camera | S5K3P8SP | Broken |
Main Back Camera | IMX486 | Broken |
Second Back Camera | S5K5E8 | Broken |
Installation
- Follow the Installation guide
Note: lk2nd is a hard dependency, without it the mainline kernel will not select the panel. |
$ pmbootstrap install
$ pmbootstrap flasher flash_lk2nd
$ pmbootstrap flasher flash_rootfs
How to enter flash mode
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 and buttons
- lk2nd Fastboot: Power on the device. After it vibrates, hold
- Recovery: Power on the device with both and buttons
Modem
Modem works with work in progress IPA patches 6.7.0/main, you have to compile kernel yourself and enable CONFIG_QCOM_IPA2_LITE
.
Note: Mobile data, SMS and Calls are working, but there's no sound from microphone and speaker. |
GPU
Works but with some glitches. No known workaround.
Photos
-
Unixbench
-
Phosh