| Mister_Magister | hmm it sometimes still gets stuck in charging, i probably have to blacklist some more devices | 00:00 |
|---|---|---|
| Mister_Magister | hmm mount --bind in droid-hal-early-init did not do it so maybe it's not hal | 00:03 |
| Mister_Magister | I'll just bamboozle it and simply not build it as module, check mate | 00:11 |
| Mister_Magister | huh, aida64 instantly recognized phone is no longer charging and sfos not | 00:17 |
| Mister_Magister | yaay charging limiting works | 00:47 |
| Mister_Magister | now i jsut have to figure out loading of correct module | 00:47 |
| T42 | <Mister_Magister> i blacklisted everything but battery and wireless and it still gets hang up despite sysfs paths changing correctly, ig it's just mce things | 00:56 |
| Mister_Magister | nah i had a typo, now i added 2 more devices to blacklist and it seems to be working fine | 01:12 |
| Mister_Magister | with just battery and wireless it detects usb charging but whateveeer | 01:12 |
| T42 | <b100dian> mal: fp5 has libI420colorconvert? | 10:49 |
| Mister_Magister | I shall write the usb service in D | 11:24 |
| Mister_Magister | yes you heard that right | 11:24 |
| rinigus | @b100dian: I have updated the kernel and its modules. also dropped some kernel options as they don't apply for our kernel version (https://github.com/sony-nagara/android_kernel_sony_sm8450/commit/75525654e0b57f6e2f2e2db769b29ac8ba682168) | 11:37 |
| rinigus | they were just ignored during the build | 11:38 |
| rinigus | I wonder who should be pinged for reviewing this: https://github.com/sailfishos/mce/pull/43 | 11:39 |
| rinigus | b100dian: I think the complains regarding non-working charging limitation for nagara is due to non-merged MCE PR above. while all should work with USB charging, wireless is ignored without it | 11:41 |
| Mister_Magister | rinigus: ping our best guy | 11:42 |
| Mister_Magister | lastest commits are only from him and spiiroin no longer works [*] | 11:42 |
| T42 | <b100dian> rinigus: nice! I ordered a wireless charger out of curiosity, but don't have it yet | 11:43 |
| Mister_Magister | wireless chargers are sweet | 11:43 |
| rinigus | let's hope that the best guy(s) will pick it up already via message over here without ping. re spiiroin - I hope he is doing fine | 11:43 |
| Mister_Magister | i'm using one on miami, used one on flo | 11:44 |
| Mister_Magister | rinigus: well if i wasn't transparent already i meant mal | 11:44 |
| rinigus | it was | 11:44 |
| rinigus | just not nice to get pinged all over the place :) | 11:44 |
| Mister_Magister | :D whoops | 11:45 |
| Mister_Magister | brother i'm in dependency hell trying to get d to build | 11:45 |
| T42 | <b100dian> it's a race to the bottom, if you don't ping, others will | 11:45 |
| Mister_Magister | mmmmmmmmmm f it, c++ it is | 11:49 |
| T42 | <b100dian> Mister_Magister: now you have two problems | 11:49 |
| Mister_Magister | hm? | 11:49 |
| T42 | <b100dian> It's usually about regex or xml the quote, but I would say C++ fits too | 11:50 |
| mal | rinigus: need to do some testing with that to make sure it works on all devices | 12:01 |
| Mister_Magister | mal: so i made the service that writes none/peripheral depending on usb charging and sfos always says it's "charging only mode in use" no matter ifi select any other default usb mode or select "always ask" also the usb seems to be stuck in mass storage mode, as if usb-moded wasn't doing anything at all | 12:18 |
| rinigus | mal: thanks | 12:18 |
| Mister_Magister | android0 is changing correctly | 12:18 |
| Mister_Magister | hmm hold on a second | 12:23 |
| Mister_Magister | usb-moded can read usb status from udev no? it even states so in readme | 12:24 |
| Mister_Magister | ah it only reads charging mode | 12:25 |
| Mister_Magister | it doesn't infere from it that usb is connected | 12:25 |
| Mister_Magister | android_tracking = 1 and my problem is solved | 12:26 |
| Mister_Magister | now we can play around with ncm | 12:27 |
| Mister_Magister | sweet ncm works, but DHCP doesn't xd | 12:33 |
| Mister_Magister | it created usb1 interface with no ip assigned | 12:34 |
| mal | it created second interface? | 12:34 |
| Mister_Magister | ye | 12:35 |
| Mister_Magister | usb1 | 12:35 |
| mal | does the usb0 seem ok? | 12:35 |
| Mister_Magister | ye | 12:35 |
| Mister_Magister | https://paste.opensuse.org/pastes/f96af1e0a6d0 | 12:35 |
| mal | and you have the connman config? | 12:35 |
| Mister_Magister | here's config | 12:35 |
| Mister_Magister | yes | 12:35 |
| mal | try blacklisting usb1 | 12:35 |
| Mister_Magister | would be nice to have the ncm | 12:36 |
| mal | you mean the second one if the ncm? | 12:37 |
| mal | maybe you need to do something it prevent the rndis one | 12:37 |
| mal | if init sets that up | 12:37 |
| mal | you could that the telnet disabling thingy | 12:37 |
| mal | *try that | 12:37 |
| Mister_Magister | but can I disable telnet in ramdisk? | 12:38 |
| Mister_Magister | you mean to make file init_disable_telnet right | 12:38 |
| mal | yeah | 12:38 |
| mal | ramdisk only sets up ramdisk in error cases the, the rootfs init script does set it up in community builds unless init_disable_telnet is there | 12:38 |
| mal | *only sets up usb | 12:39 |
| Mister_Magister | mal: about integrating that service in to usb-moded, usb-moded already listens to udev events of charging being connected which is what my service does, then i could just do like charging_tracking or something for it to enable usb state based on charging detection, though it would have to write state to the driver too | 12:39 |
| Mister_Magister | but sounds entirely doable | 12:40 |
| Mister_Magister | tho i could be naive | 12:40 |
| mal | you can try | 12:40 |
| Mister_Magister | i have all day today so maybe ill click it, but i think i'll dig into volte plugin hanging up | 12:41 |
| Mister_Magister | tho i might not do that because enabling otg is gonna be pain | 12:42 |
| Mister_Magister | hmm no, no connection over ncm | 12:44 |
| Mister_Magister | i removed the ncm line and rndis doesn't work like at all | 12:45 |
| Mister_Magister | lol i changed function_rndis = ncm.usb0 to usb1 and then changed interface = usb1 and now i have usb0 usb1 and usb2 | 12:47 |
| Mister_Magister | that smells like some configuration issue | 12:47 |
| Mister_Magister | now I have usb3 | 12:48 |
| mal | it creates new one with every reconnect of usb? | 12:49 |
| Mister_Magister | hmm not sure | 12:49 |
| Mister_Magister | let me do some testing | 12:50 |
| Mister_Magister | mal: so when i connect usb, it creates usb1 and the state is `usb1: <BROADCAST,MULTICAST` etc, and usb0 becomes `usb0: <NO-CARRIER,BROADCAST,MULTICAST,UP>` then if i disconnect they swap | 12:54 |
| Mister_Magister | usb1 becomes no-carrier | 12:54 |
| Mister_Magister | if only connman would set up ip on usb1 | 12:55 |
| mal | blacklist usb0 | 12:55 |
| Mister_Magister | idk why it adds new device though | 12:56 |
| mal | copy NetworkInterfaceBlacklist from connman main.conf and append usb0 in your custom config | 12:56 |
| Mister_Magister | now ip is on usb1 but it created usb2 | 12:56 |
| mal | after doing what? | 12:56 |
| Mister_Magister | restarting connman and reconnecting usb | 12:57 |
| Mister_Magister | now i have both and it doesn't ping https://paste.opensuse.org/pastes/444705c94b12 | 13:00 |
| mal | show the connman config modification | 13:00 |
| mal | and usb-moded one also | 13:01 |
| Mister_Magister | https://paste.opensuse.org/pastes/7367ecae6c66 | 13:01 |
| Mister_Magister | top portion is connman | 13:01 |
| Mister_Magister | i was too lazy to create 2 pastes | 13:01 |
| mal | I wonder about that ncm line | 13:04 |
| mal | so is this now with rndis prevented at boot? | 13:05 |
| Mister_Magister | i did create init_enter_debug yes | 13:05 |
| mal | you mean init_disable_telnet | 13:05 |
| mal | also that FallbackDeviceTypes should it have usb1 | 13:06 |
| Mister_Magister | yes | 13:06 |
| mal | but does usb1 only appear on restart of connman or also in other cases? | 13:07 |
| Mister_Magister | usb1 appears when i connect usb for the first time | 13:07 |
| Mister_Magister | mal: you son of… that was it | 13:09 |
| Mister_Magister | it's working flawlessly now, even dhcp | 13:09 |
| mal | hehe | 13:09 |
| Mister_Magister | telnet is connection refused but ssh works so whatever | 13:09 |
| mal | telnet is not running because you have init_disable_telnet | 13:10 |
| Mister_Magister | yeah that makes sense | 13:10 |
| Mister_Magister | I'll pretend that OTG doesn't exist for now and jump onto volte plugin | 13:10 |
| mal | probably your external usb service should be able to handle that also | 13:11 |
| Mister_Magister | that's the plan but i don't want to figure out how to enable sending power when neither you nor android guy know how to do that, so instead i'll try to fix hanging up, which is the only hang up when it comes to daily driving it at this point | 13:12 |
| Mister_Magister | pun intended | 13:12 |
| mal | well you need to provide content of the power_supply sysfs paths and iio | 13:14 |
| Mister_Magister | yeah some other day i'm not in hurry to fix it as i use OTG very rarely | 13:16 |
| Mister_Magister | i also need to debug ngfd due to the dreadful ui sounds volume | 13:18 |
| Mister_Magister | volte plugin seems like fun thing to work on though | 13:19 |
| Mister_Magister | oh the volte plugin is not installed lol forgot to add it to patterns | 13:21 |
| Mister_Magister | volte registered instantly it's so beautiful | 13:22 |
| mal | do you see anything in logs about ngfd or pulseaudio or stuff | 13:24 |
| Mister_Magister | before that, when calling the screen goes black as if proximity sensor was covered (it's not) and it's not ondemand thing because it's on by default now | 13:25 |
| mal | csd prox test works fine? | 13:26 |
| rinigus | b100dian: for eSIM, I need just to update 2 manifest files? https://github.com/sony-nagara/android_device_sony_sm8450-common/commit/7154844c723d5504a98592de046ebfffe2c79fe1 (changes on android side) and then track it further on the issue https://github.com/sailfishos-sony-nagara/main/issues/56 | 13:26 |
| rinigus | no rush with reply ... I'll be afk for some time :) | 13:26 |
| Mister_Magister | mal: yeap | 13:26 |
| Mister_Magister | mal: ngfd doesn't output anything | 13:28 |
| Mister_Magister | and getting pa logs is gonna be tricky | 13:28 |
| Mister_Magister | ngfd is reacting correctly because it vibrates | 13:29 |
| Mister_Magister | and overall volume control works fine too | 13:31 |
| Mister_Magister | mal: hmm I added hw_volume=0 and the ui sounds are quieter now | 13:42 |
| mal | ok | 13:45 |
| Mister_Magister | i still need to figure out why wrong module is being loaded hmm | 13:45 |
| mal | wrong module? | 13:49 |
| Mister_Magister | yeah so i modified qpnp_adaptive_charge and have it in /lib/modules but one from vendor is being loaded instead | 13:50 |
| Mister_Magister | I think android loads it | 13:50 |
| Mister_Magister | yeah i now got nothing sfos side to load it yet it's loaded | 13:52 |
| Mister_Magister | i tried mount --binding the module but that didn't help | 13:55 |
| Mister_Magister | now i have seriously no clue what loads the wrong module, i removed every mention of it | 13:58 |
| mal | not sure what the issue is, if you have that module in modules.load.d or something then it would load it from /lib/modules and then when android side tries later it would not do anything because the module is already loaded | 14:02 |
| Mister_Magister | well but wrong module IS being loaded though | 14:02 |
| mal | even if you use modules.load.d? | 14:03 |
| mal | how is that possible | 14:03 |
| Mister_Magister | https://paste.opensuse.org/pastes/274807fea2dc | 14:03 |
| Mister_Magister | see for yourself | 14:03 |
| Mister_Magister | i don't know what's happening | 14:04 |
| Mister_Magister | vendor module doesn't have the change that adds charging_enabled, mine does | 14:04 |
| mal | do you have ramdisk modules? is that there? | 14:05 |
| Mister_Magister | ramdisk modules? not sure but i did flash the kernel | 14:05 |
| Mister_Magister | and vendor_boot and dtbo | 14:06 |
| mal | check out/ for vendor_ramdisk/lib/modules | 14:06 |
| Mister_Magister | even if i remove it from modules-load.d it still is being loaded | 14:06 |
| mal | so probably it's in vendor_ramdisk and being loaded from vendor_boot in init | 14:07 |
| Mister_Magister | out/target/product/miami/vendor_ramdisk/lib/modules mhm | 14:07 |
| mal | so maybe you need to flash also vendor_boot | 14:07 |
| Mister_Magister | and it is there | 14:07 |
| Mister_Magister | but i already said i already flashed it | 14:07 |
| mal | yeah so you forgot to flash vendor_boot after rebuild | 14:07 |
| mal | oh | 14:07 |
| Mister_Magister | no i didn't | 14:07 |
| mal | and that module contains it? | 14:07 |
| mal | how did you rebuild kernel? | 14:08 |
| mal | make hybris-boot? | 14:08 |
| mal | or make hybris-hal? | 14:08 |
| Mister_Magister | hybris-boot | 14:08 |
| mal | I suspect that didnt rebuild vendor_boot | 14:08 |
| Mister_Magister | hmm | 14:08 |
| mal | try make hybris-hal | 14:08 |
| Mister_Magister | let's try hal then | 14:08 |
| mal | yeah, vendorbootimage is not dependency of hybris-boot in here https://github.com/mer-hybris/hybris-boot/blob/master/Android.mk | 14:10 |
| Mister_Magister | aww | 14:10 |
| Mister_Magister | maybe it should be? | 14:10 |
| mal | maybe yeah | 14:10 |
| Mister_Magister | maybe indeed | 14:10 |
| mal | but usually hybris-hal is used anyway | 14:11 |
| Mister_Magister | i'm trying to save 1h of time | 14:11 |
| mal | it only builds things that have changed | 14:11 |
| mal | at least it does on my builds | 14:12 |
| Mister_Magister | sure but before it gets to the building… | 14:12 |
| Mister_Magister | actual building is the fastest part | 14:12 |
| Mister_Magister | wish we had wide angle camera but whatever i wanna sit down and debug hanging up | 14:13 |
| Mister_Magister | with hanging up fixed i'll be able to switch to this device for calls | 14:14 |
| Mister_Magister | mal: I don't know if you remember but if you remember we did buncha changes to ofono-binder-plugin-ext-qti for oneplus 6 right? well i just tried it without those changes on the device i'm currently porting and it no longer registers | 14:42 |
| Mister_Magister | oh well nevermind it just registered | 14:42 |
| Mister_Magister | and also the charging_enabled issue is resolved now many thanks | 14:43 |
| Mister_Magister | i wish it stopped turning my screen off | 14:48 |
| Mister_Magister | hmmm | 14:51 |
| Mister_Magister | I get a lot of "failed to parse incoming SMS data" | 14:51 |
| Mister_Magister | I wonder how can i debug the ext_qti plugin | 14:51 |
| T42 | <adampigg> @Mister_Magister whats your hangup issue? | 14:57 |
| Mister_Magister | @adampigg i cannot end volte call | 14:57 |
| Mister_Magister | and even if someone picks up it still says "dialing" | 14:57 |
| mal | I understood it's because the ofono-binder-plugin-ext-qti doesn't implement volte hangup call | 14:57 |
| Mister_Magister | even if other end ends call, call never ends | 14:57 |
| Mister_Magister | mal: and we enabled that one function and it changed nothing | 14:58 |
| T42 | <adampigg> ah ... the mtk plugin isnt that bad ... i did have some issue with ending calls, and did this, but i think a vendor update might have fixed it properly anyway https://github.com/piggz/ofono-binder-plugin-ext-mtk/compare/hangup-hack?expand=1 | 14:58 |
| Mister_Magister | but it's not just hangup, it doesn't change state indicate that call is in progress | 14:58 |
| Mister_Magister | it's always dialing | 14:58 |
| Mister_Magister | and i cannot unblock the damn screen | 14:58 |
| Mister_Magister | I'm having a call and the plugin is spamming about "incoming sms data" there's no incoming sms data | 15:02 |
| Mister_Magister | so the incoming sms data is indicator id 26 and it always fails to parse | 15:08 |
| Mister_Magister | correct me if i'm wrong but it looks like 26 is not in fact incoming sms data | 15:08 |
| Mister_Magister | what if its the call state indicator that i'm missing? | 15:09 |
| Mister_Magister | yeah and incoming sms did not trigger the indicator 26 at freaking all | 15:10 |
| Mister_Magister | mal: it seems this confusion is in QTI_RADIO_IND_1_2, can we somehow limit the indicator version to 1.1 or not doable? | 15:11 |
| Mister_Magister | so i made the 26 execute qti_radio_ext_handle_call_state_indication and guess what? when hanging up the hang up method was actually called this time | 15:15 |
| Mister_Magister | so my hunch was correct | 15:15 |
| T42 | <b100dian> rinigus: yes, normal RIL slot enablement | 15:16 |
| T42 | <b100dian> To test it under Lineage you have to install an app that manages the sim. I only tested this with gapps, but you could test directly with SimPro / lpac under sailfish | 15:17 |
| Mister_Magister | there was even status 29 which does not have handler lol | 15:18 |
| mal | hmm, but 26 is the code for incoming sms indication in 1.2 | 15:25 |
| mal | call state changed indications are 1, 23 and 24 in 1.0, 1.1 and 1.2 | 15:26 |
| rinigus | @b100dian: I am planning to add it to overlay - no need to change much due to a manifest. at least that's my hope. does it become immediately visible somehow on SFOS? without lpac | 15:28 |
| T42 | <b100dian> rinigus: that would work, yes | 15:28 |
| T42 | <b100dian> But you won't have the option of using Lineae to register the esim if the lpac/SimPro combo does not work | 15:29 |
| Mister_Magister | mal: sure but it fails and if i send the data to call state changed it parses without issue | 15:31 |
| Mister_Magister | so i'm telling you something is afoot | 15:31 |
| Mister_Magister | and i'm 10000000% sure nobody is sending me sms | 15:31 |
| Mister_Magister | and sms are arriving withuot triggering the 26 | 15:32 |
| Mister_Magister | and there's not even code 29 and yet that one arrives too | 15:32 |
| Mister_Magister | something's wrong with the codes | 15:33 |
| Mister_Magister | especially since call is always dialing | 15:34 |
| Mister_Magister | mal: i just removed the switch and forwarded all 1.2 codes into qti_radio_ext_handle_call_state_indication and guess what? call is now in progress, call ends correctly, i jsut can't hang up but that's beside the issue | 15:39 |
| Mister_Magister | 29 is NOT the call state data | 15:40 |
| Mister_Magister | 26 definitely is | 15:40 |
| mal | what? 29 is part of 1.3 and means incomingCallAutoRejected | 15:41 |
| Mister_Magister | it was outgoing call | 15:41 |
| Mister_Magister | there was no incoming call | 15:41 |
| Mister_Magister | so on this phone it is not :) | 15:41 |
| Mister_Magister | also where did you get that info | 15:41 |
| Mister_Magister | the ext_qti plugin doesn't support 1.3 | 15:42 |
| Mister_Magister | and i'm getting 29 on 1.2 | 15:42 |
| mal | in internal volte plugin 26 is incoming sms | 15:42 |
| Mister_Magister | it's in ext_qti plugin too | 15:42 |
| Mister_Magister | but on this phone it is not | 15:43 |
| Mister_Magister | which i've proven in above messages | 15:43 |
| mal | that would be very odd | 15:43 |
| Mister_Magister | well it's reality | 15:43 |
| Mister_Magister | 26 always fails to parse as incoming sms data and i'm absolutely sure there is no incoming sms so that's just bs | 15:43 |
| mal | what happen if you stop it from using 1.2 | 15:43 |
| Mister_Magister | that's what i asked above | 15:43 |
| Mister_Magister | [17:11] <Mister_Magister> mal: it seems this confusion is in QTI_RADIO_IND_1_2, can we somehow limit the indicator version to 1.1 or not doable? | 15:43 |
| mal | so why not test it | 15:43 |
| Mister_Magister | idk how | 15:43 |
| Mister_Magister | https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti/-/blob/main/src/qti_radio_ext.c?ref_type=heads#L570 inside here, 26 is qti_radio_ext_handle_call_state_indication and 29 also arrives | 15:44 |
| mal | https://gitlab.com/ubports/development/core/hybris-support/ofono-binder-plugin-ext-qti/-/blob/main/src/qti_radio_ext.c?ref_type=heads#L883 | 15:44 |
| Mister_Magister | changed it to 1.1 | 15:46 |
| Mister_Magister | aaand the call doesn't change state and never ends | 15:48 |
| Mister_Magister | but it is sending 25 now | 15:48 |
| Mister_Magister | it's sending 25 on 1.1 | 15:48 |
| Mister_Magister | well then let's try 1.0 | 15:49 |
| Mister_Magister | something is highly messed up | 15:50 |
| Mister_Magister | mal: hmm 26 is sms and 24 is call state, the phone is sending 26 but means 24… now i switched to 1.1 and it sends 25 while 1.1 only has 23 | 15:50 |
| Mister_Magister | do you notice a pattern | 15:51 |
| Mister_Magister | 29 then becomes 27 which is VOPS_CHANGED_INDICATION | 15:51 |
| Mister_Magister | I think it's just 2 too high | 15:51 |
| Mister_Magister | on 1.0 it did end the call (tho i couldn't hang up | 15:53 |
| mal | wtf | 15:53 |
| mal | what is the call indication in 1.0? | 15:54 |
| Mister_Magister | 1 | 15:54 |
| mal | so that is correct | 15:54 |
| mal | does sms work in 1.0? | 15:54 |
| Mister_Magister | well it works-ish can't hang up and call is never in progress | 15:54 |
| Mister_Magister | sms worked fine even on 1.2 | 15:55 |
| Mister_Magister | let me try without our hangup change | 15:55 |
| mal | what? but you just said sms indication was wrong in 1.2 | 15:55 |
| Mister_Magister | i already told you no sms was incomding | 15:56 |
| Mister_Magister | incoming* | 15:56 |
| Mister_Magister | it was call status info | 15:56 |
| Mister_Magister | nobody was sending me sms when i was calling | 15:56 |
| Mister_Magister | and when i asked for sms it arrived without triggering ext_qti whatsoever | 15:56 |
| mal | I can't follow anymore what the status is in 1.0 | 15:56 |
| Mister_Magister | i think i'm explaining it very clearly | 15:57 |
| Mister_Magister | you just have to get past that 26 is NOT sms indication | 15:57 |
| Mister_Magister | it's call status info | 15:57 |
| mal | I'm talking about 1.0 now | 15:57 |
| mal | forget 1.2 | 15:57 |
| Mister_Magister | yes on 1.0 the call is never in progress, i cannot hang up, but the call ends | 15:57 |
| mal | but you said it sent indication 1 in 1.0 | 15:58 |
| mal | for call | 15:58 |
| Mister_Magister | yes | 15:59 |
| Mister_Magister | i'm just confused as you are about that one | 15:59 |
| Mister_Magister | okay | 15:59 |
| Mister_Magister | without our hangup change i CAN hang up | 15:59 |
| Mister_Magister | mal: on 1.0 sms still work | 16:01 |
| Mister_Magister | in ofono all you get from sms is ofonod[40989]: incoming sms, 35 bytes | 16:01 |
| Mister_Magister | you don't get the imsradio0 | 16:01 |
| Mister_Magister | hence my suggestion that it doesn't touch ext_qti at all | 16:02 |
| Mister_Magister | i'll try real call soon | 16:02 |
| Mister_Magister | tho i'm really tempted to restore 1.2 and -2 it xddd | 16:03 |
| Mister_Magister | mal: okay on 1.0 and proper call the call is in progress i see the counter, I can talk no issue, i can hang up | 16:08 |
| Mister_Magister | hanging up works too | 16:08 |
| Mister_Magister | mal: so all issues are resolved! 🎉 | 16:09 |
| Mister_Magister | except one | 16:09 |
| Mister_Magister | I cannot turn on the screen | 16:09 |
| Mister_Magister | mal: apparently motorola likes to do bullshit like this | 16:14 |
| Mister_Magister | i'll see if i can change to 1.0 without modifying code | 16:15 |
| Mister_Magister | …no | 16:16 |
| mal | it doesn't support any config file for selecting interface version | 16:17 |
| Mister_Magister | yeah | 16:17 |
| Mister_Magister | do you have any idea for the display bug? if i press the power button many times i can bug it to stay on | 16:18 |
| Mister_Magister | it behaves like so: it goes dark, i press power button, it blinks and goes dark again | 16:18 |
| mal | have you tried witout ondemand prox? | 16:18 |
| Mister_Magister | i shall | 16:19 |
| Mister_Magister | mal: without on-demand thingy it just never turns off the screen | 16:20 |
| mal | hmm | 16:22 |
| Mister_Magister | its like one last hurdle (beside usb otg) | 16:23 |
| Mister_Magister | (and dt2w | 16:23 |
| Mister_Magister | mal: question, you said something that waydroid won't work because of too new android base… does that apply to my port too? | 16:27 |
| Mister_Magister | oh yeah mine is a15 and you said a14 is too new | 16:27 |
| Mister_Magister | I will now build fresh image and see if all the fixes are there | 16:29 |
| T42 | <Mister_Magister> @b100dian would you be as kind as to introduce me to wonderful world of camera2 api? xd | 16:46 |
| T42 | <b100dian> Not that I know much, but what are you trying to solve? For sake it was unusable oversharpening defaults from camera1. | 16:48 |
| Mister_Magister | well i want to yeet sharpeining and denoising, it's bane of ALL devices | 16:49 |
| Mister_Magister | + i wanna see if second back camera would show up | 16:49 |
| Mister_Magister | can you disable sharpening and denoising on camera1 api? you can't right? | 16:49 |
| T42 | <b100dian> I don't know how | 16:50 |
| Mister_Magister | yeah | 16:51 |
| Mister_Magister | hence camera2 api | 16:51 |
| T42 | <b100dian> So, I am using a mix of mal's camera2 branch + my prs 111, 122 and 121 in https://github.com/sailfishos-on-sake/droidmedia/tree/master - That is for droidmedia, and I just updated it yesterday because I tested another quirk | 17:00 |
| Mister_Magister | so all I need is just different droidmedia? | 17:00 |
| T42 | <b100dian> For gst-droid you need this PR https://github.com/sailfishos/gst-droid/pull/79 | 17:01 |
| T42 | <b100dian> I am again using some combo here https://github.com/b100dian/gst-droid/tree/newquirks-zoom-mediabuffers with another PR | 17:02 |
| T42 | <b100dian> So, if you use the pair of droidmeda / gst-droid then you should be able to add `on=off` here https://github.com/sailfishos-on-sake/droid-config-sake/blob/master/sparse/etc/gst-droid/gstdroidcamsrcquirks.conf#L4 | 17:03 |
| T42 | <b100dian> I never got around to improving that config, "[edge-mode]on=off" sounds weird I know. You can off the noise reduction too | 17:04 |
| Mister_Magister | thank you kindly i'll get to reading that soon | 17:05 |
| T42 | <b100dian> fingerscrossed it works on your device too. And maybe you don't lose video recording, who knows | 17:07 |
| T42 | <Mister_Magister> maybe I gain one more camera :P | 17:10 |
| T42 | <Mister_Magister> i would hate to miss out on wide angle | 17:11 |
| mal | @b100dian did you push to wrong branch, ref https://github.com/sailfishos/droidmedia/pull/111 | 17:37 |
| T42 | <b100dian> mal: Yes :) I forgot that that PR was created from "master" branch. Fixing | 17:39 |
| Mister_Magister | aww man encryption doesn't work :( oh well | 17:39 |
| mal | @b100dian as for camera2 maybe try this https://github.com/n2klb/droidmedia/commits/camera2-capture | 17:39 |
| rinigus | b100dian: manifest seem to help in terms of starting services in LOS (lshal). can't see anything in SFOS - or just forgoy where to look | 17:48 |
| rinigus | saw your PR for fake-qcrilmsgtunnel | 17:48 |
| T42 | <b100dian> Oh wow. 2weeks ago. So this basically replaces your last year's branches? | 17:49 |
| mal | yeah, my branch is pretty much obsolete now | 17:50 |
| T42 | <b100dian> mal I've restored PR111 | 17:50 |
| mal | @b100dian good reminder not to do PRs from master branch | 17:50 |
| T42 | <b100dian> Yup, I'll just do this quick change, open a PR and here we are 2-3 years later | 17:51 |
| Mister_Magister | eugh i lost 120Hz but dtsi did not change so like why | 17:52 |
| Mister_Magister | magically it's 120Hz now | 17:53 |
| Mister_Magister | it fixed itself once i complained | 17:54 |
| T42 | <b100dian> rinigus: sorry I missed your lines. I think this commit explains it https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/commit/baca0e26c38b8af10358e89e6c54b370fc84cbdd | 17:57 |
| T42 | <b100dian> I have if'd out the 1 IV so people would not get updates with non-working multisim | 17:57 |
| rinigus | great - then I just have to adjust that - thanks! | 17:58 |
| rinigus | I bumped 1iv kernel on testing now as well | 17:58 |
| T42 | <roundedrectangle> When trying to build the HAL package, I get an issue saying that CONFIG_NETFILTER_XT_MATCH_QTAGUID should be enabled in kernel defconfig. It seems like my kernel (3.10) has some features backported from newer ones, and after setting that flag it doesn't even appear in the final `out/target/product/$DEVICE/obj/KERNEL_OBJ/.config` file. How can I skip that check? | 17:58 |
| T42 | <roundedrectangle> I use lineage 18.1 | 18:01 |
| mal | can be ignored | 18:02 |
| T42 | <roundedrectangle> mal, it won't let me build the hal package | 18:02 |
| mal | comment it out from hybris/mer-kernel-check/mer_verify_kernel_config | 18:03 |
| T42 | <roundedrectangle> thanks | 18:03 |
| Mister_Magister | mal: either I lost something on the way or… anyway youtube videos stop after a split second :/ | 18:14 |
| Mister_Magister | but you mentioned they don't work on fp5 either | 18:15 |
| Mister_Magister | so i will attribute that to f google | 18:15 |
| mal | have you tried GECKO_CAMERA_DROID_FORCE_MEDIA_BUFFER or GECKO_CAMERA_DROID_NO_MEDIA_BUFFER | 18:18 |
| mal | do you have latest droidmedia? | 18:18 |
| Mister_Magister | I have not | 18:18 |
| mal | actually only GECKO_CAMERA_DROID_FORCE_MEDIA_BUFFER makes sense on qcom | 18:19 |
| Mister_Magister | i'm on this commit 4792c8c25e711e06c8b466ec17e5db60196764d1 | 18:20 |
| Mister_Magister | where do I set the GECKO_CAMERA_DROID_FORCE_MEDIA_BUFFER | 18:20 |
| mal | nemo env | 18:21 |
| mal | https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara/blob/main/sparse/var/lib/environment/nemo/90-nagara-browser-media.conf | 18:21 |
| Mister_Magister | that just crashes the browser | 18:23 |
| mal | I should rebase my a15 branch | 18:24 |
| Mister_Magister | :) | 18:24 |
| Mister_Magister | maybe if you rebase second back camera will pop up? | 18:26 |
| Mister_Magister | i think i bugged the browser beyond comprehension | 18:27 |
| Mister_Magister | now it doesn't crash | 18:27 |
| Mister_Magister | now it crashes without that file | 18:31 |
| Mister_Magister | so it crashes most of the time and the time it doesn't the decoding is messed up | 18:33 |
| Mister_Magister | if i add video/avc = dont-use-droid-convert;use-codec-supplied-height;use-codec-supplied-width it crashes always | 18:35 |
| mal | gst-droid config is for gallery old | 18:36 |
| mal | *only | 18:36 |
| Mister_Magister | but it affects browser somehow lol | 18:36 |
| mal | Mister_Magister: try latest android15 of droidmedia | 18:36 |
| mal | it does not | 18:36 |
| Mister_Magister | maybe coincidence then | 18:36 |
| Mister_Magister | making droidmedia | 18:37 |
| Mister_Magister | mal: it does exactly same thing, either crash or messed up decoding | 18:49 |
| mal | so GECKO_CAMERA_DROID_FORCE_MEDIA_BUFFER does nothing? | 18:50 |
| mal | does gallery app work without issues? | 18:50 |
| Mister_Magister | not specifically no | 18:50 |
| Mister_Magister | yes | 18:51 |
| Mister_Magister | tho that could be diff codec | 18:51 |
| Mister_Magister | mal: lol it's just one specific video that's broken | 18:57 |
| mal | oh | 19:03 |
| mal | what video? | 19:03 |
| T42 | <Mister_Magister> https://www.youtube.com/watch?v=qVeq3QVi3aU | 19:03 |
| Mister_Magister | it has like one static frame and is not really a video | 19:03 |
| Mister_Magister | even yt-dlp complained | 19:03 |
| mal | ah | 19:03 |
| nightishaman | Hi, I'm trying to build hybris-hal but for some reason the build script passes no kernel to mkbootimg | 19:10 |
| nightishaman | [ 92% 36726/39604] Making hybris-boot.img in out/target/product/panther/obj/ROOT/hybris-boot_intermediates/ using true,,out/target/product/panther/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz) | 19:10 |
| nightishaman | FAILED: out/target/product/panther/obj/ROOT/hybris-boot_intermediates/hybris-boot.img | 19:10 |
| nightishaman | usage: mkbootimg [-h] [--kernel KERNEL] [--ramdisk RAMDISK] [--second SECOND] | 19:10 |
| nightishaman | [--dtb DTB] | 19:10 |
| nightishaman | [--recovery_dtbo RECOVERY_DTBO | --recovery_acpio RECOVERY_ACPIO] | 19:10 |
| nightishaman | [--cmdline CMDLINE] [--vendor_cmdline VENDOR_CMDLINE] | 19:10 |
| nightishaman | [--base BASE] [--kernel_offset KERNEL_OFFSET] | 19:10 |
| nightishaman | [--ramdisk_offset RAMDISK_OFFSET] | 19:10 |
| nightishaman | [--second_offset SECOND_OFFSET] [--dtb_offset DTB_OFFSET] | 19:10 |
| nightishaman | [--os_version OS_VERSION] [--os_patch_level OS_PATCH_LEVEL] | 19:10 |
| nightishaman | [--tags_offset TAGS_OFFSET] [--board BOARD] | 19:10 |
| nightishaman | [--pagesize {2048,4096,8192,16384}] [--id] | 19:10 |
| nightishaman | [--header_version HEADER_VERSION] [--dt DT] [-o OUTPUT] | 19:10 |
| nightishaman | [--vendor_boot VENDOR_BOOT] [--vendor_ramdisk VENDOR_RAMDISK] | 19:10 |
| nightishaman | [--vendor_bootconfig VENDOR_BOOTCONFIG] | 19:10 |
| nightishaman | [--gki_signing_algorithm GKI_SIGNING_ALGORITHM] | 19:10 |
| nightishaman | [--gki_signing_key GKI_SIGNING_KEY] | 19:10 |
| nightishaman | [--gki_signing_signature_args GKI_SIGNING_SIGNATURE_ARGS] | 19:10 |
| nightishaman | [--gki_signing_avbtool_path GKI_SIGNING_AVBTOOL_PATH] | 19:10 |
| nightishaman | mkbootimg: error: argument --kernel: expected one argument | 19:10 |
| nightishaman | [ 92% 36728/39604] Making hybris-recovery.img in out/target/product/panther/obj/ROOT/hybris-recovery_intermediates/ using out/target/product/panther/obj/ROOT/hybris-recovery_intermediates/recovery-initramfs.gz | 19:10 |
| nightishaman | FAILED: out/target/product/panther/obj/ROOT/hybris-recovery_intermediates/hybris-recovery.img | 19:10 |
| nightishaman | usage: mkbootimg [-h] [--kernel KERNEL] [--ramdisk RAMDISK] [--second SECOND] | 19:10 |
| nightishaman | [--dtb DTB] | 19:10 |
| nightishaman | [--recovery_dtbo RECOVERY_DTBO | --recovery_acpio RECOVERY_ACPIO] | 19:10 |
| Mister_Magister | nightishaman: use paste service stop spamming | 19:10 |
| nightishaman | [--cmdline CMDLINE] [--vendor_cmdline VENDOR_CMDLINE] | 19:10 |
| nightishaman | [--base BASE] [--kernel_offset KERNEL_OFFSET] | 19:10 |
| nightishaman | [--ramdisk_offset RAMDISK_OFFSET] | 19:10 |
| nightishaman | [--second_offset SECOND_OFFSET] [--dtb_offset DTB_OFFSET] | 19:11 |
| nightishaman | [--os_version OS_VERSION] [--os_patch_level OS_PATCH_LEVEL] | 19:11 |
| nightishaman | [--tags_offset TAGS_OFFSET] [--board BOARD] | 19:11 |
| nightishaman | [--pagesize {2048,4096,8192,16384}] [--id] | 19:11 |
| nightishaman | [--header_version HEADER_VERSION] [--dt DT] [-o OUTPUT] | 19:11 |
| nightishaman | [--vendor_boot VENDOR_BOOT] [--vendor_ramdisk VENDOR_RAMDISK] | 19:11 |
| nightishaman | [--vendor_bootconfig VENDOR_BOOTCONFIG] | 19:11 |
| nightishaman | [--gki_signing_algorithm GKI_SIGNING_ALGORITHM] | 19:11 |
| nightishaman | [--gki_signing_key GKI_SIGNING_KEY] | 19:11 |
| nightishaman | [--gki_signing_signature_args GKI_SIGNING_SIGNATURE_ARGS] | 19:11 |
| nightishaman | [--gki_signing_avbtool_path GKI_SIGNING_AVBTOOL_PATH] | 19:11 |
| nightishaman | mkbootimg: error: argument --kernel: expected one argument | 19:11 |
| nightishaman | 18:48:16 ninja failed with: exit status 1 | 19:11 |
| mal | which android base? | 19:12 |
| nightishaman | sorry, its my first time using irc, I thought it would be one message | 19:12 |
| nightishaman | hybris-22.2 | 19:13 |
| mal | check that you have a16 branch of hybris-boot in hybris/hybris-boot | 19:14 |
| nightishaman | it is a16, according to the manifest, it is no branch currently since I modified fixup-mountpoints | 19:15 |
| nightishaman | git status reports no branch, due to the changes | 19:16 |
| mal | ok | 19:23 |
| Mister_Magister | mal: smallest of nitpicks, when phone is connected to charging, the screen doesn't wake up | 19:24 |
| Mister_Magister | whether it be wireless or usb | 19:24 |
| Mister_Magister | mal: i'll be releasing the port now and restoring backup on it to use it as daily device, as always, massive thanks to you for all your help, stupid old me couldn't have done it without you <3 | 19:27 |
| Mister_Magister | kisses and love <3 | 19:27 |
| nightishaman | mal I'm having the feeling that the kernel is at the wrong location in the manifest I used. Do the kernels have to be static at kernel/VENDOR/DEVICENAME? | 19:32 |
| mal | nightishaman: where id your kernel? | 19:32 |
| mal | check device repo, it should mention the path there | 19:32 |
| mal | nightishaman: that error seems to suggest your device for some reason has TARGET_NO_KERNEL defined or something else happens | 19:33 |
| nightishaman | mal at the default location for the manifest that I borrowed from lineageos | 19:33 |
| nightishaman | so it is aosp/ | 19:33 |
| mal | hmm? | 19:33 |
| mal | which device? | 19:33 |
| nightishaman | pixel 7 | 19:34 |
| mal | can you show your local_manifest | 19:35 |
| mal | it seems I probably found the issue | 19:37 |
| nightishaman | https://pastebin.com/72KWQ12D I just modified it to kernel/google/panther | 19:37 |
| nightishaman | and did repo resync | 19:37 |
| mal | which one did you modify? | 19:38 |
| nightishaman | <project path="kernel/google/panther" name="kernel/common" remote="aosp-lineageos" revision="refs/tags/android14-6.1-2025-08_r11"> | 19:39 |
| nightishaman | it was previously project path="aosp" | 19:39 |
| mal | I wonder where you got that manifest | 19:40 |
| nightishaman | https://github.com/LineageOS/android_kernel_google_gs-6.1_manifest | 19:42 |
| nightishaman | it was the link attached on the lineageos website for kernel source | 19:42 |
| mal | I don't see the device repos in the manifest | 19:45 |
| Mister_Magister | wait | 19:47 |
| Mister_Magister | WAIT | 19:47 |
| Mister_Magister | mal: what if the "connect usb once to fix suspend" issue is because ramdisk writes peripheral manually, so then it's stuck in peripheral and not none until you connect and disconnect usb? | 19:47 |
| nightishaman | mal https://github.com/LineageOS/android_device_google_pantah here | 19:48 |
| mal | nightishaman: https://github.com/LineageOS/android_device_google_gs201/blob/lineage-22.2/BoardConfig-common.mk#L59 | 19:48 |
| Mister_Magister | my pipa (xiaomi pad 6) is currently in peripheral | 19:48 |
| Mister_Magister | and it's not suspending | 19:48 |
| mal | does it have telnet enabled? | 19:49 |
| Mister_Magister | when i wrote none it suspended next second | 19:49 |
| Mister_Magister | without even telnet enabled ramdisk sets up usb | 19:49 |
| Mister_Magister | it only disables it after ramdisk | 19:49 |
| mal | it should not | 19:49 |
| Mister_Magister | it should | 19:49 |
| Mister_Magister | i always get the "in real rootfs" device | 19:49 |
| Mister_Magister | https://github.com/mer-hybris/hybris-boot/blob/master/init-script#L288 | 19:50 |
| Mister_Magister | it executes run_debug_session whether you like it or not | 19:51 |
| mal | hmm | 19:52 |
| Mister_Magister | then i can just use my little daemon and it will fix suspend on pipa too | 19:53 |
| Mister_Magister | it wasn't suspending for days now that i wrote none it went to sleep instantly | 19:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!