voidanix[m] | mal: community encryption totally gets rid of the lock screen issue on kumano | 00:19 |
---|---|---|
T42_ | <Connor> Hello all, I got the mounts working on my surya port (thank you so much for your help Elros) but now I'm stuck on servicemanager giving me "Check failed: selinux_status_open(true )" which I *think* might be related to the selinux status of my base android rom? I've uploaded my journalctl to https://pastebin.com/E77spwgp and my dmesg to https://pastebin.com/mhDeeLBb | 09:13 |
T42_ | <Connor> I've added "androidboot.selinux=permissive" to the kernel cmdline in device/xiaomi/surya/BoardConfig.mk as I'm on 18.1 and have tried a few different variations on file_contexts in sparse/etc/selinux including a symlink and the actual file from my vendor partition to no avail | 09:13 |
T42_ | <b100dian> Connor what are permissions on /sys/fs/selinux/enforce ? Maybe it is not readable | 10:44 |
T42_ | <Connor> I'm guessing the fact that I don't have an selinux folder in /sys/fs/ may be the problem? | 10:47 |
voidanix[m] | you are supposed to have it, yes | 10:50 |
voidanix[m] | do you also have something like https://github.com/mer-hybris/droid-config-sony-lena/tree/master/sparse/etc/selinux in your droid-config? | 10:51 |
T42_ | <Connor> sure do, here's mine https://gitlab.com/xiaomi-poco-x3/droid-config-surya/-/tree/master/sparse/etc/selinux | 10:54 |
T42_ | <b100dian> Connor are you using a halium kernel? This has app armour instead of selinux if true | 11:11 |
voidanix[m] | does that really matter? lena at least has them both in defconfig and works just fine | 11:13 |
T42_ | <Connor> I have been using the ubports surya kernel but I could try rebuilding based on the stock lineageos kernel | 11:13 |
T42_ | <b100dian> It matters if selinux was disabled https://gitlab.com/xiaomi-poco-x3/kernel-xiaomi-surya/-/commit/6de85f3ca6d1dedcad618fb9e23dafa16897f1d0 | 11:14 |
T42_ | <b100dian> Maybe you just need to revert that if that's your kernel | 11:15 |
T42_ | <Connor> I'll give that a go, cheers! | 11:15 |
voidanix[m] | ah yes, `CONFIG_DEFAULT_SECURITY_SELINUX` and `CONFIG_DEFAULT_SECURITY="apparmor"` | 11:15 |
T42_ | <elros34> these files in /etc/selinux must not be symlinks if you follow regular hadk pdf | 11:59 |
T42_ | <elros34> be aware on ubports there usually more changes which disables selinux | 12:05 |
pachof | help pls : "external/droidmedia/droidmediacamera.cpp:344:17: error: inequality comparison result unused [-Werror,-Wunused-comparison] android::OK != android::Camera::connectLegacy(camera_number, FORCE_HAL << 8, android::String16("droidmedia")" | 13:09 |
voidanix[m] | do you have `FORCE_HAL := 1`? | 13:16 |
mal | which anderoid base is that? | 13:16 |
pachof | android 9 base | 13:17 |
mal | but actually there is a bug in that, usually FORCE_HAL should not be used | 13:19 |
mal | unless for a very good reason | 13:20 |
mal | can't even remember when it was used last time | 13:20 |
pachof | oh ok | 13:22 |
pachof | I already fixed it, just remove "FORCE_HAL=1" from external/droidmedia/env.mk | 13:25 |
*** phlixi is now known as Guest9876 | 18:12 | |
*** phlixi_ is now known as phlixi | 18:12 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!