https://wiki.postmarketos.org/api.php?action=feedcontributions&user=M0Rf30&feedformat=atom
postmarketOS - User contributions [en]
2024-03-29T05:48:00Z
User contributions
MediaWiki 1.39.6
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_Note_6_Pro_(xiaomi-tulip)&diff=55996
Xiaomi Redmi Note 6 Pro (xiaomi-tulip)
2024-02-17T08:36:05Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi Note 6 Pro<br />
| codename = xiaomi-tulip<br />
| image = File:Xiaomi-tulip.jpg<br />
| imagecaption = Xiaomi Redmi Note 6 Pro<br />
| releaseyear = 2018<br />
| originalsoftware = Android (MIUI)<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 636 (SDM636)<br />
| cpu = 4x1.8 GHz Kryo 260 Gold & 4x1.6 GHz Kryo 260 Silver<br />
| gpu = Adreno 509<br />
| storage = 32/64 GB<br />
| display = 1080x2280 (403 PPI) IPS<br />
| memory = 3/4/6 GB<br />
| architecture = aarch64<br />
| type = handset<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = N<br />
| status_wifi = P<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = N<br />
| status_accel = N<br />
| status_audio = N<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = N<br />
| status_magnet = N<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_cameraflash = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = -<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = Y<br />
| status_emmc = Y<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.7.0<br />
}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
Here's how to boot pmOS via fastboot:<br />
<br />
# Install to a recovery flashable zip archive<br />
<code>$ pmbootstrap install --android-recovery-zip</code><br />
# Export the archive<br />
<code>$ pmbootstrap export</code><br />
# Connect the device to your PC<br />
# Enter the recovery mode and enable sideload<br />
# Finally, boot pmOS: <br />
<code>$adb sideload /tmp/postmarketOS-export/pmos-xiaomi-tulip.zip</code><br />
<br />
== Additional info ==<br />
<br />
=== Partition layout ===<br />
<pre class="shell"><br />
tulip:/ $ ls -l /dev/block/by-name<br />
total 0<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 abl -> /dev/block/mmcblk0p25<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ablbak -> /dev/block/mmcblk0p26<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 apdp -> /dev/block/mmcblk0p11<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk1 -> /dev/block/mmcblk0p49<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk2 -> /dev/block/mmcblk0p51<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bluetooth -> /dev/block/mmcblk0p38<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 boot -> /dev/block/mmcblk0p58<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cache -> /dev/block/mmcblk0p60<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib -> /dev/block/mmcblk0p21<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64 -> /dev/block/mmcblk0p23<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64bak -> /dev/block/mmcblk0p24<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlibbak -> /dev/block/mmcblk0p22<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cust -> /dev/block/mmcblk0p63<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ddr -> /dev/block/mmcblk0p28<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfg -> /dev/block/mmcblk0p31<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfgbak -> /dev/block/mmcblk0p30<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devinfo -> /dev/block/mmcblk0p43<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dip -> /dev/block/mmcblk0p27<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 dpo -> /dev/block/mmcblk0p2<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dsp -> /dev/block/mmcblk0p48<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 frp -> /dev/block/mmcblk0p14<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 fsc -> /dev/block/mmcblk0p3<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 fsg -> /dev/block/mmcblk0p45<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hyp -> /dev/block/mmcblk0p17<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hypbak -> /dev/block/mmcblk0p18<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymaster -> /dev/block/mmcblk0p36<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymasterbak -> /dev/block/mmcblk0p37<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keystore -> /dev/block/mmcblk0p13<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 limits -> /dev/block/mmcblk0p4<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logdump -> /dev/block/mmcblk0p55<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logfs -> /dev/block/mmcblk0p44<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtp -> /dev/block/mmcblk0p50<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecapp -> /dev/block/mmcblk0p34<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecappbak -> /dev/block/mmcblk0p35<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 misc -> /dev/block/mmcblk0p42<br />
lrwxrwxrwx 1 root root 18 1970-06-26 06:56 mmcblk0 -> /dev/block/mmcblk0<br />
lrwxrwxrwx 1 root root 22 1970-06-26 06:56 mmcblk0rpmb -> /dev/block/mmcblk0rpmb<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modem -> /dev/block/mmcblk0p56<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst1 -> /dev/block/mmcblk0p46<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst2 -> /dev/block/mmcblk0p47<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 msadp -> /dev/block/mmcblk0p12<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persist -> /dev/block/mmcblk0p53<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persistbak -> /dev/block/mmcblk0p54<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmic -> /dev/block/mmcblk0p19<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmicbak -> /dev/block/mmcblk0p20<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rawdump -> /dev/block/mmcblk0p57<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 recovery -> /dev/block/mmcblk0p59<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpm -> /dev/block/mmcblk0p15<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpmbak -> /dev/block/mmcblk0p16<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 sec -> /dev/block/mmcblk0p6<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 splash -> /dev/block/mmcblk0p52<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 ssd -> /dev/block/mmcblk0p5<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 sti -> /dev/block/mmcblk0p39<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 storsec -> /dev/block/mmcblk0p9<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 storsecbak -> /dev/block/mmcblk0p10<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 switch -> /dev/block/mmcblk0p1<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 system -> /dev/block/mmcblk0p61<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 toolsfv -> /dev/block/mmcblk0p29<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tz -> /dev/block/mmcblk0p32<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tzbak -> /dev/block/mmcblk0p33<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 userdata -> /dev/block/mmcblk0p64<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmeta -> /dev/block/mmcblk0p7<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmetabak -> /dev/block/mmcblk0p8<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 vendor -> /dev/block/mmcblk0p62<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xbl -> /dev/block/mmcblk0p40<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xblbak -> /dev/block/mmcblk0p41</pre><br />
<br />
== See also ==<br />
* {{MR|3668|pmaports}} Initial merge request<br />
* [https://github.com/sdm660-mainline/linux Mainline kernel source]<br />
* {{Device package|xiaomi-tulip}}<br />
* {{Firmware package|xiaomi-tulip}}<br />
* [https://github.com/LineageOS/android_device_xiaomi_twolip android_device_xiaomi_twolip]<br />
* [https://github.com/xiaomi-sdm660/android_device_xiaomi_tulip android_device_xiaomi_tulip]<br />
* [https://wiki.lineageos.org/devices/twolip/ LineageOS Wiki: Info about twolip]<br />
* [https://dl.twrp.me/tulip/ TWRP for tulip]<br />
* [http://files.tedomi.tk/evo/OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip]</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_Note_6_Pro_(xiaomi-tulip)&diff=55466
Xiaomi Redmi Note 6 Pro (xiaomi-tulip)
2024-02-04T23:32:55Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi Note 6 Pro<br />
| codename = xiaomi-tulip<br />
| image = File:Xiaomi-tulip.jpg<br />
| imagecaption = Xiaomi Redmi Note 6 Pro<br />
| releaseyear = 2018<br />
| originalsoftware = Android (MIUI)<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 636 (SDM636)<br />
| cpu = 4x1.8 GHz Kryo 260 Gold & 4x1.6 GHz Kryo 260 Silver<br />
| gpu = Adreno 509<br />
| storage = 32/64 GB<br />
| display = 1080x2280 (403 PPI) IPS<br />
| memory = 3/4/6 GB<br />
| architecture = aarch64<br />
| type = handset<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = N<br />
| status_wifi = P<br />
| status_xwayland = Y<br />
| status_fde = P<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = N<br />
| status_accel = N<br />
| status_audio = N<br />
| status_bluetooth = Y<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| booting = yes<br />
| pmoskernel = 6.3.3<br />
}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
Here's how to boot pmOS via fastboot:<br />
<br />
# Install to a recovery flashable zip archive<br />
<code>$ pmbootstrap install --android-recovery-zip</code><br />
# Export the archive<br />
<code>$ pmbootstrap export</code><br />
# Connect the device to your PC<br />
# Enter the recovery mode and enable sideload<br />
# Finally, boot pmOS: <br />
<code>$adb sideload /tmp/postmarketOS-export/pmos-xiaomi-tulip.zip</code><br />
<br />
== Additional info ==<br />
<br />
=== Partition layout ===<br />
<pre class="shell"><br />
tulip:/ $ ls -l /dev/block/by-name<br />
total 0<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 abl -> /dev/block/mmcblk0p25<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ablbak -> /dev/block/mmcblk0p26<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 apdp -> /dev/block/mmcblk0p11<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk1 -> /dev/block/mmcblk0p49<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk2 -> /dev/block/mmcblk0p51<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bluetooth -> /dev/block/mmcblk0p38<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 boot -> /dev/block/mmcblk0p58<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cache -> /dev/block/mmcblk0p60<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib -> /dev/block/mmcblk0p21<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64 -> /dev/block/mmcblk0p23<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64bak -> /dev/block/mmcblk0p24<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlibbak -> /dev/block/mmcblk0p22<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cust -> /dev/block/mmcblk0p63<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ddr -> /dev/block/mmcblk0p28<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfg -> /dev/block/mmcblk0p31<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfgbak -> /dev/block/mmcblk0p30<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devinfo -> /dev/block/mmcblk0p43<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dip -> /dev/block/mmcblk0p27<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 dpo -> /dev/block/mmcblk0p2<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dsp -> /dev/block/mmcblk0p48<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 frp -> /dev/block/mmcblk0p14<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 fsc -> /dev/block/mmcblk0p3<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 fsg -> /dev/block/mmcblk0p45<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hyp -> /dev/block/mmcblk0p17<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hypbak -> /dev/block/mmcblk0p18<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymaster -> /dev/block/mmcblk0p36<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymasterbak -> /dev/block/mmcblk0p37<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keystore -> /dev/block/mmcblk0p13<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 limits -> /dev/block/mmcblk0p4<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logdump -> /dev/block/mmcblk0p55<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logfs -> /dev/block/mmcblk0p44<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtp -> /dev/block/mmcblk0p50<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecapp -> /dev/block/mmcblk0p34<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecappbak -> /dev/block/mmcblk0p35<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 misc -> /dev/block/mmcblk0p42<br />
lrwxrwxrwx 1 root root 18 1970-06-26 06:56 mmcblk0 -> /dev/block/mmcblk0<br />
lrwxrwxrwx 1 root root 22 1970-06-26 06:56 mmcblk0rpmb -> /dev/block/mmcblk0rpmb<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modem -> /dev/block/mmcblk0p56<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst1 -> /dev/block/mmcblk0p46<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst2 -> /dev/block/mmcblk0p47<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 msadp -> /dev/block/mmcblk0p12<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persist -> /dev/block/mmcblk0p53<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persistbak -> /dev/block/mmcblk0p54<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmic -> /dev/block/mmcblk0p19<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmicbak -> /dev/block/mmcblk0p20<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rawdump -> /dev/block/mmcblk0p57<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 recovery -> /dev/block/mmcblk0p59<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpm -> /dev/block/mmcblk0p15<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpmbak -> /dev/block/mmcblk0p16<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 sec -> /dev/block/mmcblk0p6<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 splash -> /dev/block/mmcblk0p52<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 ssd -> /dev/block/mmcblk0p5<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 sti -> /dev/block/mmcblk0p39<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 storsec -> /dev/block/mmcblk0p9<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 storsecbak -> /dev/block/mmcblk0p10<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 switch -> /dev/block/mmcblk0p1<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 system -> /dev/block/mmcblk0p61<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 toolsfv -> /dev/block/mmcblk0p29<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tz -> /dev/block/mmcblk0p32<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tzbak -> /dev/block/mmcblk0p33<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 userdata -> /dev/block/mmcblk0p64<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmeta -> /dev/block/mmcblk0p7<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmetabak -> /dev/block/mmcblk0p8<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 vendor -> /dev/block/mmcblk0p62<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xbl -> /dev/block/mmcblk0p40<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xblbak -> /dev/block/mmcblk0p41</pre><br />
<br />
== See also ==<br />
* {{MR|3668|pmaports}} Initial merge request<br />
* [https://github.com/sdm660-mainline/linux Mainline kernel source]<br />
* {{Device package|xiaomi-tulip}}<br />
* {{Firmware package|xiaomi-tulip}}<br />
* [https://github.com/LineageOS/android_device_xiaomi_twolip android_device_xiaomi_twolip]<br />
* [https://github.com/xiaomi-sdm660/android_device_xiaomi_tulip android_device_xiaomi_tulip]<br />
* [https://wiki.lineageos.org/devices/twolip/ LineageOS Wiki: Info about twolip]<br />
* [https://dl.twrp.me/tulip/ TWRP for tulip]<br />
* [http://files.tedomi.tk/evo/OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip]</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_Note_6_Pro_(xiaomi-tulip)&diff=55465
Xiaomi Redmi Note 6 Pro (xiaomi-tulip)
2024-02-04T23:31:42Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi Note 6 Pro<br />
| codename = xiaomi-tulip<br />
| image = File:Xiaomi-tulip.jpg<br />
| imagecaption = Xiaomi Redmi Note 6 Pro<br />
| releaseyear = 2018<br />
| originalsoftware = Android (MIUI)<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 636 (SDM636)<br />
| cpu = 4x1.8 GHz Kryo 260 Gold & 4x1.6 GHz Kryo 260 Silver<br />
| gpu = Adreno 509<br />
| storage = 32/64 GB<br />
| display = 1080x2280 (403 PPI) IPS<br />
| memory = 3/4/6 GB<br />
| architecture = aarch64<br />
| type = handset<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = N<br />
| status_wifi = P<br />
| status_xwayland = Y<br />
| status_fde = P<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = N<br />
| status_accel = N<br />
| status_audio = N<br />
| status_bluetooth = Y<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| booting = yes<br />
| pmoskernel = 6.3.3<br />
}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
Here's how to boot pmOS via fastboot:<br />
<br />
# Install to a SD card with <br />
<code>$ pmbootstrap install --sdcard=/dev/sdX</code><br />
# Insert the SD card into the device<br />
# Connect the device to your PC<br />
# Enter the fastboot mode<br />
# Finally, boot pmOS: <br />
<code>$ pmbootstrap flasher boot</code><br />
<br />
or<br />
<br />
# Install to a recovery flashable zip archive<br />
<code>$ pmbootstrap install --android-recovery-zip</code><br />
# Export the archive<br />
<code>$ pmbootstrap export</code><br />
# Connect the device to your PC<br />
# Enter the recovery mode and enable sideload<br />
# Finally, boot pmOS: <br />
<code>$adb sideload /tmp/postmarketOS-export/pmos-xiaomi-tulip.zip</code><br />
<br />
== Additional info ==<br />
<br />
=== Partition layout ===<br />
<pre class="shell"><br />
tulip:/ $ ls -l /dev/block/by-name<br />
total 0<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 abl -> /dev/block/mmcblk0p25<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ablbak -> /dev/block/mmcblk0p26<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 apdp -> /dev/block/mmcblk0p11<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk1 -> /dev/block/mmcblk0p49<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk2 -> /dev/block/mmcblk0p51<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bluetooth -> /dev/block/mmcblk0p38<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 boot -> /dev/block/mmcblk0p58<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cache -> /dev/block/mmcblk0p60<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib -> /dev/block/mmcblk0p21<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64 -> /dev/block/mmcblk0p23<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64bak -> /dev/block/mmcblk0p24<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlibbak -> /dev/block/mmcblk0p22<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cust -> /dev/block/mmcblk0p63<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ddr -> /dev/block/mmcblk0p28<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfg -> /dev/block/mmcblk0p31<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfgbak -> /dev/block/mmcblk0p30<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devinfo -> /dev/block/mmcblk0p43<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dip -> /dev/block/mmcblk0p27<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 dpo -> /dev/block/mmcblk0p2<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dsp -> /dev/block/mmcblk0p48<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 frp -> /dev/block/mmcblk0p14<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 fsc -> /dev/block/mmcblk0p3<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 fsg -> /dev/block/mmcblk0p45<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hyp -> /dev/block/mmcblk0p17<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hypbak -> /dev/block/mmcblk0p18<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymaster -> /dev/block/mmcblk0p36<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymasterbak -> /dev/block/mmcblk0p37<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keystore -> /dev/block/mmcblk0p13<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 limits -> /dev/block/mmcblk0p4<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logdump -> /dev/block/mmcblk0p55<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logfs -> /dev/block/mmcblk0p44<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtp -> /dev/block/mmcblk0p50<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecapp -> /dev/block/mmcblk0p34<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecappbak -> /dev/block/mmcblk0p35<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 misc -> /dev/block/mmcblk0p42<br />
lrwxrwxrwx 1 root root 18 1970-06-26 06:56 mmcblk0 -> /dev/block/mmcblk0<br />
lrwxrwxrwx 1 root root 22 1970-06-26 06:56 mmcblk0rpmb -> /dev/block/mmcblk0rpmb<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modem -> /dev/block/mmcblk0p56<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst1 -> /dev/block/mmcblk0p46<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst2 -> /dev/block/mmcblk0p47<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 msadp -> /dev/block/mmcblk0p12<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persist -> /dev/block/mmcblk0p53<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persistbak -> /dev/block/mmcblk0p54<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmic -> /dev/block/mmcblk0p19<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmicbak -> /dev/block/mmcblk0p20<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rawdump -> /dev/block/mmcblk0p57<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 recovery -> /dev/block/mmcblk0p59<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpm -> /dev/block/mmcblk0p15<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpmbak -> /dev/block/mmcblk0p16<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 sec -> /dev/block/mmcblk0p6<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 splash -> /dev/block/mmcblk0p52<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 ssd -> /dev/block/mmcblk0p5<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 sti -> /dev/block/mmcblk0p39<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 storsec -> /dev/block/mmcblk0p9<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 storsecbak -> /dev/block/mmcblk0p10<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 switch -> /dev/block/mmcblk0p1<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 system -> /dev/block/mmcblk0p61<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 toolsfv -> /dev/block/mmcblk0p29<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tz -> /dev/block/mmcblk0p32<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tzbak -> /dev/block/mmcblk0p33<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 userdata -> /dev/block/mmcblk0p64<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmeta -> /dev/block/mmcblk0p7<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmetabak -> /dev/block/mmcblk0p8<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 vendor -> /dev/block/mmcblk0p62<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xbl -> /dev/block/mmcblk0p40<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xblbak -> /dev/block/mmcblk0p41</pre><br />
<br />
== See also ==<br />
* {{MR|3668|pmaports}} Initial merge request<br />
* [https://github.com/sdm660-mainline/linux Mainline kernel source]<br />
* {{Device package|xiaomi-tulip}}<br />
* {{Firmware package|xiaomi-tulip}}<br />
* [https://github.com/LineageOS/android_device_xiaomi_twolip android_device_xiaomi_twolip]<br />
* [https://github.com/xiaomi-sdm660/android_device_xiaomi_tulip android_device_xiaomi_tulip]<br />
* [https://wiki.lineageos.org/devices/twolip/ LineageOS Wiki: Info about twolip]<br />
* [https://dl.twrp.me/tulip/ TWRP for tulip]<br />
* [http://files.tedomi.tk/evo/OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip]</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_Note_6_Pro_(xiaomi-tulip)&diff=55464
Xiaomi Redmi Note 6 Pro (xiaomi-tulip)
2024-02-04T23:31:24Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi Note 6 Pro<br />
| codename = xiaomi-tulip<br />
| image = File:Xiaomi-tulip.jpg<br />
| imagecaption = Xiaomi Redmi Note 6 Pro<br />
| releaseyear = 2018<br />
| originalsoftware = Android (MIUI)<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 636 (SDM636)<br />
| cpu = 4x1.8 GHz Kryo 260 Gold & 4x1.6 GHz Kryo 260 Silver<br />
| gpu = Adreno 509<br />
| storage = 32/64 GB<br />
| display = 1080x2280 (403 PPI) IPS<br />
| memory = 3/4/6 GB<br />
| architecture = aarch64<br />
| type = handset<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = N<br />
| status_wifi = P<br />
| status_xwayland = Y<br />
| status_fde = P<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = N<br />
| status_accel = N<br />
| status_audio = N<br />
| status_bluetooth = Y<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| booting = yes<br />
| pmoskernel = 6.3.3<br />
}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
Here's how to boot pmOS via fastboot:<br />
<br />
# Install to a SD card with <br />
<code>$ pmbootstrap install --sdcard=/dev/sdX</code><br />
# Insert the SD card into the device<br />
# Connect the device to your PC<br />
# Enter the fastboot mode<br />
# Finally, boot pmOS: <br />
<code>$ pmbootstrap flasher boot</code><br />
<br />
or<br />
<br />
# Install to a recovery flashable zip archive<br />
<code>$ pmbootstrap install --android-recovery-zip</code><br />
# Export the archive<br />
<code>$ pmbootstrap export --android-recovery-zip</code><br />
# Connect the device to your PC<br />
# Enter the recovery mode and enable sideload<br />
# Finally, boot pmOS: <br />
<code>$adb sideload /tmp/postmarketOS-export/pmos-xiaomi-tulip.zip</code><br />
<br />
== Additional info ==<br />
<br />
=== Partition layout ===<br />
<pre class="shell"><br />
tulip:/ $ ls -l /dev/block/by-name<br />
total 0<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 abl -> /dev/block/mmcblk0p25<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ablbak -> /dev/block/mmcblk0p26<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 apdp -> /dev/block/mmcblk0p11<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk1 -> /dev/block/mmcblk0p49<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk2 -> /dev/block/mmcblk0p51<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bluetooth -> /dev/block/mmcblk0p38<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 boot -> /dev/block/mmcblk0p58<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cache -> /dev/block/mmcblk0p60<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib -> /dev/block/mmcblk0p21<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64 -> /dev/block/mmcblk0p23<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64bak -> /dev/block/mmcblk0p24<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlibbak -> /dev/block/mmcblk0p22<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cust -> /dev/block/mmcblk0p63<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ddr -> /dev/block/mmcblk0p28<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfg -> /dev/block/mmcblk0p31<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfgbak -> /dev/block/mmcblk0p30<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devinfo -> /dev/block/mmcblk0p43<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dip -> /dev/block/mmcblk0p27<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 dpo -> /dev/block/mmcblk0p2<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dsp -> /dev/block/mmcblk0p48<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 frp -> /dev/block/mmcblk0p14<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 fsc -> /dev/block/mmcblk0p3<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 fsg -> /dev/block/mmcblk0p45<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hyp -> /dev/block/mmcblk0p17<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hypbak -> /dev/block/mmcblk0p18<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymaster -> /dev/block/mmcblk0p36<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymasterbak -> /dev/block/mmcblk0p37<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keystore -> /dev/block/mmcblk0p13<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 limits -> /dev/block/mmcblk0p4<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logdump -> /dev/block/mmcblk0p55<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logfs -> /dev/block/mmcblk0p44<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtp -> /dev/block/mmcblk0p50<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecapp -> /dev/block/mmcblk0p34<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecappbak -> /dev/block/mmcblk0p35<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 misc -> /dev/block/mmcblk0p42<br />
lrwxrwxrwx 1 root root 18 1970-06-26 06:56 mmcblk0 -> /dev/block/mmcblk0<br />
lrwxrwxrwx 1 root root 22 1970-06-26 06:56 mmcblk0rpmb -> /dev/block/mmcblk0rpmb<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modem -> /dev/block/mmcblk0p56<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst1 -> /dev/block/mmcblk0p46<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst2 -> /dev/block/mmcblk0p47<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 msadp -> /dev/block/mmcblk0p12<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persist -> /dev/block/mmcblk0p53<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persistbak -> /dev/block/mmcblk0p54<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmic -> /dev/block/mmcblk0p19<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmicbak -> /dev/block/mmcblk0p20<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rawdump -> /dev/block/mmcblk0p57<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 recovery -> /dev/block/mmcblk0p59<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpm -> /dev/block/mmcblk0p15<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpmbak -> /dev/block/mmcblk0p16<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 sec -> /dev/block/mmcblk0p6<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 splash -> /dev/block/mmcblk0p52<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 ssd -> /dev/block/mmcblk0p5<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 sti -> /dev/block/mmcblk0p39<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 storsec -> /dev/block/mmcblk0p9<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 storsecbak -> /dev/block/mmcblk0p10<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 switch -> /dev/block/mmcblk0p1<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 system -> /dev/block/mmcblk0p61<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 toolsfv -> /dev/block/mmcblk0p29<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tz -> /dev/block/mmcblk0p32<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tzbak -> /dev/block/mmcblk0p33<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 userdata -> /dev/block/mmcblk0p64<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmeta -> /dev/block/mmcblk0p7<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmetabak -> /dev/block/mmcblk0p8<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 vendor -> /dev/block/mmcblk0p62<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xbl -> /dev/block/mmcblk0p40<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xblbak -> /dev/block/mmcblk0p41</pre><br />
<br />
== See also ==<br />
* {{MR|3668|pmaports}} Initial merge request<br />
* [https://github.com/sdm660-mainline/linux Mainline kernel source]<br />
* {{Device package|xiaomi-tulip}}<br />
* {{Firmware package|xiaomi-tulip}}<br />
* [https://github.com/LineageOS/android_device_xiaomi_twolip android_device_xiaomi_twolip]<br />
* [https://github.com/xiaomi-sdm660/android_device_xiaomi_tulip android_device_xiaomi_tulip]<br />
* [https://wiki.lineageos.org/devices/twolip/ LineageOS Wiki: Info about twolip]<br />
* [https://dl.twrp.me/tulip/ TWRP for tulip]<br />
* [http://files.tedomi.tk/evo/OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip OrangeFox-R11.1_4.19-A12-231014_143743-Unofficial-tulip.zip]</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=55385
Xiaomi Redmi 5 Plus (xiaomi-vince)
2024-02-01T23:50:52Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android (MIUI)<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| category = community<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
| type = Handset<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = P<br />
| status_gps =<br />
| status_mobiledata = P<br />
| status_sms = Y<br />
| status_calls = P<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_cameraflash = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = -<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_emmc = Y<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.7.2<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs --partition userdata<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Modem ===<br />
Modem works with ipa-lite on 6.7.0/main [https://github.com/msm8953-mainline/linux/commits/6.7.0/main/ 1]<br />
<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
=== Touchscreen ===<br />
<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Supported<br />
|-<br />
| RMI4<br />
| Synaptics<br />
| Yes<br />
|-<br />
| NT36672<br />
| Novatek<br />
| Partially (disabled in dts)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi-vince&diff=49748
Xiaomi-vince
2023-10-20T21:07:53Z
<p>M0Rf30: Redirected page to Xiaomi Redmi 5 Plus (xiaomi-vince)</p>
<hr />
<div>#REDIRECT [[Xiaomi Redmi 5 Plus (xiaomi-vince)]]</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=49480
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-10-17T09:00:57Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| category = community<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
| type = handset<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = P<br />
| status_calls = P<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_cameraflash = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = -<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.5.2<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Modem ===<br />
Modem works with work in progress IPA patches [https://github.com/msm8953-mainline/linux/pull/132 1]<br />
{{note|'''Note:''' Mobile data is not working only calls and sms, do not enable mobile data it cause reboots.}}<br />
<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
=== Touchscreen ===<br />
<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Supported<br />
|-<br />
| RMI4<br />
| Synaptics<br />
| Yes<br />
|-<br />
| NT36672<br />
| Novatek<br />
| WIP [https://github.com/msm8953-mainline/linux/pull/135 1]<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Qualcomm_Snapdragon_450/625/626/632_(MSM8953)&diff=49446
Qualcomm Snapdragon 450/625/626/632 (MSM8953)
2023-10-15T14:22:51Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox soc<br />
| name = MSM8953<br />
| codenames = msmtitanium/apqtitanium<br />
| manufacturer = Qualcomm<br />
| community_page = https://github.com/msm8953-mainline<br />
| arch = aarch64<br />
| cpu = 8x 1.8/2.0/2.2 GHz ARM Cortex-A53 (SDM450/625/626)<br />
4x 1.8 GHz Kryo250 Gold +<br />
4x 1.8 GHz Kryo250 Silver (SDM632)<br />
| gpu = Adreno 506<br />
| year = 2016<br />
| process = 14<br />
| mainline = partial<br />
| status_cpu = Y<br />
| status_uart = Y<br />
| status_storage = Y<br />
| status_usb = Y<br />
| status_display = Y<br />
| status_gpu = Y<br />
| status_pinctrl = Y<br />
| status_i2c = Y<br />
| status_spi = Y<br />
| status_pinctrl = Y<br />
| status_audio = Y<br />
| status_video = Y<br />
| status_thermal = Y<br />
| status_wifi = Y<br />
| status_bluetooth = Y<br />
| status_modem = P<br />
| status_camera = P<br />
| status_suspend = P<br />
}}<br />
<br />
[https://www.qualcomm.com/products/snapdragon-450-mobile-platform SDM450]/[https://www.qualcomm.com/products/snapdragon-625-mobile-platform SDM625]/[https://www.qualcomm.com/products/snapdragon-626-mobile-platform SDM626]/[https://www.qualcomm.com/products/snapdragon-632-mobile-platform SDM632]/[https://www.qualcomm.com/products/apq8053 APQ8053] are Qualcomm SoCs released from 2016. According to Wikipedia, SDM450/625/626/632 are all pin and software compatible. [[Qualcomm Snapdragon 425/427/430/435 (MSM8917/MSM8920/MSM8937/MSM8940)]] are software compatible with them.<br />
<br />
== Devices ==<br />
=== Snapdragon 450 ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline,Category<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Booting and (Devices.chipset='Qualcomm Snapdragon 450 (MSM8953)' or Devices.chipset='Qualcomm Snapdragon 450 (SDM450)')<br />
|more results text=<br />
}}<br />
<br />
=== Snapdragon 625 ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline,Category<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Booting and Devices.chipset='Qualcomm Snapdragon 625 (MSM8953)'<br />
|more results text=<br />
}}<br />
<br />
=== Snapdragon 626 ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline,Category<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Booting and Devices.chipset='Qualcomm Snapdragon 626 (MSM8953)'<br />
|more results text=<br />
}}<br />
<br />
=== Snapdragon 632 ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline,Category<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Booting and Devices.chipset='Qualcomm Snapdragon 632 (SDM632)'<br />
|more results text=<br />
}}<br />
<br />
=== APQ8053 ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline,Category<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Booting and Devices.chipset='Qualcomm APQ8053'<br />
|more results text=<br />
}}<br />
<br />
== Camera ==<br />
Camera is able to perform RAW capture only.<br />
<br />
== GPU ==<br />
GPU preemption (only supported on some 5xx GPUs) is disabled because of deadlock problem in msm drm driver.<br />
<br />
== Audio ==<br />
Audio works. MSM8953 uses an updated codec from as MSM8916 (cajon-v2). Each device needs its own alsa ucm conf file, you can find examples from MSM8916 here: https://github.com/msm8916-mainline/alsa-ucm-conf or MSM8953 https://github.com/msm8953-mainline/alsa-ucm-conf<br />
<br />
== Video Encoder / Decoder (Venus) ==<br />
Venus works. It exposes 2 v4l2 devices, one for encode and one for decode. They can be used via gstreamer, or mpv. For mpv, you need to add <code>hwdec=auto</code> to your <code>~/.config/mpv/mpv.conf</code>. Sample files can be obtained from http://samplemedia.linaro.org/ SDM450 based devices are limited by the firmware to 1080p encode/decode, while SDM625/632 based devices are able to do 4Kp30 decode, and 1080p encode. Supported formats are: VP8, VP9, MPEG2, H.264 and H.265.<br />
<br />
Alternatively, gstreamer can be used to test v4l2:<br />
<br />
<source lang="shell-session"><br />
$ # test h264<br />
$ gst-launch-1.0 -e filesrc location="/path/to/video.mp4" ! qtdemux name=d d.video_0 ! h264parse ! v4l2h264dec capture-io-mode=dmabuf ! kmssink d.audio_0 ! queue ! aacparse ! faad ! autoaudiosink<br />
$ # test h265<br />
$ gst-launch-1.0 filesrc location=big_buck_bunny.mp4 ! qtdemux ! queue ! h265parse ! v4l2h265dec ! imxvideoconvert_g2d ! queue ! autovideosink</source><br />
<br />
== Modem ==<br />
The modem boots, but unlike older qcom modems which use SMD to communicate, it uses QRTR. QRTR is not yet supported by some userspace tools, which limits modem usability. Modem Manager recently added support with this MR[https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/470], however it does not work on MSM8953 just yet. A patched version of ofono with rudimentary QRTR support is available here: https://github.com/msm8953-mainline/ofono . With this fork it is possible to make calls and send/receive SMSs too.<br />
<br />
For dual sim devices, these instructions may be needed : https://wiki.postmarketos.org/wiki/User:TravMurav/Dual-Sim_QMI_draft#Now_you_can_try_to_select_an_application_on_your_SIM . Phone calls require <code>q6voiced</code>, with the following in <code>/etc/conf.d/q6voiced</code><br />
<source lang="shell"><br />
q6voice_card=0<br />
q6voice_device=4<br />
</source><br />
<br />
Motorola devices need IPA support for the modem to work. They also need a patched tqftpserv: https://github.com/sirSireesh/tqftpserv . Modem related firmware files need to be copied into <code>/tmp</code> as done by this script: https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/testing/firmware-motorola-potter/moto-modem-rfs-setup.openrc Other device quirks will be listed here as they are discovered.<br />
<br />
== Mainlining ==<br />
MSM8953 is almost as great platform to get started with mainlining as MSM8916! The [[MSM8916 Mainlining]] guide is quite relevant to it.</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=48227
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-09-08T14:08:11Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_cameraflash = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = -<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.4.7<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=48224
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-09-08T12:06:38Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_cameraflash = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = -<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.4.7<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=48219
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-09-08T08:53:19Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_cameraflash = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.4.7<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=48218
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-09-08T08:50:49Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_cameraflash = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.4.7<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs --partition userdata<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=48217
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-09-08T08:48:00Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.4.7<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs --partition userdata<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=48215
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-09-08T08:47:30Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.4.7<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs --partition userdata<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
<br />
== Audio ==<br />
Only speaker is not supported yet.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel.<br />
These are not supported yet in mainline kernel.<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=48214
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-09-08T08:43:45Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.4.7<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
* Follow the [[Installation guide]]<br />
{{Note|'''Note:''' [[lk2nd]] is a hard dependency, without it the mainline kernel will not select the panel.}}<br />
<source lang="shell-session"><br />
$ pmbootstrap install<br />
$ pmbootstrap flasher flash_lk2nd<br />
$ pmbootstrap flasher flash_rootfs --partition userdata<br />
</source><br />
<br />
=== How to enter flash mode ===<br />
* '''Stock Fastboot''': Power on the device with both {{Button|Power}} and {{Button|Volume Down}} buttons<br />
* '''lk2nd Fastboot''': Power on the device. After it vibrates, hold {{Button|Volume Down}}<br />
{{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.}}<br />
* '''Recovery''': Power on the device with both {{Button|Power}} and {{Button|Volume Up}} buttons<br />
<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Audio ==<br />
Soundcard is correctly detected and a dedicated ALSA UCM2 is provided.<br />
<br />
You can find it under <code>/usr/share/alsa/ucm2/xiaomi-vnce</code><br />
<br />
Both primary and secondary microphones work on recording.<br />
Headset microphone is reported to work.<br />
<br />
Media buttions work (play/pause, vol+/vol-).<br />
<br />
Playback only works on headphones. (Speaker is not supported yet).<br />
<br />
The ALSA UCM2 profile for vince is very similar to motorola-ocean and xiaomi-mido (provided by soc-qcom-msm8916-ucm package). In this case CS-Voice and Speaker entries are simply bypassed, to make everything work.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46218
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:25:40Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Audio ==<br />
Soundcard is correctly detected and a dedicated ALSA UCM2 is provided.<br />
<br />
You can find it under <code>/usr/share/alsa/ucm2/xiaomi-vnce</code><br />
<br />
Both primary and secondary microphones work on recording.<br />
Headset microphone is reported to work.<br />
<br />
Media buttions work (play/pause, vol+/vol-).<br />
<br />
Playback only works on headphones. (Speaker is not supported yet).<br />
<br />
The ALSA UCM2 profile for vince is very similar to motorola-ocean and xiaomi-mido (provided by soc-qcom-msm8916-ucm package). In this case CS-Voice and Speaker entries are simply bypassed, to make everything work.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46217
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:23:01Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Audio ==<br />
Soundcard is correctly detected and a dedicated ALSA UCM2 is provided.<br />
<br />
You can find it under /usr/share/alsa/ucm2/xiaomi-vnce<br />
<br />
Both primary and secondary microphones work on recording.<br />
Headset microphone is reported to work.<br />
<br />
Media buttions work (play/pause, vol+/-).<br />
<br />
Playback only works on headphones. (Speaker is not supported yet).<br />
<br />
The ALSA UCM2 profile for vince is very similar to motorola-ocean and xiaomi-mido (provided by soc-qcom-msm8916-ucm package). In this case CS-Voice and Speaker entries are simply bypassed, to make everything work.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46216
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:22:26Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Audio ==<br />
Soundcard is correctly detected and a dedicated ALSA UCM2 is provided.<br />
<br />
You can find it under /usr/share/alsa/ucm2/xiaomi-vnce<br />
<br />
Both primary and secondary microphones work on recording.<br />
Headset microphone is reported to work.<br />
<br />
Media buttions work (play/pause, vol+/-).<br />
<br />
Playback only works on headphones. (Speaker is not supported yet).<br />
The ALSA UCM2 profile for vince is very similar to motorola-ocean and xiaomi-mido (provided by soc-qcom-msm8916-ucm package). In this case CS-Voice and Speaker entries are simply bypassed, to make everything work.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46215
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:20:54Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Audio ==<br />
Soundcard is correctly detected and a dedicated ALSA UCM2 is provided.<br />
<br />
You can find it under /usr/share/alsa/ucm2/xiaomi-vnce<br />
<br />
Both primary and secondary microphones work on recording.<br />
Playback only works on headphones. (Speaker is not supported yet).<br />
The ALSA UCM2 profile for vince is very similar to motorola-ocean and xiaomi-mido (provided by soc-qcom-msm8916-ucm package). In this case CS-Voice and Speaker entries are simply bypassed, to make everything work.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46214
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:20:09Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Audio ==<br />
Soundcard is correctly detected and a dedicated ucm2 is provided.<br />
Both primary and secondary microphones work on recording.<br />
Playback only works on headphones. (Speaker is not supported yet).<br />
The ALSA UCM2 profile for vince is very similar to motorola-ocean and xiaomi-mido (provided by soc-qcom-msm8916-ucm package). In this case CS-Voice and Speaker entries are simply bypassed, to make everything work.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46212
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:19:24Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Audio ==<br />
Soundcard is correctly detected and a dedicated ucm2 is provided.<br />
Both primary and seconday microphones work on recording.<br />
Playback only works on headphones. (Speaker is not supported yet).<br />
The ALSA UCM2 profile for vince is very similar to motorola-ocean and xiaomi-mido (provided by soc-qcom-msm8916-ucm package). In this case CS-Voice and Speaker entries are simply bypassed, to make everything work.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46210
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:15:33Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=46209
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-07-04T19:13:42Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = Y<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_Note_6_Pro_(xiaomi-tulip)&diff=44794
Xiaomi Redmi Note 6 Pro (xiaomi-tulip)
2023-06-03T13:31:11Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi Note 6 Pro<br />
| codename = xiaomi-tulip<br />
| image = File:Xiaomi-tulip.jpg<br />
| imagecaption = Xiaomi Redmi Note 6 Pro<br />
| releaseyear = 2018<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 636 (SDM636)<br />
| cpu = 4x1.8 GHz Kryo 260 Gold & 4x1.6 GHz Kryo 260 Silver<br />
| gpu = Adreno 509<br />
| storage = 32/64 GB<br />
| display = 1080x2280 (403 PPI) IPS<br />
| memory = 3/4/6 GB<br />
| architecture = aarch64<br />
| type = handset<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = N<br />
| status_wifi = P<br />
| status_xwayland = Y<br />
| status_fde = P<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = N<br />
| status_accel = N<br />
| status_audio = N<br />
| status_bluetooth = N<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| booting = yes<br />
| pmoskernel = 6.3.3<br />
}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
Here's how to boot pmOS via fastboot:<br />
<br />
# Install to a SD card with <br />
<code>$ pmbootstrap install --sdcard=/dev/sdX</code><br />
# Insert the SD card into the device<br />
# Connect the device to your PC<br />
# Enter the fastboot mode<br />
# Finally, boot pmOS: <br />
<code>$ pmbootstrap flasher boot</code><br />
<br />
or <br />
# Enter the fastboot mode<br />
# Flash system <br />
<code>$ pmbootstrap flasher flash_system</code><br />
# Flash kernel <br />
<code>$ pmbootstrap flasher flash_kernel</code><br />
# Finally, reboot into pmOS: <br />
<code>$ fastboot reboot</code><br />
<br />
== Additional info ==<br />
<br />
=== Partition layout ===<br />
<pre class="shell"><br />
tulip:/ $ ls -l /dev/block/by-name<br />
total 0<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 abl -> /dev/block/mmcblk0p25<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ablbak -> /dev/block/mmcblk0p26<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 apdp -> /dev/block/mmcblk0p11<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk1 -> /dev/block/mmcblk0p49<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bk2 -> /dev/block/mmcblk0p51<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 bluetooth -> /dev/block/mmcblk0p38<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 boot -> /dev/block/mmcblk0p58<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cache -> /dev/block/mmcblk0p60<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib -> /dev/block/mmcblk0p21<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64 -> /dev/block/mmcblk0p23<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlib64bak -> /dev/block/mmcblk0p24<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cmnlibbak -> /dev/block/mmcblk0p22<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 cust -> /dev/block/mmcblk0p63<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 ddr -> /dev/block/mmcblk0p28<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfg -> /dev/block/mmcblk0p31<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devcfgbak -> /dev/block/mmcblk0p30<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 devinfo -> /dev/block/mmcblk0p43<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dip -> /dev/block/mmcblk0p27<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 dpo -> /dev/block/mmcblk0p2<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 dsp -> /dev/block/mmcblk0p48<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 frp -> /dev/block/mmcblk0p14<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 fsc -> /dev/block/mmcblk0p3<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 fsg -> /dev/block/mmcblk0p45<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hyp -> /dev/block/mmcblk0p17<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 hypbak -> /dev/block/mmcblk0p18<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymaster -> /dev/block/mmcblk0p36<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keymasterbak -> /dev/block/mmcblk0p37<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 keystore -> /dev/block/mmcblk0p13<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 limits -> /dev/block/mmcblk0p4<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logdump -> /dev/block/mmcblk0p55<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 logfs -> /dev/block/mmcblk0p44<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtp -> /dev/block/mmcblk0p50<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecapp -> /dev/block/mmcblk0p34<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 mdtpsecappbak -> /dev/block/mmcblk0p35<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 misc -> /dev/block/mmcblk0p42<br />
lrwxrwxrwx 1 root root 18 1970-06-26 06:56 mmcblk0 -> /dev/block/mmcblk0<br />
lrwxrwxrwx 1 root root 22 1970-06-26 06:56 mmcblk0rpmb -> /dev/block/mmcblk0rpmb<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modem -> /dev/block/mmcblk0p56<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst1 -> /dev/block/mmcblk0p46<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 modemst2 -> /dev/block/mmcblk0p47<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 msadp -> /dev/block/mmcblk0p12<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persist -> /dev/block/mmcblk0p53<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 persistbak -> /dev/block/mmcblk0p54<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmic -> /dev/block/mmcblk0p19<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 pmicbak -> /dev/block/mmcblk0p20<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rawdump -> /dev/block/mmcblk0p57<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 recovery -> /dev/block/mmcblk0p59<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpm -> /dev/block/mmcblk0p15<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 rpmbak -> /dev/block/mmcblk0p16<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 sec -> /dev/block/mmcblk0p6<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 splash -> /dev/block/mmcblk0p52<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 ssd -> /dev/block/mmcblk0p5<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 sti -> /dev/block/mmcblk0p39<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 storsec -> /dev/block/mmcblk0p9<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 storsecbak -> /dev/block/mmcblk0p10<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 switch -> /dev/block/mmcblk0p1<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 system -> /dev/block/mmcblk0p61<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 toolsfv -> /dev/block/mmcblk0p29<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tz -> /dev/block/mmcblk0p32<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 tzbak -> /dev/block/mmcblk0p33<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 userdata -> /dev/block/mmcblk0p64<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmeta -> /dev/block/mmcblk0p7<br />
lrwxrwxrwx 1 root root 20 1970-06-26 06:56 vbmetabak -> /dev/block/mmcblk0p8<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 vendor -> /dev/block/mmcblk0p62<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xbl -> /dev/block/mmcblk0p40<br />
lrwxrwxrwx 1 root root 21 1970-06-26 06:56 xblbak -> /dev/block/mmcblk0p41</pre><br />
<br />
== See also ==<br />
* {{MR|3668|pmaports}} Initial merge request<br />
* [https://github.com/sdm660-mainline/linux Mainline kernel source]<br />
* {{Device package|xiaomi-tulip}}<br />
* {{Firmware package|xiaomi-tulip}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43931
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-30T22:10:09Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = -<br />
| status_irtx = P<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43850
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-27T14:07:30Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = N<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = N<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43849
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-27T14:07:04Z
<p>M0Rf30: /* Sensors */</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = -<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = N<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light / Proximity<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX (works as gpio key)<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43848
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-27T14:05:13Z
<p>M0Rf30: /* Sensors */</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = -<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = N<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALS / PS (same ALS registers of Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1] with no PS part)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43847
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-27T12:47:32Z
<p>M0Rf30: /* Sensors */</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = -<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = N<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL (on some variants) [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 (on some variants) [https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43846
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-27T12:46:48Z
<p>M0Rf30: /* Sensors */</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = -<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = N<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [on some variants https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Accelerometer / Gyroscope<br />
| Bosch<br />
| BMI120 [on some variants https://github.com/msm8953-mainline/linux/pull/92 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43842
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-26T18:05:16Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = -<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = N<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43841
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-26T18:05:02Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_ethernet = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = -<br />
| status_keyboard = -<br />
| status_touchpad = -<br />
| status_usba = Y<br />
| status_irrx = N<br />
| status_irtx = N<br />
| status_stylus = -<br />
| status_haptics = N<br />
| status_fossbootloader = N<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43840
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-26T17:59:55Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_powersensor = -<br />
| status_proximity = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43832
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-26T10:08:05Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_proximity = -<br />
| booting = yes<br />
| pmoskernel = 6.3.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43827
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-26T09:46:09Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_proximity = -<br />
| booting = yes<br />
| pmoskernel = 6.3_rc4<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43825
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-26T09:45:30Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_hall = Y<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_proximity = N<br />
| booting = yes<br />
| pmoskernel = 6.3_rc4<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
Works perfectly with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43775
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-24T16:00:52Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_hall = N<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_proximity = N<br />
| booting = yes<br />
| pmoskernel = 6.3_rc4<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
=== Mainline kernel ===<br />
<br />
Works perfectly even with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report doesn't works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43774
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-24T15:56:44Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = P<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_hall = N<br />
| status_light = Y<br />
| status_magnet = P<br />
| status_proximity = N<br />
| booting = yes<br />
| pmoskernel = 6.3_rc4<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
=== Mainline kernel ===<br />
<br />
Works perfectly even with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report doesn't works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43772
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-24T15:49:21Z
<p>M0Rf30: /* Sensors */</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = P<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_magnetometer = P<br />
| booting = yes<br />
| pmoskernel = 6.1.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
=== Mainline kernel ===<br />
<br />
Works perfectly even with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report doesn't works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A [https://github.com/msm8953-mainline/linux/commit/efd41a5f7050eba80fb34b3f2089dec86db185ef 1])<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=43771
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-04-24T15:48:31Z
<p>M0Rf30: /* Sensors */</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = P<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_magnetometer = P<br />
| booting = yes<br />
| pmoskernel = 6.1.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
=== Mainline kernel ===<br />
<br />
Works perfectly even with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report doesn't works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS (seems to work with Liteon LTRF216A)<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_POCO_X5_Pro_(xiaomi-redwood)&diff=38240
Xiaomi POCO X5 Pro (xiaomi-redwood)
2023-04-12T00:36:32Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = POCO X5 Pro / Redmi Note 12 Pro Speed<br />
| codename = xiaomi-redwood<br />
| image = File:Pocox5pro.webp<br />
| imagecaption = POCO X5 Pro<br />
| releaseyear = 2023<br />
| originalsoftware = Android<br />
| originalversion = 12<br />
| chipset = Qualcomm Snapdragon 778G (SM7325)<br />
| cpu = Octa-core (1x2.4 GHz Cortex-A78 & 3x2.2 GHz Cortex-A78 & 4x1.9 GHz Cortex-A55)<br />
| gpu = Adreno 642L<br />
| storage = 128/256 GB<br />
| display = 1080x2400 (395 PPI) AMOLED<br />
| memory = 6/8 GB UFS 2.2<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = -<br />
| status_flashing = -<br />
| status_touch = -<br />
| status_screen = -<br />
| status_wifi = -<br />
| status_xwayland = -<br />
| status_fde = -<br />
| status_mainline = -<br />
| status_battery = -<br />
| status_3d = -<br />
| status_accel = -<br />
| status_audio = -<br />
| status_bluetooth = -<br />
| status_hdmidp = -<br />
| status_camera = -<br />
| status_gps = -<br />
| status_mobiledata = -<br />
| status_sms = -<br />
| status_calls = -<br />
| status_otg = -<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_magnetometer = -<br />
| booting = -<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_778G/778G%2B/782G_(SM7325)|Snapdragon 778G}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=File:Pocox5pro.webp&diff=38239
File:Pocox5pro.webp
2023-04-12T00:36:10Z
<p>M0Rf30: </p>
<hr />
<div></div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=User:M0Rf30&diff=38238
User:M0Rf30
2023-04-12T00:30:24Z
<p>M0Rf30: /* Owns devices */</p>
<hr />
<div><div style="float: right;"><br />
{{User_main_device|Xiaomi Redmi Note 6 Pro(xiaomi-tulip)}}<br />
{{User ports|2}}<br />
{{User GitLab|M0Rf30}}<br />
{{User mainline attempts}}<br />
</div><br />
<br />
== Owns devices ==<br />
{{My devices}}<br />
{{Owns device|Kobo_Libra_H2O_(kobo-librah2o)}}<br />
{{Owns device|Xiaomi_Redmi_5_Plus_(xiaomi-vince)}}<br />
{{Owns device|Xiaomi_Redmi_Note_6_Pro_(xiaomi-tulip)}}<br />
{{Owns device|Xiaomi_POCO_X5_Pro_/_Redmi_Note_12_Pro_Speed_(xiaomi-redwood)}}<br />
{{Owns device|Samsung_Galaxy_A7_2018_(samsung-a7y18lte)}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=User:M0Rf30&diff=38237
User:M0Rf30
2023-04-12T00:28:36Z
<p>M0Rf30: </p>
<hr />
<div><div style="float: right;"><br />
{{User_main_device|Xiaomi Redmi Note 6 Pro(xiaomi-tulip)}}<br />
{{User ports|2}}<br />
{{User GitLab|M0Rf30}}<br />
{{User mainline attempts}}<br />
</div><br />
<br />
== Owns devices ==<br />
{{Owns device|Kobo_Libra_H2O_(kobo-librah2o)}}<br />
{{Owns device|Xiaomi_Redmi_5_Plus_(xiaomi-vince)}}<br />
{{Owns device|Xiaomi_Redmi_Note_6_Pro_(xiaomi-tulip)}}<br />
{{Owns device|Xiaomi_POCO_X5_Pro_/_Redmi_Note_12_Pro_Speed_(xiaomi-redwood)}}<br />
{{Owns device|Samsung_Galaxy_A7_2018_(samsung-a7y18lte)}}<br />
<br />
{{My devices}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_POCO_X5_Pro_(xiaomi-redwood)&diff=38236
Xiaomi POCO X5 Pro (xiaomi-redwood)
2023-04-12T00:26:27Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = POCO X5 Pro / Redmi Note 12 Pro Speed<br />
| codename = xiaomi-redwood<br />
| image = File:redwood.png<br />
| imagecaption = POCO X5 Pro<br />
| releaseyear = 2023<br />
| originalsoftware = Android<br />
| originalversion = 12<br />
| chipset = Qualcomm Snapdragon 778G (SM7325)<br />
| cpu = Octa-core (1x2.4 GHz Cortex-A78 & 3x2.2 GHz Cortex-A78 & 4x1.9 GHz Cortex-A55)<br />
| gpu = Adreno 642L<br />
| storage = 128/256 GB<br />
| display = 1080x2400 (395 PPI) AMOLED<br />
| memory = 6/8 GB UFS 2.2<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = -<br />
| status_flashing = -<br />
| status_touch = -<br />
| status_screen = -<br />
| status_wifi = -<br />
| status_xwayland = -<br />
| status_fde = -<br />
| status_mainline = -<br />
| status_battery = -<br />
| status_3d = -<br />
| status_accel = -<br />
| status_audio = -<br />
| status_bluetooth = -<br />
| status_hdmidp = -<br />
| status_camera = -<br />
| status_gps = -<br />
| status_mobiledata = -<br />
| status_sms = -<br />
| status_calls = -<br />
| status_otg = -<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_magnetometer = -<br />
| booting = -<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_778G/778G%2B/782G_(SM7325)|Snapdragon 778G}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Qualcomm_Snapdragon_778G/778G%2B/782G_(SM7325)&diff=38235
Qualcomm Snapdragon 778G/778G+/782G (SM7325)
2023-04-12T00:24:19Z
<p>M0Rf30: /* Snapdragon 778G (SM7325) */</p>
<hr />
<div>{{Infobox soc<br />
| manufacturer = Qualcomm<br />
| name = SM7325<br />
| codenames = yupik<br />
| arch = aarch64<br />
| cpu = * '''778G:''' 1x 2.4 GHz Kryo 670 Prime + 3x 2.2 GHz Kryo 670 Gold + 4x 1.9 GHz Kryo 670 Silver<br />
* '''778G+''': 1x 2.5 GHz Kryo 670 Prime + 3x 2.2 GHz Kryo 670 Gold + 4x 1.9 GHz Kryo 670 Silver<br />
* '''782G''': 1x 2.7 GHz Kryo 670 Prime + 3x 2.2 GHz Kryo 670 Gold + 4x 1.9 GHz Kryo 670 Silver<br />
| gpu = Adreno 642L<br />
| year = 2021/2022<br />
| process = 6<br />
| mainline = no<br />
| community_page =<br />
| status_cpu =<br />
| status_uart =<br />
| status_storage =<br />
| status_usb =<br />
| status_display =<br />
| status_gpu =<br />
| status_pinctrl =<br />
| status_i2c =<br />
| status_spi =<br />
| status_audio =<br />
| status_video =<br />
| status_thermal =<br />
| status_wifi =<br />
| status_bluetooth =<br />
| status_modem =<br />
| status_gps = <br />
| status_camera =<br />
}}<br />
<br />
[https://www.qualcomm.com/products/application/smartphones/snapdragon-7-series-mobile-platforms/snapdragon-778g-5g-mobile-platform Snapdragon 778G (SM7325)], [https://www.qualcomm.com/products/application/smartphones/snapdragon-7-series-mobile-platforms/snapdragon-778g-plus-5g-mobile-platform Snapdragon 778G+ (SM7325-AE)] and [https://www.qualcomm.com/products/application/smartphones/snapdragon-7-series-mobile-platforms/snapdragon-782g-mobile-platform Snapdragon 782G (SM7325-AF)] are premium mid-range Qualcomm SoCs released in 2021 and 2022. It is part of the Lahaina family of Qualcomm chips and has the codename '''Yupik'''.<br />
<br />
== Devices ==<br />
=== Snapdragon 778G (SM7325) ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline,Category<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Booting and (Devices.chipset='Qualcomm Snapdragon 778G (SM7325)' or Devices.chipset='Qualcomm Snapdragon 778G (SM7325)')<br />
|more results text=<br />
}}<br />
<br />
=== Snapdragon 778G+ (SM7325-AE) ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Devices.chipset LIKE '%778G+%'<br />
|more results text=<br />
}}<br />
<br />
=== Snapdragon 782G (SM7325-AF) ===<br />
{{#cargo_query:<br />
tables=Devices<br />
|fields=CONCAT( '[[', _pageName, '|',Manufacturer,' ',Name,']]' )=Device,Codename,StatusMainline=Mainline<br />
|order by=Devices.Manufacturer, Devices.Name<br />
|format=table<br />
|limit=9999<br />
|where=Devices.chipset LIKE '%782G%'<br />
|more results text=<br />
}}<br />
<br />
__NOTOC__</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_POCO_X5_Pro_(xiaomi-redwood)&diff=38234
Xiaomi POCO X5 Pro (xiaomi-redwood)
2023-04-12T00:22:37Z
<p>M0Rf30: Created page with "{{Infobox device | manufacturer = Xiaomi | name = Xiaomi POCO X5 Pro / Redmi Note 12 Pro Speed | codename = xiaomi-redwood | image = File:redwood.png | imagecaption = POCO X5..."</p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Xiaomi POCO X5 Pro / Redmi Note 12 Pro Speed<br />
| codename = xiaomi-redwood<br />
| image = File:redwood.png<br />
| imagecaption = POCO X5 Pro<br />
| releaseyear = 2023<br />
| originalsoftware = Android<br />
| originalversion = 12<br />
| chipset = Qualcomm Snapdragon 778G (SM7325)<br />
| cpu = Octa-core (1x2.4 GHz Cortex-A78 & 3x2.2 GHz Cortex-A78 & 4x1.9 GHz Cortex-A55)<br />
| gpu = Adreno 642L<br />
| storage = 128/256 GB<br />
| display = 1080x2400 (395 PPI) AMOLED<br />
| memory = 6/8 GB UFS 2.2<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = -<br />
| status_flashing = -<br />
| status_touch = -<br />
| status_screen = -<br />
| status_wifi = -<br />
| status_xwayland = -<br />
| status_fde = -<br />
| status_mainline = -<br />
| status_battery = -<br />
| status_3d = -<br />
| status_accel = -<br />
| status_audio = -<br />
| status_bluetooth = -<br />
| status_hdmidp = -<br />
| status_camera = -<br />
| status_gps = -<br />
| status_mobiledata = -<br />
| status_sms = -<br />
| status_calls = -<br />
| status_otg = -<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_magnetometer = -<br />
| booting = -<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_778G/778G%2B/782G_(SM7325)|Snapdragon 778G}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Mi_A2_Lite_(xiaomi-daisy)&diff=37619
Xiaomi Mi A2 Lite (xiaomi-daisy)
2023-03-27T19:07:37Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Mi A2 Lite<br />
| codename = xiaomi-daisy<br />
| image = File:xiaomi-daisy.png<br />
| imagecaption = Xiaomi-daisy Booting <br />
| releaseyear = 2018<br />
| originalsoftware = Android 8.1<br />
| pmoskernel = 6.1.0<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = 2 GHz 8 Core Cortex-A53 <br />
| gpu = Adreno 506<br />
| storage = 32 GB<br />
| display = 1080 x 2280 IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = <br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = Y<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = P<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status = <br />
| booting = Yes<br />
<br />
<!-- you can also use these lines if you need to:<br />
see Unixbench page on wiki<br />
| whet_dhry = 0.0<br />
Is OTG available, not used in wiki<br />
| status_otg = -<br />
--><br />
}}<br />
<br />
This device is also known as Xiaomi Redmi 6 Pro (sakura). The only difference is that sakura has MIUI preinstalled instead of stock Android One.<br />
<br />
== Contributors ==<br />
* Ash<br />
* Alikates<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== Installation ==<br />
=== Fastboot Mode ===<br />
<br />
First make sure to enable USB debugging in Android ([https://technowikis.com/4732/how-to-activate-debug-mode-xiaomi-mi-a2-lite])<br />
Then with device powered off, hold the {{button|Volume Down}} and {{button|Power}} buttons simultaneously for a few seconds, until Fastboot Mode screen appears.<br />
<br />
=== OEM Unlock ===<br />
<br />
Get device into Fastboot Mode, plug in USB cable, then:<br />
<br />
<source lang="shell-session"><br />
$ sudo fastboot oem unlock<br />
</source><br />
<br />
When prompted on device, use Volume-Up/Down buttons to highlight choice, then Power button to select it. The Fastboot Mode screen will appear again, and a message saying that the device isn't secure will appear briefly.<br />
<br />
=== Installation ===<br />
<br />
==== Build the image ====<br />
<source lang="shell-session"><br />
$ pmbootstrap init<br />
$ pmbootstrap install<br />
</source><br />
<br />
==== Mainline kernel ====<br />
In order to use the mainline kernel, installing lk2nd is needed. The package <code>lk2nd-msm8953</code> provides a prebuilt version ready to flash to the device.<br />
<br />
To use it, add it in the init step or instead of running <code>pmbootstrap install</code>, add the package like this: <code>pmbootstrap install --add lk2nd-msm8953</code><br />
<br />
Then put the device in fastboot mode and run:<br />
<source lang="shell-session"><br />
$ pmbootstrap flasher flash_lk2nd<br />
</source><br />
Then reboot the device and press the {{button|Volume Down}} just after the Android logo shows up and hold until the device vibrates and shows <code>START</code> in green at the top left corner of the screen.<br />
<br />
==== Downstream kernel ====<br />
If using the downstream kernel, put your device in fastboot mode.<br />
<br />
==== Install the image ====<br />
To proceed with the installation to internal storage of pmOS, plug the device to the computer with an USB cable and run:<br />
<source lang="shell-session"><br />
$ pmbootstrap flasher flash_rootfs --partition userdata<br />
$ sudo fastboot format system<br />
</source><br />
{{Note|<br />
If you want to install pmOS to an SD card instead of internal storage, you need to add <code>--sdcard <device path></code> at the end of the install command.<br><br />
I.e. (using lk2nd): <code>pmbootstrap install --add msm8953-lkn2d --sdcard /dev/<your_sdcard></code><br />
}}<br />
<br />
== Mainline Kernel ==<br />
To use it select mainline kernel when running <code>pmbootstrap init</code><br />
<br />
Flashing lk2nd is needed. ([https://github.com/msm8953-mainline/lk2nd]).<br />
<br />
=== Feature table ===<br />
<br />
{| class="wikitable feature-colors"<br />
|-<br />
! scope="col"| Parts<br />
! scope="col"| Status<br />
! scope="col"| Notes<br />
|-<br />
| scope="row"| Modem<br />
| class="feature feature-partial" | Partial<br />
| Should work with WIP IPA patches, not in msm8953-mainline master branch<br />
|-<br />
| scope="row"| WiFi<br />
| class="feature feature-yes" | Works<br />
| <br />
|-<br />
| scope="row"| Sensors<br />
| class="feature feature-partial" | Partial<br />
| Working with i2c-gpio from [https://github.com/alikates/linux/commit/d497e6461a09d4cc0d260c8defbc3edd701ece5c here], still missing a proper SSC driver<br />
|-<br />
| scope="row"| GPU<br />
| class="feature feature-yes" | Works<br />
|<br />
|-<br />
| scope="row"| Audio<br />
| class="feature feature-partial" | Partial<br />
| Works with minimal changes to motorola-ocean UCM config. Still not packaged. Speaker does not work<br />
|-<br />
| scope="row"| Touchscreen<br />
| class="feature feature-partial" | Partial<br />
| Only Focaltech models supported. Models with Goodix GT917D chip [https://github.com/msm8953-mainline/linux/issues/33 not working yet].<br />
|-<br />
| scope="row"| Charger<br />
| class="feature feature-yes" | Works<br />
| Driver added in 6.1<br />
|<br />
|-<br />
| scope="row"| Panel<br />
| class="feature feature-partial" | Partial<br />
| Only supported hx8933 and ili8707 models<br />
|}<br />
<br />
=== Modem ===<br />
<br />
Firmware loads and modem boots. <del>It detects SIM card and can be unlocked and configured with qmicli.</del><br />
<br />
<del>Because audio needs more work i couldn't test audio quality on calls but with q6voiced it should work.</del><br />
<br />
==== Mobile data ====<br />
<br />
{{Note| Mobile data is not working in kernel version 5.15 and later. There's an ongoing effort to upstream the driver needed for mobile data to work. A testing branch can be found [https://github.com/msm8953-mainline/linux/tree/ipa-v2-5.15 here].<br />
}}<br />
<br />
<del>Mobile data works now.</del><br />
<br />
To configure the mobile network settings, use NetworkManger (mobile network menu on phosh settings) so it sets up the network interface and IP routing.<br />
<br />
After that, two new network interfaces should appear. The rmnet one is the connection to the modem, and the other one is virtual and the one that is used to transmit mobile data.<br />
<br />
== Images ==<br />
[[File:Daisy-pcb-testpoints.png|300px]]<br />
{{note|1: Tx, 2: GND, 3: EDL test-points}}<br />
[[File:Daisy-phosh-about.png|150px]]<br />
<br />
== See also ==<br />
* [[Qualcomm Snapdragon 450/625/626/632 (MSM8953)]]<br />
* {{MR|1687|pmaports}} Initial merge request<br />
* {{MR|2225|pmaports}} Mainline merge request<br />
* {{Device package|xiaomi-daisy}}<br />
* {{Kernel package|xiaomi-daisy}}<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel]<br />
* [https://github.com/msm8953-mainline/lk2nd lk2nd]<br />
* [https://github.com/alikates/linux/tree/smbcharger Charger driver fork]<br />
* [http://deviceinfohw.ru/devices/item.php?item=578336 Device specifications (otm1911plus panel)]</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=37536
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-03-25T13:48:00Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = P<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_magnetometer = P<br />
| booting = yes<br />
| pmoskernel = 6.1.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
=== Mainline kernel ===<br />
<br />
Works perfectly even with animation.<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report doesn't works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30
https://wiki.postmarketos.org/index.php?title=Xiaomi_Redmi_5_Plus_(xiaomi-vince)&diff=37535
Xiaomi Redmi 5 Plus (xiaomi-vince)
2023-03-25T13:47:22Z
<p>M0Rf30: </p>
<hr />
<div>{{Infobox device<br />
| manufacturer = Xiaomi<br />
| name = Redmi 5 Plus<br />
| codename = xiaomi-vince<br />
| image = File:Redmi5plus.png<br />
| imagecaption = Xiaomi Redmi 5 Plus<br />
| releaseyear = 2017<br />
| originalsoftware = Android<br />
| originalversion = 8.1<br />
| chipset = Qualcomm Snapdragon 625 (MSM8953)<br />
| cpu = Octa-core Cortex-A53 2 GHz<br />
| gpu = Adreno 506<br />
| storage = 32/64 GB<br />
| display = 1080x2160 (403 PPI) IPS<br />
| memory = 3/4 GB<br />
| architecture = aarch64<br />
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) --><br />
| status_usbnet = Y<br />
| status_flashing = Y<br />
| status_touch = Y<br />
| status_screen = Y<br />
| status_wifi = Y<br />
| status_xwayland = Y<br />
| status_fde = Y<br />
| status_mainline = Y<br />
| status_battery = P<br />
| status_3d = Y<br />
| status_accel = Y<br />
| status_audio = P<br />
| status_bluetooth = Y<br />
| status_hdmidp = -<br />
| status_camera = N<br />
| status_gps = N<br />
| status_mobiledata = N<br />
| status_sms = N<br />
| status_calls = N<br />
| status_otg = Y<br />
| status_nfc = -<br />
| status_irtx = N<br />
| status_barometer = -<br />
| status_magnetometer = P<br />
| booting = yes<br />
| pmoskernel = 6.1.0<br />
}}<br />
{{Based on SoC|Qualcomm_Snapdragon_450/625/626/632_(MSM8953)|Snapdragon 625}}<br />
<br />
== Maintainer(s) ==<br />
<!-- Only if this device doesn't run on linux-postmarketos yet! --><br />
<!-- This person needs to be willing to answer questions from users of this device --><br />
* M0Rf30<br />
<br />
== Users owning this device ==<br />
{{Device owners}}<br />
<br />
== How to enter flash mode ==<br />
# Turn off the device<br />
# Press {{Button|Power}} + {{Button|Volume Down}} to enter fastboot<br />
<br />
== Installation ==<br />
On your host machine, install <code>arm-none-eabi-</code> GCC toolchain and follow the instructions below<br />
<br />
<pre><br />
git clone https://github.com/msm8953-mainline/lk2nd<br />
cd lk2nd<br />
make TOOLCHAIN_PREFIX=arm-none-eabi- msm8953-secondary<br />
fastboot flash boot build-msm8953-secondary/lk2nd.img<br />
fastboot reboot<br />
</pre><br />
<br />
Boot your device. Once you see the Xiaomi logo and the startup vibration, hold the {{Button|Volume Down}}. You should now see a version of the fastboot screen with selectable entries (use Volume buttons to select between) and a summary of your device specs. This is lk2nd's fastboot mode and you can now continue the normal flashing procedure.<br />
<br />
[[File:Xiaomi-vince-lk2nd.png|300px]]<br />
<br />
Follow the usual [[Installation guide]]<br />
<br />
== FDE ==<br />
<br />
=== Mainline kernel ===<br />
<br />
Works perfectly even with animation.<br />
<br />
=== Downstream kernel ===<br />
<br />
Encryption works fine, but [https://wiki.postmarketos.org/wiki/Osk-sdl osk-sdl] has some issues with <code>pixelformat</code> modes.<br />
I recommend to test [https://wiki.postmarketos.org/wiki/Unl0kr Unl0kr], because its made on LVGL, so it shouldn't have the same problems that osk-sdl encounters with directfb SDL2 backend.<br />
{{note|Actually, osk-sdl is working ok(ish) with <code>pixelformat</code> argument set in DFBARGS to <code>ABGR</code>, but I couldn't get this to work in initramfs and I don't think it is a proper way to do this.}}<br />
<br />
== GPU bug workaround ==<br />
At the time of writing, Freedreno ( the GPU driver ) has some bug. If you encounter any of this, try to create a file with <code>export FD_MESA_DEBUG=nobin</code> in <code>/etc/profile.d/gpu-nobin.sh</code> and reboot.<br />
(from Redmi Note 4 with same GPU [https://wiki.postmarketos.org/wiki/Xiaomi_Redmi_Note_4_(mido)]. I've tested it, works fine.)<br />
<br />
== Touchscreen ==<br />
There are some problems with suspend and module 'rmi_i2c'. (dmesg [https://git.disroot.org/useyourtruth/testing_vince/src/branch/main/vince_dmesg here])<br />
Temporary fix to enable touch: <br />
<pre><br />
$sudo rmmod rmi_i2c <br />
$sudo modprobe rmi_i2c<br />
</pre><br />
Also you can create crontab script with this lines.<br />
<br />
== Battery ==<br />
The battery charge report doesn't works.<br />
<br />
== Parts ==<br />
=== Smart Speaker ===<br />
To use the speaker, the device relies on:<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Texas Instruments<br />
| tas2557 (some useful commits [https://github.com/msm8953-mainline/linux/pull/47 1]<br />
[https://gitlab.com/sdm845-mainline/linux/-/commit/dd75b4effec41ec4e035ff564f52cb83b4658805 2])<br />
<br />
Seems to be very similar to tas2559<br />
|}<br />
<br />
=== Fingerprint ===<br />
Two drivers are available within downstream kernel<br />
<br />
{| class="wikitable"<br />
! Vendor<br />
! Model<br />
|-<br />
| Fingerprint Cards AB<br />
| FPC1020 (some useful commits [https://gitlab.com/msm8996-mainline/linux/-/commit/912baa57b3777ada874de09879aa512a45530cc1 1][https://gitlab.com/msm8996-mainline/linux/-/commit/060c6534f2e6859a99be6cf8ce1c600f9fed09ed 2])<br />
|-<br />
| Goodix<br />
| GF3208<br />
|}<br />
<br />
=== Sensors ===<br />
<br />
{| class="wikitable"<br />
! Type<br />
! Vendor<br />
! Model<br />
|-<br />
| Accelerometer / Gyroscope<br />
| STMicroelectronics<br />
| LSM6DSL [https://github.com/msm8953-mainline/linux/pull/45 1]<br />
|-<br />
| Magnetometer / Compass<br />
| Asahi Kasei<br />
| AK09918C [https://github.com/JIaxyga/linux/commit/f8125c7ad8bdc311d235262e3261375742628426 1]<br />
|-<br />
| Ambient Light<br />
| Liteon Opto<br />
| LTR579 ALSPS<br />
|-<br />
| Hall<br />
| ROHM Semiconductor<br />
| BU52061NVX<br />
|}<br />
<br />
== Serial UART ==<br />
Getting UART output on this device should be pretty straightforward, because pins for serial transfer (TX and RX) are exposed directly on motherboard and are even labeled.<br />
<br />
[[File:Xiaomi-vince-uart.jpg|507px]]<br />
<br />
[[File:Vince-uart-pins-shem.png|507px]]<br />
<br />
See also: [[Serial debugging]]<br />
<br />
== See also ==<br />
* {{MR|1249|pmaports}} Initial merge request<br />
* [https://github.com/M0Rf30/msm8953-snd-card-mtp ALSA msm8953-snd-card-mtp UCM]<br />
* [https://github.com/msm8953-mainline/linux Mainline kernel source]<br />
* [https://github.com/GhostMaster69-dev/android_kernel_xiaomi_vince Downstream kernel source]<br />
* {{Device package|xiaomi-vince}}<br />
* {{Kernel package|xiaomi-vince}}<br />
* {{Firmware package|xiaomi-vince}}</div>
M0Rf30