**** BEGIN LOGGING AT Tue Apr 09 03:00:03 2019 Apr 09 12:39:03 Hello. I have met a problem with "android_create_namespace" symbol referenced by /system/lib/libgui.so during "test_hwcomposer" execution. … I have search through the chat history and I understand that it is a problem of old libhybris. Am I right here? I'm using a halium rootfs downloaded from the documentation site by a link. Apr 09 13:53:31 is a backport from 5.1-rc2 a good idea in order to have Bluetooth on msm8996? Apr 09 17:03:26 Hu waht to do with this one: ` #error POSIX_ACL not supported in 3.18 backport` Apr 09 17:03:35 Cmon kernel you cant be serious Apr 09 17:05:38 @aa_sokolov [Hello. I have met a problem with "android_create_namespace" symbol referenced by …], I still got that with the latest libhybris Apr 09 17:05:53 @Flohack [Hu waht to do with this one: #error POSIX_ACL not supported in 3.18 backport], 3.10 is fun Apr 09 17:05:59 You can turn off that config though Apr 09 17:06:03 I haven't tried to fix it yet, but used latest libhybris and got that Apr 09 17:06:27 Other things also crashed from missing that library Apr 09 17:06:37 @UniversalSuperBox [You can turn off that config though], Ok lets see Apr 09 17:06:44 It's EXT4_POSIX_ACL Apr 09 17:06:48 Yeah sure Apr 09 17:07:31 Ok Google: Your kernel is sh1t Apr 09 17:07:39 Next errors as soon as you enable stuff Apr 09 17:08:20 @Flohack [Ok Google: Your kernel is sh1t], That's because the kernels were never used for this type of functionality so it wasn't tested much if at all Apr 09 17:08:21 @powderedtoastman9000 [I haven't tried to fix it yet, but used latest libhybris and got that], At least I'm not one :) I have only test_vibrator working. I check it uses libhybris too and its okay. Apr 09 17:08:35 @powderedtoastman9000 [That's because the kernels were never used for this type of functionality so it …], I know ecryptfs probably I can also disable Apr 09 17:09:33 @Flohack which device are you working on? Apr 09 17:10:40 Nexus 6P... It boots hybris-boot but with the kernel config for UT I get funny errors Apr 09 17:12:46 Ok mka clean lets try that Apr 09 17:16:16 use clobber Apr 09 17:16:31 better than clean, I forget why though Apr 09 17:19:03 Oh cool both errors are in Halium docs. Good jobs guys! Apr 09 17:34:02 @Flohack, what's up with that git history Apr 09 17:35:22 i found out `mka` + clean is `cmka` ;) Apr 09 17:35:49 Blasphemy, I use make -j32 like a boss Apr 09 17:38:25 @UniversalSuperBox [@Flohack, what's up with that git history], Eh? Apr 09 17:38:38 @Flohack [Eh?], Look at your PR again Apr 09 17:38:40 Ah damnit. I make a new branch. rejet Apr 09 17:39:31 which hardware is handled in kernel and which hardware is handled with the userspace HAL? Apr 09 17:41:36 @powderedtoastman9000 [which hardware is handled in kernel and which hardware is handled with the users …], Depends on the platform Apr 09 17:59:14 @aa_sokolov [Hello. I have met a problem with "android_create_namespace" symbol referenced by …], that's old libhybris problem, yes Apr 09 17:59:53 check if you can apt update && apt upgrade for newer one, but I do not know much about reference rootfs, except that it is pretty old by now Apr 09 18:00:02 @NotKit [that's old libhybris problem, yes], Are you saying there is a branch of libhybris that fixes this, or just that the problem has been around a while? Apr 09 18:00:33 libhybris with Android 7 linker fixes android_create_namespace missing symbol issue Apr 09 18:00:46 Oh, I need to build it into the rootfs, I see Apr 09 18:00:50 so it is upstream and version in UBPorts has it as well by default Apr 09 18:01:18 Makes sense, I am not used to hardware being in userspace Apr 09 18:25:08 Apparmor blocks all requests to `/usr/lib/arm-linux-gnueabihf/qt5/qml/*` except in the unconfined profile. How can i allow that for all the apps? Apr 09 18:35:45 Where is a good channel to ask generall Questions on linux? Apr 09 18:37:14 @NotKit [check if you can apt update && apt upgrade for newer one, but I do not know much …], Ok, thank you for an advice. … I have tried to boot Ubuntu touch but it freezes without ssh access after hybris boot. Guess it makes sense to spend time debugging UBports or just try to build Halium 5.1 with older Android. Apr 09 18:53:52 @nanu_c [Where is a good channel to ask generall Questions on linux?], IRC, freenode #linux are full of experts Apr 09 18:54:54 I haven't looked on telegram, I mostly use IRC, I'm only in halium and unports channels on telegram, and I joined a Samsung s10/+ channel but everyone is clueless there Apr 09 19:06:13 @aa_sokolov [Ok, thank you for an advice. … I have tried to boot Ubuntu touch but it freezes w …], you need halium-boot for UBPorts Apr 09 19:07:43 @aa_sokolov [Ok, thank you for an advice. … I have tried to boot Ubuntu touch but it freezes w …], Have you used the commands in the documentation to enable networking over USB and assign an IP to the virtual adapter? Apr 09 19:09:11 (Sticker, 512x512) https://irc.ubports.com/HpHIsYcB.webp Apr 09 19:09:46 @NotKit [you need halium-boot for UBPorts], That's makes sense. I haven't tried it. Thank you! Apr 09 19:10:30 @powderedtoastman9000 [Have you used the commands in the documentation to enable networking over USB an …], Yes, sure. But in case of UBports there is no usb network interface. Apr 09 19:10:34 You can get hybris-boot running on some devices but halium-boot is the documented way of doing it, if one works and the other fails, you use the other one... if both fail you stab in the dark Apr 09 19:11:14 Ahh, well, then try halium-boot, like was just said. I use halium-boot because hybris-boot is not working right in my S7 Apr 09 19:14:06 @powderedtoastman9000 [Ahh, well, then try halium-boot, like was just said. I use halium-boot because h …], Yes, sure. I will try. I have a misunderstanding that hybris boot is same as halium but you have to manually continue booting with "echo continue > /init-ctl/stdin". Guess it was my mistake. Apr 09 19:15:04 no, halium-boot will automatically keep booting once you have your system.img and rootfs in your /data/ partiton, unless you configure it to break at a certain point which can be done in the source, or with fastboot argument Apr 09 19:21:36 (Sticker, 512x512) https://irc.ubports.com/H0VqX6hN.webp Apr 09 19:21:51 can I haz cookie? Apr 09 19:22:22 @powderedtoastman9000 [no, halium-boot will automatically keep booting once you have your system.img an …], Thanks a lot for the information. May be darkness can wait a little bit more for me :) Apr 09 19:22:36 (Sticker, 512x512) https://irc.ubports.com/wMrE0tiQ.webp Apr 09 20:01:15 Hi all ! I am trying to build halium 7.1 for Honor5x. When I run mer_verify_kernel_config i see WARNING: CONFIG_EXT4_FS is invalid … It is unset … Allowed values : y, m, ! … Comment says: Mer uses ext4 as rootfs by default. However in defconfig file Partition types there is "CONFIG_MSDOS_PARTITION=y". and there is no entry for "CON Apr 09 20:01:15 FIG_EXT4_FS". How do I tackle this ? Any advise Apr 09 20:02:18 Just add an entry, you should add a bunch of entries, because there is security lables, ext2/3 support uising ext4 driver, and some other 2 options I can't remember Apr 09 20:02:59 Won't there be any conflict between MSDOS partition and ext4 ? Apr 09 20:03:04 Nope Apr 09 20:03:14 Thanks a ton !! Apr 09 20:03:14 You can support as many partition types as you want Apr 09 20:04:00 just don't enable ext2 and ext3, use the ext4 option for enabling support for the older 2 using the ext4 driver, it's the sane choice and enabling support for ext2/3 in more than 1 place will cause build errors Apr 09 20:04:47 you need to look through menuconfig a lot in the kernel source tree Apr 09 20:04:59 ARCH=arm or ARCH=arm64 followed by make menuconfig Apr 09 20:05:29 Ok Apr 09 20:05:53 arch=arm64 Apr 09 20:07:00 ARCH=arm64 make menuconfig Apr 09 20:07:21 use the '?' key on every option to see a description of what it does Apr 09 20:07:38 Expect to need multiple attempts to get a proper kernel configuration, it's an art Apr 09 20:10:28 Well I am a noob...learning Apr 09 20:11:56 Yeah, we're all noobs to some extent, everyone starts somewhere, it's how far you push yourself to achieve that makes the difference Apr 09 20:12:12 😊 Apr 09 20:14:37 I just been doing this 3 weeks now, I started doing it a couple years ago and I rage quit Apr 09 20:14:54 trying to find menuconfig file Apr 09 20:18:24 you use ARCH=arm64 make menuconfig it the kernel folder Apr 09 20:18:34 it's a lot to mess with, try not to get overwhelmed Apr 09 20:20:02 ok Apr 09 20:20:27 I'm being told by others right as I tell you this to just leave it alone myself lol Apr 09 20:20:30 i see a Kconfig file but no menuconfig....still hunting Apr 09 20:20:46 you use the command "ARCH=arm64 make menuconifg" Apr 09 20:22:55 You mean after I edit the defconfig file ? Apr 09 20:24:44 no, I mean look through the menu for all the options in the menu, so you know what every option is, and what's not in the defconfig file, but don't try editing everything now, just learn about the options and use the ones you feel are importation, mer-kernel-check if you use hybris-boot or halium-boot config checker can tell Apr 09 20:24:44 you what you need to enable/disable/change, otherwise the advice I was just given, being new to this project myself, is to just enable the stuff those tools tell you to, and leave everything else alone until it's time Apr 09 20:27:34 Well I am editing defconfig file regarding those items related to systemd, libhybris Apr 09 20:27:59 and a few others Apr 09 20:31:37 okay, that's good I think, I don't even really know honestly I'm not an expert at this Apr 09 20:32:41 Lets see how it goes....I also am not ..Like I said before, I am really a noob at this Apr 09 20:33:39 Well, you learn from doing it, don't be scared, it's pretty hard to brick a device unless you start messing with clocks and voltages Apr 09 20:33:49 Also don't flash your bootloader Apr 09 20:33:54 That is dangerous Apr 09 20:34:14 Ok Apr 09 20:56:50 One question. why does mer_verify_kernel_config still throws error even after editing defconfig file ? Apr 09 21:03:55 Did you set the values to what it says? Apr 09 21:04:22 yes Apr 09 21:06:07 It is either that OR I am not using the tool properly...every time I use it it says no such file or directory even after I put the path Apr 09 21:14:03 put the path to the defconfig, the full path, if you're in the folder of the script, you need to ../ as many folders as it takes to get back to your build tree top, then you move forward to kernel///arch/arm64/configs/ Apr 09 21:16:22 i did "./mer_verify_kernel_config kernel/huawei/kiwi/arch/arm64/configs/kiwi-64_defconfig" Apr 09 21:16:55 kiwi-64_defconfig my target file Apr 09 21:18:08 Is the mer-kernel-check in your main build folder? Apr 09 21:18:16 yes Apr 09 21:18:55 So try adding ../ before the kernel folder ../kernel/more Apr 09 21:22:54 well the no file or directory error has now gone Apr 09 21:23:05 so it's just empty output? Apr 09 21:23:11 if you see no output, that means it's all correct Apr 09 21:23:18 no there are a few errors Apr 09 21:23:32 need defconfig editing again Apr 09 21:27:14 Okay Apr 09 21:46:07 Well most errors are gone, the remaining can be ignored Apr 09 21:50:41 @tshering1980 [Well most errors are gone, the remaining can be ignored], Well done, you mastered step 1, now step2 try to build it, step 3 try to flash and boot, step 4 log into your device, find the bugs and document the way how you are solving them if it's not in the documentarion 😘🦄🐱 Apr 09 21:51:07 @tshering1980 [Well most errors are gone, the remaining can be ignored], [Edit] Well done, you mastered step 1, now step2 try to build it, step 3 try to flash and boot, step 4 log into your device, find the bugs and document the way how you are solving them if it's not in the documentation 😘🦄🐱 Apr 09 21:51:10 thanks **** ENDING LOGGING AT Wed Apr 10 02:59:57 2019