| sharks | @elros34 lots of changes to droid-config are as a result of you pointing out sparse-15/.../disabled_services.rc. If I am running Android 15, should I have everything from sparse-15? I copied it all in and it fixed some errors in logcat/journal about gpu service and got the LED working more reliably, so I assumed it was a good thing. | 01:07 |
|---|---|---|
| sharks | And yes I definitely have hw-settings.ini on device. Can see battery status in apps & `cat /sys/class/power_supply/battery/capacity`, but not in menu bar | 01:08 |
| sharks | Have checked sensors in csd. Accelerometer is all zeros, proximity and light sensors are also unresponsive. Also, I thought volume keys not working was a product of pusleaudio being dead, but now I've fixed that (still no sound) I've got the volume slider in settings no longer greyed out yet volume keys still don't work. They are present it /dev/input/event* though | 01:10 |
| *** n2klb_ is now known as n2klb | 01:54 | |
| sharks | Holy heck I've got audio | 04:47 |
| sharks | All is right in the world again | 04:47 |
| sharks | Thanks again to @mal for having been here and done that, I copied to my device https://github.com/mlehtima/droid-config-fp4/blob/devel/sparse/usr/lib/systemd/system/vendor-lib64-hw-audio.primary.default.so.mount and built https://github.com/mlehtima/android_vendor_halium_hardware/tree/halium-15.0, now it's working | 04:48 |
| sharks | idk about calls yet but I don't even care lol | 04:48 |
| sharks | Shit, at some point I broke VoLTE and didn't realise it. No calls for me. VoLTE is mandatory here | 05:01 |
| sharks | After reverting the commit where I copied everything in from sparse-15, I am registered on VoLTE again but the LED no longer works and I can confirm no audio during calls. Drat. | 06:58 |
| T42 | <elros34> you don't copy anything from submodule unless you need to edit particular file. Everything is copied automatically | 08:15 |
| T42 | <elros34> you have typo in droid-hal-device.conf but not sure if that will case any issue | 08:19 |
| T42 | <elros34> in /usr/lib64/qt5/qml/Sailfish/Lipstick/BatteryStatusIndicator.qml change visible: deviceInfo.hasFeature(DeviceInfo.FeatureBattery) to visible: true | 08:22 |
| T42 | <elros34> about sensors: check sensorfw output | 08:27 |
| T42 | <Mattia990> I applied this patch and reverted all the wlan configs i added. Also removed the service that modprobe the wlan module | 09:09 |
| T42 | <Mattia990> There is still a lot of spam, i removed it from the log | 09:09 |
| T42 | <Mattia990> Journalctl: https://paste.opensuse.org/pastes/eede6f50eddc | 09:09 |
| T42 | <Mattia990> Dmesg: https://paste.opensuse.org/pastes/c290e096cf9c (re @elros34: @Mattia990 maybe thi...) | 09:09 |
| T42 | <Mattia990> I can't really understand what is going wrong with wifi | 09:09 |
| T42 | <elros34> service is still there, where in this dmesg is time when you modprobe module? | 09:14 |
| T42 | <elros34> this flash_trigger property error should be fixed too | 09:15 |
| T42 | <Mattia990> In this dmesg you can see the driver is loaded at the end | 09:31 |
| T42 | <Mattia990> https://paste.opensuse.org/pastes/ed56d194be20 (re @elros34: service is still the...) | 09:31 |
| T42 | <elros34> can you run: find * -mount -type f -name "*.o" -not -name built-in.o -not -name "*.mod.o" in out/target/product/*/obj/KERNEL_OBJ. NOt sure if command is right | 09:32 |
| T42 | <elros34> so after modpring you have ls /dev/*wlan* or /dev/WLAN? | 09:35 |
| T42 | <Mattia990> This is the ouput: https://paste.opensuse.org/pastes/7ca505946981 (re @elros34: can you run: find * ...) | 09:35 |
| T42 | <Mattia990> After modprobing i have /dev/wlan (re @elros34: so after modpring yo...) | 09:39 |
| T42 | <elros34> so echo ON > /dev/wlan while running dmesg -w then also ifconfig -a | 09:41 |
| T42 | <Mattia990> Omggg, it was just the wrong command i was doing. Now wifi is workinggg | 09:45 |
| T42 | <elros34> good | 09:51 |
| T42 | <elros34> can you find in /sys/class/power_supply flash_trigger file? | 09:59 |
| T42 | <Mattia990> I have a really strange behavior with wlan. I'm successfully connected to my network but, if i try to ssh to the phone from the pc, or open the browser in the phone, try to add an account or something similar related to the internet the phone reboots (re @elros34: good) | 10:24 |
| T42 | <Mattia990> No, i don't have that property inside. The things i have are: battery, bms, dc, main, pc_port, usb (re @elros34: can you find in /sys...) | 10:25 |
| T42 | <elros34> what about grep -r . /sys/class/power_supply/* | 10:27 |
| T42 | <elros34> about wlan check pstore but this kernel is full of bugs | 10:28 |
| T42 | <Mattia990> It gives me nothing (re @elros34: what about grep -r ....) | 10:29 |
| T42 | <elros34> really? did you copy/paste it? | 10:30 |
| rinigus | @b100dian: looks like you tried to do something with colors2 branch. did it fail for some reason? | 10:32 |
| T42 | <b100dian> no, that is just a way of preserving the original colors for comparison. I rebased it | 10:33 |
| T42 | <b100dian> At least locally the build passed and the droid-hal-pdx224 are updated on nemo:devel | 10:34 |
| rinigus | OK, I see. its now pulled via libhybris-packaging | 10:34 |
| T42 | <b100dian> but I am not yet able to update, I have strage requirement errors | 10:34 |
| T42 | <b100dian> (e.g. icu-73.2+git2-1.8.3.jolla.aarch64 requires 'libicuuc.so.73()(64bit)', but this requirement cannot be provided) | 10:35 |
| T42 | <Mattia990> Ops, sorry, i forgot the little point after -r | 10:35 |
| T42 | <Mattia990> https://paste.opensuse.org/pastes/dd838801af66 (re @elros34: really? did you copy...) | 10:35 |
| T42 | <b100dian> I tried swithching https://build.sailfishos.org/project/meta/nemo:devel:hw:sony:nagara to 5.1, now to latest, still investigating why there are missing packages | 10:35 |
| rinigus | b100dian: we should add tag to libhybris-packaging corresponding to new libhybris version. the one that you used for rebasing | 10:36 |
| T42 | <Mattia990> The problem is that i always didn't get pstore logs, the folder is always empty (re @elros34: about wlan check pst...) | 10:36 |
| T42 | <elros34> ah right this strange kernel, too many porters so I forgot | 10:37 |
| rinigus | b100dian: strange icu error. I wonder what tries to pull it | 10:38 |
| T42 | <b100dian> rinigus: I'll be out for ~1h, I'll look after. It is like some packages should have been system, maybe I removed too any pdx224 ones, will continue when back | 10:38 |
| T42 | <Mattia990> I tried a dmesg -w during the crash but i'm not seeing strange things | 10:41 |
| T42 | <Mattia990> I see just the wlan logs that the link becomes available | 10:41 |
| T42 | <Mattia990> https://paste.opensuse.org/pastes/580bf1c79c29 (re @elros34: ah right this strang...) | 10:41 |
| sharks | @elros34 - thanks, fixed typo, changing to `visible: true` fixes the battery indicator but I wonder why it isn't picking up from hw-settings.ini? sensorfw only says "sensorfw: Plugin not available: "orientationsensor"" and "sensorfw: SensorManagerError: "plugin not available"" | 10:43 |
| rinigus | b100dian: I have added tag to libhybris packaging | 10:48 |
| rinigus | re icu: you may want to switch devel project prefer as you are ahead. https://build.sailfishos.org/project/prjconf/nemo:devel:hw:sony:nagara | 10:50 |
| rinigus | but I am not sure this is pulling ICU | 10:51 |
| T42 | <elros34> @Mattia990 I do not see any other way to work with crash you can't see: either fix the pstore in kernel/use uart to follow logs if possible at all/ or try different kernel that one from lineage-22 branch. Maybe somebody with some kernel debugging experience have better advice | 10:54 |
| T42 | <elros34> @sharks what about ssu-sysinfo -f? | 10:55 |
| T42 | <elros34> @Mattia990 this can be important if it can't find some firmware 'firmware wlan!qca_cld!wlan_mac.bin: _request_firmware_load: firmware state wait timeout: rc = -2' | 10:57 |
| rinigus | b100dian: looking at our local_manifest - seems that I just need to run repo sync again. but that would update all android bits too which is not that desirable. we should probably fix the base commit ids to avoid drifting. although, I suspect we have already slightly different bases on 1iv and 5iv | 10:58 |
| T42 | <elros34> @Mattia990 do you have mounted /persist partition or wlan_mac.bin file anywhere else? | 11:02 |
| sharks | @elros34 `ssu-sysinfo -f` -> "Feature_Suspend" and "Feature_Reboot" | 11:08 |
| T42 | <elros34> only 2? | 11:35 |
| T42 | <elros34> @Mattia990 just for the record: this is probably line which cause flash_trigger spam https://github.com/xiaomi-sm8150-devs/android_kernel_xiaomi_sm8150/blob/lineage-18.1/drivers/power/supply/qcom/schgm-flash.c#L115 | 11:35 |
| sharks | @elros34 yeah, just those two. Nothing else | 11:37 |
| T42 | <elros34> so it's wrong strace it | 11:40 |
| sharks | Sorry, you'll have to help me work that one through my thick skull. What am I stracing? ssu-sysinfo? sensorfwd? I am not sure what is responsible for making the sensors work. | 11:41 |
| T42 | <elros34> strace -f ssu-sysinfo -f | 11:44 |
| T42 | <elros34> ssu-sysinfo should return a lot more features | 11:44 |
| sharks | Ah drat, I just did sensorfwd! `strace /usr/sbin/sensorfwd -c=/etc/sensorfw/primaryuse.conf --systemd --log-level=warning --no-magnetometer-bg-calibration` is here --> https://paste.opensuse.org/pastes/5995134f46c9 and `strace -f ssu-sysinfo -f` is here --> https://paste.opensuse.org/pastes/22f50959b8a3 | 11:47 |
| T42 | <elros34> ls -al /usr/share/csd/settings.d | 11:48 |
| sharks | oh crap is that it? I've got 10-hwsettings.ini but yesterday you called it hw-settings.ini | 11:50 |
| sharks | Where did I get 10-hwsettings.ini from? Why have I got the wrong filename? | 11:50 |
| T42 | <Mattia990> I don't have it mounted directly in /persist it follows the fstab, so it's under /mnt/vendor/persist (re @elros34: @Mattia990 do you ha...) | 11:51 |
| T42 | <elros34> @sharks don't ask me you put it there. right file and name is in hadk-faq | 11:52 |
| sharks | Nah mate, not asking you, just marvelling at my own stupidity. Thanks for your help | 11:52 |
| T42 | <elros34> looks like it must be hw-settings sharks: https://github.com/sailfishos/ssu-sysinfo/blob/master/lib/ssusysinfo.c#L594 | 11:54 |
| T42 | <elros34> for a while you had IVI mode activated:) | 11:56 |
| T42 | <Mattia990> That file is under /vendor/firmware/wlan/qca_cld/wlan_mac.bin (re @elros34: @Mattia990 do you ha...) | 11:57 |
| sharks | Hmm, it has helped in some ways and broken things in others, csd-tool now crashes when I try to test my newly configured sensors, but IMEIs now show up in settings->about and battery in status bar is finally fixed | 11:57 |
| T42 | <Mattia990> And /data/vendor/mac_addr/wlan_mac.bin | 11:58 |
| T42 | <Mattia990> Checking in the router the phone's mac when connected seems fine | 12:01 |
| T42 | <elros34> maybe that is not a main issue. hard to guess without crash log | 12:02 |
| sharks | Okay nevermind sensors for now, I've been trying to debug VoLTE for ages and finally realised that setting %define android_version_major back to 14 allows VoLTE to register, but if set to 15 it never works | 12:09 |
| T42 | <b100dian> rinigus: thanks for the advice. It seems I now can install icu 73, if I uninstall all qt6 deps - probably coming from an angelfish repo | 12:09 |
| sharks | So I guess if there is no downside to it being 14 can I leave it there? Or is there a downside I don't know about? | 12:11 |
| T42 | <elros34> but why. Can't you simply compare 2 directories wnd findout why or read logs to see difference? | 12:14 |
| T42 | <elros34> after a while submodule will get updated and will struggle with something stopped working because you use wrong version | 12:17 |
| sharks | Well yes I probably could compare the directories, but manually copying back the working files is not a permanent solution is it? Because next time you build a new image you'll overwrite it? | 12:22 |
| sharks | Or do you manually copy back the working files to sparse so they can never change maybe? | 12:23 |
| sharks | Hmm, I think setting android version to 14 broke the microphone, but it fixed the volume keys... | 12:29 |
| sharks | I'm somewhere in between android 14 and 15 apparently | 12:29 |
| sharks | Yeah, also youtube videos have diagonal lines all through them now but local videos play alright. Dang. I guess I have to compare the differences between these two builds and cherry pick all the right files from each one somehow | 12:33 |
| mal | sharks: you should not mount audio module like that, the devel branch is old, I do it differently now | 12:36 |
| sharks_ | I've put porting SFOS away for the night but now you've got me pulling out my laptop on the couch and researching again... how do you do it now? I can't even see any mention of audio in the fp4 master branch. | 12:59 |
| mal | I think I handled it with linkerconfig, which android base do you use? | 13:15 |
| T42 | <b100dian> so rinigus in the end it worked, with the only wrinkle that there's no more angelfish on my device | 13:35 |
| rinigus | @b100dian: I had some issues when compiling webengine for 5.1. Don't remember what, will have to look into it | 13:38 |
| T42 | <b100dian> I know, just saying that that has no alternative and needs to be uninstalled | 13:39 |
| sharks | @mal I am using Lineage 22.2 | 13:43 |
| sharks | Ah I think I know why it seems like I'm somewhere between A14 and A15 - my super partition will be A14 because that's what the stock Xperia firmware goes to, but vbmeta, dtbo and the Android system are provided by Lineage 22.2. In an ideal world I should use Lineage 21 so everything matches but that doesn't exist, which is probably half the reason nobody's really tried to do a LOS based SFOS port for the 10 iv yet. | 13:54 |
| sharks | So I either have to port Lineage 21 (which I do not have the time and patience to do) or bodge my way around this somehow I guess | 13:54 |
| sharks | Anyway it's midnight, I will pick this up again later... thanks again for your help everyone | 13:55 |
| T42 | <elros34> maybe I am missing something but if lineage 22 works with whatever firmware, blobs and so on from older release then don't change that. It's common that device use latest lineage with some outdated components. | 14:21 |
| T42 | <elros34> so far you didn't have any serious issue so I am not sure what lneage-21 supposed to fix | 14:23 |
| T42 | <Mattia990> Maybe implementing this commit permit me to have finally a kernel crash log? | 18:51 |
| T42 | <Mattia990> https://github.com/xiaomi-sm8150-devs/android_kernel_xiaomi_sm8150/commit/b04e8582576b764182b51a327832d5508d76542a (re @elros34: @Mattia990 I do not ...) | 18:51 |
| T42 | <elros34> it's in lineage 22 so can't you just use that branch instead picking these commits? | 18:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!