Xiaomi Redmi S2 / Redmi Y2 (xiaomi-ysl): Difference between revisions
Appearance
m Not a maintainer, not exists in the device package |
mNo edit summary |
||
(30 intermediate revisions by 5 users not shown) | |||
Line 9: | Line 9: | ||
| originalsoftware = Android | | originalsoftware = Android | ||
| originalversion = 8.1 | | originalversion = 8.1 | ||
| pmoskernel = 6.5 | | pmoskernel = 6.7.5 | ||
| 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 | ||
Line 18: | Line 18: | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| n-android = | | n-android = | ||
| type = Handset | | type = Handset | ||
| status_usbnet = Y | | status_usbnet = Y | ||
Line 32: | Line 31: | ||
| status_audio = Y | | status_audio = Y | ||
| status_bluetooth = Y | | status_bluetooth = Y | ||
| status_camera = | | status_camera = P | ||
| status_gps = | | status_gps = P | ||
| status_mobiledata = | | status_mobiledata = P | ||
| status_sms = | | status_sms = Y | ||
| status_calls = | | status_calls = Y | ||
| status_emmc = Y | | status_emmc = Y | ||
| status_otg = Y | | status_otg = Y | ||
Line 42: | Line 41: | ||
| status_accel = Y | | status_accel = Y | ||
| status_magnet = N | | status_magnet = N | ||
| status_light = | | status_light = Y | ||
| status_proximity = N | | status_proximity = N | ||
| status_hall = N | | status_hall = N | ||
| status_powersensor = Y | | status_powersensor = Y | ||
| status_fossbootloader = Y | | status_fossbootloader = Y | ||
| | | status_sdcard = Y | ||
| status_haptics = Y | |||
| booting = yes | | booting = yes | ||
| whet_dhry = 4109.86 | | whet_dhry = 4109.86 | ||
Line 54: | Line 54: | ||
== Maintainer(s) == | == Maintainer(s) == | ||
* [[User:Bczeman|Bczeman]] | * [[User:Bczeman|Bczeman]] | ||
== Contributors == | |||
* [[User:WorryNori|WorryNori]] | |||
== Users owning this device == | == Users owning this device == | ||
Line 63: | Line 66: | ||
== Mainline kernel == | == Mainline kernel == | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 68: | Line 72: | ||
! 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 | | hx8394f, ili9881c, ili7807d | ||
| class="feature feature-yes" | Works | | class="feature feature-yes" | Works | ||
|- | |- | ||
| scope="row"| Front Camera | | scope="row"| Front Camera | ||
| S5K3P8SP | | S5K3P8SP | ||
| class="feature feature- | | class="feature feature-partial" | Partial | ||
|- | |- | ||
| scope="row"| Main Back Camera | | scope="row"| Main Back Camera | ||
| IMX486 | | IMX486, OV12A10 | ||
| 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 139: | Line 129: | ||
* Follow the [[Installation guide]] | * Follow the [[Installation guide]] | ||
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}} | {{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 install | ||
$ pmbootstrap flasher flash_lk2nd | $ pmbootstrap flasher flash_lk2nd | ||
$ pmbootstrap flasher flash_rootfs | $ pmbootstrap flasher flash_rootfs | ||
</ | </syntaxhighlight> | ||
=== 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 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. | |||
<s>For fix firefox glitches</s> This was fixed in mesa recently | |||
<syntaxhighlight lang="shell-session"> | |||
$ MESA_GLES_VERSION_OVERRIDE=2.0 firefox-esr | |||
</syntaxhighlight> | |||
== | == 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] | * [https://www.deviceinfohw.ru/devices/item.php?item=52845 Device Info HW database entry] |
Latest revision as of 11:47, 1 February 2025
![]() | |
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 |
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 |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
Works |
GPS |
Partial |
Modem | |
Calls |
Works |
SMS |
Works |
Mobile data |
Partial |
Miscellaneous | |
FDE |
Works |
USB OTG |
Works |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
Works |
Magnetometer |
Broken |
Ambient Light |
Works |
Proximity |
Broken |
Hall Effect |
Broken |
Haptics |
Works |
Barometer |
No data |
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
- 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. |
GPU
Works but with some glitches.
For fix firefox glitches This was fixed in mesa recently
$ MESA_GLES_VERSION_OVERRIDE=2.0 firefox-esr
Photos
-
Unixbench
-
Phosh
-
KDE Mobile