Wednesday, 2026-07-01

T42<nightishaman> Im back, tomorrow I will continue my Pixel 7 port00:50
*** n2klb_ is now known as n2klb01:57
sharksStill making progress, I added all modules in `out/target/product/pdx225/vendor_dlkm/lib/modules/modules.load` to `/etc/modules-load.d/pdx225.conf`, plus also `wlan`, and added wifisetup.service same as fp5. Now I have vibration, LED and wifi working. Still no sound, ofono or bluetooth. But getting a little bit closer all the time...07:07
sharksOh also no battery or charging status07:14
sharksIf I can get those couple of things fixed I'll be back to daily driving this thing!07:14
sharksCharging appears fine in `udevadm monitor -p`, but csd can't spot it. Usb sucessfully asks for developer mode or MTP or charging only but no response on the computer end for either of the first two options.07:27
sharks(I have unmasked usb-moded btw now that I have ssh over wifi)07:27
sharksAnyway reading hadk-hot etc. to see what else I can try07:28
sharks"sm5038_usbpd_get_property PRESENT" is changing on usb connect/disconnect in dmesg, amongst many other messages. Also I remember MTP and developer mode never worked on stock SFOS by Jolla so mayyybe charging is working? But I have no battery icon in status bar...07:31
sharks`/sys/class/power_supply/battery/status` changes from "discharging" to "not charging" when plugged in, huh07:44
sharks`/sys/class/power_supply/battery/input_current_limit` is 0 and idk how to change it, that's probably not helping08:05
T42<TheVancedGamer> mal: have you ever tried using gbinder with response functions in a QThread?10:28
T42<TheVancedGamer> I'm trying to get gbinder working in a Qt app, but for some reason I can never have callbacks working if I move everything related to gbinder into a separate thread10:28
T42<TheVancedGamer> servicemanager is created from a slot which is invoked by a signal, so by that point event loop should already be running10:28
T42<elros34> @sharks did you add hw-settings.ini file?10:39
sharksJeez, @elros34, right as I'm about to go to bed I spot that. Hangon, have just added it now. Gah I miss the most obvious things!10:55
sharksHaha! Now we have charging. Thanks!10:55
sharksAudio and Ofono are my biggest hurdles now, still really struggling to work out how to attack them. Was hoping to rely on whatever Mister_Magister did to make miami work but reading the logs it seems like everything just fell into place right out of the box for him! Maybe just my lack of experience10:57
sharksHmm nevermind I have a battery indicator and the notification says we're charging but `/sys/class/power_supply/battery/status` still only says "Not Charging" when USB is connected11:06
sharksand also cameras still work in csd-tool but now the camera app is a black screen and not responding11:10
sharksI need to find out what service `iddd` is and fix that, and I need to fix `android.hardware.sensors` which I only just realised is a problem. I will work on that and fixing the camera again tomorrow. Meanwhile, if anyone has any suggestions regarding audio, ofono and bluetooth, please point me in the right direction if you can.11:26
sharksCurrent logcat -> https://paste.opensuse.org/pastes/b7589a6cd7bf Journal -> https://paste.opensuse.org/pastes/41818aade5a7 and dmesg -> https://paste.opensuse.org/pastes/62aea1b7367811:26
T42<elros34> @sharks: do you have /vendor/firmware_mnt? Where are you repositories droid-config and device repo?15:11
T42<Mattia990> Hello, i have a doubt regarding odm partition.15:40
T42<Mattia990> My device has this line in fstab:15:40
T42<Mattia990> odm   /odm    ext4  ro,barrier=1,discard                                 wait,avb,logical,first_stage_mount15:40
T42<Mattia990> How should i manage its mount?15:41
T42<elros34> isn't it in logical partitions section?15:42
T42<elros34> probably it's on super partition15:43
T42<Mattia990> In my case also system_ext is in logical partition, but it gets mounted, odm no15:44
T42<elros34> parse-android-dynparts doesn't return odm?15:46
T42<Mattia990> Where is that? It's the first time i hear it15:47
T42<elros34> so how do you mount system and other partitions from super? Show your droid-config and android device repo repo15:48
malhttps://github.com/mer-hybris/droid-hal-device/pull/350 just something that will simplify porting once that is merged16:24
T42<nikita_kraev> FMI - that still requires the parse-android-dynparts though, right?16:26
malyes, doesn't affect that but removed most need for fixup-mountpoints16:27
malI still need to make hybris-boot init script to handle mounting differently so it doesn't need to know the device node of userdata16:27
malafter that fixup-mountpoint is probably not needed anymore16:28
malunless device uses something else than by-name paths16:28
T42<nikita_kraev> Since i am a complete noob - why we can't rely on the by-name? Because it mounts late, with android layer?16:29
malsystemd didn't like by-name things16:29
malbecause udev creates those it somehow gets confused16:29
T42<nikita_kraev> ah okay, the answer is always simpler :D16:29
T42<elros34> so systemd didn't like by-name but can handle by-partlabel?16:31
T42<nikita_kraev> @Mattia990 example for configuring the parse-android-dynparts: 1) https://github.com/nikita-kraev/droid-config-redfin/blob/master/sparse/usr/bin/droid/dmsetup.sh16:31
mal@elros34 partlabel things are created somehow differently which works, maybe by-name could be fixes also but partlabel is easier16:33
T42<nikita_kraev> 2) https://github.com/nikita-kraev/droid-config-redfin/blob/master/patterns/patterns-sailfish-device-adaptation-redfin.inc#L81 + build_packages.sh —mw=https://github.com/mlehtima/parse-android-dynparts16:33
T42<nikita_kraev> 3) https://github.com/nikita-kraev/droid-config-redfin/blob/master/sparse/usr/lib/systemd/system/dmsetup.service16:33
T42<nikita_kraev> 3) https://github.com/nikita-kraev/droid-config-redfin/blob/master/sparse/usr/lib/systemd/system/dmsetup.service (edited)16:34
T42<nikita_kraev> (oh, no editing messages, i forgot)16:34
T42<Mattia990> Elros here you can find all i did: https://github.com/orgs/sailfishos-cepheus/repositories17:15
T42<Mattia990> Thank you Nikita, i will check!17:15
T42<elros34> so you have both legacy and dynamic:  inandroid_device_xiaomi_sm8150-common/rootdir/etc17:17
T42<elros34> so which one do you flash with lineageos?17:18
T42<Mattia990> Checking the device tree if I'm not wrong it is using the dynamic one17:19
T42<elros34> probably it's safe to asume that but do you see super in partition list?17:22
T42<Mattia990> Under /dev/mapper I just see control when sailfish ui and droid hal are running, if you are referring to that17:24
T42<elros34> what do you mean you have ui working?17:25
T42<elros34> When you were preparing fixup-mountpoints you have gather list of partitions. You should see there super instead system17:28
T42<elros34> you have added android_version_major 10 but don't you use android 11 (lineage-18)?17:30
T42<Mattia990> Yes, i have ui working and touch functioning but I loose the usb connection and wifi isn't working17:41
T42<Mattia990> All the commands I execute are with telnet with the enter_debug file or by writing commands with touchscreen and saving logs (re @elros34: what do you mean you...)17:41
T42<Mattia990> So when droid hal starts i don't have WiFi, usb, camera and a lot of errors in logcat and dmesg17:41
T42<Mattia990> Should I put 11 there? (re @elros34: you have added andro...)17:42
T42<elros34> if you use android 11 the for sure17:42
T42<elros34> if you mask usb-moded you shouldn't loose usb17:43
T42<Mattia990> This is the fixup mounpoints: https://paste.opensuse.org/pastes/82e550ce998e (re @elros34: When you were prepar...)17:44
T42<elros34> ok so if this is correct then you dont use dynamic partitions so you should ignore fstab_dynamic.qcom.17:46
T42<elros34> odm also doesn't exist in your partition list17:47

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!