Jump to content

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

From postmarketOS Wiki
Knuxify (talk | contribs)
m gitlab.com -> gitlab.postmarketos.org (bot edit)
Halamix2 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 47: Line 47:
| status_fossbootloader = Y
| status_fossbootloader = Y
| status_sdcard = Y
| status_sdcard = Y
| status_haptics = N
| status_haptics = Y
| booting = yes
| booting = yes
| whet_dhry = 4109.86
| whet_dhry = 4109.86
Line 129: 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.}}
<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 ===
Line 148: Line 149:
Works but with some glitches.
Works but with some glitches.


For fix firefox glitches
<s>For fix firefox glitches</s> This was fixed in mesa recently
<source lang="shell-session">
<syntaxhighlight lang="shell-session">
$ MESA_GLES_VERSION_OVERRIDE=2.0 firefox-esr
$ MESA_GLES_VERSION_OVERRIDE=2.0 firefox-esr
</source>
</syntaxhighlight>


== Photos ==
== Photos ==
Line 157: Line 158:
File:Ysl-unixbench.jpg|Unixbench
File:Ysl-unixbench.jpg|Unixbench
File:Phosh-ysl.jpg|Phosh
File:Phosh-ysl.jpg|Phosh
File:KDE Mobile.jpg|KDE Mobile
</gallery>
</gallery>


== See also ==
== See also ==
* [https://github.com/msm8953-mainline/linux Kernel source]
* [https://github.com/msm8953-mainline/linux Kernel source]
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/community/linux-postmarketos-qcom-msm8953 Kernel package]
* {{Kernel package|postmarketos-qcom-msm8953|community}}
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/community/device-xiaomi-ysl Device package]
* {{Device package|qcom-msm8953|community}}
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/community/firmware-xiaomi-ysl 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/device/community/soc-qcom-msm8953 Soc package]
* [https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/main/lk2nd-msm8953 lk2nd 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/lk2nd lk2nd source]
* [https://github.com/msm8953-mainline/alsa-ucm-conf ALSA UCM 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

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