update: current status of what works

This commit is contained in:
erebion 2026-09-26 14:03:29 +02:00
commit 4b73393d44

View file

@ -8,30 +8,30 @@ Some notes on my work getting Mobian to run on the Xperia 10 III (codename pdx21
| Component | Status | sent to sm6350-mainline? | sent upstream? | | Component | Status | sent to sm6350-mainline? | sent upstream? |
| --------- | ------ | ------------------------ | -------------- | | --------- | ------ | ------------------------ | -------------- |
| ADSP | ✅ | ✅ | | | ADSP | ✅ | ✅ | [yes, needs review](https://lore.kernel.org/all/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu/) |
| Battery (percentage and temperature) | ✅ | ✅ | | | Battery (percentage and temperature) | ✅ | ✅ | Luca Weiss wrote a driver for Fairphone 4, once that is upstreamed I can submit the patch for battery percentage |
| Bluetooth | ✅ | ✅ | | | Bluetooth | ✅ | ✅ | [yes, needs review](https://lore.kernel.org/all/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu/) |
| Calls | | | | | Calls | | | |
| Camera | to do | | | | Camera | to do | | |
| CDSP | ✅ | ✅ | | | CDSP | ✅ | ✅ | [yes, needs review](https://lore.kernel.org/all/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu/) |
| Display Panel | ✅ | ✅ | | | Display Panel | ✅ | ✅ | Driver needs upstreaming, but not by me, looks like Marijn Suijten is working on that, idk |
| DP via USB-C | low priority | | | | DP via USB-C | low priority | | |
| Fast Charging | to do, low priority | | | | Fast Charging | to do, low priority | | |
| Fingerprint Reader | low priority, probably not supported by the kernel anyway | | | | Fingerprint Reader | not interested in that part myself, probably not supported by the kernel anyway | - | - |
| Flashlight | ✅ | ✅ | | | Flashlight | ✅ | ✅ | [yes, needs review](https://lore.kernel.org/all/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu/) |
| GPS | | | | | GPS | requires the modem to be up and then testing | | |
| IPA | ✅ | ✅ | | | IPA | ✅ | ✅ | [yes, needs review](https://lore.kernel.org/all/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu/) |
| microSD | ✅ | was already part of upstream | | | microSD | ✅ | was already part of upstream | - |
| Modem | ✅ (requires TA service to run) | ✅ | | | Modem | ✅ (requires TA service to run) | ✅ | [yes, needs review](https://lore.kernel.org/all/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu/) |
| NFC | to do, low priority | | | | NFC | to do, low priority | | |
| RTC | added, needs testing | ✅ | | | RTC | added, needs testing (how do I know it works?) | ✅ | |
| Sound | to do | | | | Sound | to do | | |
| SMS | | | | | SMS | should work when modem is up, needs testing | | |
| Thermals | | | | | Thermals | | | |
| Touch | occasionally does not work | was already part of upstream | | | Touch | ✅ | was already part of upstream | - |
| UFS | broken, need help | | | | UFS | broken, need help | | |
| USB-C | ? | | | | USB-C | idk, USB networking works, need to check whether host mode works by plugging in at least a USB stick | | |
| Wifi | ✅ (requires modem) | ✅ | | | Wifi | ✅ (requires modem) | ✅ | [yes, needs review](https://lore.kernel.org/all/20260926-pdx213-upstream-3-v1-0-1609c18b5c1d@erebion.eu/) |
| Vibration | to do, low priority | | | | Vibration | to do, low priority | | |
No status means I haven't even had a look at that component. No status means I haven't even had a look at that component.
@ -49,11 +49,9 @@ So far no work has been put in supporting the sensors (accelerometer, magnetomet
- UFS - UFS
- USB-C - USB-C
And I will also need help with upstreaming the changes to the kernel, can someone else please do that? Thanks.
#### Kernel Work #### Kernel Work
I'll submit all my patches to https://github.com/sm6350-mainline/linux I'll submit all my patches to https://github.com/sm6350-mainline/linux and then later upstream them.
Current goal: Making the device usable Current goal: Making the device usable
Later goal: Trying to add everything else that can be added without writing new drivers and upstreaming Later goal: Trying to add everything else that can be added without writing new drivers and upstreaming
@ -74,7 +72,7 @@ Note: I'm rebasing occasionally to make sure it does not become too chaotic, so
[ 64.601254] geni_i2c 988000.i2c: GPI transfer failed: -5 [ 64.601254] geni_i2c 988000.i2c: GPI transfer failed: -5
``` ```
Occasionally stops working after logging in, no idea why. When logging in, `/dev/input/event2` disappears while Phosh starts... if no finger is on the touch screen (lol), [seemingly needs this patch](https://lore.kernel.org/all/20260923-s6sy761-suspend-v1-1-6fff96e71cb0@ixit.cz/)
#### Modem #### Modem
@ -111,7 +109,6 @@ root@mobian:~# mmcli -m any --location-enable-gps-nmea
error: couldn't setup location gathering: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.PhoneFailure: QMI protocol error: Couldn't enable location 'gps-nmea' gathering: Couldn't start GPS engine: QMI protocol error (46): 'GeneralError'' error: couldn't setup location gathering: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.PhoneFailure: QMI protocol error: Couldn't enable location 'gps-nmea' gathering: Couldn't start GPS engine: QMI protocol error (46): 'GeneralError''
``` ```
Needs investigation, lower priority than some other parts for now. Needs investigation, lower priority than some other parts for now.
## Unlocked Achievements ## Unlocked Achievements
@ -122,6 +119,7 @@ Needs investigation, lower priority than some other parts for now.
- playing a song via Bluetooth for the first time - playing a song via Bluetooth for the first time
- Wifi works! :D - Wifi works! :D
- Modem starts - Modem starts
- Upstreaming some patches (waiting for review on LKML)
## Mobian Work ## Mobian Work
@ -165,14 +163,16 @@ git checkout wip/erebion/add-pdx213
Place kernel .deb at `devices/qcom/packages/` Place kernel .deb at `devices/qcom/packages/`
Put firmware files into `devices/qcom/firmware/`, this currently what I have in there: Put firmware files into `devices/qcom/firmware/`, this is what I currently have in there:
``` ```
a615_zap.mbn adsp.b03 adsp.b08 adsp.b14 adsp.b19 adsp.b24 adsp.b29 adsp.mbn apbtfw11.tlv crbtfw20.tlv crnv21.bin modem.mbn wlanmdsp.mbn a615_zap.mbn adsp.b05 adsp.b13 adsp.b20 adsp.b27 adsp.mbn apnv11.bin crnv20.bin modemst1.img
a619_gmu.bin adsp.b04 adsp.b09 adsp.b15 adsp.b20 adsp.b25 adsp.b30 adspr.jsn apnv10.bin crbtfw21.tlv crnv32.bin modemst1.img a619_gmu.bin adsp.b06 adsp.b14 adsp.b21 adsp.b28 adspr.jsn cdsp.mbn crnv21.bin modemst2.img
adsp.b00 adsp.b05 adsp.b10 adsp.b16 adsp.b21 adsp.b26 adsp.b31 adsps.jsn apnv11.bin crbtfw32.tlv crnv32u.bin modemst2.img adsp.b00 adsp.b07 adsp.b15 adsp.b22 adsp.b29 adsps.jsn crbtfw11.tlv crnv32.bin qcom_firmware_tmp
adsp.b01 adsp.b06 adsp.b12 adsp.b17 adsp.b22 adsp.b27 adsp.b32 adspua.jsn cdsp.mbn crnv11.bin egista.mbn qcom_firmware_tmp adsp.b01 adsp.b08 adsp.b16 adsp.b23 adsp.b30 adspua.jsn crbtfw20.tlv crnv32u.bin venus.mbn
adsp.b02 adsp.b07 adsp.b13 adsp.b18 adsp.b23 adsp.b28 adsp.b33 apbtfw10.tlv crbtfw11.tlv crnv20.bin ipa_fws.mbn venus.mbn adsp.b02 adsp.b09 adsp.b17 adsp.b24 adsp.b31 apbtfw10.tlv crbtfw21.tlv egista.mbn wlanmdsp.mbn
adsp.b03 adsp.b10 adsp.b18 adsp.b25 adsp.b32 apbtfw11.tlv crbtfw32.tlv ipa_fws.mbn
adsp.b04 adsp.b12 adsp.b19 adsp.b26 adsp.b33 apnv10.bin crnv11.bin modem.mbn
``` ```
Build image: Build image: