**** BEGIN LOGGING AT Fri Jul 12 02:59:57 2019 Jul 12 05:40:51 @TuxThePenguin open("/dev/ion", O_RDONLY) = -1 EACCES (Permission denied) Jul 12 05:41:05 is it in your udev rules? Jul 12 07:17:37 @NotKit [@TuxThePenguin open("/dev/ion", O_RDONLY) = -1 EACCES (Permission d …], https://paste.ubuntu.com/p/KQqMPxcKwq/ Jul 12 08:02:10 Anyone has experienced with something similar to this error https://paste.ubuntu.com/p/fV597YgDGx/ Jul 12 08:05:29 https://paste.ubuntu.com/p/y3YVnbCzGN/ lxc-checkconfig Jul 12 08:07:13 ls -la /dev/ion then Jul 12 08:07:13 @TuxThePenguin also try test_egl_configs as root Jul 12 08:10:02 @Flohack [Invalid argument is different, its similar tzo my problem: https://github.com/lx …], https://paste.ubuntu.com/p/3xNBGkkGpn/ Jul 12 08:19:49 @ankaos [https://paste.ubuntu.com/p/3xNBGkkGpn/], can you also do lxc-ifno plz Jul 12 08:19:55 @ankaos [https://paste.ubuntu.com/p/3xNBGkkGpn/], [Edit] can you also do lxc-info plz Jul 12 08:20:43 phablet@ubuntu-phablet:~$ lxc-info … lxc-info: No container name specified Jul 12 08:21:02 ah sorry lxc-checkconfig or what was it? Jul 12 08:21:38 phablet@ubuntu-phablet:~$ sudo lxc-info -n android … [sudo] password for phablet: … Name: android … State: STOPPED Jul 12 08:22:00 yeah sure thats expected. Jul 12 08:22:08 @ankaos [https://paste.ubuntu.com/p/y3YVnbCzGN/ lxc-checkconfig], Florian Jul 12 08:22:14 thx Jul 12 08:22:22 did not see lol Jul 12 08:22:44 :D Jul 12 08:23:09 strange errors have never seen this Jul 12 08:23:35 :D Jul 12 08:23:55 me too Jul 12 08:27:33 Ahhh Jul 12 08:27:49 could not open /proc/modules => your kernel does not support modules at all maybe Jul 12 08:27:59 There should be some flags for this Jul 12 08:28:35 @Flohack [could not open /proc/modules => your kernel does not support modules at all mayb …], What a strange path Jul 12 08:28:51 @K31j0 [What a strange path], Hmm is it? Jul 12 08:29:00 Normally modules are just libs that reside in /lib/modules Jul 12 08:29:12 And their parameters are controlled in sysfs Jul 12 08:29:23 so maybe it gets some infos there Jul 12 08:29:30 I got this path on my phone here Jul 12 08:29:38 So it must be possible to activate 😆 Jul 12 08:29:53 Yeah, but it seems strange and I've never seen any flag for it Jul 12 08:30:36 @K31j0 [Yeah, but it seems strange and I've never seen any flag for it], https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Reference_Guide/s2-proc-modules.html Jul 12 08:31:52 @K31j0 [Yeah, but it seems strange and I've never seen any flag for it], Vendor kernels 😆 Jul 12 08:32:41 @ankaos [me too], What does lsmod do? Jul 12 08:32:45 @Flohack [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/html/Re …], Aaah that makes sense Jul 12 08:33:05 So maybe CONFIG_MODULES or whatever it was called isn't enabled Jul 12 08:33:14 @K31j0 [So maybe CONFIG_MODULES or whatever it was called isn't enabled], yes thats what I mean Jul 12 08:34:30 Variable name: MODULES Jul 12 08:34:48 Florian. I have 3 hours of work. I'il finish it. Jul 12 08:34:51 and maybe KMOD Jul 12 08:34:56 Ok have to go as well ^^ Jul 12 08:43:24 @NotKit [@TuxThePenguin also try test_egl_configs as root], Running the test as root doesn't change anything and /dev/ion exists https://paste.ubuntu.com/p/6944cjnrdP/ Jul 12 08:44:27 strace it and check dmesg as well Jul 12 08:49:48 dmesg gets spammed with networking stuff because of SSH and this seems to be the same as stracing without root https://paste.ubuntu.com/p/z4PWbZpvjN/ Jul 12 08:58:37 @TuxThePenguin open("/dev/kgsl-3d0", O_RDWR|O_SYNC) = -1 ENOENT (No such file or directory) Jul 12 08:59:05 maybe loading firmware has failed or something, try to understand why is it missing from kernel logs Jul 12 08:59:27 there might be also some information in /system/bin/logcat Jul 12 08:59:39 Alright I'll have a look Jul 12 09:08:18 I think I may have found the issue … ```phablet@ubuntu-phablet:~$ /system/bin/logcat … CANNOT LINK EXECUTABLE "/system/bin/logcat": "/android/system/lib/liblog.so" is 32-bit instead of 64-bit``` Jul 12 09:09:07 Oh and I got a non-truncated dmesg log https://paste.ubuntu.com/p/3wkBzPVxqP/ Jul 12 09:10:09 you have to run `sudo env LD_LIBRARY_PATH=/system/lib64:/vendor/lib64 /system/bin/logcat` Jul 12 09:11:52 Ok that seems to lop the same thing https://paste.ubuntu.com/p/Ksp6gnPDQJ/ Jul 12 09:12:09 [Edit] Ok that seems to loop an error https://paste.ubuntu.com/p/Ksp6gnPDQJ/ Jul 12 09:17:12 Could it be that I haven't been able to disable SELinux yet that is causing the issue? Jul 12 09:46:31 @TuxThePenguin [Could it be that I haven't been able to disable SELinux yet that is causing the …], no, I told you what to look for Jul 12 09:46:36 in your dmesg: [ 6.382699] kgsl kgsl-3d0: |_load_firmware| request_firmware(a530_pm4.fw) failed: -2 Jul 12 09:48:09 [ 5.115139] subsys-pil-tz 9300000.qcom,lpass: adsp: Failed to locate adsp.mdt - this will give troubles with sound later Jul 12 09:49:39 where are your firmware files located? Jul 12 09:56:25 I GOT VIDEO Jul 12 09:56:46 noice! Jul 12 10:04:53 https://github.com/Halium/projectmanagement/issues/131 Jul 12 10:05:07 1440p screen makes things very small lol Jul 12 10:27:16 Ah it's a lot more usable at 27px/gu :P Jul 12 10:35:26 First thing to figure out now, is it common for the hardware buttons (volume and power) to not work immediately and how would I go about fixing them? Jul 12 10:52:38 So it seems like a lot of the hacks that work with the oneplus 3 also work with the axon 7 or are at least similar … I got wife to start with a terminal command Jul 12 10:58:51 @TuxThePenguin [First thing to figure out now, is it common for the hardware buttons (volume and …], check porting-faq for power button, it seems to be common issue for 3.18 kernel devices Jul 12 10:59:32 Ok cool Jul 12 11:04:43 Does anyone know how to solve the problem that usb doesn't work? Jul 12 11:14:10 @NotKit [check porting-faq for power button, it seems to be common issue for 3.18 kernel …], I actually can't find whatever FAQ you are mentioning lol Jul 12 11:18:32 UBPorts porting group pinned message Jul 12 12:07:59 @K31j0 [So maybe CONFIG_MODULES or whatever it was called isn't enabled], now. ı make modules=y Jul 12 12:08:54 @Flohack [and maybe KMOD], kmod config not found :( Jul 12 12:10:31 @Flohack [What does lsmod do?], dont lsmod :( Jul 12 12:11:52 halium/hybris-boot/Android.mk:73: *** There should be a one and only one device entry for HYBRIS_BOOT_PART and HYBRIS_DATA_PART. Jul 12 12:12:32 ı add d802 fixup-mountpoint Jul 12 12:13:09 @ankaos [now. ı make modules=y], The name is different, you need smth like CONFIG_MODULES or so, please google it Jul 12 12:14:22 @ankaos [halium/hybris-boot/Android.mk:73: *** There should be a one and only one device …], my fault. sorry. Jul 12 12:14:40 @Flohack [The name is different, you need smth like CONFIG_MODULES or so, please google it], now build. than install device .adn test Jul 12 12:14:47 I used CONFIG_MODULES and it needed some other things to be modified before they would compile Jul 12 12:15:17 What was going on? Jul 12 12:15:39 cm worked as I have compiled. Jul 12 12:18:06 @TuxThePenguin [I used CONFIG_MODULES and it needed some other things to be modified before they …], https://paste.ubuntu.com/p/RHvVK2DpfF/ :D:D Jul 12 12:34:33 ı use `https://www.tldp.org/HOWTO/Linmodem-HOWTO-3.html` Jul 12 12:57:08 @Tygerpro [Its a long explanation, but the short version is, with the guide, copy the stuff …], Explain plz Jul 12 12:57:44 @TuxThePenguin [I used CONFIG_MODULES and it needed some other things to be modified before they …], what did you need it for? Jul 12 12:57:58 @ankaos [https://paste.ubuntu.com/p/RHvVK2DpfF/ :D:D], Your kernel is a complete mess Jul 12 12:58:17 No kernel compile should break by enabling modules Jul 12 12:58:20 @Jack ma [Does anyone know how to solve the problem that usb doesn't work?], you mean USB network or? Jul 12 12:58:34 @NotKit [what did you need it for?], lxc issues led us there Jul 12 12:59:14 (Document) https://irc.ubports.com/aw0ZcG0W.txt Jul 12 12:59:22 usually in Sailfish they compile Wi-Fi as module on Qualcomm to defer probing for firmware, but otherwise it should not be required Jul 12 12:59:24 @NotKit [what did you need it for?], I'm not sure if it was necessary but it can't hurt :P … The only thing I had to change was some android specific thing not wanting to be compiled as a module so setting it to y fixed it again Jul 12 12:59:30 Florian this is my kernel Jul 12 12:59:41 @NotKit [you mean USB network or?], Thank you for replying to me. After my current hybris-boot startup, the /sys/class/android_usb/android0 file or directory does not exist, so I can't use usb. Jul 12 13:00:02 Jack which is your kernel version? Jul 12 13:00:19 @NotKit [Jack which is your kernel version?], 4.18 Jul 12 13:00:31 on device? Jul 12 13:00:44 huawei p9 Jul 12 13:01:01 and it has Android 7 support? Jul 12 13:02:00 Yes, my device supports lineageos 14.1 Jul 12 13:02:43 did you mean kernel 3.18 then? Jul 12 13:03:19 My device uses the linux 4.18 kernel Jul 12 13:04:31 It's interesting that nougat devices also uses 4.18 kernel Jul 12 13:04:47 I have never seen that before Jul 12 13:05:11 hm, could you please link to the source code to confirm? I'm asking because starting with kernel 4.4 Qualcomm devices switched to use ConfigFS method of USB gadget configuration as opposed to old /sys/class/android_usb Jul 12 13:05:23 also, does it work in hybris-boot before switching to rootfs? Jul 12 13:07:36 Usb never works regardless of whether rootfs is mounted or not Jul 12 13:09:25 Maybe related to configfs Jul 12 13:11:58 @ankaos [Florian this is my kernel], Sorry have a meeting now. I also think I cannot help you more than just saying that probably your kernel includes wrong headers somewhere: They turned off MODULES and then started to patch the kernel to still work. You need to fix this in the source code probably Jul 12 13:12:25 okey Jul 12 13:24:13 I started a port to the samsung galaxy ace 3 lte (loganreltexx) as I happen to own one but I will not prioritize it until either the axon 7 port is at a point where it could be considered done or I get stuck with the axon 7 port … Either way I don't expect it to get far since the LOS files are very inconsistent and the device only h Jul 12 13:24:14 as 8GB of storage and otherwise the minimum specs as well as using Linux 3.4 Jul 12 13:30:37 @Jack ma [Usb never works regardless of whether rootfs is mounted or not], does /sys/class/android_usb exist on Android? Jul 12 13:31:21 Yes, /sys/class/android_usb exists Jul 12 15:28:26 without nougat tree cant we build ubt? Jul 12 15:54:13 If your experienced enough you could, however since you are asking how to make a manifest file, I am presuming you are not and would advice to not try something like that Jul 12 16:02:48 @thedenomparkour [What to add inside that? I didn't understand that [Repository name], [Revision] …], Here is my manifest file for a Samsung Galaxy Note 4, you should be able to figure your manifest file with mine. Jul 12 16:06:06 @Tygerpro [Here is my manifest file for a Samsung Galaxy Note 4, you should be able to figu …], tho mine zuk z2_plus Jul 12 16:14:00 You have to find your dependency file in the lineage repo and make the manifest Jul 12 16:14:21 It covers that in the docs Jul 12 16:25:14 @ankaos [VERSION = 3 … PATCHLEVEL = 4], 3.4 versiyon. patch :50 Jul 12 16:25:20 new kernel build Jul 12 16:27:22 @thedenomparkour [tho mine zuk z2_plus], Would help if I actually post the link, sorry bout that … https://raw.githubusercontent.com/tyg3rpro/local_manifests/master/samsung_trltespr.xml Jul 12 16:52:40 Fwd from ankaos: https://github.com/Halium/rootfs-builder/tree/ubuntu Jul 12 16:52:40 Fwd from ankaos: How to use this script? Jul 12 18:34:24 everyhomeiswired was added by: everyhomeiswired Jul 12 20:59:29 https://paste.ubuntu.com/p/pT93mgJSkg/ lxc-checkconfig Jul 12 21:03:22 sudo lxc-start -n android -F https://paste.ubuntu.com/p/4VjHhHFXcV/ Jul 12 21:24:32 is it reference or UBPorts rootfs? Jul 12 21:29:53 @NotKit [is it reference or UBPorts rootfs?], ubports Jul 12 21:30:32 you could try disabling CONFIG_CGROUP_NET_PRIO Jul 12 21:31:15 CONFIG_CGROUP_NET_PRIO havent Jul 12 21:31:25 ı dont have CONFIG_CGROUP_NET_PRIO Jul 12 21:31:36 not add Jul 12 21:33:34 @ankaos [sudo lxc-start -n android -F https://paste.ubuntu.com/p/4VjHhHFXcV/], @NotKit ı dont know this error Jul 12 21:34:04 well, I don't know what happens either then. It tries to create net_prio cgroup for some reason, but fails Jul 12 21:36:21 # CONFIG_NETPRIO_CGROUP is not set … # CONFIG_NET_CLS_CGROUP is not set … device is getting bootlop Jul 12 21:37:40 try enabling CONFIG_NETPRIO_CGROUP instead? :) Jul 12 21:39:38 2 day later :( Jul 12 21:42:17 Well bear in mind, we are all volunteering to do this in our free time, 2 days later isnt that bad, it coukd be much worse Jul 12 21:59:40 thank every body Jul 13 01:07:34 @Tygerpro [https://github.com/tyg3rpro/Ubuntu_Touch?files=1], Hey, finally playing with this. How'd you solve the duplicate camera entries in trlte-common and apq8084-common? Jul 13 01:08:35 @Lyokanthrope [Hey, finally playing with this. How'd you solve the duplicate camera entries in …], I just picked one and renamed it to .camera (which makes it a hidden directory as far as the script is concerned) Jul 13 01:08:41 Fair'nuf Jul 13 01:14:32 ninja: error: /home/build/android/halium/out/build-lineage_trlte.ninja:13: expected newline, got '| … blink sorry? Jul 13 01:14:38 that's a new one. Jul 13 01:16:40 Guess I'll just try disabling ninja and see if I can build.. Jul 13 01:20:40 Yep, that seemed to fix it for the moment. Odd. Jul 13 01:28:35 @Tygerpro [Would help if I actually post the link, sorry bout that … https://raw.githubuserc …], Thanks for the idea Jul 13 01:28:43 Yeah, I recall having to disable that for halium-boot maybe? I never figured out what was actually happening, but it worked Jul 13 01:29:01 @thedenomparkour [Thanks for the idea], Welcome, hope it helps and good luck Jul 13 01:30:00 @Tygerpro [Welcome, hope it helps and good luck], Thanks bro Jul 13 02:14:11 Oh I think I forgot to mention earlier, to fix viteo output I set `CONFIG_FW_LOADER_USER_HELPER=y` and `CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y` Jul 13 02:14:16 [Edit] Oh I think I forgot to mention earlier, to fix video output I set `CONFIG_FW_LOADER_USER_HELPER=y` and `CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y` Jul 13 02:25:29 Salvatore Vitellaro was added by: Salvatore Vitellaro **** ENDING LOGGING AT Sat Jul 13 02:59:57 2019