Monday, 2022-08-22

T42<Spidey24Z> ofonod[970]: failed to set rat mode what is this?06:06
T42<kreatowastaken> @elros34 it was because of a patch06:55
T42<kreatowastaken> `0004-hybris-Pick-GLES-shared-objects-from-appropriate-pat.patch` breaks libEGL from loading the libraries.06:55
T42<kreatowastaken> now it loads fine but my main issue is `08-22 06:54:05.621  6064  6064 E libEGL  : validate_display:87 error 3008 (EGL_BAD_DISPLAY)` at the moment06:56
ThaodanLoading from where?06:56
T42<kreatowastaken> /system/lib6406:56
Thaodanthat is intended06:56
Thaodanit shouldn't come from there06:56
T42<kreatowastaken> why06:57
T42<kreatowastaken> a egl library shouldnt be in /06:57
T42<kreatowastaken> it makes more sense for it to be at /system/lib64 which is where its at usually06:57
ThaodanNo it doesn't this is not Android.. the issue is it might pick the unpatched libgl07:01
Thaodanwe don't want the unpatched libegl07:01
T42<kreatowastaken> i see07:03
T42<kreatowastaken> well atleast now lipstick gets farther than before... so im gonna not apply that patch for now07:06
T42<kreatowastaken> where is the unpatched libEGL anyways? Cant i just make a symlink for it?07:06
T42<kreatowastaken> well atleast now lipstick gets farther than before... so im gonna not apply that patch for now07:07
T42<kreatowastaken> where is the unpatched libEGL anyways? Cant i just make a symlink for the patched libEGL on there? (edited)07:07
T42<elros34> have you tried stracing minimer (with all hybris-patches applied)?07:13
T42<kreatowastaken> no07:14
T42<kreatowastaken> idk how to do that but i can do it if u tell me how07:20
ThaodanPlease look how libhybris works07:21
ThaodanIt looks like it works but it doesn't07:21
ThaodanIf you pick libegl from /system it is without hybris07:21
T42<kreatowastaken> i see07:22
T42<elros34> strace -f <path to binary>, in your case it will be minimer (see hadk-faq), you can mask user@100000.service and reboot first but I think not necessary07:27
T42<kreatowastaken> okay07:28
T42<kreatowastaken> im rebuilding hybris-hal right now, will do if the issue continues07:28
T42<kreatowastaken> fixed by applying `0004-hybris-Pick-GLES-shared-objects-from-appropriate-pat.patch` then removing / from, and on `frameworks/native/opengl/libs/EGL/Loader.cpp`08:29
T42<kreatowastaken> now it loads fine with the patched it seems08:29
T42<kreatowastaken> right now lipstick segfaults08:29
T42<kreatowastaken> what should i do next? Should i send a strace of that?08:30
T42<kreatowastaken> i have this same issue now08:36
T42<kreatowastaken> should i send logcat and journalctl? (re @kreatowastaken: now it loads fine bu...)08:36
T42<kreatowastaken> lipstick output;15:28
T42<kreatowastaken> 15:28
T42<kreatowastaken> lipstick strace;15:28
T42<11> hello everyone, the problem is that wlan is not searching for a network, dhd is built as a module, and nothing works connmanctl> scan wifi16:08
T42<11> Error /net/connman/technology/wifi: No carrier16:08
T42<11> [ 1121.584870] dhd_wl_ioctl: WLC_SET_VAR: scb_probe, ret = -416:08
T42<11> [ 1121.584876] dhd_set_scb_probe: max_scb_probe setting failed16:08
T42<Spidey24Z> any fix for ofono can't make calls and all incoming calls showed as private number19:48
malanything in logs?19:57
malalso check permissions/user/group of /var/lib/ofono19:58
T42<elros34> I do not remember exactly but wasn't there some patches for old samsungs. I recall something about private number but I am not sure20:00
malhmm, could be20:00
T42<elros34> got something, 2 patches, no idea whether they are up to date:
malprobably needs rebasing20:05
T42<Spidey24Z> ofonod[984]: failed to set rat mode this keep spamming (re @SailfishFreenodeIRCBridgeBot: <mal>anything in log...)20:07
T42<Spidey24Z> (re @SailfishFreenodeIRCBridgeBot: <mal>also check perm...)20:08
malcheck the link above, you should rebase that branch locally build it and install on device and see if it helps20:35
T42<Spidey24Z> i did but now ofono not work (re @SailfishFreenodeIRCBridgeBot: <mal>check the link ...)20:43
T42<elros34> you rebased it to which ofono-ril-plugin version?20:49
T42<Spidey24Z> i build ofono from this repo and install it on device (re @elros34: got something, 2 pat...)21:10
T42<elros34> then no wonder it doesn't work. remove it then apply these 2 patches on ofono-ril-plugin (assuming this is plugin you are using) (version used in sfos 4.0.68)21:11
T42<Spidey24Z> this one ?21:14
T42<elros34> yeah21:14
T42<Spidey24Z> i'm trying to build it but src/ril_cell_info.h:21:10: fatal error: ofono/cell-info.h: No such file or directory21:20
T42<Spidey24Z>  #include <ofono/cell-info.h>21:20
T42<Spidey24Z>           ^~~~~~~~~~~~~~~~~~~21:20
T42<elros34> how do you build and on which sdk target version?21:20
T42<elros34> did you remove that fake ofono version you have build previously?21:21
T42<Spidey24Z> rpm/dhd/helpers/ --mw=ofono-ril-plugin21:21
T42<Spidey24Z> yeah (re @elros34: did you remove that ...)21:21
T42<elros34> check: rpm -ql ofono-devel in sdk target21:25
T42<elros34> or simple zypper se -s ofono21:26
T42<Spidey24Z> @elros34
T42<Umeaman> I personally prefer ghostbin21:31
T42<Umeaman> Or to be exact.21:32
T42<Spidey24Z> @elros34 new error21:32
T42<Spidey24Z> thx (re @Umeaman: Or https://pst.klgrt...)21:32
T42<elros34> @Spidey24Z could you please not remove command prompt and commands you execute from logs? Where is rpm -ql?21:33
T42<Spidey24Z> sorry, no it's  zypper se -s ofono (re @elros34: @Spidey24Z could you...)21:33
T42<elros34> just do not remove so it's clear what  where do you execute: like in sdk target or in snapshot21:36
T42<Spidey24Z> PlatformSDK [ayman@ayman-3485bag hadk]$ sdk-assistant target maintain samsung-grandneove3g-armv7hl zypper se -s ofono21:36
T42<elros34> do you still have ofono packages in droid-local-repo? What about rpm -ql (again) ?21:38
T42<Spidey24Z> i delete them21:41
T42<Spidey24Z> (re @elros34: do you still have of...)21:41
T42<Spidey24Z> full log
T42<elros34> looks like wrong version installed, no conf.h and cell-info.h21:46
T42<elros34> No update candidate for 'ofono-devel-1.67.5-1.armv7hl'. The highest available version is already installed21:47
T42<elros34> see if you would provide full log then it would be clear long time ago21:47
T42<Spidey24Z> zypper install --oldpackage ofono-devel-1.28+git3.1-1.12.1.jolla.armv7hl21:49
T42<Spidey24Z> build success21:56
T42<Spidey24Z> voice call works but still incoming calls showed as private number22:06

Generated by 2.17.1 by Marius Gedminas - find it at!