**** BEGIN LOGGING AT Sun Nov 17 02:59:57 2019 Nov 17 08:39:55 Hm, yesterday I installed PM, and the screen is black all the time. Thi the graphics are working (as you see above in the picture.) Should I check the last_kmesg or something? Nov 17 08:59:50 Oh, and I logged into the `phablet` user, tried to do some tests, but they all failed. Nov 17 09:22:58 I have been getting "Segmentation fault" errors on my tests. Would this patch be okay? https://github.com/z3ntu/libhybris/commit/5773400e9997045208fa92d06dc3fec832100de5#diff-778793b2254c7f49c17c39066fb33713 Nov 17 09:26:16 And also, I have been getting this: "cannot locate symbol \"android_cr"..., 88cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...". Nov 17 09:26:31 [Edit] And also, I have been getting this: "cannot locate symbol "android_create_namespace" referenced by "/system/lib/libgui.so"...". Nov 17 09:53:34 @rixchy [And also, I have been getting this: "cannot locate symbol "android_create_namesp …], libhybris is too old in rootfs Nov 17 09:56:41 So, what should I do about this? Nov 17 09:59:19 which rootfs do you use? Nov 17 09:59:37 @NotKit [which rootfs do you use?], Now reference ones. Plasma rootfs had the same error + graphics didn't work. Nov 17 10:01:14 Is there any patch perhaps? Nov 17 10:01:53 I think the one that is maintained is Debian-PM Nov 17 10:02:08 But the screen is black on Plasma. Nov 17 10:02:37 And most of the test don't work on Plasma, too. test_vibrator doesn't work. Nov 17 10:02:44 And some other tests. Nov 17 10:02:49 [Edit] And most of the tests don't work on Plasma, too. test_vibrator doesn't work. Nov 17 10:03:42 most of tests simply don't work Nov 17 10:05:12 But what about the screen issue? Nov 17 10:06:28 if test vibrator doesn't work, something is wrong either with libhybris or container Nov 17 10:06:44 @NotKit [if test vibrator doesn't work, something is wrong either with libhybris or conta …], And how do I make sure? Nov 17 10:07:50 what is the error with test_egl_configs on Plasma? Nov 17 10:08:04 make sure rootfs you use isn't ancient Nov 17 10:08:20 They aren't. "pm-rootfs-20190811-133243.tar.gz" Nov 17 10:27:56 @NotKit [what is the error with test_egl_configs on Plasma?], Okay, I installed PM. Let me check, Nov 17 10:29:27 @NotKit [what is the error with test_egl_configs on Plasma?], "phablet@localhost:~$ test_egl_configs … Starting test (EGL_PLATFORM=(null)) … EGL Error 3001 at test_egl_configs.c:100" Nov 17 10:29:57 Also, now I rebooted the device, and the screen isn't black. It is stuck on Samsung logo, as if it doesn't have graphics working. Nov 17 10:31:31 This may the error that everything's failing with: "main: Assertion `eglGetError() == EGL_SUCCESS' failed." Nov 17 10:33:47 @NotKit Have you heard of that error? Nov 17 10:41:35 lxc-status -n android Nov 17 10:41:50 if it is running, give full strace log Nov 17 10:42:22 @NotKit [lxc-status -n android], "phablet@localhost:~$ lxc-status -n android … -bash: lxc-status: command not found … phablet@localhost:~$ lxc-s … lxc-snapshot lxc-start lxc-stop" Nov 17 10:42:43 lxc-info maybe? Nov 17 10:43:01 "phablet@localhost:~$ systemctl status lxc@android … ● lxc@android.service - LXC Container: android … Loaded: loaded (/lib/systemd/system/lxc@.service; indirect; vendor preset: enabled) … Active: active (running) since Sun 2019-11-17 10:28:31 UTC; 14min ago" Maybe this could help you? Nov 17 10:43:19 I know, it's not lxc-info or whatever, but is that useful? Nov 17 10:43:59 @NotKit [lxc-info maybe?], Command? lxc-info -n android? Nov 17 10:45:09 I say by memory, not in front of PC right now to give useful input Nov 17 10:45:23 @NotKit [I say by memory, not in front of PC right now to give useful input], Oh, okay. Nov 17 10:45:33 (Document) https://irc.ubports.com/9Gl3B3Y0.gif Nov 17 10:46:12 "phablet@localhost:~$ lxc-info android … android doesn't exist" Nov 17 10:50:10 lxc-info android-999 Nov 17 10:50:28 @Akatsu . [lxc-info android-999], "phablet@localhost:~$ lxc-info android-999 … android-999 doesn't exist" Nov 17 10:53:24 I guess that was a joke Nov 17 10:53:37 What do you mean? Nov 17 10:54:51 @Akatsu . [lxc-info android-999], this Nov 17 10:55:02 Okayyy. Nov 17 10:55:20 check output of lxc-ls then. Are you running it as root? Nov 17 10:56:09 @NotKit [check output of lxc-ls then. Are you running it as root?], "phablet@localhost:~$ sudo lxc-info android … Name: android … State: RUNNING … PID: 1134 … IP: 10.15.19.82 … CPU use: 8.36 seconds … Memory use: 47.19 MiB" I AM SORRY. Nov 17 10:56:40 sudo -s … test_egl_configs Nov 17 10:57:13 @NotKit [sudo -s … test_egl_configs], "phablet@localhost:~$ sudo -s … root@localhost:~# test_egl_configs … Starting test (EGL_PLATFORM=(null)) … EGL Error 3001 at test_egl_configs.c:100" Nov 17 10:57:25 ok, strace it then Nov 17 10:58:10 (Document) https://irc.ubports.com/UJ0nkJ8N.txt Nov 17 10:58:12 There. Nov 17 11:05:13 it's trying to load mesa libs Nov 17 11:05:38 rootfs is broken, complain Plasma channel ;) Nov 17 11:05:50 [Edit] rootfs is broken, complain to Plasma channel ;) Nov 17 11:06:52 Shet. Nov 17 11:09:36 @NotKit [it's trying to load mesa libs], Should I try running older builds? Nov 17 11:10:37 I don't know, but maybe it's better to try debian-pm instead Nov 17 11:10:53 @NotKit [I don't know, but maybe it's better to try debian-pm instead], Where is the mirror located? Nov 17 11:11:42 https://archive.kaidan.im/debian-pm/images/halium/plasma-mobile/ This? Nov 17 11:12:15 Should I install armhf architecture for armv7? Nov 17 11:23:09 yes Nov 17 11:45:56 @NotKit [yes], Okay, installed. "root@debian-device:~# test_input … FORTIFY: strlen: prevented read past end of buffer" Nov 17 11:46:25 Vibrator works now. Nov 17 11:46:32 Graphics, gotta check. Nov 17 11:47:15 @rixchy [Graphics, gotta check.], "test_egl: test_egl.c:56: main: Assertion `eglGetError() == EGL_SUCCESS' failed." Ugh. Nov 17 11:59:37 WiFi doesn't work anymore, too. " Could not activate connection: Activation failed: DHCP client failed to start" Nov 17 12:24:54 @peat_psuwit Hey, I just noticed that you had "FORTIFY: strlen: prevented read past end of buffer" error with your test_input. Did you fix it yet? Nov 17 13:06:31 @rixchy [@peat_psuwit Hey, I just noticed that you had "FORTIFY: strlen: prevented read p …], No. However it doesn't matter because both Ubuntu Touch and (IIRC) Plasma Mobile should access the input via libinput not libhybris. Nov 17 13:09:22 @peat_psuwit [No. However it doesn't matter because both Ubuntu Touch and (IIRC) Plasma Mobile …], Well I've been having the same error, and I cannot fix it. Nov 17 13:13:07 BTW could SDFAT filesystem be disabled in defconfig? Nov 17 13:13:22 Or is it like the standard format for SD cards? Nov 17 14:09:47 @peat_psuwit [Starts from 'Revert "Finish implementation of PID namespace"' to 'userns: Requir …], @rixchy did you do this? Nov 17 14:10:03 @Mattia990 [@rixchy did you do this?], Yep. Nov 17 14:10:22 @rixchy [Yep.], Nice, where are you stopped right now? Nov 17 14:10:54 @Mattia990 [Nice, where are you stopped right now?], Well, I cannot build halium-boot with "apparmor" (because I wanna try UT build,) and it is failing all the time. Now I am trying another kernel. Nov 17 14:11:38 @rixchy [Well, I cannot build halium-boot with "apparmor" (because I wanna try UT build,) …], But some days ago you said you were trying with pm Nov 17 14:12:10 @Mattia990 [But some days ago you said you were trying with pm], I am really, uhm IDK "switchy". I can switch from one distro to another in a day. Nov 17 14:12:53 @rixchy [I am really, uhm IDK "switchy". I can switch from one distro to another in a day …], Yeah, but if you don’t fix egl test, also ut will not work Nov 17 14:13:32 @Mattia990 [Yeah, but if you don’t fix egl test, also ut will not work], I hope that UT will respond differently, since egl worked on reference rootfs, but not on PM or Debian-PM rootfs. Nov 17 14:44:06 I modified something in my kernel aand I f*cked everything up. "/home/rixchy/halium/kernel/samsung/exynos5420/kernel/nsproxy.c:93:39: error: passing argument 2 of 'copy_net_ns' from incompatible pointer type [-Werror] … new_nsp->net_ns = copy_net_ns(flags, tsk->nsproxy->net_ns); … ^ Nov 17 15:20:51 Hm, I tried building halium-boot again with apparmor as security... aaand... "error: unknown type name '__kernel_fd_set' … typedef __kernel_fd_set fd_set;" Nov 17 15:39:36 Hi, can I compile halium if my device only supports lineage 15.1? Nov 17 15:40:03 Hey guyz can u do me a favor Nov 17 15:40:04 @AlexLara [Hi, can I compile halium if my device only supports lineage 15.1?], I guess you can try, but Halium-8.1 isn't stable. Nov 17 15:40:07 @Demonic Angel [Hey guyz can u do me a favor], ? Nov 17 15:40:07 https://youtu.be/NfA7h6BCWyM Nov 17 15:40:15 Plz subscribe to my channel Nov 17 15:40:38 I don't think that this is the perfect group/chat for advertising. Nov 17 15:40:42 👏 Nov 17 15:40:51 Plz Nov 17 15:40:57 Ik it is not Nov 17 15:50:46 @Demonic Angel [Ik it is not], please delete it. it is spam Nov 17 15:51:16 I agree, definitely. Nov 17 15:54:02 Demonic would be much more interesting here if you worked on finding vulnerabilities in Halium ports (and fixing them as well) Nov 17 15:54:20 Finw Nov 17 15:54:25 I'll do them too Nov 17 15:54:52 @dohbee [please delete it. it is spam], It's not Nov 17 15:55:11 @Demonic Angel [It's not], Technically it is. It is advertising and self-promo. Nov 17 15:55:15 just because it's not bitcoin or viagra doesn't make it not spam Nov 17 15:55:21 @dohbee [just because it's not bitcoin or viagra doesn't make it not spam], LMAO. Nov 17 15:55:33 @rixchy [I guess you can try, but Halium-8.1 isn't stable.], I did't find the source code :/ Nov 17 15:55:35 it's unrelated, out of context, and advertising; so thus it is spam Nov 17 15:56:01 @AlexLara [I did't find the source code :/], Then I cannot help with that, some of the other devs can help with that. I am a bit nooby. :/ Nov 17 15:56:11 @dohbee [it's unrelated, out of context, and advertising; so thus it is spam], I agree, again. Nov 17 15:57:02 @AlexLara [I did't find the source code :/], What's ur problem Nov 17 15:57:06 ? Nov 17 15:57:18 @AlexLara [Hi, can I compile halium if my device only supports lineage 15.1?], . Nov 17 15:57:23 @Demonic Angel [What's ur problem], He has LOS-15.1 and wants to install halium-8.1. Nov 17 15:57:41 Hm... Nov 17 15:57:50 What's ur android version? Nov 17 15:57:59 @Demonic Angel [What's ur android version?], I just said. Android 8.1. Nov 17 15:58:07 @rixchy [He has LOS-15.1 and wants to install halium-8.1.], . Nov 17 15:58:19 @Demonic Angel [What's ur android version?], Android 8.0.0 Nov 17 15:58:39 @AlexLara [Android 8.0.0], No, Android 8.1. Nov 17 15:58:56 LOS16.1 = Android 8.1, and LOS16 = Android 8. You have LOS16.1. Nov 17 15:59:06 (Photo, 1280x225) https://irc.ubports.com/RUz2YWlr.png Nov 17 15:59:20 @AlexLara [], Then you have LOS16.0 not LOS16.1 Nov 17 15:59:29 @AlexLara [Hi, can I compile halium if my device only supports lineage 15.1?], As stated here. Nov 17 16:00:29 @AlexLara [Android 8.0.0], what device is it? what was the original android version it shipped with? Nov 17 16:02:04 Device Overview — Halium documentation … http://docs.halium.org/en/latest/supplementary/devices/ Nov 17 16:02:16 Check this out Nov 17 16:02:43 (Photo, 1175x1280) https://irc.ubports.com/lxef9mcd.png This is the lineage.dependencies of my device Nov 17 16:03:36 @AlexLara [], What is your device? Model, vendor? Nov 17 16:03:48 I want to Port Moto z2 play (Albus) Nov 17 16:03:50 @rixchy [LOS16.1 = Android 8.1, and LOS16 = Android 8. You have LOS16.1.], Android is LOS15 Nov 17 16:03:57 @rixchy [LOS16.1 = Android 8.1, and LOS16 = Android 8. You have LOS16.1.], [Edit] Android 8 is LOS15 Nov 17 16:04:31 Oops, I wrote the wrong numbers, but the meaning was correct. Nov 17 16:04:39 @AlexLara [], You have Android 8.1. Nov 17 16:04:45 @AlexLara [I want to Port Moto z2 play (Albus)], it shipped with android 7.1, so you should be able to use halium-7.1; if there's no cm-14.1 branch, it's a little more work perhaps, but it should be doable Nov 17 16:05:02 @rixchy [You have Android 8.1.], stop arguing over the android version that he's currently running please :) Nov 17 16:05:06 @dohbee [it shipped with android 7.1, so you should be able to use halium-7.1; if there's …], How is he going to use the non-LOS rom? Nov 17 16:05:21 well halium isn't LOS Nov 17 16:05:26 @dohbee [stop arguing over the android version that he's currently running please :)], Okay, okay. No problem, just he didn't know what android he had. Nov 17 16:05:36 having a LOS port already just makes it easier to port halium Nov 17 16:05:54 @dohbee [well halium isn't LOS], But the build is going to give alot of errors because there are gonna be files that are named incorrectly or missing. Nov 17 16:05:59 it is not a requirement; having lineage just means the kernel and device/vendor trees are available somewhere Nov 17 16:06:02 @dohbee [it shipped with android 7.1, so you should be able to use halium-7.1; if there's …], I get it Nov 17 16:06:37 @dohbee [it is not a requirement; having lineage just means the kernel and device/vendor …], For example, I tried another kernel (not from LOS) and the build failed because the defconf wasn't named correctly. Nov 17 16:07:20 and it seems to be unmaintained anyway for lineage? Nov 17 16:08:54 Moto z 2 play is no longer maintenance Nov 17 16:09:55 thank you very much, I will try to port my device Nov 17 21:06:45 Hello again , i'm downloading the sources for my device samsung note3 and i got this error when i run ./halium/devices/setup hltechn Nov 17 21:07:31 https://pastebin.com/Mq5b4yDg Nov 17 21:07:39 and here is my mainfest file Nov 17 21:08:07 (Document) https://irc.ubports.com/IJhz00t0.xml Nov 17 21:08:44 i tried to specify a remote for the lineage os repo with branch cm-14.1 am i doing it right Nov 17 21:29:31 I modified my apparmor folder, because it wasn't building, and now, I am encountering this: "security/built-in.o: In function `kvfree': … evm_posix_acl.c:(.text+0x45cf4): multiple definition of `kvfree' … mm/built-in.o:cma-best-fit.c:(.text+0x1d19c): first defined here … /home/rixchy/halium/kernel/samsung/exynos5420/Makefile:963: recipe fo Nov 17 21:29:31 r target 'vmlinux.o' failed" Nov 17 21:36:27 " LD vmlinux.o … security/built-in.o: In function `kvfree':" Where is built-in.o located, then? Nov 17 22:01:58 @x [Hello again , i'm downloading the sources for my device samsung note3 and i got …], I am actually going to be working on a port of this for someone else, perhaps we can combine efforts? Nov 17 22:02:42 I was going to do my initial repo sync and compile tonight actually Nov 17 22:03:56 that would be great! Nov 17 22:14:54 彭玉棠 was added by: 彭玉棠 **** ENDING LOGGING AT Mon Nov 18 02:59:57 2019