Jump to content

Xiaomi Redmi S2 / Redmi Y2 (xiaomi-ysl): Difference between revisions

From postmarketOS Wiki
Bczeman (talk | contribs)
No edit summary
Halamix2 (talk | contribs)
mNo edit summary
 
(42 intermediate revisions by 6 users not shown)
Line 7: Line 7:
| releaseyear = 2018
| releaseyear = 2018
| category = community
| category = community
| originalsoftware = Android 8.1  
| originalsoftware = Android
| pmoskernel = 6.4.7
| originalversion = 8.1  
| 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 17: Line 18:
| architecture = aarch64
| architecture = aarch64
| n-android =  
| n-android =  
| whet_dhry =
| type = Handset
| type = handset
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = Y
| status_flashing = Y
Line 31: Line 31:
| status_audio = Y
| status_audio = Y
| status_bluetooth = Y
| status_bluetooth = Y
| status_camera = N
| status_camera = P
| status_gps = N
| status_gps = P
| status_mobiledata = N
| status_mobiledata = P
| status_sms = P
| status_sms = Y
| status_calls = P
| status_calls = Y
| status_emmc = Y
| status_otg = Y
| status_otg = Y
| status_nfc = -
| status_nfc = -
| status_accel = Y
| status_accel = Y
| status_magnet = N
| status_magnet = N
| status_light = N
| status_light = Y
| status_proximity = N
| status_proximity = N
| status_hall = N
| status_hall = N
| status_barometer = -
| status_powersensor = Y
| status_powersensor =  
| status_fossbootloader = Y
| status_usba =
| status_sdcard = Y
| status_hdmidp =
| status_haptics = Y
| status_keyboard =
| status_touchpad =
| status_irtx = -
| status_trustzone =
| status_fossbootloader =  
| status =  
| booting = yes
| booting = yes
| whet_dhry = 4109.86
}}{{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|Bczeman]]
* [[User:Bczeman|Bczeman]]
== Contributors ==
* [[User:WorryNori|WorryNori]]


== Users owning this device ==
== Users owning this device ==
Line 66: Line 65:
<!-- 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 -->


== How to enter flash mode ==
== Mainline kernel ==


Press Power and Volume Down(fastboot mode)
{| 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]]
* 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.}}
<source lang="shell-session">
<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
</source>
</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}}
{{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.}}
* '''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


== Device Notes ==
== 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>


=== Modem ===
== Photos ==
Modem works with work in progress IPA patches [https://github.com/msm8953-mainline/linux/pull/132 1]
<gallery>
{{note|'''Note:''' Mobile data is not working only calls and sms, do not enable mobile data it cause reboots.}}
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|xiaomi-ysl}}
* {{Device package|qcom-msm8953|community}}
* {{Firmware package|xiaomi-ysl}}
* {{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 11:47, 1 February 2025

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
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

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 This was fixed in mesa recently

$ MESA_GLES_VERSION_OVERRIDE=2.0 firefox-esr

Photos

See also