Friday, 2022-04-01

T42<kquote03> Hello15:26
T42<kquote03> We reached a state where SFOS boots to a point where it kills telnet15:27
T42<kquote03> but we still don't get any display output15:27
T42<kquote03> is there a way to get shell access?15:27
T42<kquote03> https://susepaste.org/937181 current dmesg15:34
voidanix[m]@edp_17, have you tried not to copy that gps_debug.conf from vendor?17:02
voidanix[m]You might also find something useful by checking against Android 12 vendor: https://github.com/universal9810/android_vendor_samsung_exynos9810-common17:04
T42<elros34> @kquote03 this can potentially break your telnet/ssh: 'processing action (post-fs) from (/vendor/etc/init/init.samsungexynos7880.usb.rc'. Systemd starts so you can also get journal logs. Remember to get rid of this audit spam which together with verbose samsung kernel makes reading logs impossible17:14
T42<kquote03> alright thank you, will use | grep -v audit next time. (re @elros34: @kquote03 this can p...)17:20
T42<kquote03> I've straced test_hwcompose, it no longer segfaults but there is still no display output https://susepaste.org/8970014517:27
T42<kquote03> i will try minimer17:28
T42<kquote03> current dmesg https://pastebin.ubuntu.com/p/XDRc9wPYGX/18:50
T42<edp_17> voidanix[m]: no, I have not tried not to copy that.19:21
T42<edp_17> Yeah, have seen that android 12 repo. Wanted to use then realised it didn't have android10 branch, so I went for another one.19:21
T42<kquote03> is it normal that I'm getting the lineage os boot splash?19:23
T42<kquote03> Let’s say, hypothetically, We have reason to believe that sfos is trying to output to a nonexistent hdmi output instead of the built in panel19:51
T42<kquote03> How would I go about changing that19:51
T42<elros34> that would be cool but there is no code to support  it. Does lipstick work?20:39
T42<elros34> What is lineage boot splash? You shouldn't see it, bootloader logo -> sfos splash and lipstick if you are lucky20:41
T42<Spidey24Z> hey @elros3420:47
piggzmal: Thaodan: are there any particular version requirements for 4.4, for things like libhybris and submodules ?20:49
T42<elros34> @Spidey24Z hi20:51
T42<kquote03> nope (re @elros34: that would be cool b...)20:58
Thaodanpiggz: You should pull the latest droid-hal-device submodule to build with the latest platform sdk20:58
ThaodanI don't think there was any else really20:58
ThaodanJust stuff that you can skip now20:58
piggzThaodan: ok20:59
piggzthx20:59
T42<elros34> @kquote03 so it crash or what, what else fails? logcat shows error?20:59
T42<kquote03> i think surfaceflinger is working fine but lipstick crashes20:59
T42<kquote03> adb works?? (re @elros34: @kquote03 so it cras...)20:59
T42<kquote03> i have no idea how to get shell access here20:59
T42<kquote03> telnet gets killed21:00
T42<elros34> what do you mea you got shell access, you get dmesg and I told you what service may break your telnet, so try to disable it21:01
T42<kquote03> Alright, thanks!21:01
ThaodanSurfaceflinger shouldn't run21:02
T42<Spidey24Z> @kquote03 @elros34 BTW i got this from journalctl lipstick[3333]: library "libandroidicu.so" not found21:03
T42<Spidey24Z> and apex empty21:03
T42<elros34> @Spidey24Z solution for this  is in collabedit.com/kr9xx or in channel logs21:05
T42<elros34> why /apex is empty? Something fails or is not used?21:11
Thaodan@elros34, @spidey24Z: https://github.com/mer-hybris/droid-config-sony21:12
ThaodanEh ignore that21:14
Thaodanthat's what we do for Xperia 10 II/III and I also do for Xperia 1/1 II21:14
T42<Spidey24Z> https://pastebin.ubuntu.com/p/x84hZysZ3p/ (re @elros34: why /apex is empty? ...)21:20
T42<Spidey24Z> i have /vendor/odm/etc (re @SailfishFreenodeIRCBridgeBot: <Thaodan>@elros34, @...)21:22
T42<elros34> that grep might hide important info21:22
ThaodanForgot to post the link..21:23
ThaodanI mean this: https://github.com/mer-hybris/droid-config-sony-lena/tree/master/sparse/system21:23
T42<Spidey24Z> can i symlink from /system/apex cause /apex is empty (re @SailfishFreenodeIRCBridgeBot: <Thaodan>I mean this...)21:26
T42<elros34> why don't you try and report back21:26
ThaodanThan check why apex doesn't much21:26
Thaodancheck mount21:27
T42<Spidey24Z> okay i will do grep -v audit cause audit spam alot (re @elros34: that grep might hide...)21:27
T42<Spidey24Z> okay (re @SailfishFreenodeIRCBridgeBot: <Thaodan>check mount)21:27
T42<elros34> I was talking about '| grep apex' you used which might hides info why service failed21:28
T42<Spidey24Z> i know i will bring full log21:28
malpiggz: also some updates of adaptation packages but not sure how critical, I updated my fp2 repo to have the official version of all packages, see here https://build.sailfishos.org/project/show/nemo:devel:hw:fairphone:fp2-sibon it seems pulse modules needed to be changed to the new package if you want to udpate it21:45
piggzmal: yes, i just noticed that pulse failed to build21:46
malI didn21:46
malI didn't yet test on device21:46
malpiggz: just do suitable osc copypac to add it with new name21:46
piggzmal: tomorrow :)21:48
T42<elros34> @Spidey24Z try to add audit=0 to kernel cmdline unless you have samsung device which doesn't support it then try static int audit_initialized = AUDIT_DISABLED; in kernel's audit.c21:51
T42<Spidey24Z> @elros34 https://pastebin.ubuntu.com/p/xYC8VjWFgP/21:52
T42<Spidey24Z> thanks i will turn it off (re @elros34: @Spidey24Z try to ad...)21:53
T42<elros34> what's that "disabled_services.rc.bak"? I see it second time today from different porter.21:57
T42<kquote03> btw on disabled_services.rc, do i include init.samsungexynos7880.usb.rc with or without the ending .rc ?21:59
T42<elros34> neither. You need to find which rc file imports that *.usb.rc file first and commen out such a import22:00
T42<kquote03> Alright, thank you22:01
T42<elros34> @Spidey24Z so nothing in dmesg/logcat related to apexd failure?22:06
T42<Spidey24Z> @elros34 dmesg same as journalctl and logcat not start it return read failure22:41
T42<elros34> when do you start logcat? according to your logs it should work22:44
T42<Spidey24Z> no return / # ./system/bin/logcat22:48
T42<Spidey24Z> /bin/sh: ./system/bin/logcat: not found22:48
T42<Spidey24Z> # ./usr/libexec/droid-hybris/system/bin/logcat22:48
T42<Spidey24Z> /bin/sh: ./usr/libexec/droid-hybris/system/bin/logcat: not found22:48
T42<elros34> but WHEN do you start it? Try right after droid-hal-iinit starts22:49
T42<Spidey24Z> also return not found22:51
T42<Spidey24Z> not only logcat all exec return not found22:51
T42<elros34> What about getprop?did you flash correct lineage version?22:55
T42<elros34> from /system/bin/22:56
T42<Spidey24Z> / # ./system/bin/getprop22:57
T42<Spidey24Z> /bin/sh: ./system/bin/getprop: not found22:57
T42<Spidey24Z> @elros34 los 17.122:57
T42<elros34> but binary is there?22:57
T42<Spidey24Z> getprop only work but ./system/bin/getprop not work22:58
T42<Spidey24Z> @elros34 yeah is it22:58
T42<elros34> did you tired this lineage before flashing sfos?22:59
T42<Spidey24Z> yeah it works and if flash los boot.img los work fine23:00
T42<elros34> error sounds like architecture mismatch but this is not the case23:01
T42<elros34> Did you do any unusual changes?23:02
T42<Spidey24Z> nothing only this (re @SailfishFreenodeIRCBridgeBot: <Thaodan>I mean this...)23:03
T42<elros34> irrelevant because it will not even work for you. What is the output for 'file /system/bin/getprop'23:04
T42<Spidey24Z> @elros34 / # file /system/bin/getprop23:08
T42<Spidey24Z> /system/bin/getprop: symbolic link to toolbox23:08
T42<elros34> so do it on toolbox then23:08
T42<Spidey24Z> how?23:09
T42<elros34> file <path to toolbox binary>23:10
T42<Spidey24Z> / # file ./vendor/bin/toolbox23:10
T42<Spidey24Z> ./vendor/bin/toolbox: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /system/bin/linker64, BuildID[md5/uuid]=f25631c1bda138a6c611c29aa73d8945, stripped23:10
T42<Spidey24Z> / # ./vendor/bin/toolbox23:11
T42<Spidey24Z> /bin/sh: ./vendor/bin/toolbox: not found23:11
T42<elros34> just to be sure, you use 64bit sfos right?23:12
T42<Spidey24Z> yes23:13
T42<elros34> wait, did't you already had working gui and some strange init.extraenv.armeabi-v7a.rc issue?23:19
T42<Spidey24Z> that was on hybris 1623:20
T42<elros34> why did you change android base? What about trying same change as previously?23:20
T42<Spidey24Z> i changed because i can't get audio work23:22
T42<Spidey24Z> i did same changes but it did not work with 17.123:22
T42<elros34> I mean getting rid of init.extraenv.armeabi-v7a.rc23:23
T42<Spidey24Z> i did that did not effect23:23
T42<elros34> do you have all partitions mounted, same as in lineage?23:26
T42<Spidey24Z> yes23:27
T42<elros34> what about ls -al /system/bin/linker*23:27
T42<Spidey24Z> lrwxr-xr-x    1 root     shell           36 Jan  1  2009 /system/bin/linker -> /apex/com.android.runtime/bin/linker23:28
T42<Spidey24Z> lrwxr-xr-x    1 root     shell           38 Jan  1  2009 /system/bin/linker64 -> /apex/com.android.runtime/bin/linker6423:28
T42<Spidey24Z> lrwxr-xr-x    1 root     shell           36 Jan  1  2009 /system/bin/linker_asan -> /apex/com.android.runtime/bin/linker23:28
T42<Spidey24Z> lrwxr-xr-x    1 root     shell           38 Jan  1  2009 /system/bin/linker_asan64 -> /apex/com.android.runtime/bin/linker6423:28
T42<Spidey24Z> and apex not mounted23:28
T42<elros34> not sure if that is possible but have you tried to start/strace apexd manually? Any chance that you use dynamic partitions on lineage?23:29
T42<Spidey24Z> strace apexd return very long output and stop on futex(0x7b807c0004, FUTEX_WAIT, 0, {tv_sec=30, tv_nsec=0}) = -1 EAGAIN (Resource temporarily unavailable)23:33
T42<Spidey24Z> no exit keep show this messege every minute23:34
T42<elros34> hmm in logs it stops with 1 exit code23:34
T42<Spidey24Z> i dont have dynamic parts23:35
T42<Spidey24Z> yeah also on dmesg (re @elros34: hmm in logs it stops...)23:35
T42<elros34> maybe it's related to enter_default_mount_ns failure23:37
T42<elros34> do you have namespace related change in defconfig reported by mer-kernel-check?23:39
T42<Spidey24Z> no23:41
T42<Spidey24Z> now apex mounted23:41
T42<Spidey24Z> but com.android.runtime not mounted23:41
T42<elros34> so fix defconfig23:42
T42<Spidey24Z> i enable all error and warnings from mer-kernel-check (re @elros34: so fix defconfig)23:43
T42<elros34> even optional filesystems?:)23:44
T42<Spidey24Z> no i did not enable extra file system23:47
T42<Spidey24Z> just warnings related to systemd23:47

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!