mccreary | piggz, the dts file for the pro1 is kernel/msm-4.4/arch/arm/boot/dts/qcom/msm8998-v2-qrd-skuk-t5.dts | 01:13 |
---|---|---|
mccreary | yes, we have the kernel sources now ;) | 01:16 |
mccreary | FWIW I'm having trouble with bootctl too | 01:49 |
mccreary | But otherwise TWRP is looking pretty good | 01:49 |
mccreary | You can boot it without flashing via 'fastboot boot twrp.img' now | 01:50 |
mccreary | FYI, tdm posted his kernel tree to https://github.com/tdm/android_kernel_fxtec_msm8998 | 02:30 |
mccreary | That's CAF msm-4.4 tag LA.UM.7.4.r1-05000-8x98.0 with the F(x)Tec changes merged on top | 02:32 |
Mister_Magister | wait mccreary u r lineage dev for fxtec? | 04:55 |
T42 | <adampigg> Mccreary: nice :) | 05:31 |
Mister_Magister | my enegry to porting is kinda bacc untill my mental health go down again :P | 06:15 |
Mister_Magister | mal: any smart way of debugging dhi? it's rebooting soon after starting it | 06:16 |
T42 | <adampigg> Edit droid-hal-stattup to add strace into file? | 06:30 |
Mister_Magister | why would i edit it | 06:30 |
Mister_Magister | i added strace while running it manually | 06:30 |
T42 | <adampigg> And it tells you? | 06:31 |
Mister_Magister | nothing | 06:31 |
T42 | <adampigg> Have u built a droidmedia yet for me? | 06:31 |
Mister_Magister | fighting with audioflingerglue | 06:32 |
Mister_Magister | meh ill try | 06:32 |
Mister_Magister | buildin' but our repo is broken | 06:34 |
Mister_Magister | like seriously broken | 06:34 |
Mister_Magister | hmm started manually doesn't reboot | 06:40 |
Mister_Magister | @adampigg nope repo is duckd | 06:41 |
Mister_Magister | can't compile neither afglue or droidmedia | 06:41 |
Mister_Magister | ok spam with [ 78.003317] (CPU:5-pid:4619:pm-service) IPC_RTR: msm_ipc_router_bind: pm-service Do not have permissions | 06:43 |
Mister_Magister | dunno if it's direct problem but it's not rebooting at least | 06:43 |
T42 | <adampigg> ok, if noone fixes i will try and build on my branch from before rebase | 06:48 |
Mister_Magister | i'm sure on older base it would work | 06:50 |
T42 | <adampigg> btw, currentl on depecher on pro1 | 06:51 |
Mister_Magister | still no wifi here | 06:53 |
Mister_Magister | ARGH when i thought i got stable init its rebooting agian | 06:54 |
T42 | <adampigg> mal, minor point atm, but how can i enable landscape mode in jolla home like on a tablet | 07:26 |
Mister_Magister | @adampigg patches | 07:31 |
Mister_Magister | there is patch to enable every orientation everywhere | 07:31 |
T42 | yuezhengbaizhi was added by: yuezhengbaizhi | 08:00 |
Mister_Magister | great nick | 08:04 |
Mister_Magister | connect(6, {sa_family=AF_UNIX, sun_path="/run/user/100000/../../display/wayland-0"}, 43) = -1 ENOENT (No such file or directory) =C | 08:10 |
Mister_Magister | well test_hwc2 is segfaulting without any real reason | 08:15 |
Mister_Magister | mal: in pro1 i had to add ueventd.rc in build to generate proper udev rules. The problem is in 5z i don't have any addiitional ueventd and udev rules are wrong. any idea? | 08:15 |
Mister_Magister | also libGLESv2_adreno.so is not found | 08:18 |
T42 | <adampigg> is it on the device | 08:20 |
Mister_Magister | its in vendor | 08:20 |
Mister_Magister | i symlinked it to libexec | 08:20 |
Mister_Magister | mal: great on 5z uevent.d is in /vendor not even in sources | 09:46 |
KALUbE | Hi guys, I'm stuck with no display - samsung j3 2016 (j3xnlte). test_hwcomposer fails with Assertion eglMakeCurrent (strace: https://pastebin.com/9GDuWA5V). Minimer, surfaceflinger and lipstick go into a nanosleep loop and the display remains on the bootloader screen (minimer strace: https://pastebin.com/cg4FtP6x) | 10:17 |
KALUbE | For context, the display backlight goes from dark to bright on screen double tap or power button, so all those things work. It seems that nothing can write to the framebuffer | 10:18 |
KALUbE | I have MALI_QUIRKS defined in my spec also. This phone is the model with a Spreadtrum CPU and mali-400. | 10:20 |
T42 | <adampigg> try running surfaceflinger then killing it | 10:20 |
KALUbE | Starting and then killing surfaceflinger doesn't change the output of any test_hwcomposer or minimer, or their strace output | 10:25 |
KALUbE | Should I try this from init_enter_debug2? | 10:25 |
T42 | <elros34> does surfaceflinger show something? If not maybe you are still missing something. Last time I tried mali device I had to use EGL_PLATFORM=fbdev instead hwcomposer | 10:30 |
KALUbE | I tried from debug2 with similar results, I'll check to see if fbdev changes anything | 10:31 |
T42 | <elros34> mask user@100000.service so systemd will not try to start lipstick | 10:32 |
KALUbE | Will do | 10:33 |
KALUbE | Same thing happens, surfaceflinger nanosleep and hwcomposer assert failure | 10:36 |
KALUbE | test_hwcompsoer* | 10:36 |
T42 | <elros34> I think surfaceflinger should works otherwise something in android side is broken. Do you have hybris-14 or 15 (depends on your base) specific changes from faq? also check journalctl and logcat. | 10:40 |
KALUbE | Hybris 14.1, I have applied the libexec symlinks from the faq | 10:41 |
KALUbE | /system/bin/logcat gives "logcat read failure" | 10:41 |
Mister_Magister | because dhi isn't running | 10:42 |
T42 | <elros34> then I bet droid-hal-init also fail | 10:42 |
KALUbE | droid-hal-init is active, it fails on ExecStartPre=/bin/sh /usr/bin/droid/droid-hal-early-init.sh (code=exited, status=127) but continues anyway and second-stage is running | 10:43 |
KALUbE | the early-init script doesn't exist, I assumed it was deprecated and left in by mistake? | 10:44 |
mal | no, it's optional script for devices which need to run something before droid-hal-init | 10:45 |
KALUbE | ah ok | 10:46 |
KALUbE | Mister_Magister: Can't find anything about dhi? | 10:46 |
Mister_Magister | droid-hal-init | 10:47 |
Mister_Magister | in short | 10:47 |
mal | the ~ at the beginning of the command in https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse/lib/systemd/system/droid-hal-init.service#L18 means it won't fail for that | 10:47 |
Mister_Magister | same what elros said | 10:47 |
KALUbE | ahhhh. right | 10:47 |
KALUbE | Seems to be a brick wall then? droid-hal-init is up | 10:48 |
mal | logs | 10:48 |
KALUbE | cat /dev/urandom > /dev/fb0 does nothing - hmmmm | 10:48 |
mal | framebuffer rarely works directly on modern mobile devices | 10:50 |
KALUbE | I guess that makes sense. With user\@100000.service masked journalctl -b :https://pastebin.com/64Y131HQ and dmesg :https://pastebin.com/fssKa509 | 10:52 |
KALUbE | I'll unmask and get more logs... | 10:52 |
T42 | <elros34> don't unmask, just provide full journalctl -b —no-page log with dhi output included. | 10:54 |
KALUbE | https://pastebin.com/m84bJCT7 - I think I found the error: unknown:0 - Failed to create display (No such file or directory) | 10:59 |
Mister_Magister | some1 knows where can i find servicemanager sources? | 11:00 |
mal | the error is probably in android side, get output of /usr/libexec/droid-hybris/system/bin/logcat | 11:00 |
KALUbE | logcat read failure | 11:01 |
KALUbE | Same as root and nemo | 11:02 |
KALUbE | logd isn't running, strace logd has unlinkat(AT_FDCWD, "/dev/socket/logdr", 0) = -1 ENOENT (No such file or directory) | 11:04 |
T42 | <elros34> droid-hal-init: property_set * failed all over the place | 11:04 |
KALUbE | Interesting, I'll get an strace | 11:06 |
KALUbE | droid-hal-init strace https://pastebin.com/ydbJtxxx | 11:11 |
mal | PSA: the brave ones amongst us can now buy Xperia 10 and help porting together, it already boots to UI and many things work. the bravest ones can buy any android 9 open device and port using the instructions: https://sailfishos.org/wiki/Sailfish_X_Xperia_Android_9_Build_and_Flash | 11:12 |
mal | Mister_Magister: https://github.com/mer-hybris/droid-config-sony-ganges-pie/commit/5d98fc2cd583860313648eeac9b7a7264a471ef3 | 11:13 |
Mister_Magister | mal: we were first HMPF! | 11:15 |
Mister_Magister | now gib fix for ld.config | 11:16 |
mal | Mister_Magister: that is the fix | 11:16 |
Mister_Magister | oh | 11:16 |
Mister_Magister | so the file apply to every phone? | 11:16 |
mal | Mister_Magister: well were you really first :P | 11:16 |
mal | probably does, or you can grab the version from your device and compare first | 11:16 |
Mister_Magister | mal: u didn't gib hybris16 sources so | 11:16 |
Mister_Magister | first on twitter | 11:17 |
Mister_Magister | ill also have to mount bind some rc files on vendor partition | 11:17 |
Mister_Magister | mal: btw as you like to play with patches | 11:17 |
Mister_Magister | ServiceManager: SELinux: Failed to acquire service_manager context. Aborting do you have patch for this? | 11:17 |
Mister_Magister | i preloaded selinux_stubs | 11:17 |
Mister_Magister | wait i need to preload 64bit version | 11:18 |
T42 | <elros34> KALUBe: do you have property_contexts file in droid-hal-$DEVICE/*detritus* package? | 11:18 |
Mister_Magister | mal: xiaomi tries to fight my beer opener | 11:20 |
KALUbE | elros34: Not sure exactly what directory you mean but find didn't show any files in a directory like that | 11:21 |
Mister_Magister | https://www.facebook.com/miui.global.official/videos/2323695687748822/ | 11:21 |
Mister_Magister | it's impossible to open beer the way she is holding phone tho | 11:22 |
Mister_Magister | clearly she never opened beer | 11:22 |
T42 | <elros34> KALUBe: $ANDROID_ROOT/droid-local-repo/ | 11:22 |
Mister_Magister | mal: preloading 64bit changes nothing. ideas for ServiceManager: SELinux: Failed to acquire service_manager context? | 11:23 |
KALUbE | elros34: No property_context file, and no detritus package? | 11:24 |
T42 | <elros34> then found that file somewhere in out/ maybe and copy to sfos root / | 11:25 |
Mister_Magister | why preloading selinux_stubs wont work URGH | 11:30 |
KALUbE | Interestingly the file exists in /out/target/product/$DEVICE/root/property_contexts but not on the device | 11:30 |
KALUbE | no way | 11:33 |
KALUbE | it works | 11:33 |
KALUbE | elros34: Thanks so much :D | 11:33 |
KALUbE | Just gonna unmask dhi and reboot | 11:33 |
* Mister_Magister meanwhile me, lonely madman debugging dhi | 11:35 | |
T42 | <birdzhang> @KALUbE add them to droid-hal-$DEVICE.spec | 11:35 |
KALUbE | birdzhang: Straggler files right? | 11:36 |
KALUbE | no wlan :( | 11:36 |
T42 | <birdzhang> https://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-common.inc#L16 | 11:37 |
T42 | <birdzhang> yup | 11:37 |
Mister_Magister | mal: please | 11:39 |
T42 | <adampigg> mal, how about jolla sending xperia 10s to devs ;P | 11:43 |
T42 | <eugenio_g7> :P | 11:45 |
T42 | <eugenio_g7> Wondering if I should rebase my loire HA over Pie | 11:46 |
Mister_Magister | mal: okay i'm retard | 11:52 |
T42 | <adampigg> eugenio, no, work on latte ;P | 11:54 |
Mister_Magister | mal: any idea how to debug egl hwc2? strace is saying nothing | 11:59 |
Mister_Magister | or maybe i'm blind? http://paste.opensuse.org/view//95912223 | 12:02 |
T42 | <eugenio_g7> @adampigg: :P | 12:02 |
Mister_Magister | who is gonna get fully working android9 port faster | 12:02 |
Mister_Magister | some 3 random dudes or company | 12:02 |
Mister_Magister | place your bets on https://www.paypal.me/MisterMagister | 12:03 |
T42 | <adampigg> ive been using one all day, its practically done lol | 12:03 |
Mister_Magister | not really | 12:03 |
Mister_Magister | it's missing a lot of stuff | 12:03 |
Mister_Magister | audioflingerglue, droidmedia, gps | 12:03 |
T42 | <adampigg> who needs media | 12:03 |
Mister_Magister | playing yt | 12:03 |
T42 | <adampigg> ill get that this week i reckon | 12:03 |
Mister_Magister | and gps | 12:04 |
Mister_Magister | u need gps | 12:04 |
Mister_Magister | and calls | 12:04 |
Mister_Magister | without calls it's not a phone | 12:04 |
Mister_Magister | only smart | 12:04 |
T42 | <adampigg> well, im sure calls would work if it had an imei | 12:06 |
Mister_Magister | without audioflingerglue? | 12:07 |
Mister_Magister | doubt that | 12:07 |
Mister_Magister | i mean i could call | 12:07 |
T42 | <adampigg> well yes | 12:07 |
Mister_Magister | but no sound | 12:07 |
Mister_Magister | in cal | 12:07 |
Mister_Magister | call* | 12:07 |
Mister_Magister | so you need audioflingerglue | 12:07 |
T42 | <adampigg> i know man | 12:07 |
Mister_Magister | then why are you saying you don't need it | 12:08 |
Mister_Magister | @adampigg now tell me why this segfaulted http://paste.opensuse.org/view//95912223 | 12:08 |
T42 | <adampigg> geez, it wasnt a serious position, chillax | 12:08 |
Mister_Magister | ;-; | 12:09 |
Mister_Magister | i want hwc | 12:09 |
Mister_Magister | i'm thiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiis close to gui | 12:09 |
Mister_Magister | need to find udev rules for /dev/*binder | 12:09 |
Mister_Magister | seriously if someone even answered to my problem i would be happy ;-; | 12:11 |
T42 | <adampigg> relax, it will come to u, no rush | 12:15 |
T42 | <adampigg> mal, and while prepping our complimentary xperia 10s, can u create an obs repo for us pro1 devs pls | 12:16 |
Mister_Magister | and for 5z plz | 12:18 |
Mister_Magister | devel:fxtec:t5 and devel:asus:5z | 12:18 |
Mister_Magister | if strace is not helpful nothing is | 12:20 |
Mister_Magister | oh also @adampigg no sensors :) | 12:33 |
T42 | <adampigg> i think droidmedia might fix sensors.. i already did some fixes on android side, cant wait for ya | 12:34 |
mal | droidmedia and audioflingerglue changes for android 9 base have now been merged | 12:35 |
T42 | <adampigg> nice | 12:35 |
Mister_Magister | @adampigg | 12:36 |
Mister_Magister | then go fix it lol | 12:36 |
Mister_Magister | you seem to have most free time from us all | 12:36 |
T42 | <adampigg> im at work, later eh | 12:36 |
Mister_Magister | i will do dunno | 12:36 |
Mister_Magister | nothing probably cause i'm too stupid | 12:36 |
T42 | <adampigg> also im off tomorrow | 12:36 |
Mister_Magister | why is everyone ignoring me eh | 12:37 |
mal | too much text, I'm too lazy to read through all | 12:38 |
Mister_Magister | ;-; | 12:39 |
mal | Mister_Magister: you are sure the ueventd*.rc was correctly in out/ ? | 12:39 |
Mister_Magister | i copied them from device | 12:40 |
mal | to where? | 12:40 |
Mister_Magister | root | 12:40 |
Mister_Magister | where dhi picks it up | 12:40 |
Mister_Magister | i mean dhd | 12:40 |
mal | you mean to out/.../root ? | 12:40 |
Mister_Magister | yeah | 12:40 |
Mister_Magister | i checked paths in dhd | 12:40 |
Mister_Magister | i probably miss another one because /dev/*binder has wrong permissions but that doesn't matter i set them before starting dhd | 12:41 |
Mister_Magister | dhi* | 12:41 |
mal | Mister_Magister: try https://github.com/mer-hybris/droid-config-sony-ganges-pie/commit/cfbd0129bcf41dcb09ca3891d19f8464b55e2391 | 12:42 |
Mister_Magister | whats that? | 12:42 |
Mister_Magister | i can't see any reasonable change | 12:43 |
mal | copy that version of droid-hal-init.service to your device and see what happens | 12:43 |
Mister_Magister | i mean i start dhi manually | 12:43 |
Mister_Magister | i don't have udev rules for /dev/binder so can't use service | 12:44 |
Mister_Magister | yeah no uevent.d file sets permissions to hwbinde and vndbinder lol | 12:45 |
Mister_Magister | http://paste.opensuse.org/view//2725215 | 12:46 |
Mister_Magister | i will just set them myself | 12:46 |
T42 | <adampigg> @Mister_Magister [why is everyone ignoring me eh], cos youre grumbling alot today ;P | 12:47 |
Mister_Magister | dhi in seconds is sweet if ihadn't 5 seconds of dmverity | 12:47 |
Mister_Magister | like always don't mind my mental disablility | 12:48 |
Mister_Magister | mal: /usr/bin/droid/droid-hal-early-init.sh doesn't exist | 12:49 |
Mister_Magister | mal dhi running no gui | 12:50 |
Mister_Magister | test_hwc2 dies right after open("/proc/filesystems", O_RDONLY|O_CLOEXEC) = 3 | 12:50 |
Mister_Magister | which isn't really related i think | 12:50 |
Mister_Magister | @adampigg at least i'm getting Waited one second for android.frameworks.sensorservice@1.0::ISensorManager/default. Waiting another... on 5z aswell | 12:52 |
mal | Mister_Magister: so you didn't bother reading what I just wrote earlier today on this channel about droid-hal-early-init.sh | 12:53 |
T42 | <adampigg> yes, thats why we need droidmedia | 12:53 |
Mister_Magister | that there is - at the beginning so it doesn't matter? | 12:53 |
mal | yes, that is optional for device specific extra commands | 12:54 |
T42 | <adampigg> mal, what examples of things that needto be run on early init | 12:54 |
Mister_Magister | i don't really follow all the talks | 12:54 |
mal | I also told that, well in a link I gave https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/usr/bin/droid/droid-hal-early-init.sh | 12:54 |
T42 | <adampigg> u should use piggz grep tool | 12:55 |
Mister_Magister | mal: then the answer is, this service changed nothing :/ | 12:55 |
Mister_Magister | oh | 12:55 |
Mister_Magister | nice | 12:55 |
mal | Mister_Magister: did you use the ld.config hack on that device? | 12:55 |
Mister_Magister | i replaced linker | 12:55 |
Mister_Magister | mal: do you want some logs maybe? | 12:59 |
Mister_Magister | strace and logcat aren't useful tho | 12:59 |
mal | what do you think? | 13:04 |
Mister_Magister | if they aren't useful then no | 13:04 |
liux | how to apply for obs building? seems sledges is not here for a few days | 13:05 |
Mister_Magister | http://paste.opensuse.org/view//32645306 | 13:06 |
Mister_Magister | liux: ask mal | 13:06 |
Mister_Magister | mal: this link is the strace | 13:06 |
Mister_Magister | hwc2 gives nothing in logcat | 13:07 |
liux | mal, could you please help me create project on sailfish obs? | 13:08 |
Mister_Magister | liux: first create it in your home repo | 13:09 |
Mister_Magister | and test it using home repo | 13:09 |
Mister_Magister | then ask mal to create devel repo for you | 13:10 |
Mister_Magister | ;-; | 13:10 |
liux | Mister_Magister, I'm not sure what's home repo. I have no account on build.merproject.org yet. | 13:11 |
Mister_Magister | oh | 13:12 |
Mister_Magister | i don't remember who created accounts | 13:12 |
Mister_Magister | isn't that in faq? | 13:12 |
Mister_Magister | can someone tell me why is faq in russian? | 13:13 |
liux | hadk said it's sledges for creating project, but no metion on account creating | 13:14 |
mal | someone again used google translate or something ot translate it | 13:14 |
Mister_Magister | first line in faq | 13:15 |
mal | instructions are here https://bugs.merproject.org/ | 13:15 |
Mister_Magister | mal: seen anything interesting in strace? | 13:16 |
mal | too tired to read strace now | 13:17 |
Mister_Magister | well k understandable | 13:17 |
Mister_Magister | any longshot tips tho? anything comming to your mind? | 13:17 |
Mister_Magister | i am totally out of ideas | 13:17 |
Mister_Magister | i had to symlink eglSubDriverAndroid.so and libGLESv2_adreno.so if that's relevant | 13:18 |
mal | I find it odd that all things are loaded from /usr/libexec and nothing from /system or /vendor | 13:20 |
Mister_Magister | yeah same | 13:20 |
mal | does /usr/libexec really contain almost everything you have in those other places | 13:20 |
Mister_Magister | on pro1 things were loaded from /vendor and /system but not /usr | 13:20 |
mal | I think you might be missing build minímizing | 13:20 |
Mister_Magister | ofc i didn't minimize anything | 13:21 |
mal | how big is droid-hal rpm | 13:21 |
Mister_Magister | just patched | 13:21 |
mal | well build/core patches are the minimizing | 13:21 |
Mister_Magister | 8.5MB | 13:21 |
Mister_Magister | that isn't big i think | 13:22 |
mal | are all of the files so small? | 13:22 |
mal | the other rpms | 13:22 |
Mister_Magister | others are some KB and kernels are 15MB | 13:23 |
Mister_Magister | do everything seems fine | 13:30 |
Mister_Magister | mal: when i didn't have symlink it didn't search vendor or system only libexec | 13:30 |
mal | what symlink? | 13:34 |
Mister_Magister | [15:18] <Mister_Magister> i had to symlink eglSubDriverAndroid.so and libGLESv2_adreno.so if that's relevant | 13:35 |
Mister_Magister | to usr | 13:35 |
mal | where were those files originally? | 13:36 |
Mister_Magister | eglSubDriverAndroid.so -> /vendor/lib/egl/eglSubDriverAndroid.so libGLESv2_adreno.so -> /vendor/lib/egl/libGLESv2_adreno.so | 13:37 |
mal | the real question is why it didn't find those, those should be ok places for the libs | 13:39 |
mal | was that before or after the linker hack | 13:40 |
Mister_Magister | after | 13:40 |
Mister_Magister | it searches only usr | 13:40 |
Mister_Magister | let me show you | 13:41 |
Mister_Magister | huh hwc2 doesn't even require them | 13:43 |
Mister_Magister | test_egl does | 13:44 |
mal | something is really wrong then in your build | 13:44 |
Mister_Magister | i doubt in that | 13:44 |
Mister_Magister | http://paste.opensuse.org/view//41311031 | 13:44 |
Mister_Magister | i mean i still might miss some patches | 13:44 |
Mister_Magister | it's not like hybris16 is out | 13:45 |
mal | what should I look in that strace+ | 13:45 |
mal | it loads libGLESv2_adreno.so | 13:45 |
Mister_Magister | yeah | 13:45 |
Mister_Magister | just it spams with library "libGLESv2_adreno.so" not found | 13:45 |
Mister_Magister | and library "eglSubDriverAndroid.so" not found before segfault | 13:46 |
mal | I don't understand that issue, what exact symlink did you add | 13:46 |
Mister_Magister | http://paste.opensuse.org/view//69304904 | 13:46 |
Mister_Magister | i removed the symlinks | 13:46 |
Mister_Magister | to show you why i added them | 13:46 |
Mister_Magister | they were in /usr/libexec/.../system/lib/ eglSubDriverAndroid.so -> /vendor/lib/egl/eglSubDriverAndroid.so libGLESv2_adreno.so -> /vendor/lib/egl/libGLESv2_adreno.so | 13:47 |
mal | where are the original files | 13:47 |
Mister_Magister | there was no files | 13:48 |
mal | ? | 13:48 |
Mister_Magister | i mean eglSubDriverAndroid.so libGLESv2_adreno.so were missing from /usr/libexec/droid-hybris/system/lib/ | 13:48 |
mal | those shouldn't even be there | 13:48 |
Mister_Magister | just test_egl spams http://paste.opensuse.org/view//69304904 because it can't find them there | 13:49 |
Mister_Magister | so i added them | 13:49 |
Mister_Magister | but that doesn't change anything really | 13:49 |
mal | well it obviously should be looking for them in /system and /vendor also | 13:49 |
Mister_Magister | that is shown in strace | 13:50 |
mal | which just means something is wrong in your build | 13:50 |
mal | I really cannot understand what you are saysing | 13:50 |
mal | *saying | 13:50 |
Mister_Magister | me too i cannot understand what you want from me | 13:50 |
mal | the strace and what you are saying conflict | 13:51 |
Mister_Magister | mal: nope it doesnt | 13:51 |
Mister_Magister | open("/vendor/lib/libGLESv2_adreno.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | 13:51 |
Mister_Magister | it never searches for /vendor/lib/egl/libGLESv2_adreno.so | 13:51 |
Mister_Magister | /vendor/lib vs /vendor/lib/egl | 13:52 |
mal | well since I have no idea what patches you are using it's difficult to help | 13:52 |
Mister_Magister | i have no idea aswell | 13:52 |
Mister_Magister | but i might be missing some | 13:52 |
mal | I still think you should revert the linker hack and use the one I gave | 13:52 |
Mister_Magister | well okay but that doesn't change anything really | 13:54 |
Mister_Magister | not the hwc2 problem | 13:54 |
mal | are you sure? one issue is linker as you can see from the need for some odd symlinks | 13:54 |
Mister_Magister | it was working on pro1… | 13:55 |
Mister_Magister | i will try | 13:55 |
Mister_Magister | i have no other option | 13:55 |
mal | plenty of options | 13:57 |
Mister_Magister | mal: then give me suggestions | 13:59 |
mal | you really should learn to debug more yourself | 14:02 |
Mister_Magister | mal: debug more myself? i'm debugging it since morning got strace logcat everything i could and i'm out of options now | 14:03 |
Mister_Magister | today i got from bootlooping dhi to stable with servicemanager working | 14:04 |
Mister_Magister | i'm trying my best here ;-; | 14:05 |
Mister_Magister | i can't do more than i'm capable of | 14:05 |
Mister_Magister | i'm too stupid | 14:05 |
mal | it's about learning, I had almost no knowledge of anything when I started and learned quite fast | 14:05 |
Mister_Magister | mal: but i'm not you. i'm too stupid | 14:10 |
Mister_Magister | it's been 4 years and i learned like nothing at all | 14:11 |
mccreary | Mister_Magister, tdm and I are working on LineageOS for the Pro1 | 15:23 |
mccreary | I am still trying to recruit a few more | 15:23 |
Mister_Magister | very nice | 15:23 |
Mister_Magister | it shouldn't be too hard i think | 15:23 |
mccreary | Heh, it isn't done yet %-P | 15:24 |
mccreary | But yeah, it should be easier than SailfishOS | 15:25 |
Mister_Magister | sfos if kindof easy too | 15:26 |
Mister_Magister | recovery with working tar would be useful | 15:26 |
mccreary | TWRP? | 15:26 |
Mister_Magister | ye | 15:26 |
mccreary | Give this a try: https://drive.google.com/file/d/1pK1awGgW26cp28XrU31UgO-KYLft1Vse/view | 15:27 |
Mister_Magister | hueh | 15:27 |
Mister_Magister | will save that for later | 15:27 |
Mister_Magister | sad that pro1 doesn't have recovery partition like normal human being | 15:27 |
mccreary | Boot it without flashing, from 'fastboot boot twrp.img' | 15:27 |
mccreary | No partition needed ;-) | 15:28 |
Mister_Magister | i mean | 15:28 |
mccreary | BTW, that img doesn't support bootctl, so you can't manipulate any A/B stuff | 15:28 |
Mister_Magister | if it had recovery partition thigs would be easier | 15:28 |
Mister_Magister | mccreary: all i need is A | 15:28 |
mccreary | And it also can't decrypt /data | 15:28 |
Mister_Magister | sfos is installed on a | 15:28 |
Mister_Magister | mccreary: sfos doesn't support encryption | 15:29 |
mccreary | Sounds good then. Let me know if you find bugs | 15:29 |
Mister_Magister | soo its perfect? | 15:29 |
mccreary | You should be able to use 'adb shell', etc.] | 15:29 |
mccreary | As well as the TWRP terminal, but the kbd won't work | 15:30 |
Mister_Magister | all i need from twrp is to mount /data AND working twr | 15:30 |
Mister_Magister | tar* | 15:30 |
mccreary | That ought to work on this img | 15:31 |
Mister_Magister | mal: i was right | 15:32 |
Mister_Magister | on fxtec /vendor/lib/libGLESv2_adreno.so is symlink to egl | 15:32 |
vknecht | when /data is encrypted, should one wipe/repair to ext4 before extracting rootfs ? | 15:32 |
Mister_Magister | which is basically same thing i did | 15:32 |
Mister_Magister | vknecht: ofcourse | 15:32 |
Mister_Magister | in twrp you have format data butto | 15:32 |
Mister_Magister | not wipe. format | 15:33 |
Mister_Magister | in fastboot you have fastboot format:ext4 | 15:33 |
vknecht | thanks | 15:33 |
Mister_Magister | why is hwc2 not working jesus | 15:33 |
mal | Mister_Magister: then why is it missing on your device | 15:38 |
Mister_Magister | nothing | 15:38 |
Mister_Magister | it should work | 15:38 |
Mister_Magister | but it isn't | 15:38 |
vknecht | so what are the options when twrp's tar fails ? tried throwing 4Gb swap, no luck ; tried a bit older twrp, nope... worked from base rom, but since /data is encrypted/mounted on dm-X instead of mmcblk0pX, it's no use iiuc | 15:56 |
vknecht | copy in a busybox/toybox binary ? make a custom twrp ? | 15:57 |
Mister_Magister | you need at least 10GB swap | 16:01 |
Mister_Magister | you can always flash it without twrp (i have it in my veins now) | 16:01 |
T42 | <DSstill01> 10 gb swap?! | 16:03 |
vknecht | oh, you're... The Flash ? :-) | 16:03 |
Mister_Magister | yeah | 16:03 |
Mister_Magister | seriously | 16:03 |
Mister_Magister | my friend had to do that | 16:03 |
Mister_Magister | oh i mean 10GB not gb | 16:03 |
Mister_Magister | 10gb swap is like 1.25GB | 16:04 |
T42 | <DSstill01> Just remove a couple of kernel configs | 16:04 |
Mister_Magister | now getting connect(6, {sa_family=AF_UNIX, sun_path="/run/user/100000/../../display/wayland-0"}, 43) = -1 ENOENT (No such file or directory) | 16:04 |
Mister_Magister | which ain't helpful | 16:04 |
Mister_Magister | ffs | 16:04 |
mal | if ui is not up then wayland is not | 16:05 |
vknecht | without twrp, you mean from (custom?) hybris-boot/recovery ? | 16:05 |
vknecht | or make a fs image with all needed in it, then fastboot flash it ? | 16:06 |
Mister_Magister | mal: but this is test_egl_configs | 16:06 |
Mister_Magister | and it requires wayland? | 16:06 |
Mister_Magister | wait | 16:07 |
Mister_Magister | i forgot EGL_PLATFORM=hwcomposer | 16:07 |
Mister_Magister | test_egl_configs works | 16:07 |
T42 | <DSstill01> Just remove lowmemory killer and the other one | 16:08 |
Mister_Magister | who are you talking to lol | 16:08 |
vknecht | me I guess | 16:09 |
T42 | <DSstill01> The one with tar error | 16:09 |
TheKit | vknecht, try busybox's tar | 16:19 |
T42 | <DSstill01> No no no | 16:21 |
T42 | <DSstill01> Lowmemory killer and oom killer | 16:22 |
vknecht | if I only have to copy busybox from out/ to eg. sdcard and use that, seems simpler ;-) guess that "removing" oom involves moded defconfig/kernel ? | 16:27 |
vknecht | thanks TheKit, untarring seems to have completed successfuly :-) | 16:42 |
TheKit | vknecht, it seems to be not oom killer problem, but of memory leakage in TWRP's version of tar | 16:44 |
TheKit | *DSstill01 | 16:45 |
T42 | <DSstill01> What is the error btw? | 16:48 |
vknecht | in my case, adb session just terminated, and twrp seemed to restart (without rebooting) | 16:49 |
vknecht | with zip install, it was error 7 | 16:50 |
Mister_Magister | mal: what if i told you i have to fix libhwc2_compat_layer | 16:58 |
mal | completely possible | 16:59 |
Mister_Magister | ah logs https://paste.opensuse.org/view//26009497 https://paste.opensuse.org/view//7693748 | 16:59 |
Mister_Magister | please if you could look at them | 16:59 |
Mister_Magister | this is after small fix from thekit | 16:59 |
Mister_Magister | totally progressed | 17:00 |
T42 | <DSstill01> Recovery.log, error 7 is everything in twrp | 17:01 |
Mister_Magister | mal: something might catch your eye | 17:01 |
vknecht | might think about it next time (if any ;-) | 17:02 |
mal | Mister_Magister: what fix did you add? | 17:02 |
mal | still very difficult to know what kind of hack you already have | 17:02 |
Mister_Magister | removed __fsetlocking from external/selinux/libselinux/src/init.c | 17:03 |
Mister_Magister | mal: yeah sorry it's kind of a mess | 17:03 |
Mister_Magister | there is no hybris16 so i just applied all patches | 17:03 |
mal | so you didn't try selinux_stubs for the hwc service? | 17:03 |
Mister_Magister | that notkit sent me | 17:03 |
Mister_Magister | mal: should i? | 17:03 |
mal | if you needed some hack to selinux? | 17:04 |
mal | wouldn't it be logical | 17:04 |
Mister_Magister | makes sense | 17:04 |
Mister_Magister | i can restore it and check | 17:04 |
Mister_Magister | mal: ERROR: ld.so: object '/usr/libexec/droid-hybris/system/lib/libselinux_stubs.so' from LD_PRELOAD cannot be preloaded (internal error): ignored. | 17:10 |
Mister_Magister | so preloading is not working… | 17:10 |
mal | so are you using the linker fix I gave | 17:10 |
* Mister_Magister goes grep in logs cause there is too many patches | 17:11 | |
Mister_Magister | oh | 17:12 |
Mister_Magister | the one with ld.something.txt | 17:12 |
Mister_Magister | no | 17:12 |
mal | https://github.com/mer-hybris/droid-config-sony-ganges-pie/commit/5d98fc2cd583860313648eeac9b7a7264a471ef3 | 17:12 |
Mister_Magister | still replaced linker | 17:12 |
mal | I told you to use that | 17:12 |
Mister_Magister | ¯\_(ツ)_/¯ | 17:12 |
mal | so you have wasted both of our time by not using what I say to use | 17:13 |
Mister_Magister | same thing | 17:14 |
Mister_Magister | no difference | 17:14 |
Mister_Magister | so not really wasted | 17:14 |
mal | did you revert the other linker hack | 17:15 |
Mister_Magister | doing it rn sir | 17:16 |
Mister_Magister | i ran out of space on /system | 17:23 |
Mister_Magister | lol | 17:23 |
Mister_Magister | mal: same thing ERROR: ld.so: object '/usr/libexec/droid-hybris/system/lib/libselinux_stubs.so' from LD_PRELOAD cannot be preloaded (internal error): ignored. | 17:26 |
Mister_Magister | so that fix is really needed | 17:27 |
Mister_Magister | can i do it again now? | 17:27 |
mal | Mister_Magister: I assume you have 64-bit lib and not 32? | 17:32 |
Mister_Magister | preload 64bit lib? | 17:32 |
Mister_Magister | oh | 17:32 |
Mister_Magister | worked | 17:32 |
mal | so you didn't look at all what other devices line xa2 did | 17:33 |
mal | *like | 17:33 |
Mister_Magister | wait no | 17:33 |
Mister_Magister | it didn't work | 17:33 |
Mister_Magister | i need 32bit | 17:33 |
mal | you have 32-bit android on the device? | 17:34 |
Mister_Magister | ofcourse not | 17:34 |
Mister_Magister | test_hwc2 is 32bit binary | 17:34 |
Mister_Magister | cause it's sfos | 17:34 |
mal | you are not adding that to that binary but to the hwc android side service | 17:34 |
Mister_Magister | OH | 17:34 |
Mister_Magister | I SEE | 17:35 |
mal | what the hell are you doing, think a little | 17:35 |
mal | the issue was that the hwc service was dying | 17:36 |
Mister_Magister | sorry | 17:37 |
Mister_Magister | nope back to square one | 17:38 |
Mister_Magister | __fsetlocking seems to be really needed | 17:38 |
Mister_Magister | i mean removing it | 17:38 |
mal | from where? | 17:41 |
mal | show list of patches (only commit messages needed) you have in system/core | 17:44 |
Mister_Magister | [19:03] <Mister_Magister> removed __fsetlocking from external/selinux/libselinux/src/init.c | 17:50 |
Mister_Magister | from here | 17:50 |
Mister_Magister | erm… i used patch command erm | 17:50 |
Mister_Magister | i'll try | 17:50 |
vknecht | replying to myself, seems one can disable oom killing with "echo -1000 > /proc/self/oom_score_adj" (seen in /sbin/preinit) | 18:31 |
mal | vknecht: maybe that could be added to the sfos install script before starting to use tar? | 18:32 |
vknecht | maybe, but iiuc there's another issue to tackle first : https://github.com/mer-hybris/hybris-boot/issues/162 | 18:38 |
vknecht | had a go with the proposed script and got an error 2 instead of 7 | 18:38 |
vknecht | and since I couldn't quickly find the reason behind the error code, went to the manual untar way | 18:39 |
vknecht | is it ok when "init-debug-stderrout" only contains "+ exec" ? | 18:45 |
T42 | <meierrom> mal: how good is the fp2 port currently? Do you have issues of overheating? How about proximity sensor? Are there bugs left? | 18:45 |
vknecht | and /data/.stowaways/sailfishos/boot/systemd_stdouterr only has two non-empty lines like: | 18:46 |
vknecht | mount: /proc: none already mounted on /config. | 18:46 |
vknecht | mount: /sys: none already mounted on /config. | 18:46 |
vknecht | ? | 18:46 |
mal | @meierrom no heating issues, proximity sensor if fine in my opinion, no known issues, at least not anything serious | 18:48 |
T42 | <meierrom> mal: cool! Thanks! :) | 18:50 |
mal | @meierrom why do you ask? what kind of overheating did you mean, I haven't noticed any heating, unless of course doing something very heavy on the device | 18:52 |
* vknecht thinks Mal does not play games enough :-) | 18:52 | |
mal | vknecht: I rarely play games and if I do those are mostly the old style adventure games | 18:53 |
vknecht | like, baldur's gate, or those rogue things, played through telnet ? :-) | 18:54 |
mal | I mean things like monkey island and other point and click games | 18:54 |
Mister_Magister | mal: on new patchset. can i remove __fsetlocking now? | 18:55 |
vknecht | ah yes, nice, I quite liked the indiana jones last crusade style | 18:56 |
vknecht | too bad that doesn't work so well on touch terminals | 18:56 |
vknecht | but maybe you have a patch ? XD | 18:57 |
mal | vknecht: I should finish my scummvm port | 18:57 |
mal | Mister_Magister: I think it should not be used | 18:57 |
* vknecht facepalms ! he has... | 18:57 | |
Mister_Magister | but after removing it it progresses | 18:57 |
Mister_Magister | now it just segfaults | 18:57 |
mal | Mister_Magister: even with the new patch set? | 18:57 |
Mister_Magister | yep | 18:58 |
mal | and you are sure you have selinux_stubs patch? | 18:58 |
T42 | <meierrom> mal: there were comments in the international sfos group about the rather bad hw quality of fp2 causing overheating and problems with prox. sensor. | 18:58 |
Mister_Magister | yep its in service tho | 18:58 |
Mister_Magister | not in test_hwc2 | 18:58 |
Mister_Magister | mal: https://paste.opensuse.org/view//56774517 | 19:00 |
mal | @meierrom have they calibrated the sensor, only hw issue in the main fp2 I use has been that the case is breaking apart which is a known issue in the old style case | 19:00 |
mal | Mister_Magister: did you try with preload now | 19:01 |
mal | *without | 19:01 |
Mister_Magister | yes | 19:01 |
Mister_Magister | without | 19:01 |
Mister_Magister | no | 19:01 |
Mister_Magister | mal: same | 19:04 |
Mister_Magister | https://paste.opensuse.org/view//39208691 this is the end of a strace | 19:04 |
T42 | <DSstill01> Rtc alarm can be tested with alarm in clock app? | 19:05 |
mal | yes | 19:05 |
T42 | <DSstill01> Aww, it work then lol | 19:06 |
Mister_Magister | lol | 19:06 |
Mister_Magister | mal: explanation to the fslocking is | 19:08 |
Mister_Magister | libpdx_default_transport.so statically links to libselinux, so it needs to be included in Mer droid-hybris overlay to avoid the crash | 19:08 |
T42 | <DSstill01> My device is the one with less bugs compared to other samsung devices, according to adaptations page. So cool | 19:10 |
Mister_Magister | mal: can i just apply it temporarily? | 19:10 |
* Mister_Magister is this how you write it | 19:10 | |
T42 | <DSstill01> No | 19:10 |
T42 | <meierrom> mal: calibration? Is this required to be done by the user? Is there a manual? | 19:10 |
T42 | * DSstill01 aaa | 19:10 |
Mister_Magister | mal: https://paste.opensuse.org/view//21116623 | 19:11 |
T42 | <DSstill01> Btw if i wanted i could nuke adaptations page as all registered users can edit it and delete everthing | 19:14 |
T42 | <eugenio_g7> ...and the changes can be reverted | 19:15 |
T42 | <DSstill01> Aww | 19:15 |
T42 | <DSstill01> Unlucky | 19:15 |
vknecht | and it is trust by default, would you destroy that ? | 19:15 |
T42 | <DSstill01> But it can be nuked for a while :D | 19:16 |
vknecht | you know, it's always easier to break things than to build them ; so where'd be the glory in doing that ? | 19:16 |
T42 | <DSstill01> Sailfish haters like me could do that | 19:17 |
vknecht | maybe, but you're asking permission :-P | 19:19 |
T42 | <DSstill01> To delete that page? Nah | 19:20 |
T42 | <DSstill01> Bugless samsung device, why should i hide that? | 19:20 |
vknecht | if you want an example of constructive destruction (if I may say), check verse 8.2 of https://www.mit.edu/~xela/tao.html | 19:21 |
vknecht | so get a few more « bugless » samsung devices ;-) | 19:23 |
T42 | <DSstill01> Thats sad | 19:23 |
T42 | <DSstill01> You can't, almost in all deviced nfc doesnt work, and excluding that, mine has only one bug | 19:24 |
vknecht | what's sad ? you freed a shady device from its inceptor and proeminent OS provider | 19:25 |
Mister_Magister | great after instaling new dhd dhi is not starting | 19:26 |
T42 | <DSstill01> So? | 19:26 |
vknecht | as for nfc, there's a "neard" service somewhere on OBS, if NFC HAL work, afaiu, all it takes is to try it | 19:26 |
Mister_Magister | back to square one from the morning | 19:26 |
Mister_Magister | fml | 19:26 |
vknecht | for fm radio, dunno | 19:26 |
T42 | <DSstill01> But in my device it doesnt even work in los | 19:27 |
mal | @meierrom fairphone has instructions how to calibrate the proximity sensor on fp2 in android, they have an app for it | 19:27 |
vknecht | ah, well, extend your powers and fix it ;-) | 19:27 |
T42 | <DSstill01> Idc. Who cares of nfc? | 19:28 |
vknecht | those who pay !!!! :-P | 19:28 |
T42 | <DSstill01> Not me | 19:28 |
vknecht | those who steal, too, probably ; but it's not you I'm sure | 19:29 |
mal | there is partial nfc support for android 8+ devices | 19:29 |
mal | vknecht: what about fm radio? | 19:29 |
vknecht | I see it's red square in the « best supported samsung » line at https://wiki.merproject.org/wiki/Adaptations/libhybris#Samsung | 19:30 |
vknecht | so I guess that's the reason of our Squirrel's mourning | 19:30 |
mal | most people don't seem to care about fm radio | 19:30 |
mal | depends on which chip the device has | 19:31 |
vknecht | for me it sorta works, so I'm quite happy | 19:31 |
vknecht | and we have to choose the default frequency :-) | 19:32 |
T42 | <DSstill01> SINCE I AM THE DEV if i dont csre, automatically no one cared | 19:34 |
T42 | <DSstill01> S | 19:34 |
vknecht | when I say "sorta", it's that it always bugs/freezes in CSD, but generally works in mediaplayer (like 2 times out of 3) | 19:35 |
vknecht | csre ? ... care ? | 19:36 |
vknecht | anyway, it's up to you :-) | 19:36 |
T42 | <DSstill01> Yes care | 19:38 |
T42 | <DSstill01> Not yet pro with sf keyboard | 19:38 |
Mister_Magister | mal: i will remove the __fsetlocking | 19:40 |
Mister_Magister | it is needed | 19:40 |
Mister_Magister | and with new hal still Service 'vendor.hwcomposer-2-1' (pid 6061) received signal 11 | 19:41 |
Mister_Magister | https://paste.opensuse.org/view//33583658 | 19:46 |
T42 | <meierrom> mal: so no calibration is possible anymore once sfos is flashed, right? | 19:47 |
mal | @meierrom well there is to boot to android using android kernel (without anything else), or waiting until I finish the app | 20:57 |
T42 | <meierrom> mal: so you're an app dev aswell? Anything related to sfos you can't do? :) | 21:14 |
T42 | <meierrom> mal: busy you always are, when can the app be expected? | 21:16 |
mal | @meierrom most of it is done, just need to rethink it because of a permission issue | 22:06 |
T42 | <meierrom> mal: Oh, nice :) | 22:23 |
mal | I just have two other app projects also and porting and normal work of course | 22:24 |
T42 | <meierrom> mal: it may still take a while, right? When should I get back to you? | 22:29 |
mal | we'll see what priorities I decide for the projects | 22:32 |
T42 | <meierrom> mal: should I remind you in a month or so? | 22:44 |
mal | probably if I haven't done it by then | 22:46 |
T42 | <meierrom> mal: OK, will do. :) | 23:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!