Friday, 2026-07-03

*** n2klb_ is now known as n2klb01:54
sharks@elros34 thankyou - I had copied disabled_sercives.rc according to hadk-faq but I'm unsurprised to learn that's out of date. I have also fixed the wrong android version, that must have been a typo by me.11:07
sharksUnfortunately my biggest hold up is still audio. I also have no battery indicator, ambient light sensor, or proximity sensor. I'm really struggling to debug audio, pulseaudio is segfaulting trying to run create_audio_patch though I have just found @ecrn had the same problem a few years ago so maybe the logs from 2024-12-04 could help me if I can decipher what they mean11:15
sharksRight, I added `https://github.com/mer-hybris/droid-config-sony-murray/blob/master/sparse/etc/pulse/arm_droid_card_custom.pa` but included `use_legacy_stream_set_parameters=true` on the module-droid-card line and now pulseaudio no longer segfaults immediately but I still have no sound :(11:33
sharksAll audio is going to sink.deep_buffer and then disappearing, there's nothing in logcat or anywhere.11:51
sharksWill `pulseaudio-modules-droid-jb2q` help me?12:35
sharksI think not12:48
sharksOkay, I'm exhausted, can't seem to get anywhere. Made next to no progress for 2 days now :((12:57
sharksI really should not have spent so much time on this tonight but oh well12:58
T42<elros34> only 2 days with no progress? pff you are lucky. You add a lot changes to droid-config like custom droid-hal-init.service. Does it fix something or some random copy from other device:P13:19
Mister_Magistertook me half a year to bring up screen on my first port13:24
T42<nikita_kraev> oof that's what i am preparing for13:28
T42<elros34> @sharks about that battery indicator: are you sure you have /usr/share/csd/settings.d)/hw-settings.ini on device?13:30
T42<elros34> how do you check sensors? in csd or messwerk?13:33
T42<Mattia990> How can i know why wifi isn't working in my case?15:31
T42<Mattia990> In logcat (https://paste.opensuse.org/pastes/b213bf0b8a5f) i see the wifi firmware being loaded by tftp15:31
T42<Mattia990> Also i tried to fix the error i have regarding "vendor.lineage.camera.motor@1.0" by putting it in device tree under PRODUCT_PACKAGES but i didn't resolve the problem15:34
T42<nightishaman> Okay back to my port. Last time we did a strace on hwc and the only thing we got was two Binder reads when I started minimer17:48
T42<elros34> @Mattia990 how do you test it? What ifconfig -a shows? Did you build wlan driver as module? You should be looking in dmesg19:11
T42<Mattia990> This is ifconfig: https://paste.opensuse.org/pastes/984bb300216420:27
T42<Mattia990> It isn't appearing20:27
T42<Mattia990> I build wlan as module and load it using this systemd service: https://github.com/sailfishos-cepheus/droid-config-cepheus/blob/master/sparse/usr/lib/systemd/system/wlan-module-load.service20:27
T42<Mattia990> This is the defconfig: https://github.com/sailfishos-cepheus/android_kernel_xiaomi_sm8150/blob/lineage-18.1/arch/arm64/configs/vendor/cepheus_defconfig20:27
T42<Mattia990> Dmesg: https://paste.opensuse.org/pastes/f53f955d883520:27
T42<Mattia990> Due to the big xiaomi crash stack trace and that i loose usb during droid-hal-init, i'm able to collect the log when the UI starts (re @elros34: @Mattia990 how do yo...)20:27
T42<Mattia990> I don't know if I'm missing something20:28
T42<elros34> you have added bunch of wlan configs. That is not How it works. You should already have driver enabled like on lineage20:30
T42<elros34> non of you changes build driver as module20:31
T42<elros34> this bug is insane20:32
T42<elros34> revert that last defconfig change. disable that service, reboot and simply run dmesg -w, and modprobe wlan and see what happens20:37
T42<elros34> I know I repeating myself but why can't you use lineage 21/22 as a base? I can see some roms which are based on kernel https://github.com/xiaomi-sm8150-devs/android_kernel_xiaomi_sm8150/tree/lineage-22.2. I have too little understanding of kernel to be sure but I see some potentially usefull commits which might even help for that "mm/vmscan.c isolate_lru_page" spam.20:55
T42<b100dian> rinigus: starting to update packages to 5.1 in nagara devel21:11
rinigusb100dian: thanks!21:12
T42<elros34> @Mattia990 maybe this can help and be ported somehow: https://github.com/aosp-mirror/kernel_common/commit/0f4634f70bfddae26be6600ff1504fc4efa5deff21:12

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