Xiaomi Redmi S2 / Redmi Y2 (xiaomi-ysl): Difference between revisions
Appearance
m irled is working now |
|||
(60 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox device | {{Infobox device | ||
<!-- Main --> | |||
| manufacturer = Xiaomi | | manufacturer = Xiaomi | ||
| name = Redmi S2 / Redmi Y2 | | name = Redmi S2 / Redmi Y2 | ||
| codename = xiaomi-ysl | | codename = xiaomi-ysl | ||
| image = File:Xiaomi-ysl-pmos.png | | model = <!-- Manufacturer's model/part number, e.g. 2312DRA50G --> | ||
| imagecaption = | | image = File:Xiaomi-ysl-pmos.png | ||
| releaseyear = 2018 | | imagecaption = <!-- Brief description of the image --> | ||
| | | releaseyear = 2018 | ||
| | | prereleaseyear = <!-- If the device was announced earlier than release --> | ||
| | |||
| booting = yes | |||
| status = <!-- Text displayed in the non-booting box, e.g "kernel compiles, doesn't boot" --> | |||
| packaged = yes | |||
| category = community | |||
<!-- Hardware --> | |||
| chipset = Qualcomm Snapdragon 625 (MSM8953) | | chipset = Qualcomm Snapdragon 625 (MSM8953) | ||
| cpu = Octa-core 2.0 GHz Cortex-A53 | | cpu = Octa-core 2.0 GHz Cortex-A53 | ||
| gpu = Adreno 506 | | gpu = Adreno 506 | ||
| som = <!-- Only applicable for carrier boards --> | |||
| display = 720 x 1440 IPS | | display = 720 x 1440 IPS | ||
| storage = 32 GB / 64 GB | | storage = 32 GB / 64 GB | ||
| memory = 3 GB / 4 GB | | memory = 3 GB / 4 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| | | wp_type = | ||
| whet_dhry = | |||
| | |||
| status_flashing = Y | <!-- Software --> | ||
| | | originalsoftware = Android | ||
| | | originalversion = 8.1 | ||
| | | extendedversion = <!-- Latest supported manufacturer OS version --> | ||
| | | optionalsoftware = <!-- Other OS options --> | ||
| | | status_fossbootloader = Y | ||
| | |||
| | |||
| status_3d = Y | <!-- PostmarketOS --> | ||
| status_audio = | | type = Handset | ||
| status_bluetooth = Y | | pmoskernel = 6.7.5 | ||
| | | whet_dhry = 4109.86 | ||
| status_gps = | | genericdevice = Generic MSM8953 (qcom-msm8953) | ||
| | | optionalgenericdevice = no <!-- yes to change the genericdevice box into an optional genericdevice box --> | ||
| status_sms = P | | kernelpackage = <!-- {{Kernel package|device-codename|category}} --> | ||
| | | devicepackage = <!-- {{Device package|device-codename|category}} --> | ||
| status_otg = | | firmwarepackage = <!-- {{Firmware package|device-codename|category}} --> | ||
| | |||
| status_accel = Y | <!-- Warning / Note boxes / Miscellaneous --> | ||
| status_magnet = N | | supported = yes <!-- no if device cannot run postmarketOS (see [[Category:Unsupported Devices]]) --> | ||
| status_light = | | prebuiltimages = no <!-- yes if prebuilt images are aviable on the pmOS website --> | ||
| status_proximity = N | | boot_internal_storage = <!-- no if the device can't boot from internal storage --> | ||
| status_hall = N | | bootable_media = <!-- Specify the media type that can be used to boot pmOS, e.g "USB Stick" --> | ||
| status_barometer = - | | changearch = <!-- Optional, text displayed in the "changearch" box, e.g "armv7" --> | ||
| status_powersensor = | |||
| | | initial_MR = <!-- {{MR|CHANGE_ME|pmaports}} --> | ||
| | | related_post = <!-- {{Lemmy|CHANGE_ME_TO_POST_ID}} --> | ||
| | |||
| | |||
| | |||
| | <!-- Features --> | ||
| | <!-- | ||
| | For each of the following questions about device functionality, please respond as follows: | ||
| | - Y for Yes - if the feature works as expected | ||
- P for Partial - if the feature works partially | |||
- N for No - if the feature does not work | |||
- - for N/A - if the feature is not applicable for the device | |||
- Leave blank - if the feature has not been tested | |||
--> | |||
<!-- Main Features --> | |||
| status_flashing = Y <!-- Flashing with pmbootstrap --> | |||
| status_usbnet = Y <!-- USB networking --> | |||
| status_emmc = Y <!-- Internal storage --> | |||
| status_sdcard = Y <!-- SD card support --> | |||
| status_battery = Y <!-- Battery percentage/charging --> | |||
| status_screen = Y <!-- Built-in display/embedded display connector --> | |||
| status_touch = Y <!-- Touchscreen --> | |||
| status_keyboard = - <!-- Build in Physical Keyboard --> | |||
| status_touchpad = - <!-- Build in Physical Touchpad --> | |||
| status_stylus = - <!-- Stylus/digital pen --> | |||
<!-- Multimedia Features --> | |||
| status_3d = Y <!-- 3D acceleration --> | |||
| status_dvb = - <!-- TV tuner --> | |||
| status_audio = Y <!-- Speakers/headphones --> | |||
| status_camera = P <!-- Rear/front cameras --> | |||
| status_cameraflash = - <!-- Flash/torch --> | |||
| status_irtx = Y<!-- IR transmitter --> | |||
| status_irrx = - <!-- IR receiver --> | |||
<!-- Connectivity Features --> | |||
| status_wifi = Y <!-- Wi-Fi --> | |||
| status_bluetooth = Y <!-- Bluetooth --> | |||
| status_ethernet = - <!-- Wired Ethernet --> | |||
| status_gps = P <!-- GPS --> | |||
| status_nfc = - <!-- NFC --> | |||
| status_calls = Y <!-- Cellular calls --> | |||
| status_sms = Y <!-- SMS --> | |||
| status_mobiledata = P <!-- Mobile data --> | |||
<!-- Miscellaneous Features --> | |||
| status_fde = Y <!-- Full Disk Encryption --> | |||
| status_usba = - <!-- USB-A ports --> | |||
| status_sata = - <!-- SATA --> | |||
| status_otg = Y <!-- USB OTG --> | |||
| status_hdmidp = - <!-- HDMI/DisplayPort --> | |||
<!-- Sensors --> | |||
| status_accel = Y <!-- Accelerometer --> | |||
| status_magnet = N <!-- Magnetometer --> | |||
| status_light = Y <!-- Ambient light --> | |||
| status_proximity = N <!-- Proximity sensor --> | |||
| status_hall = N <!-- Hall effect --> | |||
| status_haptics = Y <!-- Vibration/haptics --> | |||
| status_barometer = - <!-- Barometer --> | |||
| status_powersensor = Y <!-- Power sensor --> | |||
<!-- U-Boot (optional, for devices running U-Boot) --> | |||
<!-- | |||
| status_uboot = | |||
| status_uboot_primary = | |||
| status_uboot_secondary = | |||
| status_uboot_mainline = | |||
| status_uboot_internalstorage = | |||
| status_uboot_sd = | |||
| status_uboot_usbhost = | |||
| status_uboot_usbperipheral = | |||
| status_uboot_screen = | |||
| status_uboot_keyboard = | |||
| status_uboot_buttons = | |||
--> | |||
}}{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Qualcomm Snapdragon 450 (MSM8953)}} | }}{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Qualcomm Snapdragon 450 (MSM8953)}} | ||
== Maintainer(s) == | == Maintainer(s) == | ||
[[User:Bczeman]] | * [[User:Bczeman|Bczeman]] | ||
== Contributors == | |||
* [[User:WorryNori|WorryNori]] | |||
== Users owning this device == | == Users owning this device == | ||
Line 65: | Line 152: | ||
<!-- you can use {{My devices}} on your profile page to show table with all your devices --> | <!-- you can use {{My devices}} on your profile page to show table with all your devices --> | ||
== | == Mainline kernel == | ||
{| class="wikitable" | |||
|- | |||
! scope="col"| Parts | |||
! scope="col"| Hardware | |||
! scope="col"| Status | |||
|- | |||
| scope="row"| Chipset | |||
| MSM8953 | |||
| class="feature feature-yes" | Works | |||
|- | |||
| scope="row"| GPU | |||
| Adreno 506 | |||
| class="feature feature-yes" | Works | |||
|- | |||
| scope="row"| Modem | |||
| - | |||
| class="feature feature-partial" | Partial | |||
|- | |||
| scope="row"| Touch Screen | |||
| fts_ts | |||
| class="feature feature-yes" | Works | |||
|- | |||
| scope="row"| Fingerprint | |||
| goodix_fp | |||
| class="feature feature-no" | Broken | |||
|- | |||
| scope="row"| Accelerometer | |||
| BMI120 | |||
| class="feature feature-yes" | Works | |||
|- | |||
| scope="row"| Magnetometer | |||
| AK09918 | |||
| class="feature feature-no" | Broken | |||
|- | |||
| scope="row"| Sound | |||
| msm8953sndcardm | |||
| class="feature feature-yes" | Works | |||
|- | |||
| scope="row"| Notifications LED | |||
| AW2013 | |||
| class="feature feature-yes" | Works | |||
|- | |||
| scope="row"| Panel | |||
| hx8394f, ili9881c, ili7807d | |||
| class="feature feature-yes" | Works | |||
|- | |||
| scope="row"| Front Camera | |||
| S5K3P8SP | |||
| class="feature feature-partial" | Partial | |||
|- | |||
| scope="row"| Main Back Camera | |||
| IMX486, OV12A10 | |||
| class="feature feature-no" | Broken | |||
|- | |||
| scope="row"| Second Back Camera | |||
| S5K5E8 | |||
| class="feature feature-no" | Broken | |||
|} | |||
== Installation == | == Installation == | ||
* Follow the [[Installation guide]] | |||
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}} | |||
< | <syntaxhighlight lang="shell-session"> | ||
$ pmbootstrap init # choose Vendor: qcom Device codename: msm8953 | |||
$ pmbootstrap install | |||
$ pmbootstrap flasher flash_lk2nd | |||
$ pmbootstrap flasher flash_rootfs | |||
</syntaxhighlight> | |||
</ | |||
=== 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 | |||
* '''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 | |||
== Modem == | |||
Modem works since 6.7.2. | |||
{{note|'''Note:''' Mobile data, SMS and Calls are working. Mobile data not works on every device.}} | |||
< | == Photos == | ||
<gallery> | |||
File:Ysl-unixbench.jpg|Unixbench | |||
File:Phosh-ysl.jpg|Phosh | |||
File:KDE Mobile.jpg|KDE Mobile | |||
</gallery> | |||
== See also == | == See also == | ||
* [https://github.com/msm8953-mainline/linux Kernel source] | * [https://github.com/msm8953-mainline/linux Kernel source] | ||
* {{Kernel package|postmarketos-qcom-msm8953}} | * {{Kernel package|postmarketos-qcom-msm8953|community}} | ||
* {{Device package| | * {{Device package|qcom-msm8953|community}} | ||
* {{Firmware package| | * {{Firmware package|qcom-msm8953|community}} | ||
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/community/soc-qcom-msm8953 Soc package] | |||
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/main/lk2nd lk2nd package] | |||
* [https://github.com/msm8953-mainline/lk2nd lk2nd source] | |||
* [https://github.com/msm8953-mainline/alsa-ucm-conf ALSA UCM source] | |||
* [https://www.deviceinfohw.ru/devices/item.php?item=52845 Device Info HW database entry] |
Latest revision as of 14:01, 2 September 2025
This device is supported as part of a generic port. Refer to Generic MSM8953 (qcom-msm8953) for installation instructions and more information. |
![]() | |
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 8.1 |
Extended version |
Android |
FOSS bootloader | yes |
postmarketOS | |
Category | community |
Pre-built images |
no |
Mainline |
yes |
pmOS kernel |
6.7.5 |
Unixbench score |
4109.86 |
Generic port | Generic MSM8953 (qcom-msm8953) |
Device package |
![]() |
Kernel package |
![]() |
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
|
IR TX |
Works
|
Connectivity | |
WiFi |
Works
|
Bluetooth |
Works
|
GPS |
Partial
|
Modem | |
Calls |
Works
|
SMS |
Works
|
Mobile data |
Partial
|
Miscellaneous | |
FDE |
Works
|
USB OTG |
Works
|
Sensors | |
Accelerometer |
Works
|
Magnetometer |
Broken
|
Ambient Light |
Works
|
Proximity |
Broken
|
Hall Effect |
Broken
|
Haptics |
Works
|
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
- 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, ili9881c, ili7807d | Works |
Front Camera | S5K3P8SP | Partial |
Main Back Camera | IMX486, OV12A10 | 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 init # choose Vendor: qcom Device codename: msm8953
$ 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 since 6.7.2.
Note: Mobile data, SMS and Calls are working. Mobile data not works on every device. |
Photos
-
Unixbench
-
Phosh
-
KDE Mobile