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.1 | 08: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 tips | 09:30 |
kquote03[m] | I have run test_hwcompose with strace. https://susepaste.org/35412735 it does crash. | 12:36 |
piggz | Thaodan: where did your systemsettings plugin branch go to? | 13:34 |
mal | kquote03[m]: are you sure you don't have a typo, you have "EGL_PLATFORM=hwcompose" missing the r from end | 13:55 |
kquote03[m] | I copied it from the github faq | 13:56 |
kquote03[m] | but i will try again | 13:56 |
kquote03[m] | oh | 13:56 |
kquote03[m] | it is a typo | 13:56 |
kquote03[m] | it still crashes | 13:57 |
kquote03[m] | i will reupload the log | 13:57 |
kquote03[m] | alright https://paste.opensuse.org/60691736 | 13:58 |
kquote03[m] | here's console output (without strace) https://paste.opensuse.org/71839950 | 13:59 |
mal | that "error reading file "/system/etc/ld.config.txt": Too many levels of symbolic links" doesn't look nice | 14:00 |
kquote03[m] | indeed | 14:02 |
mal | can you check the file | 14:03 |
kquote03[m] | same error occurs when catting it | 14:03 |
kquote03[m] | it seems it not accesible at all | 14:03 |
kquote03[m] | ill try rebooting to twrp and access it from there | 14:04 |
Thaodan | piggz: It's still where it was before | 14:11 |
Thaodan | https://github.com/sailfishos/nemo-qml-plugin-systemsettings/pull/8 | 14:12 |
piggz | Thaodan: thx, i had it open in my browser, and it said it wasnt part of any branch | 14:16 |
rinigus | piggz 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 |
Thaodan | Do you have a crash dump? | 14:44 |
kquote03[m] | `/ # ls -l /system/etc | 14: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/etc | 14: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 | 14:48 |
kquote03[m] | lrw-r--r-- 1 root root 11 Jan 1 2009 /system/etc -> /system/etc | 14:48 |
kquote03[m] | Is this supposed to look like that? | 14:48 |
Thaodan | Don't dump your pastes to IRC | 14:49 |
piggz | you probably want a /system_root which /system links to | 14: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 it | 15: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#L2 | 15:05 |
T42 | <edp_17> I think that should be 'Waydroid session'. | 15:05 |
piggz | sure, thx | 15: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 reboot | 15:13 |
kquote03[m] | woah wtf did i say something wrong??? | 15:15 |
rinigus | Thaodan: no, I don't. | 15:31 |
T42 | <elros34> kquote03[m] did you fix selinux? | 15:42 |
kquote03 | Hello | 17:02 |
kquote03 | @elros34 I have read the notes you gave again and you were right, i had CONFIG_AUDIT disabled. I enabled it now | 17:05 |
kquote03 | When checking my boardconfig.mk to edit BOARD_KERNEL_CMDLINE, the line say ' The bootloader ignores the cmdline from the boot.img' | 17:33 |
kquote03 | Does that mean I can't use any kernel parameters?? | 17:33 |
T42 | <elros34> maybe they are in defconfig | 17:39 |
kquote03[m] | <T42> "<elros34> maybe they are in..." <- bingo, thanks | 17:49 |
kquote03 | yikes that's what replies look on IRC??? sorry... | 17:49 |
kquote03 | Alright, 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 disabled | 17:58 |
T42 | <elros34> what about grep -i selinux? | 18:00 |
T42 | <elros34> also search for selinux in early dmesg log | 18:02 |
kquote03 | Alright | 18:02 |
kquote03 | once again, you never cease to amaze. It seems SELinux is working according to the notes you gave ( https://susepaste.org/92767296 ) | 18:04 |
Thaodan | kquote03: You can also check the kernel build tree for the .config generated to see which config is really activated | 18:06 |
T42 | <elros34> ok so next check whether droid-hal-device do not fail | 18:06 |
T42 | <elros34> droid-hal-init* | 18:06 |
kquote03 | /bin/sh: droid-hal-init: Too many levels of symbolic links | 18:15 |
kquote03 | damn | 18:15 |
kquote03 | do 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 |
kquote03 | Thaodan: Alright | 18:21 |
kquote03 | elros34: Mount unit you mean as a service on systemd | 18:22 |
T42 | <elros34> yeah in /usr/lib/systemd/system/*.mount | 18:22 |
kquote03 | i have system.mount | 18:23 |
kquote03 | not system_root.mount tho | 18:23 |
T42 | <elros34> ls -al /system looks sane? | 18:23 |
kquote03 | https://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-hal | 18:27 |
kquote03 | alright, give me a minute | 18:29 |
kquote03 | Alright | 20:54 |
kquote03 | It worked. | 20:54 |
kquote03 | Nothing is comlaining about /system now | 20:54 |
kquote03 | no screen tho still. | 20:54 |
kquote03 | https://susepaste.org/62128520 here's the new strace of test_hwcomposer | 20:57 |
kquote03 | (still crashes with an Assertion error? https://susepaste.org/77698153 ) | 20:57 |
mal | what hwcomposer*.so files do you see on the device? | 22:11 |
kquote03 | mal: in /usr/lib? | 22:13 |
kquote03 | i did a find / | grep -i hwcomposer | 22:15 |
kquote03 | here is the list of files https://susepaste.org/12834209 | 22:15 |
T42 | <elros34> did you confirm that droid-hal-init works now? then see what is in logcat | 22:24 |
mal | if 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 something | 22:29 |
mal | it fails to find any usable hwcomposer lib because it tries to load different filename | 22:30 |
*** amccarthy_ is now known as amccarthy | 22:30 | |
kquote03 | T42: i should boot back to android to use logcat? | 22:31 |
T42 | <elros34> no, use /usr/libexec/droid-hybris/system/bin/logcat | 22:32 |
kquote03 | T42: it is not present, the whole libexec directory is missing | 22:33 |
kquote03 | I found it in /system/bin/logcat | 22:34 |
kquote03 | even though it appears in ls, it says not found | 22:35 |
kquote03 | it's readonly | 22:35 |
kquote03 | (/system) | 22:35 |
T42 | <elros34> what rpm -ql droid-hal-$DEVICE prints | 22:36 |
kquote03 | package droid-hal-a5y17lte is not installed | 22:37 |
kquote03 | im not blind, but like how?? | 22:37 |
T42 | <elros34> yeah, did install sfos rootfs manually? | 22:38 |
kquote03 | yep because twrp kept crapping itself when extracting the zip | 22:38 |
T42 | <elros34> Did you clean /data/.stowways before doing that? I guess tar also crashed when you did it manually | 22:39 |
kquote03 | I only cleaned /data/.stowaways/sailfishos/* | 22:40 |
kquote03 | no it did not crash, i extracted it while i was on android | 22: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 |
kquote03 | Alright | 22:42 |
kquote03 | It is there | 22:46 |
kquote03 | https://susepaste.org/59225989 | 22: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 free | 22:50 |
mal | also make sure you use the correct parameters for when unpacking | 22:51 |
kquote03 | yea no worries there i always copy the command from the pdf to double check | 22:51 |
kquote03 | so basically i will flash hyrbis-recovery and extract the rootfs from there using tar? | 22:52 |
T42 | <elros34> I think so | 22:54 |
kquote03 | alright, 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-installer | 22:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!