T42 | <birdzhang> @elros34 android 16 base, selinux enabled, https://github.com/sailfish-on-ginkgo/droid-config-ginkgo/blob/master/sparse/etc/selinux/config | 00:40 |
---|---|---|
T42 | <birdzhang> but there is no selinuxfs, donโt know is this related | 00:40 |
T42 | <birdzhang> and kernel source https://github.com/sailfish-on-ginkgo/kernel_xiaomi_ginkgo | 00:44 |
T42 | <birdzhang> i also tried "CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1" and set "selinux=0" to cmdline, nothing different | 00:45 |
T42 | <Pachof> /Desktop | 02:26 |
T42 | <WunderW_PL> Is the fixup-mountpoints step still actual? | 10:05 |
T42 | <WunderW_PL> For modern devices | 10:05 |
T42 | <NexusWorld99> Maybe | 10:05 |
T42 | <NexusWorld99> But what to do with the super partition is not yet. | 10:06 |
T42 | <adampigg> on volla devices i install the OS to the super partition (re @NexusWorld99: But what to do with ...) | 10:15 |
T42 | <b100dian> There's a commit using dynparts for mounting in FP4 repo IIRC | 10:16 |
T42 | <elros34> @WunderW_PL yes it is. For dynamic partitions you follow hadk-hot and use parse-android-dynparts | 13:10 |
T42 | <elros34> @birdzhang there is something confusing in this repo, you use /etc/selinux in a way its used when you package system partiton but you don't and at the same time you say its hybris-16 which usually should have selinux disabled at boot. What is actual error you see in journal/logcat? | 13:15 |
T42 | <birdzhang> @elros34 journalctl and dmesg when start camera https://gist.github.com/0312birdzhang/27aebe2f1d493a6fad1bea18731d8cc6#file-gistfile1-txt-L39-L48 | 13:20 |
T42 | <elros34> so there is nothing in logcat? | 13:22 |
T42 | <elros34> especially at boottime when everything is loaded not when you start cameara app | 13:22 |
T42 | <birdzhang> logcat https://gist.github.com/0312birdzhang/6af6d32bcc1b78a754f457e2826f4802 | 13:26 |
T42 | <birdzhang> a lot QSEECOMD spam | 13:26 |
T42 | <elros34> so not selinux is disabled at boottime now? | 13:35 |
T42 | <birdzhang> i disabled in kernel | 13:36 |
T42 | <Verevka86> Hi all | 13:37 |
T42 | <Verevka86> Has anyone managed to get fingerprint community to work with the print on the screen? | 13:37 |
T42 | <elros34> but how, what dmesg tels at bootime | 13:37 |
T42 | <birdzhang> CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 | 13:37 |
T42 | <elros34> so it says "SELinux: Disabled at boot"? If yes then maybe try to remove this incorrect /etc/selinux | 13:38 |
T42 | <elros34> and check whether gdb output changed | 13:39 |
T42 | <elros34> strace not gdb | 13:39 |
T42 | <birdzhang> yeah, it says "[ 0.002603] SELinux: Disabled at boot." | 13:39 |
T42 | <elros34> not sure whether this selinux stubs can cause any issues https://github.com/mer-hybris/droid-config-sony-nile/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/hwservicemanager.rc#L4 | 13:40 |
T42 | <birdzhang> so, change SELINUX in /etc/selinux/config to disabled? | 13:40 |
T42 | <elros34> maybe but whole dir structure is incorrect anyway | 13:41 |
T42 | <b100dian> @Verevka86 only on one device. This works on tucana https://github.com/sailfishos-open/sailfish-fpd-community/compare/master...b100dian:sailfish-fpd-community:master | 13:42 |
T42 | <b100dian> If you add a white patch in the fpd test https://github.com/sailfishos-open/sailfish-fpd-community-test/compare/master...b100dian:sailfish-fpd-community-test:master | 13:43 |
T42 | <b100dian> I wasn't able to reverse engineer the one from Asus though. Maybe it works on you 12x since it's a Xiaomi just as is tucana | 13:44 |
T42 | <birdzhang> @elros34 i removed /etc/selinux and reboot the phone, delete .cache/gstreamer-1.0/registry.aarch64.bin, the the strace log is the same | 13:44 |
T42 | <Verevka86> Thank you very much, I will definitely check and let you know ๐ค (re @b100dian: I wasn't able to rev...) | 13:45 |
T42 | <elros34> @birdzhang exactly the same? Error suggest it fails because of missing selinux. Did you remove also all selinux stubs? | 13:46 |
T42 | <birdzhang> not yet, wait some minutes | 13:46 |
T42 | <elros34> I am not sure why it wants that /selinux but maybe its not real error? | 13:49 |
T42 | <birdzhang> stuck on logo now | 13:49 |
T42 | <elros34> probably but idea removing them | 13:52 |
T42 | <birdzhang> maybe selinux is not real error, i enabled coredump files and use gdb, it tells me libstagefright.so Cannot access memory at address 0x2 https://github.com/sailfish-on-ginkgo/droid-config-ginkgo/issues/2#issuecomment-2296490303 | 13:57 |
mal | @birdzhang do you start camera from terminal or from app grid | 14:10 |
T42 | <birdzhang> from app grid | 14:11 |
mal | try from terminal as defaultuser | 14:11 |
mal | to rule out some sandboxing issues | 14:11 |
T42 | <elros34> ah, you use strace -e file, this might confuse, try full strace | 14:13 |
T42 | <birdzhang> mal: https://paste.mozilla.org/4seBcNuH | 14:14 |
mal | and logcat looks the same? | 14:15 |
T42 | <birdzhang> logcat: https://paste.mozilla.org/fasoZm9A | 14:17 |
T42 | <birdzhang> @elros34 strace without -e https://paste.mozilla.org/oWTp0qA2 | 14:19 |
T42 | <elros34> do you start this logcat as root? | 14:19 |
T42 | <birdzhang> yeah | 14:19 |
mal | that logcat is missing all relevant parts | 14:20 |
mal | what was the selinux setup before these tests? | 14:21 |
T42 | <birdzhang> i reverted libselinux_stubs to make phone works, selinux is disabled | 14:22 |
mal | @birdzhang based on your config repo you have the symlinks for the selinux files instead of copying the actual files (symlinks only work if you have packaged droid-system which is pretty only the case for official ports) | 14:22 |
mal | those symlinks probably broke everything because that causes selinux not work properly | 14:23 |
T42 | <birdzhang> okay, let me try | 14:23 |
mal | I suggest you try to properly do the selinux config and see how it works | 14:23 |
mal | https://github.com/sailfish-on-ginkgo/droid-config-ginkgo/blob/master/sparse/etc/selinux/minimum/policy/policy.30 | 14:24 |
mal | https://github.com/sailfish-on-ginkgo/droid-config-ginkgo/blob/master/sparse/etc/selinux/minimum/contexts/files/file_contexts | 14:24 |
mal | replace those with the actual target files from the device | 14:24 |
mal | so you copy file /vendor/etc/selinux/vendor_file_contexts to /etc/selinux/minimum/contexts/files/file_contexts and similar for the other file | 14:25 |
T42 | <birdzhang> then i need enable selinux from kernel or cmdline right? | 14:25 |
mal | yes | 14:25 |
T42 | <birdzhang> okay | 14:25 |
T42 | <elros34> btw this is hybris-16 | 14:25 |
mal | hmm | 14:25 |
T42 | <birdzhang> ๐ | 14:26 |
T42 | <elros34> try maybe something requires selinux anyway? | 14:26 |
mal | yeah, based on the error is could be selinux | 14:26 |
mal | *it | 14:26 |
T42 | <elros34> does he need any selinux changes in hybris-patches? | 14:28 |
mal | not that I know of, we'll see | 14:29 |
tohaturok | Hi, I've managed to connect to my Xperia 5 IV in recovery mode via usb | 14:44 |
tohaturok | Also I've found and fixed the errors in fixup-mountpoints for my phone. I repacked all rpm packages, built the image and upload it to the device. | 14:46 |
tohaturok | When booting up I saw the SailfishOS logo and after a while it disappeared. The phone didn't reboot, just stayed with a black screen. | 14:47 |
tohaturok | I enabled logs across reboots, booted the phone and downloaded the log. Here is the link to the log https://paste.opensuse.org/pastes/2b8221e82358 | 14:49 |
tohaturok | I see that there are several errors, but I don't know which ones are important to boot into UI. | 14:50 |
tohaturok | Can you tell me what to do next? | 14:50 |
T42 | <elros34> so had did you manage to fix usb connection? | 14:57 |
tohaturok | only in recovery | 14:57 |
tohaturok | not in boot | 14:57 |
T42 | <elros34> not sfos recovery but android one? | 14:57 |
tohaturok | sfos recovery | 14:58 |
T42 | <elros34> do you have this file https://github.com/SailfishOS-SonyXperia/droid-config-sony-nagara/blob/master/sparse/etc/usb-moded/usb-moded-nagara.conf? | 15:05 |
tohaturok | I think yes, but need to check | 15:14 |
T42 | <elros34> also I wonder why this log seems to be incomplete, only ~15s | 15:16 |
tohaturok | elros34: Can it be related to Systemd suppresses journal? | 15:19 |
tohaturok | I will check existence of usb-moded-nagara.conf later today | 15:20 |
T42 | <elros34> I didnt notice any indication about suppression but maybe. I ask about that usb config because of this line from your log: "usb_moded[1159]: /config/usb_gadget/g1/functions/rndis_bam.rndis: mkdir failed" | 15:22 |
tohaturok | elros34: The file is here https://postimg.cc/xXTS9QXQ | 18:08 |
T42 | <Yui> Hello, where I can take SailfishOS (not Sailfish X) OS Image for XPERIA X Dual (F5122)? | 18:20 |
T42 | <elros34> @tohaturok you don't need to show me it, just confirm it has same content | 20:17 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!