Tuesday, 2021-10-19

T42<vsvoid> has anyone come across this error  "Could not get version for libhybris"  ?00:54
kquote03[m]Hello. I've applied the mali gpu option described here https://github.com/mer-hybris/hadk-faq#devices-with-mali-gpu , the second command did not work so i just rebuilt the RPMs like described in the pdf.08:26
kquote03[m]It still did not work, but I got a dmesg dump https://susepaste.org/9286782 . I have not had much time to look at it tho.08:26
kquote03[m]<kquote03[m]> "Alright, how can one begin to..." <- Also looking back at this, I probably forgot to export the environment variable for hybris 17.108:27
T42<elros34> kquote03[m] I do not think mali quirk is useful anymore. I think that even on very old mali 400 device it wasn't needed but take it with grain of salt. For sure permissive selinux is needed like in hybris-17 intruction, it's really there for a reason like other tips09:30
kquote03[m]I have run test_hwcompose with strace. https://susepaste.org/35412735 it does crash.12:36
piggzThaodan: where did your systemsettings plugin branch go to?13:34
malkquote03[m]: are you sure you don't have a typo, you have "EGL_PLATFORM=hwcompose" missing the r from end13:55
kquote03[m]I copied it from the github faq13:56
kquote03[m]but i will try again13:56
kquote03[m]oh13:56
kquote03[m]it is a typo13:56
kquote03[m]it still crashes13:57
kquote03[m]i will reupload the log13:57
kquote03[m]alright https://paste.opensuse.org/6069173613:58
kquote03[m]here's console output (without strace) https://paste.opensuse.org/7183995013:59
malthat "error reading file "/system/etc/ld.config.txt": Too many levels of symbolic links" doesn't look nice14:00
kquote03[m]indeed14:02
malcan you check the file14:03
kquote03[m]same error occurs when catting it14:03
kquote03[m]it seems it not accesible at all14:03
kquote03[m]ill try rebooting to twrp and access it from there14:04
Thaodanpiggz: It's still where it was before14:11
Thaodanhttps://github.com/sailfishos/nemo-qml-plugin-systemsettings/pull/814:12
piggzThaodan: thx, i had it open in my browser, and it said it wasnt part of any branch14:16
riniguspiggz and Thaodan : while that systemsettings branch fixed storage, it is probably too new for our SFOS versions. I have seen lipstick crashes on boot while having that version installed. after reverting back to our regular 4.2. version all normality restored.14:44
ThaodanDo you have a crash dump?14:44
kquote03[m]`/ # ls -l /system/etc14:47
kquote03[m]lrw-r--r--    1 root     root            11 Jan  1  2009 /system/etc -> /system/etc`14:47
kquote03[m]Is this supposed to look like that?14:47
kquote03[m] * `/ # ls -l /system/etc lrw-r--r--    1 root     root            11 Jan  1  2009 /system/etc -> /system/etc`14:47
kquote03[m]Is this supposed to look like that?14:47
kquote03[m] * # ls -l /system/etc14:47
kquote03[m]lrw-r--r--    1 root     root            11 Jan  1  2009 /system/etc -> /system/etc14:47
kquote03[m]Is this supposed to look like that?14:47
kquote03[m] *  ls -l /system/etc14:48
kquote03[m]lrw-r--r--    1 root     root            11 Jan  1  2009 /system/etc -> /system/etc14:48
kquote03[m]Is this supposed to look like that?14:48
ThaodanDon't dump  your pastes to IRC14:49
piggzyou probably want a /system_root which /system links to14:49
piggz /system_root is created if fstab has a / filesystem ... you may need to edit it,14:50
kquote03[m]<Thaodan> "Don't dump  your pastes to IRC..." <- sorry i thought it was ok becuase it was just one line. I assume that it turns into a mess on IRC, so i will no longer do it15:01
T42<edp_17> @adampigg : I've spotted a little type in here: https://github.com/sailfishos-open/waydroid/blob/main/rpm/waydroid-session.service#L215:05
T42<edp_17> I think that should be 'Waydroid session'.15:05
piggzsure, thx15:06
T42<XAP2P> Use OrangeFox! (re @SailfishFreenodeIRCBridgeBot: <kquote03[m]>Thaodan...)15:08
kquote03[m]<piggz> "you probably want a /system_root..." <- I tried mkdir /system_root, it is empty after a reboot15:13
kquote03[m]woah wtf did i say something wrong???15:15
rinigusThaodan: no, I don't.15:31
T42<elros34> kquote03[m] did you fix selinux?15:42
kquote03Hello17:02
kquote03@elros34 I have read the notes you gave again and you were right, i had CONFIG_AUDIT disabled. I enabled it now17:05
kquote03When checking my boardconfig.mk to edit BOARD_KERNEL_CMDLINE, the line say ' The bootloader ignores the cmdline from the boot.img'17:33
kquote03Does that mean I can't use any kernel parameters??17:33
T42<elros34> maybe they are in defconfig17:39
kquote03[m]<T42> "<elros34> maybe they are in..." <- bingo, thanks17:49
kquote03yikes that's what replies look on IRC??? sorry...17:49
kquote03Alright, I enabled SELINUX and AUDIT in my kernel config and added the kernel parameters ( https://susepaste.org/61428137 ), but it's still showing that SELinux is disabled17:58
T42<elros34> what about grep -i selinux?18:00
T42<elros34> also search for selinux  in early dmesg log18:02
kquote03Alright18:02
kquote03once again, you never cease to amaze. It seems SELinux is working according to the notes you gave ( https://susepaste.org/92767296 )18:04
Thaodankquote03: You can also check the kernel build tree for the .config generated to see which config is really activated18:06
T42<elros34> ok so next check whether droid-hal-device do not fail18:06
T42<elros34> droid-hal-init*18:06
kquote03/bin/sh: droid-hal-init: Too many levels of symbolic links18:15
kquote03damn18:15
kquote03do you think it could be corrupted??18:16
T42<elros34> what about system partition, is your device system as root? If yes do you have system_root.mount unit?18:21
kquote03Thaodan: Alright18:21
kquote03elros34: Mount unit you mean as a service on systemd18:22
T42<elros34> yeah in /usr/lib/systemd/system/*.mount18:22
kquote03i have system.mount18:23
kquote03not system_root.mount tho18:23
T42<elros34> ls -al /system looks sane?18:23
kquote03https://susepaste.org/97973262 I'd say yes but all the files are from 2009 (???)18:24
T42<elros34> so it's system-as-root but your fstab suggest something else. Change in fstab /system to /. Make sure your updated fstab is in out/*/*.. and rebuild droid-hal18:27
kquote03alright, give me a minute18:29
kquote03Alright20:54
kquote03It worked.20:54
kquote03Nothing is comlaining about /system now20:54
kquote03no screen tho still.20:54
kquote03https://susepaste.org/62128520 here's the new strace of test_hwcomposer20:57
kquote03(still crashes with an Assertion error? https://susepaste.org/77698153 )20:57
malwhat hwcomposer*.so files do you see on the device?22:11
kquote03mal: in /usr/lib?22:13
kquote03i did a find / | grep -i hwcomposer22:15
kquote03here is the list of files https://susepaste.org/1283420922:15
T42<elros34> did you confirm that droid-hal-init works now? then see what is in logcat22:24
malif you look at the strace and the libs you just listed it's clear it doesn't try to load the correct lib, maybe something is wrong in properties or something22:29
malit fails to find any usable hwcomposer lib because it tries to load different filename22:30
*** amccarthy_ is now known as amccarthy22:30
kquote03T42: i should boot back to android to use logcat?22:31
T42<elros34> no, use /usr/libexec/droid-hybris/system/bin/logcat22:32
kquote03T42: it is not present, the whole libexec directory is missing22:33
kquote03I found it in /system/bin/logcat22:34
kquote03even though it appears in ls, it says not found22:35
kquote03it's readonly22:35
kquote03(/system)22:35
T42<elros34> what rpm -ql droid-hal-$DEVICE prints22:36
kquote03package droid-hal-a5y17lte is not installed22:37
kquote03im not blind, but like how??22:37
T42<elros34> yeah, did install sfos rootfs manually?22:38
kquote03yep because twrp kept crapping itself when extracting the zip22:38
T42<elros34> Did you clean /data/.stowways before doing that? I guess tar also crashed when you did it manually22:39
kquote03I only cleaned /data/.stowaways/sailfishos/*22:40
kquote03no it did not crash, i extracted it while i was on android22:40
T42<elros34> but rpm clearly indicates your installation is not complete. Check in whether droid-hal-$DEVICE is installed in your generated image (*.packages file)22:41
kquote03Alright22:42
kquote03It is there22:46
kquote03https://susepaste.org/5922598922:46
T42<elros34> so next time try to use hybris-boot/recovery busybox tar to unpack sfos.  /usr/bin/busybox-static tar is probably also good. For sure you will find also custom hybris-boot which use one of these busybox from sailfish to make installation in twrp trouble free22:50
malalso make sure you use the correct parameters for when unpacking22:51
kquote03yea no worries there i always copy the command from the pdf to double check22:51
kquote03so basically i will flash hyrbis-recovery and extract the rootfs from there using tar?22:52
T42<elros34> I think so22:54
kquote03alright, thanks for the help!22:54
T42<elros34> maybe it was custom hybris-installer not hybris-boot, something like that but I am not sure: https://github.com/sailfish-motog7/hybris-installer22:56

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