Monday, 2020-06-22

T42<elros34> btw does ril crash also if you have masked ofono?00:00
T42<edp_17> I have added the -d param, changed the fork to 1 and rebooted:
T42<edp_17> I have not tried to mask ofono to see whether the rild crashes. I'l try now.00:02
T42<elros34> have you changed that line to match your rfkill name?:
T42<edp_17> No, I have exactly that line in my local bluetooth_rfkill_event.c00:06
T42<edp_17> What should I set instead of bcm43xx?00:06
T42<elros34> based on your log: bcm4358 Bluetooth00:07
T42<edp_17> Not bcm4358a1?00:07
T42<elros34> line 277900:08
T42<elros34> rfkill should also print it00:08
T42<edp_17> Thanks. I had trouble with this on my other port. I never know whether the xx stands for something or that the real value should be.00:09
T42<edp_17> Now I know.00:09
r0kk3rz  the bluez driver is calledd bcm43xx00:10
T42<edp_17> I have updated that value in my local repo. How should I rebuild the bluetooth-rfkill-event? Just simly: "rpm/dhd/helpers/ --mw= -s rpm/bluetooth-rfkill-event.spec"00:11
T42<elros34> sure, that is how you build packages00:11
T42<elros34> you could add option to to skip installing it in target. Not sure whether it is done by default00:12
T42<edp_17> I got this:
T42<elros34> wrong spec file00:15
T42<edp_17> Yep. Now I am installing the package on the device.00:20
T42<edp_17> New log:
T42<edp_17> brcm_patchram_plus is running!00:25
T42<edp_17> The ofono service is masked. Is rild still crashing?00:30
T42<edp_17> It seems now the rild has the same pid 3340.00:31
T42<elros34> so bluetooth works more or less correctly now?00:31
T42<edp_17> When I started the device it was on. I started a music t see whether it disconnects after 3 minutes. I have not tested anything else yet. Seemingly it doesn't disconnect.00:33
T42<edp_17> I have tested now, and the toggle also works. It turns the bt on/off and the paired devices are connecting automatically.00:34
T42<edp_17> Thanks for your help. πŸ‘  It is much better than my hacky solution. (And works better.😊)00:35
T42<edp_17> I know that is not your expertise but I would need help with the radio too. Nothing works, Except the IMEI and SIM detection.00:37
T42<elros34> you could start ofono now when ril is happy and grab some more verbose logs from ofono and logcat00:42
T42<edp_17> In the logs the pid of the rild is 3340, but now it is 3275. Although it's been 3275 since I checked it last time about 10 mins ago.00:44
T42<elros34> don't know from where did you get that 3340 but for sure there is no more: 'Service 'ril-daemon' (pid 3275) killed by signal 11' so when ofono initialize something geos wrong00:47
T42<edp_17> I might have mixed up the two logs on pastebin (before and after masiking ofono was open as I recorded what we did for the bt).00:49
T42<edp_17> How can I get verbose logs when I start the ofono service?00:49
T42<elros34> I guess ofonod -d (+ all arguments from 'systemctl status ofono' when it was running). Be aware it may contains sensitive data and can be huge00:52
T42<edp_17> Thanks.00:54
T42<edp_17> I have removed the symlink from /etc/systemd/system/ofono.service but when I try to start the ofono service I get: Unit ofono.service is masked00:55
T42<elros34> you could also read ofono.service figure out what args it use, should be easy. When you change something you often need to systemctl daemon-reload00:58
T42<edp_17> I rebooted but that is not really what we need here, don't we?01:01
T42<edp_17> Logcat -b radio:
T42<edp_17> journalctl --no-tail -f:
T42<edp_17> I have seen these: "SetSimOperator: invalid operator" and "Failed to set IMSI from [gsm.sim.operator.numeric] RilIndex=0" errors.01:09
T42<edp_17> But I am not sure whether these are the real issue.01:09
T42<elros34> Maybe other samsung devices use some patched ofono? DId you search in other repos? I remember at least this patch for voicecall (useless for you):
T42<edp_17> No, I have not searched because I didn't know how to do it. Plus the other samsung device (S2 - i9100) didn't need any patch for ofono.01:25
r0kk3rzwhich device?01:26
T42<edp_17> S2 (i9100)01:26
r0kk3rzthe one you're currently workingon01:27
T42<edp_17> This one is a Note 4, SM-N910C.01:27
r0kk3rzexynos version?01:28
T42<edp_17> Yes.01:28
r0kk3rzthats interesting01:34
T42<edp_17> If I add this file and restart ofono, the parms from the noplugin.conf are not loaded.01:37
T42<edp_17> journalctl --no-tail -f:
T42<edp_17> ofono status and logcat -b radio:
r0kk3rzyeah you probably dont want to do that, but i think espresso is a similar device01:41
r0kk3rzor not, samsungs naming convention is confusing01:42
T42<edp_17> Samsung is weird. It is called treltexx.01:42
r0kk3rzyeah i was seeing if we had a similar era exynos port01:43
r0kk3rzseems not01:43
T42<edp_17> Thank you anyway.01:43
T42<edp_17> I remove that plugin.conf01:44
T42<elros34> not sure how it's handled in android but this class might be useful, Looks like custom changes to ril:
T42<edp_17> I am utterly rubbish with java. πŸ˜” Although thank you for digging this out!01:49
T42<elros34> it's not about java itself but structures. I think driim  also use similar file as a reference01:51
T42<edp_17> Thanks. I'll try to understand the code in both.01:53
T42<elros34> try to catch monich and provide him ofono logs. He could at least tell you where to search01:55
T42<edp_17> Thank you. Is the log I gave you enough?01:55
T42<elros34> I don't know but is a good start point01:56
r0kk3rzcheck for this prop
r0kk3rzThe RIL can't handle the RIL_REQUEST_SEND_SMS_EXPECT_MORE01:57
r0kk3rz     * request properly, so we use RIL_REQUEST_SEND_SMS instead.01:57
r0kk3rzis also maybe an issue01:57
T42<edp_17> Yeah, I have found that in the code and thought the same. I am not an expert. πŸ˜”02:02
T42<edp_17> Where should I look for this ""? In the /default.prop, there is nothing ril related.02:04
T42<edp_17> Sorry, now I need some sleep. Few hours and I need o work. Thanks for your help! Good night!02:05
T42<elros34> should be enough to use: getprop
T42<edp_17> Thanks @elros34. The getprop gave me 1.06:55
T42<ankaos> Error <kickstart>[06/21 22:53:08] : no valid repos found in ks file07:01
T42<ankaos> why why why 😒07:02
T42<ankaos> rpm2cpio: /home/enes/hadk/droid-local-repo/tissot/droid-configs/droid-config-tissot-ssu-kickstarts-1-1.armv7hl.rpm No such file or directory07:04
T42<ankaos> Δ± have droid-config-tissot-ssu-kickstarts-1-202006220659.armv7hl07:05
T42<ankaos> where is the problem?08:23
T42<Coltor %lastname%> is there any method to stop SFOS's display server?  just like "sudo service lightdm stop"08:24
T42<ankaos> devel-su systemctl disable lightdm etc.08:25
T42<ankaos> @ankaos [ where i …], @edp_1708:25
T42<Coltor %lastname%> @ankaos [devel-su systemctl disable lightdm etc.], not work08:34
T42<ankaos> because you dont have lightdm08:35
T42<Coltor %lastname%> so,what's the correct command to stop SFOS's Display Server08:36
T42<Coltor %lastname%> 😭08:36
T42<edp_17> Isn't that systemctl-user stop lipstick?08:50
T42<ankaos> Miklos why Δ± problem β€”mic?08:51
T42<edp_17> @ankaos: What's the permission of your /home/enes/hadk/hybris/droid-configs/installroot/usr/share/kickstarts/Jolla-@RELEASE@-tissot-@ARCH@.ks?08:52
r0kk3rz@edp_17 so at minimum it sounds like we would need to extend ofono with the extra data items like in the android code08:55
T42<edp_17> Hi all. Can somebody point me why the usb mode  Always ask doesn't work when I plug the cable in, please? I manually need to restart the usb-moded service everytime I want to change the usb mode. jorunalctl is here:
T42<edp_17> r0kk3rz: Thank you. I'd wish to have the knowledge to do that. However, with your support, I can do that. 😊  (I think. 😁 )08:57
T42<edp_17> For the usb mode issue: some more logs from the udevadm monitor -p:
T42<edp_17> In the android kernel, the MTP support looks like there.09:00
r0kk3rz@edp_17 looks almost exactly what lsdriim did09:04
T42<ankaos> @edp_17 [@ankaos: What's the permission of your /home/e …], file notfound09:05
T42<ankaos> Δ± dnt have file09:06
r0kk3rzmmm, i think you need to do this, but with the latest ofono -
T42<edp_17> Thanks, r0kk3rz. Last night @elros34 said about that commit that it was useless for me. 😊 I don't mind trying and would be happy if it solved my issue so I'll give it a go.09:25
T42<edp_17> I guess I need to build ofono locally.09:26
T42<edp_17> Should I use this command for it? rpm/dhd/helpers/ --mw= -s rpm/ofono.spec09:28
r0kk3rznot from github09:28
T42<edp_17> from
r0kk3rzalways pick from mer-core09:29
T42<Coltor %lastname%> @Coltor %lastname% [is there any method to stop SFOS's display ser …], @SailfishFreenodeIRCBridgeBot any idea about this?09:32
r0kk3rzyou were told09:32
T42<Coltor %lastname%> sorry about that~ my mistake09:37
T42<maffeen> Does anyone know how to fix?10:15
T42<maffeen> ok solved by changing connection10:17
T42<edp_17> r0kk3rz: I have built the custom ofono including that fix from Driim's commit and installed on the device but it didn't solve the problem. logcat -b radio:
T42<edp_17> and journalctl --no-tail -f:
T42<edp_17> The ofono repo with the change is available here:
T42<maffeen> I'm having problems with the repo init10:26
T42<maffeen> ok without β€”fetch-submodules it's working10:31
T42<edp_17> Check your local_manifest and the other manifest files. Look for these: android-9.0.0_r46 and platform/frameworks/support. Probably a setting is wrong somewhere in there.10:40
T42<maffeen> @edp_17 [Check your local_manifest and the other manife …], πŸ‘10:40
T42<elros34> @edp_17 patching dial func is useless because you don't dial. Look at your logs, this function is not even called10:45
T42<edp_17> πŸ˜” Thanks. So, building/installing the custom ofono was a bit pointless. (At least I learned how to do it. 😊)10:47
r0kk3rznot pointless, i suspect you'll need it to get calls working10:49
T42<edp_17> I see.10:50
r0kk3rzbut it may not be all you need10:50
T42<ankaos> @edp_17 [@ankaos: What's the permission of your /home/e …], rpm2cpio: /home/enes/hadk/droid-local-repo/tissot/droid-configs/droid-config-tissot-ssu-kickstarts-1-1.armv7hl.rpm: No such file or directory11:12
T42<ankaos> problem is files11:12
T42<Coltor %lastname%> can i run chromium/Firefox on sfos with flatpak?11:20
T42<ankaos> Miklos found problem.
mal@ankaos do you have latest config submodule?11:35
T42<ankaos> no :(11:35
malso update it?11:36
T42<ankaos> how update?11:37
T42<ankaos> mal: thanks11:44
T42<edp_17> On my S2 (i9100) I spotted that however the BT can be toggled on/off and it discovers other devices but cannot connect to any. On the S2 it looks like connected but on the other side, it is not the case. Any idea on how to fix this? journalctl with verbose bluetooth-rfkill-event log is here:
mal@edp_17 looks like you have the permission issue because of filesystem package11:57
mal@edp_17 ah, different issue, you need to recreate .ks file with new 3.3.0 target to make permissions correct11:59
T42<edp_17> I have built before the new official hadk came out. Should I go back and rebuild again?12:00
T42<edp_17> I am not sure how to re-create the .ks file.12:01
maljust re-create the .ks file, make sure you update submodules also12:01
malwhen did you build the image?12:02
T42<edp_17> 12 May 2020.12:02
malkickstart file is created automatically if you use the " --mic"12:04
T42<edp_17> Okay, so this is only that I need to run, isn't it?12:05
T42<edp_17> As a quick workaround on the device, I set the correct permission on those two files.12:17
T42<edp_17> When I try to pair with another device I get: "Unable to accept HFP connection since the telephony subsystem isn't initialized" What is it and how should I initialize that subsystem?12:18
maldo you have needes bluetooth kernel options enabled?12:20
malok, those looks reasonable12:30
T42<Herrie1982> @Coltor %lastname% [can i run chromium/Firefox on sfos with flatpa …], I have updated Xiaomi Mido to latest libhybris from upstream and WebGL report now gives me proper webGL2 support ;)12:40
T42<Herrie1982> @Herrie1982 [I have updated Xiaomi Mido to latest libhybris …], This is on LuneOS12:41
T42<Coltor %lastname%> @Herrie1982 [I have updated Xiaomi Mido to latest libhybris …], u have already update libhybris to 20200504 version? is Halium9?12:56
T42<Coltor %lastname%> @Herrie1982 [This is on LuneOS], any ROM link? i can test it12:56
T42<ankaos> Warning[06/22 14:35:14] : repo problem: nothing provides pulseaudio-modules-droid-hidl needed by pattern:jolla-hw-adaptation-tissot-1-202006221403.noarch,14:53
T42<ankaos> why say me problem?14:56
T42<edp_17> mal, monich can you take a look into the logs and help me to find out why the ofono makes the rild to crash, please? (I think this is the case because if I mask ofono, rild is happy.) Some logs are here (logcat -b radio):
T42<edp_17> (journalctl --no-tail -f):
malyou need to also provide the ril_subscriptions.conf file15:30
T42<edp_17> Thank you mal. Here it is:
*** olesalscheider_ is now known as olesalscheider22:52

Generated by 2.17.1 by Marius Gedminas - find it at!