Thursday, 2019-07-04

mccrearypiggz, the dts file for the pro1 is kernel/msm-4.4/arch/arm/boot/dts/qcom/msm8998-v2-qrd-skuk-t5.dts01:13
mccrearyyes, we have the kernel sources now ;)01:16
mccrearyFWIW I'm having trouble with bootctl too01:49
mccrearyBut otherwise TWRP is looking pretty good01:49
mccrearyYou can boot it without flashing via 'fastboot boot twrp.img' now01:50
mccrearyFYI, tdm posted his kernel tree to https://github.com/tdm/android_kernel_fxtec_msm899802:30
mccrearyThat's CAF msm-4.4 tag LA.UM.7.4.r1-05000-8x98.0 with the F(x)Tec changes merged on top02:32
Mister_Magisterwait mccreary u r lineage dev for fxtec?04:55
T42<adampigg> Mccreary: nice :)05:31
Mister_Magistermy enegry to porting is kinda bacc untill my mental health go down again :P06:15
Mister_Magistermal: any smart way of debugging dhi? it's rebooting soon after starting it06:16
T42<adampigg> Edit droid-hal-stattup to add strace into file?06:30
Mister_Magisterwhy would i edit it06:30
Mister_Magisteri added strace while running it manually06:30
T42<adampigg> And it tells you?06:31
Mister_Magisternothing06:31
T42<adampigg> Have u built a droidmedia yet for me?06:31
Mister_Magisterfighting with audioflingerglue06:32
Mister_Magistermeh ill try06:32
Mister_Magisterbuildin' but our repo is broken06:34
Mister_Magisterlike seriously broken06:34
Mister_Magisterhmm started manually doesn't reboot06:40
Mister_Magister@adampigg nope repo is duckd06:41
Mister_Magistercan't compile neither afglue or droidmedia06:41
Mister_Magisterok spam with [   78.003317] (CPU:5-pid:4619:pm-service) IPC_RTR: msm_ipc_router_bind: pm-service Do not have permissions06:43
Mister_Magisterdunno if it's direct problem but it's not rebooting at least06:43
T42<adampigg> ok, if noone fixes i will try and   build on my branch from before rebase06:48
Mister_Magisteri'm sure on older base it would work06:50
T42<adampigg> btw, currentl on depecher on pro106:51
Mister_Magisterstill no wifi here06:53
Mister_MagisterARGH when i thought i got stable init its rebooting agian06:54
T42<adampigg> mal, minor point atm, but how can i enable landscape mode in jolla home like on a tablet07:26
Mister_Magister@adampigg patches07:31
Mister_Magisterthere is patch to enable every orientation everywhere07:31
T42yuezhengbaizhi was added by: yuezhengbaizhi08:00
Mister_Magistergreat nick08:04
Mister_Magisterconnect(6, {sa_family=AF_UNIX, sun_path="/run/user/100000/../../display/wayland-0"}, 43) = -1 ENOENT (No such file or directory) =C08:10
Mister_Magisterwell test_hwc2 is segfaulting without any real reason08:15
Mister_Magistermal: 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_Magisteralso libGLESv2_adreno.so is not found08:18
T42<adampigg> is it on the device08:20
Mister_Magisterits in vendor08:20
Mister_Magisteri symlinked it to libexec08:20
Mister_Magistermal: great on 5z uevent.d is in /vendor not even in sources09:46
KALUbEHi 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
KALUbEFor 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 framebuffer10:18
KALUbEI 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 it10:20
KALUbEStarting and then killing surfaceflinger doesn't change the output of any test_hwcomposer or minimer, or their strace output10:25
KALUbEShould 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 hwcomposer10:30
KALUbEI tried from debug2 with similar results, I'll check to see if fbdev changes anything10:31
T42<elros34> mask user@100000.service so systemd will not try to start lipstick10:32
KALUbEWill do10:33
KALUbESame thing happens, surfaceflinger nanosleep and hwcomposer assert failure10:36
KALUbEtest_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
KALUbEHybris 14.1, I have applied the libexec symlinks from the faq10:41
KALUbE /system/bin/logcat gives "logcat read failure"10:41
Mister_Magisterbecause dhi isn't running10:42
T42<elros34> then I bet droid-hal-init also fail10:42
KALUbEdroid-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 running10:43
KALUbEthe early-init script doesn't exist, I assumed it was deprecated and left in by mistake?10:44
malno, it's optional script for devices which need to run something before droid-hal-init10:45
KALUbEah ok10:46
KALUbEMister_Magister: Can't find anything about dhi?10:46
Mister_Magisterdroid-hal-init10:47
Mister_Magisterin short10:47
malthe ~ 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 that10:47
Mister_Magistersame what elros said10:47
KALUbEahhhh. right10:47
KALUbESeems to be a brick wall then? droid-hal-init is up10:48
mallogs10:48
KALUbEcat /dev/urandom > /dev/fb0 does nothing - hmmmm10:48
malframebuffer rarely works directly on modern mobile devices10:50
KALUbEI guess that makes sense. With user\@100000.service masked journalctl -b :https://pastebin.com/64Y131HQ and dmesg :https://pastebin.com/fssKa50910:52
KALUbEI'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
KALUbEhttps://pastebin.com/m84bJCT7 - I think I found the error: unknown:0 - Failed to create display (No such file or directory)10:59
Mister_Magistersome1 knows where can i find servicemanager sources?11:00
malthe error is probably in android side, get output of /usr/libexec/droid-hybris/system/bin/logcat11:00
KALUbElogcat read failure11:01
KALUbESame as root and nemo11:02
KALUbElogd 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 place11:04
KALUbEInteresting, I'll get an strace11:06
KALUbEdroid-hal-init strace https://pastebin.com/ydbJtxxx11:11
malPSA: 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_Flash11:12
malMister_Magister: https://github.com/mer-hybris/droid-config-sony-ganges-pie/commit/5d98fc2cd583860313648eeac9b7a7264a471ef311:13
Mister_Magistermal: we were first HMPF!11:15
Mister_Magisternow gib fix for ld.config11:16
malMister_Magister: that is the fix11:16
Mister_Magisteroh11:16
Mister_Magisterso the file apply to every phone?11:16
malMister_Magister: well were you really first :P11:16
malprobably does, or you can grab the version from your device and compare first11:16
Mister_Magistermal: u didn't gib hybris16 sources so11:16
Mister_Magisterfirst on twitter11:17
Mister_Magisterill also have to mount bind some rc files on vendor partition11:17
Mister_Magistermal: btw as you like to play with patches11:17
Mister_MagisterServiceManager: SELinux: Failed to acquire service_manager context. Aborting do you have patch for this?11:17
Mister_Magisteri preloaded selinux_stubs11:17
Mister_Magisterwait i need to preload 64bit version11:18
T42<elros34> KALUBe: do you have property_contexts file in droid-hal-$DEVICE/*detritus* package?11:18
Mister_Magistermal: xiaomi tries to fight my beer opener11:20
KALUbEelros34: Not sure exactly what directory you mean but find didn't show any files in a directory like that11:21
Mister_Magisterhttps://www.facebook.com/miui.global.official/videos/2323695687748822/11:21
Mister_Magisterit's impossible to open beer the way she is holding phone tho11:22
Mister_Magisterclearly she never opened beer11:22
T42<elros34> KALUBe: $ANDROID_ROOT/droid-local-repo/11:22
Mister_Magistermal: preloading 64bit changes nothing. ideas for ServiceManager: SELinux: Failed to acquire service_manager context?11:23
KALUbEelros34: 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_Magisterwhy preloading selinux_stubs wont work URGH11:30
KALUbEInterestingly the file exists in /out/target/product/$DEVICE/root/property_contexts but not on the device11:30
KALUbEno way11:33
KALUbEit works11:33
KALUbEelros34: Thanks so much :D11:33
KALUbEJust gonna unmask dhi and reboot11:33
* Mister_Magister meanwhile me, lonely madman debugging dhi11:35
T42<birdzhang> @KALUbE add them to droid-hal-$DEVICE.spec11:35
KALUbEbirdzhang: Straggler files right?11:36
KALUbEno wlan :(11:36
T42<birdzhang> https://github.com/mer-hybris/droid-hal-sony-nile/blob/master/droid-hal-common.inc#L1611:37
T42<birdzhang> yup11:37
Mister_Magistermal: please11:39
T42<adampigg> mal, how about jolla sending xperia 10s to devs ;P11:43
T42<eugenio_g7> :P11:45
T42<eugenio_g7> Wondering if I should rebase my loire HA over Pie11:46
Mister_Magistermal: okay i'm retard11:52
T42<adampigg> eugenio, no, work on latte ;P11:54
Mister_Magistermal: any idea how to debug egl hwc2? strace is saying nothing11:59
Mister_Magisteror maybe i'm blind? http://paste.opensuse.org/view//9591222312:02
T42<eugenio_g7> @adampigg: :P12:02
Mister_Magisterwho is gonna get fully working android9 port faster12:02
Mister_Magistersome 3 random dudes or company12:02
Mister_Magisterplace your bets on https://www.paypal.me/MisterMagister12:03
T42<adampigg> ive been using one all day, its practically done lol12:03
Mister_Magisternot really12:03
Mister_Magisterit's missing a lot of stuff12:03
Mister_Magisteraudioflingerglue, droidmedia, gps12:03
T42<adampigg> who needs media12:03
Mister_Magisterplaying yt12:03
T42<adampigg> ill get that this week i reckon12:03
Mister_Magisterand gps12:04
Mister_Magisteru need gps12:04
Mister_Magisterand calls12:04
Mister_Magisterwithout calls it's not a phone12:04
Mister_Magisteronly smart12:04
T42<adampigg> well, im sure calls would work if it had an imei12:06
Mister_Magisterwithout audioflingerglue?12:07
Mister_Magisterdoubt that12:07
Mister_Magisteri mean i could call12:07
T42<adampigg> well yes12:07
Mister_Magisterbut no sound12:07
Mister_Magisterin cal12:07
Mister_Magistercall*12:07
Mister_Magisterso you need audioflingerglue12:07
T42<adampigg> i know man12:07
Mister_Magisterthen why are you saying you don't need it12:08
Mister_Magister@adampigg now tell me why this segfaulted http://paste.opensuse.org/view//9591222312:08
T42<adampigg> geez, it wasnt a serious position, chillax12:08
Mister_Magister;-;12:09
Mister_Magisteri want hwc12:09
Mister_Magisteri'm thiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiis close to gui12:09
Mister_Magisterneed to find udev rules for /dev/*binder12:09
Mister_Magisterseriously if someone even answered to my problem i would be happy ;-;12:11
T42<adampigg> relax, it will come to u, no rush12:15
T42<adampigg> mal, and while prepping our complimentary xperia 10s, can u create an obs repo for us pro1 devs pls12:16
Mister_Magisterand for 5z plz12:18
Mister_Magisterdevel:fxtec:t5 and devel:asus:5z12:18
Mister_Magisterif strace is not helpful nothing is12:20
Mister_Magisteroh 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 ya12:34
maldroidmedia and audioflingerglue changes for android 9 base have now been merged12:35
T42<adampigg> nice12:35
Mister_Magister@adampigg12:36
Mister_Magisterthen go fix it lol12:36
Mister_Magisteryou seem to have most free time from us all12:36
T42<adampigg> im at work, later eh12:36
Mister_Magisteri will do dunno12:36
Mister_Magisternothing probably cause i'm too stupid12:36
T42<adampigg> also im off tomorrow12:36
Mister_Magisterwhy is everyone ignoring me eh12:37
maltoo much text, I'm too lazy to read through all12:38
Mister_Magister;-;12:39
malMister_Magister: you are sure the ueventd*.rc was correctly in out/ ?12:39
Mister_Magisteri copied them from device12:40
malto where?12:40
Mister_Magisterroot12:40
Mister_Magisterwhere dhi picks it up12:40
Mister_Magisteri mean dhd12:40
malyou mean to out/.../root ?12:40
Mister_Magisteryeah12:40
Mister_Magisteri checked paths in dhd12:40
Mister_Magisteri probably miss another one because /dev/*binder has wrong permissions but that doesn't matter i set them before starting dhd12:41
Mister_Magisterdhi*12:41
malMister_Magister: try https://github.com/mer-hybris/droid-config-sony-ganges-pie/commit/cfbd0129bcf41dcb09ca3891d19f8464b55e239112:42
Mister_Magisterwhats that?12:42
Mister_Magisteri can't see any reasonable change12:43
malcopy that version of droid-hal-init.service to your device and see what happens12:43
Mister_Magisteri mean i start dhi manually12:43
Mister_Magisteri don't have udev rules for /dev/binder so can't use service12:44
Mister_Magisteryeah no uevent.d file sets permissions to hwbinde and vndbinder lol12:45
Mister_Magisterhttp://paste.opensuse.org/view//272521512:46
Mister_Magisteri will just set them myself12:46
T42<adampigg> @Mister_Magister [why is everyone ignoring me eh], cos youre grumbling alot today ;P12:47
Mister_Magisterdhi in  seconds is sweet if ihadn't 5 seconds of dmverity12:47
Mister_Magisterlike always don't mind my mental disablility12:48
Mister_Magistermal: /usr/bin/droid/droid-hal-early-init.sh doesn't exist12:49
Mister_Magistermal dhi running no gui12:50
Mister_Magistertest_hwc2 dies right after open("/proc/filesystems", O_RDONLY|O_CLOEXEC) = 312:50
Mister_Magisterwhich isn't really related i think12:50
Mister_Magister@adampigg at least i'm getting Waited one second for android.frameworks.sensorservice@1.0::ISensorManager/default. Waiting another... on 5z aswell12:52
malMister_Magister: so you didn't bother reading what I just wrote earlier today on this channel about droid-hal-early-init.sh12:53
T42<adampigg> yes, thats why we need droidmedia12:53
Mister_Magisterthat there is - at the beginning so it doesn't matter?12:53
malyes, that is optional for device specific extra commands12:54
T42<adampigg> mal, what examples of things that needto be run on early init12:54
Mister_Magisteri don't really follow all the talks12:54
malI 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.sh12:54
T42<adampigg> u should use piggz grep tool12:55
Mister_Magistermal: then the answer is, this service changed nothing :/12:55
Mister_Magisteroh12:55
Mister_Magisternice12:55
malMister_Magister: did you use the ld.config hack on that device?12:55
Mister_Magisteri replaced linker12:55
Mister_Magistermal: do you want some logs maybe?12:59
Mister_Magisterstrace and logcat aren't useful tho12:59
malwhat do you think?13:04
Mister_Magisterif they aren't useful then no13:04
liuxhow to apply for obs building? seems sledges is not here for a few days13:05
Mister_Magisterhttp://paste.opensuse.org/view//3264530613:06
Mister_Magisterliux: ask mal13:06
Mister_Magistermal: this link is the strace13:06
Mister_Magisterhwc2 gives nothing in logcat13:07
liuxmal, could you please help me create project on sailfish obs?13:08
Mister_Magisterliux: first create it in your home repo13:09
Mister_Magisterand test it using home repo13:09
Mister_Magisterthen ask mal to create devel repo for you13:10
Mister_Magister;-;13:10
liuxMister_Magister, I'm not sure what's home repo. I have no account on build.merproject.org yet.13:11
Mister_Magisteroh13:12
Mister_Magisteri don't remember who created accounts13:12
Mister_Magisterisn't that in faq?13:12
Mister_Magistercan someone tell me why is faq in russian?13:13
liuxhadk said it's sledges for creating project, but no metion on account creating13:14
malsomeone again used google translate or something ot translate it13:14
Mister_Magisterfirst line in faq13:15
malinstructions are here https://bugs.merproject.org/13:15
Mister_Magistermal: seen anything interesting in strace?13:16
maltoo tired to read strace now13:17
Mister_Magisterwell k understandable13:17
Mister_Magisterany longshot tips tho? anything comming to your mind?13:17
Mister_Magisteri am totally out of ideas13:17
Mister_Magisteri had to symlink eglSubDriverAndroid.so and libGLESv2_adreno.so if that's relevant13:18
malI find it odd that all things are loaded from /usr/libexec and nothing from /system or /vendor13:20
Mister_Magisteryeah same13:20
maldoes /usr/libexec really contain almost everything you have in those other places13:20
Mister_Magisteron pro1 things were loaded from /vendor and /system but not /usr13:20
malI think you might be missing build minímizing13:20
Mister_Magisterofc i didn't minimize anything13:21
malhow big is droid-hal rpm13:21
Mister_Magisterjust patched13:21
malwell build/core patches are the minimizing13:21
Mister_Magister8.5MB13:21
Mister_Magisterthat isn't big i think13:22
malare all of the files so small?13:22
malthe other rpms13:22
Mister_Magisterothers are some KB and kernels are 15MB13:23
Mister_Magisterdo everything seems fine13:30
Mister_Magistermal: when i didn't have symlink it didn't search vendor or system only libexec13:30
malwhat symlink?13:34
Mister_Magister[15:18] <Mister_Magister> i had to symlink eglSubDriverAndroid.so and libGLESv2_adreno.so if that's relevant13:35
Mister_Magisterto usr13:35
malwhere were those files originally?13:36
Mister_MagistereglSubDriverAndroid.so -> /vendor/lib/egl/eglSubDriverAndroid.so libGLESv2_adreno.so -> /vendor/lib/egl/libGLESv2_adreno.so13:37
malthe real question is why it didn't find those, those should be ok places for the libs13:39
malwas that before or after the linker hack13:40
Mister_Magisterafter13:40
Mister_Magisterit searches only usr13:40
Mister_Magisterlet me show you13:41
Mister_Magisterhuh hwc2 doesn't even require them13:43
Mister_Magistertest_egl does13:44
malsomething is really wrong then in your build13:44
Mister_Magisteri doubt in that13:44
Mister_Magisterhttp://paste.opensuse.org/view//4131103113:44
Mister_Magisteri mean i still might miss some patches13:44
Mister_Magisterit's not like hybris16 is out13:45
malwhat should I look in that strace+13:45
malit loads libGLESv2_adreno.so13:45
Mister_Magisteryeah13:45
Mister_Magisterjust it spams with library "libGLESv2_adreno.so" not found13:45
Mister_Magisterand library "eglSubDriverAndroid.so" not found before segfault13:46
malI don't understand that issue, what exact symlink did you add13:46
Mister_Magisterhttp://paste.opensuse.org/view//6930490413:46
Mister_Magisteri removed the symlinks13:46
Mister_Magisterto show you why i added them13:46
Mister_Magisterthey were in /usr/libexec/.../system/lib/ eglSubDriverAndroid.so -> /vendor/lib/egl/eglSubDriverAndroid.so libGLESv2_adreno.so -> /vendor/lib/egl/libGLESv2_adreno.so13:47
malwhere are the original files13:47
Mister_Magisterthere was no files13:48
mal?13:48
Mister_Magisteri mean eglSubDriverAndroid.so libGLESv2_adreno.so were missing from /usr/libexec/droid-hybris/system/lib/13:48
malthose shouldn't even be there13:48
Mister_Magisterjust test_egl spams http://paste.opensuse.org/view//69304904 because it can't find them there13:49
Mister_Magisterso i added them13:49
Mister_Magisterbut that doesn't change  anything really13:49
malwell it obviously should be looking for them in /system and /vendor also13:49
Mister_Magisterthat is shown in strace13:50
malwhich just means something is wrong in your build13:50
malI really cannot understand what you are saysing13:50
mal*saying13:50
Mister_Magisterme too i cannot understand what you want from me13:50
malthe strace and what you are saying conflict13:51
Mister_Magistermal: nope it doesnt13:51
Mister_Magisteropen("/vendor/lib/libGLESv2_adreno.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)13:51
Mister_Magisterit never searches for /vendor/lib/egl/libGLESv2_adreno.so13:51
Mister_Magister /vendor/lib vs /vendor/lib/egl13:52
malwell since I have no idea what patches you are using it's difficult to help13:52
Mister_Magisteri have no idea aswell13:52
Mister_Magisterbut i might be missing some13:52
malI still think you should revert the linker hack and use the one I gave13:52
Mister_Magisterwell okay but that doesn't change anything really13:54
Mister_Magisternot the hwc2 problem13:54
malare you sure? one issue is linker as you can see from the need for some odd symlinks13:54
Mister_Magisterit was working on pro1…13:55
Mister_Magisteri will try13:55
Mister_Magisteri have no other option13:55
malplenty of options13:57
Mister_Magistermal: then give me suggestions13:59
malyou really should learn to debug more yourself14:02
Mister_Magistermal: debug more myself? i'm debugging it since morning got strace logcat everything i could and i'm out of options now14:03
Mister_Magistertoday i got from bootlooping dhi to stable with servicemanager working14:04
Mister_Magisteri'm trying my best here ;-;14:05
Mister_Magisteri can't do more than i'm capable of14:05
Mister_Magisteri'm too stupid14:05
malit's about learning, I had almost no knowledge of anything when I started and learned quite fast14:05
Mister_Magistermal: but i'm not you. i'm too stupid14:10
Mister_Magisterit's been 4 years and i learned like nothing at all14:11
mccrearyMister_Magister, tdm and I are working on LineageOS for the Pro115:23
mccrearyI am still trying to recruit a few more15:23
Mister_Magistervery nice15:23
Mister_Magisterit shouldn't be too hard i think15:23
mccrearyHeh, it isn't done yet %-P15:24
mccrearyBut yeah, it should be easier than SailfishOS15:25
Mister_Magistersfos if kindof easy too15:26
Mister_Magisterrecovery with working tar would be useful15:26
mccrearyTWRP?15:26
Mister_Magisterye15:26
mccrearyGive this a try: https://drive.google.com/file/d/1pK1awGgW26cp28XrU31UgO-KYLft1Vse/view15:27
Mister_Magisterhueh15:27
Mister_Magisterwill save that for later15:27
Mister_Magistersad that pro1 doesn't have recovery partition like normal human being15:27
mccrearyBoot it without flashing, from 'fastboot boot twrp.img'15:27
mccrearyNo partition needed ;-)15:28
Mister_Magisteri mean15:28
mccrearyBTW, that img doesn't support bootctl, so you can't manipulate any A/B stuff15:28
Mister_Magisterif it had recovery partition thigs would be easier15:28
Mister_Magistermccreary: all i need is A15:28
mccrearyAnd it also can't decrypt /data15:28
Mister_Magistersfos is installed on a15:28
Mister_Magistermccreary: sfos doesn't support encryption15:29
mccrearySounds good then. Let me know if you find bugs15:29
Mister_Magistersoo its perfect?15:29
mccrearyYou should be able to use 'adb shell', etc.]15:29
mccrearyAs well as the TWRP terminal, but the kbd won't work15:30
Mister_Magisterall i need from twrp is to mount /data AND working twr15:30
Mister_Magistertar*15:30
mccrearyThat ought to work on this img15:31
Mister_Magistermal: i was right15:32
Mister_Magisteron fxtec /vendor/lib/libGLESv2_adreno.so is symlink to egl15:32
vknechtwhen /data is encrypted, should one wipe/repair to ext4 before extracting rootfs ?15:32
Mister_Magisterwhich is basically same thing i did15:32
Mister_Magistervknecht: ofcourse15:32
Mister_Magisterin twrp you have format data butto15:32
Mister_Magisternot wipe. format15:33
Mister_Magisterin fastboot you have fastboot format:ext415:33
vknechtthanks15:33
Mister_Magisterwhy is hwc2 not working jesus15:33
malMister_Magister: then why is it missing on your device15:38
Mister_Magisternothing15:38
Mister_Magisterit should work15:38
Mister_Magisterbut it isn't15:38
vknechtso 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 iiuc15:56
vknechtcopy in a busybox/toybox binary ? make a custom twrp ?15:57
Mister_Magisteryou need at least 10GB swap16:01
Mister_Magisteryou can always flash it without twrp (i have it in my veins now)16:01
T42<DSstill01> 10 gb swap?!16:03
vknechtoh, you're... The Flash ? :-)16:03
Mister_Magisteryeah16:03
Mister_Magisterseriously16:03
Mister_Magistermy friend had to do that16:03
Mister_Magisteroh i mean 10GB not gb16:03
Mister_Magister10gb swap is like 1.25GB16:04
T42<DSstill01> Just remove a couple of kernel configs16:04
Mister_Magisternow 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_Magisterwhich ain't helpful16:04
Mister_Magisterffs16:04
malif ui is not up then wayland is not16:05
vknechtwithout twrp, you mean from (custom?) hybris-boot/recovery ?16:05
vknechtor make a fs image with all needed in it, then fastboot flash it ?16:06
Mister_Magistermal: but this is test_egl_configs16:06
Mister_Magisterand it requires wayland?16:06
Mister_Magisterwait16:07
Mister_Magisteri forgot EGL_PLATFORM=hwcomposer16:07
Mister_Magistertest_egl_configs works16:07
T42<DSstill01> Just remove lowmemory killer and the other one16:08
Mister_Magisterwho are you talking to lol16:08
vknechtme I guess16:09
T42<DSstill01> The one with tar error16:09
TheKitvknecht, try busybox's tar16:19
T42<DSstill01> No no no16:21
T42<DSstill01> Lowmemory killer and oom killer16:22
vknechtif 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
vknechtthanks TheKit, untarring seems to have completed successfuly :-)16:42
TheKitvknecht, it seems to be not oom killer problem, but of memory leakage in TWRP's version of tar16:44
TheKit*DSstill0116:45
T42<DSstill01> What is the error btw?16:48
vknechtin my case, adb session just terminated, and twrp seemed to restart (without rebooting)16:49
vknechtwith zip install, it was error 716:50
Mister_Magistermal: what if i told you i have to fix libhwc2_compat_layer16:58
malcompletely possible16:59
Mister_Magisterah logs https://paste.opensuse.org/view//26009497 https://paste.opensuse.org/view//769374816:59
Mister_Magisterplease if you could look at them16:59
Mister_Magisterthis is after small fix from thekit16:59
Mister_Magistertotally progressed17:00
T42<DSstill01> Recovery.log, error 7 is everything in twrp17:01
Mister_Magistermal: something might catch your eye17:01
vknechtmight think about it next time (if any ;-)17:02
malMister_Magister: what fix did you add?17:02
malstill very difficult to know what kind of hack you already have17:02
Mister_Magisterremoved __fsetlocking from external/selinux/libselinux/src/init.c17:03
Mister_Magistermal: yeah sorry it's kind of a mess17:03
Mister_Magisterthere is no hybris16 so i just applied all patches17:03
malso you didn't try selinux_stubs for the hwc service?17:03
Mister_Magisterthat notkit sent me17:03
Mister_Magistermal: should i?17:03
malif you needed some hack to selinux?17:04
malwouldn't it be logical17:04
Mister_Magistermakes sense17:04
Mister_Magisteri can restore it and check17:04
Mister_Magistermal: 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_Magisterso preloading is not working…17:10
malso are you using the linker fix I gave17:10
* Mister_Magister goes grep in logs cause there is too many patches17:11
Mister_Magisteroh17:12
Mister_Magisterthe one with ld.something.txt17:12
Mister_Magisterno17:12
malhttps://github.com/mer-hybris/droid-config-sony-ganges-pie/commit/5d98fc2cd583860313648eeac9b7a7264a471ef317:12
Mister_Magisterstill replaced linker17:12
malI told you to use that17:12
Mister_Magister¯\_(ツ)_/¯17:12
malso you have wasted both of our time by not using what I say to use17:13
Mister_Magistersame thing17:14
Mister_Magisterno difference17:14
Mister_Magisterso not really wasted17:14
maldid you revert the other linker hack17:15
Mister_Magisterdoing it rn sir17:16
Mister_Magisteri ran out of space on /system17:23
Mister_Magisterlol17:23
Mister_Magistermal: 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_Magisterso that fix is really needed17:27
Mister_Magistercan i do it again now?17:27
malMister_Magister: I assume you have 64-bit lib and not 32?17:32
Mister_Magisterpreload 64bit lib?17:32
Mister_Magisteroh17:32
Mister_Magisterworked17:32
malso you didn't look at all what other devices line xa2 did17:33
mal*like17:33
Mister_Magisterwait no17:33
Mister_Magisterit didn't work17:33
Mister_Magisteri need 32bit17:33
malyou have 32-bit android on the device?17:34
Mister_Magisterofcourse not17:34
Mister_Magistertest_hwc2 is 32bit binary17:34
Mister_Magistercause it's sfos17:34
malyou are not adding that to that binary but to the hwc android side service17:34
Mister_MagisterOH17:34
Mister_MagisterI SEE17:35
malwhat the hell are you doing, think a little17:35
malthe issue was that the hwc service was dying17:36
Mister_Magistersorry17:37
Mister_Magisternope back to square one17:38
Mister_Magister__fsetlocking seems to be really needed17:38
Mister_Magisteri mean removing it17:38
malfrom where?17:41
malshow list of patches (only commit messages needed) you have in system/core17:44
Mister_Magister[19:03] <Mister_Magister> removed __fsetlocking from external/selinux/libselinux/src/init.c17:50
Mister_Magisterfrom here17:50
Mister_Magistererm… i used patch command erm17:50
Mister_Magisteri'll try17:50
vknechtreplying to myself, seems one can disable oom killing with "echo -1000 > /proc/self/oom_score_adj" (seen in /sbin/preinit)18:31
malvknecht: maybe that could be added to the sfos install script before starting to use tar?18:32
vknechtmaybe, but iiuc there's another issue to tackle first : https://github.com/mer-hybris/hybris-boot/issues/16218:38
vknechthad a go with the proposed script and got an error 2 instead of 718:38
vknechtand since I couldn't quickly find the reason behind the error code, went to the manual untar way18:39
vknechtis 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
vknechtand /data/.stowaways/sailfishos/boot/systemd_stdouterr only has two non-empty lines like:18:46
vknechtmount: /proc: none already mounted on /config.18:46
vknechtmount: /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 serious18: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 device18:52
* vknecht thinks Mal does not play games enough :-)18:52
malvknecht: I rarely play games and if I do those are mostly the old style adventure games18:53
vknechtlike, baldur's gate, or those rogue things, played through telnet ? :-)18:54
malI mean things like monkey island and other point and click games18:54
Mister_Magistermal: on new patchset. can i remove __fsetlocking now?18:55
vknechtah yes, nice, I quite liked the indiana jones last crusade style18:56
vknechttoo bad that doesn't work so well on touch terminals18:56
vknechtbut maybe you have a patch ? XD18:57
malvknecht: I should finish my scummvm port18:57
malMister_Magister: I think it should not be used18:57
* vknecht facepalms ! he has...18:57
Mister_Magisterbut after removing it it progresses18:57
Mister_Magisternow it just segfaults18:57
malMister_Magister: even with the new patch set?18:57
Mister_Magisteryep18:58
maland 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_Magisteryep its in service tho18:58
Mister_Magisternot in test_hwc218:58
Mister_Magistermal: https://paste.opensuse.org/view//5677451719: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 case19:00
malMister_Magister: did you try with preload now19:01
mal*without19:01
Mister_Magisteryes19:01
Mister_Magisterwithout19:01
Mister_Magisterno19:01
Mister_Magistermal: same19:04
Mister_Magisterhttps://paste.opensuse.org/view//39208691 this is the end of a strace19:04
T42<DSstill01> Rtc alarm can be tested with alarm in clock app?19:05
malyes19:05
T42<DSstill01> Aww, it work then lol19:06
Mister_Magisterlol19:06
Mister_Magistermal: explanation to the fslocking is19:08
Mister_Magisterlibpdx_default_transport.so statically links to libselinux, so it needs to be included in Mer droid-hybris overlay to avoid the crash19:08
T42<DSstill01> My device is the one with less bugs compared to other samsung devices, according to adaptations page. So cool19:10
Mister_Magistermal: can i just apply it temporarily?19:10
* Mister_Magister is this how you write it19:10
T42<DSstill01> No19:10
T42<meierrom> mal: calibration? Is this required to be done by the user? Is there a manual?19:10
T42* DSstill01 aaa19:10
Mister_Magistermal: https://paste.opensuse.org/view//2111662319:11
T42<DSstill01> Btw if i wanted i could nuke adaptations page as all registered users can edit it and delete everthing19:14
T42<eugenio_g7> ...and the changes can be reverted19:15
T42<DSstill01> Aww19:15
T42<DSstill01> Unlucky19:15
vknechtand it is trust by default, would you destroy that ?19:15
T42<DSstill01> But it can be nuked for a while :D19:16
vknechtyou 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 that19:17
vknechtmaybe, but you're asking permission :-P19:19
T42<DSstill01> To delete that page? Nah19:20
T42<DSstill01> Bugless samsung device, why should i hide that?19:20
vknechtif you want an example of constructive destruction (if I may say), check verse 8.2 of https://www.mit.edu/~xela/tao.html19:21
vknechtso get a few more « bugless » samsung devices ;-)19:23
T42<DSstill01> Thats sad19:23
T42<DSstill01> You can't, almost in all deviced nfc doesnt work, and excluding that, mine has only one bug19:24
vknechtwhat's sad ? you freed a shady device from its inceptor and proeminent OS provider19:25
Mister_Magistergreat after instaling new dhd dhi is not starting19:26
T42<DSstill01> So?19:26
vknechtas for nfc, there's a "neard" service somewhere on OBS, if NFC HAL work, afaiu, all it takes is to try it19:26
Mister_Magisterback to square one from the morning19:26
Mister_Magisterfml19:26
vknechtfor fm radio, dunno19:26
T42<DSstill01> But in my device it doesnt even work in los19:27
mal@meierrom fairphone has instructions how to calibrate the proximity sensor on fp2 in android, they have an app for it19:27
vknechtah, well, extend your powers and fix it ;-)19:27
T42<DSstill01> Idc. Who cares of nfc?19:28
vknechtthose who pay !!!! :-P19:28
T42<DSstill01> Not me19:28
vknechtthose who steal, too, probably ; but it's not you I'm sure19:29
malthere is partial nfc support for android 8+ devices19:29
malvknecht: what about fm radio?19:29
vknechtI see it's red square in the « best supported samsung » line at https://wiki.merproject.org/wiki/Adaptations/libhybris#Samsung19:30
vknechtso I guess that's the reason of our Squirrel's mourning19:30
malmost people don't seem to care about fm radio19:30
maldepends on which chip the device has19:31
vknechtfor me it sorta works, so I'm quite happy19:31
vknechtand we have to choose the default frequency :-)19:32
T42<DSstill01> SINCE I AM THE DEV if i dont csre,  automatically no one cared19:34
T42<DSstill01> S19:34
vknechtwhen 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
vknechtcsre ? ... care ?19:36
vknechtanyway, it's up to you :-)19:36
T42<DSstill01> Yes care19:38
T42<DSstill01> Not yet pro with sf keyboard19:38
Mister_Magistermal: i will remove the __fsetlocking19:40
Mister_Magisterit is needed19:40
Mister_Magisterand with new hal still Service 'vendor.hwcomposer-2-1' (pid 6061) received signal 1119:41
Mister_Magisterhttps://paste.opensuse.org/view//3358365819: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 app20: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 issue22:06
T42<meierrom> mal: Oh, nice :)22:23
malI just have two other app projects also and porting and normal work of course22:24
T42<meierrom> mal: it may still take a while, right? When should I get back to you?22:29
malwe'll see what priorities I decide for the projects22:32
T42<meierrom> mal: should I remind you in a month or so?22:44
malprobably if I haven't done it by then22: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/!