T42 | <Spidey24Z> ofonod[970]: failed to set rat mode what is this? | 06:06 |
---|---|---|
T42 | <kreatowastaken> @elros34 it was because of a patch | 06: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 moment | 06:56 |
Thaodan | Loading from where? | 06:56 |
T42 | <kreatowastaken> /system/lib64 | 06:56 |
Thaodan | that is intended | 06:56 |
Thaodan | it shouldn't come from there | 06:56 |
T42 | <kreatowastaken> why | 06: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 usually | 06:57 |
Thaodan | No it doesn't this is not Android.. the issue is it might pick the unpatched libgl | 07:01 |
Thaodan | we don't want the unpatched libegl | 07:01 |
T42 | <kreatowastaken> i see | 07:03 |
T42 | <kreatowastaken> well atleast now lipstick gets farther than before... so im gonna not apply that patch for now | 07: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 now | 07: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> no | 07:14 |
T42 | <kreatowastaken> idk how to do that but i can do it if u tell me how | 07:20 |
Thaodan | Please look how libhybris works | 07:21 |
Thaodan | It looks like it works but it doesn't | 07:21 |
Thaodan | If you pick libegl from /system it is without hybris | 07:21 |
T42 | <kreatowastaken> i see | 07: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 necessary | 07:27 |
T42 | <kreatowastaken> okay | 07:28 |
T42 | <kreatowastaken> im rebuilding hybris-hal right now, will do if the issue continues | 07:28 |
T42 | <kreatowastaken> fixed by applying `0004-hybris-Pick-GLES-shared-objects-from-appropriate-pat.patch` then removing / from libEGL.so, libGLESv1_CM.so and libGLESv2.so on `frameworks/native/opengl/libs/EGL/Loader.cpp` | 08:29 |
T42 | <kreatowastaken> now it loads fine with the patched libEGL.so it seems | 08:29 |
T42 | <kreatowastaken> right now lipstick segfaults | 08:29 |
T42 | <kreatowastaken> what should i do next? Should i send a strace of that? | 08:30 |
T42 | <kreatowastaken> i have this same issue now | 08: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> https://hastebin.com/orakeruyar | 15:28 |
T42 | <kreatowastaken> | 15:28 |
T42 | <kreatowastaken> lipstick strace; | 15:28 |
T42 | <kreatowastaken> https://gist.github.com/kreatoo/57b8512e834238efc40c5132698ac33c | 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 wifi | 16:08 |
T42 | <11> Error /net/connman/technology/wifi: No carrier | 16:08 |
T42 | <11> [ 1121.584870] dhd_wl_ioctl: WLC_SET_VAR: scb_probe, ret = -4 | 16:08 |
T42 | <11> [ 1121.584876] dhd_set_scb_probe: max_scb_probe setting failed | 16:08 |
T42 | <Spidey24Z> any fix for ofono can't make calls and all incoming calls showed as private number | 19:48 |
mal | anything in logs? | 19:57 |
mal | also check permissions/user/group of /var/lib/ofono | 19: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 sure | 20:00 |
mal | hmm, could be | 20:00 |
T42 | <elros34> got something, 2 patches, no idea whether they are up to date: https://github.com/DeadSquirrel01/ofono/commits/master | 20:04 |
mal | probably needs rebasing | 20:05 |
T42 | <Spidey24Z> ofonod[984]: failed to set rat mode this keep spamming (re @SailfishFreenodeIRCBridgeBot: <mal>anything in log...) | 20:07 |
T42 | <Spidey24Z> https://pastebin.com/GFF8JJgQ (re @SailfishFreenodeIRCBridgeBot: <mal>also check perm...) | 20:08 |
mal | check the link above, you should rebase that branch locally build it and install on device and see if it helps | 20:35 |
T42 | <Spidey24Z> i did but now ofono not work https://pastebin.com/EThEG0kA (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) 1.0.2.1 (version used in sfos 4.0.68) | 21:11 |
T42 | <elros34> 4.4.0.68* | 21:13 |
T42 | <Spidey24Z> https://github.com/mer-hybris/ofono-ril-plugin/tree/upgrade-4.4.0 this one ? | 21:14 |
T42 | <elros34> yeah | 21: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 directory | 21: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/build_packages.sh --mw=ofono-ril-plugin | 21:21 |
T42 | <Spidey24Z> yeah (re @elros34: did you remove that ...) | 21:21 |
T42 | <elros34> check: rpm -ql ofono-devel in sdk target | 21:25 |
T42 | <elros34> or simple zypper se -s ofono | 21:26 |
T42 | <Spidey24Z> @elros34 https://pastebin.com/jUtzx4mA | 21:31 |
T42 | <Umeaman> I personally prefer ghostbin | 21:31 |
T42 | <Umeaman> Or https://pst.klgrth.io/ to be exact. | 21:32 |
T42 | <Spidey24Z> @elros34 https://pastebin.com/PfkGBs7D new error | 21: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 snapshot | 21:36 |
T42 | <Spidey24Z> PlatformSDK [ayman@ayman-3485bag hadk]$ sdk-assistant target maintain samsung-grandneove3g-armv7hl zypper se -s ofono | 21:36 |
T42 | <elros34> do you still have ofono packages in droid-local-repo? What about rpm -ql (again) ? | 21:38 |
T42 | <Spidey24Z> i delete them | 21:41 |
T42 | <Spidey24Z> https://pst.klgrth.io/paste/vesvk (re @elros34: do you still have of...) | 21:41 |
T42 | <Spidey24Z> full log https://pst.klgrth.io/paste/zg9uc | 21:46 |
T42 | <elros34> looks like wrong version installed, no conf.h and cell-info.h | 21:46 |
T42 | <elros34> No update candidate for 'ofono-devel-1.67.5-1.armv7hl'. The highest available version is already installed | 21:47 |
T42 | <elros34> see if you would provide full log then it would be clear long time ago | 21:47 |
T42 | <Spidey24Z> zypper install --oldpackage ofono-devel-1.28+git3.1-1.12.1.jolla.armv7hl | 21:49 |
T42 | <Spidey24Z> build success | 21:56 |
T42 | <Spidey24Z> voice call works but still incoming calls showed as private number | 22:06 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!