**** BEGIN LOGGING AT Sat Feb 03 03:00:01 2018 Feb 03 07:49:46 by running: … ./mer_verify_kernel_config '/kernel/doogee/x5pro/arch/arm/configs/X5PRO_6735m_defconfig' … it returns 31 warnings and 14 errors. I have to fix manually all missed wariables which mentioned as an ERROR. Is is necessary/recommended to do the same to fix ALL WARNINGS ? … WARNING: CONFIG_NET_NS is invalid, It is unset … ERROR: CONFIG_TIMERFD is invalid, It is unset and so on Feb 03 07:50:01 @Progromizd, yes Feb 03 07:50:11 some might be optional though! Feb 03 08:15:48 @theimpulson ERRORs fixed, Now I have 31 WARNINGs (25 optional). Is it bad idea to enable they all? Feb 03 08:20:39 You should fix the warnings too Feb 03 08:21:06 WARNING: CONFIG_UEVENT_HELPER_PATH is invalid … It is unset … Allowed values : "", ! … Comment says: should be empty, if you want to use systemd without initramfs. … - What is correct value for this param? Do i need initramfs (though, yes)? Feb 03 08:21:42 CONFIG_UEVENT_HELPER_PATH="" Feb 03 08:22:01 @JBBgameich, Just do not enable CONFIG_USER_NS on kernel 3.4 or 3.10 Feb 03 08:23:25 kernel is 3.18 Feb 03 08:31:34 what means "!" for allowed variants? Feb 03 08:43:15 @JBBgameich, what this means? … ./fixup-mountpoints … ./fixup-mountpoints: 12: shift: can't shift that many Feb 03 08:44:18 file contains lines … DEVICE=$1 … shift (12 line) Feb 03 08:46:47 looks like I need to replace … DEVICE=$1 with DEVICE=xpro, right? Feb 03 09:03:25 (Photo, 1280x756) https://irc.ubports.com/MW0i0oUi/file_4018.jpg what if I have no ETC folder where it is expected to be? Feb 03 09:03:30 @JBBgameich Feb 03 09:08:25 @Progromizd, Nope Feb 03 09:08:43 Add ur mount points as others added Feb 03 09:16:48 @maharudra108 thanks, understood. Feb 03 09:17:14 Np Feb 03 09:17:17 :) Feb 03 10:39:03 *** I had packed struct size mismatch due to single accidentaly copied * after compat_uptr_t Feb 03 10:39:05 auch Feb 03 10:58:05 (Photo, 1280x961) https://irc.ubports.com/mUZJvGTD/file_4021.jpg Feb 03 10:58:21 I fixed that damn 32-bit compat layer, yay Feb 03 11:40:02 win8linux was added by: win8linux Feb 03 11:53:46 @Progromizd, That means either config line is empty, or not existing ; Feb 03 14:31:48 In the case of Nexus devices, is it Google or HTC/Huawei/LG/Samsung/Motorola who should be designated as the manufacturer in the manifest? Feb 03 14:32:23 depends on how repo is named in lineageos Feb 03 14:32:30 if it's google_codename then google Feb 03 14:32:41 if it's lg_hammerhead then lg Feb 03 14:33:15 @bhushanshah, its lge for lg electronics iirc Feb 03 14:33:29 ah right Feb 03 15:42:25 is there a way to reboot directly into recovery from a booted halium rootfs? Feb 03 15:57:13 in theory you should be able to do something like `reboot recovery` Feb 03 15:57:18 In practice it doesn't always work Feb 03 16:01:28 (Photo, 1280x588) https://irc.ubports.com/EUH7WQnv/file_4031.jpg what is wrong here? Feb 03 16:02:21 @JBBgameich Feb 03 16:02:35 Please don't ping people out of the blue for troubleshooting. it gets really annoying. Feb 03 16:02:53 ok Feb 03 16:03:11 @UniversalSuperBox yes, googled a bit around and it seams that there are some register flags it reads, which are set by a Linux systemcall. And systemd seams to use it. "systemctl reboot recovery" did indeed work Feb 03 16:03:12 check /nvram line Feb 03 16:03:17 maybe extra space after \? Feb 03 16:03:34 I think you need to check the other devices in that file to see what it's supposed to look like Feb 03 16:03:36 http://docs.halium.org/en/latest/porting/build-sources.html#include-your-device-in-fixup-mountpoints Feb 03 16:03:55 oh, and yes, contents are wrong Feb 03 16:03:56 You don't put the whole fstab line in there. Feb 03 16:04:20 let me pastebin my example from MTK Feb 03 16:04:24 @ZeroPointEnergy, Cool. Feb 03 16:04:58 https://bpaste.net/show/53935d524d08 Feb 03 16:05:05 you don't need all those partitions though Feb 03 16:05:13 userdata and boot should be enough in theory? Feb 03 16:06:46 In reality, only userdata should be enough Feb 03 16:06:59 But the script requires boot Feb 03 16:07:13 I'm still stuck with systemd blocking. Will probably write a script which is multi-user.target is not reached within 5min dumps as much info about the state to somewhere in the rootfs or data and reboots to recovery Feb 03 16:07:47 Want to ask i want to create ota package instead of .img so how to do with halium Feb 03 16:07:54 You don't. Feb 03 16:08:12 Why? Feb 03 16:08:24 Because that's not how Halium is flashed. Use the official tools. Feb 03 16:08:47 Any workaround without pc Feb 03 16:09:04 How are you building it without a PC? Feb 03 16:09:16 Hahaha vps Feb 03 16:09:46 You can download just the system.img, hybris-boot.img, and the rootfs. That's all you'll need to flash Feb 03 16:09:52 how are you going to debug it without PC though? Feb 03 16:10:00 @UniversalSuperBox, Hmm Feb 03 16:10:12 @NotKit, If it boots then i can use adb over ssh Feb 03 16:10:34 em? Feb 03 16:10:36 We don't run adb at all. Feb 03 16:10:37 Ever. Feb 03 16:11:07 So you're building Halium on a VPS Feb 03 16:11:15 And you have no computer whatsoever, just the phone Feb 03 16:11:27 Correct? Feb 03 16:11:57 what means "mmcblk0pXX" ? can it be random? Feb 03 16:12:10 it used very often in configuration for another phones Feb 03 16:12:12 How do you work with a VPS without a PC? Feb 03 16:12:18 @UniversalSuperBox, Partially i don't have pc right now but after somedays i will on my pc Feb 03 16:12:39 @Progromizd, http://docs.halium.org/en/latest/porting/build-sources.html#include-your-device-in-fixup-mountpoints Feb 03 16:12:40 @Progromizd, Block address Feb 03 16:13:07 @maharudra108, Assigned a permanent unique id for system partitions Feb 03 16:13:43 @maharudra108, 1. Don't build Halium for your main phone. You don't want to lose data, it's just not worth it. … 2. You need a local PC to build and debug Halium. Feb 03 16:14:30 @UniversalSuperBox, Abt 1st point i don't care i will recover my phone Feb 03 16:14:39 2nd seems important Feb 03 16:15:01 basically Halium reference rootfs won't have any UI even if it boots, since it's just for testing Feb 03 16:15:17 and usually you have to do fair amount of debugging before being able to run any UI Feb 03 16:15:38 @NotKit, I want ubuntu touch Feb 03 16:15:56 So important thing is to boot halium Feb 03 16:20:16 (Photo, 878x531) https://irc.ubports.com/xduD6sNK/file_4033.jpg Fixing mount-points for device x5pro … sed: no input files Feb 03 16:20:41 partition numbers are wrong Feb 03 16:21:31 @NotKit, Whyhe added usb Feb 03 16:21:42 see my pastebin for entry example, but you need to find out your mmcblk0px numbers Feb 03 16:23:36 I saw, but have no idea how to define correct values for partition numbers Feb 03 16:23:47 Did you read the document Feb 03 16:24:07 yes, few times Feb 03 16:24:08 https://bpaste.net/show/2723784ba4d9 - did fixup-mountpoints not work though? Feb 03 16:24:26 @Progromizd, ls -la /dev/block/platform/*/*/by-name on Android Feb 03 16:34:02 @UniversalSuperBox why ubports-boot doesn't call fixup-mountpoints to get UBPORTS_DATA_PART? Feb 03 16:34:15 I noticed that it adds datapart=$(UBPORTS_DATA_PART) Feb 03 16:34:28 Because that's in another directory Feb 03 16:34:38 I've removed that logic from `halium-boot` entirely. Feb 03 16:35:06 With udev, we can find the data partition without issues. Feb 03 16:35:49 https://github.com/Halium/projectmanagement/issues/55 Feb 03 16:37:09 @NotKit, run this cmd on physical device ? Feb 03 16:37:15 yes Feb 03 16:57:31 that, worked. I have found all partiotions number, but is it ok that my current phone Android version is 5.1 ? Feb 03 16:57:42 If you're using halium-5.1 sure Feb 03 17:00:27 Oh, I just noticed a typo here: https://github.com/JBBgameich/initramfs-tools-halium/blob/halium/scripts/halium#L227 Feb 03 17:00:50 The "partition" mode is probably not used yet, but it'd still be good to fix it :) Feb 03 17:02:24 damn it Feb 03 17:02:27 I knew I'd do that Feb 03 17:02:42 Thanks Feb 03 17:03:27 Fixed Feb 03 17:03:38 Great :) Feb 03 17:05:50 I was having a look at halium-boot (from a LuneOS point of view), and how to integrate initramfs-tools-halium into our build toolchain Feb 03 17:06:46 As we use OpenEmbedded/Yocto and not a Debian-like build environment, it may require a bit of work Feb 03 17:07:19 Do you guys update the boot and initrd partitions? Feb 03 17:08:08 mmh not sure what you mean; we do flash the boot partition, and build our own initrd Feb 03 17:08:35 Aha, so you're looking at replacing your own with halium-boot? Feb 03 17:08:48 Yes, I'm investigating :) Feb 03 17:08:55 Well, there's no need to worry about any of the Debian packaging for the initrd. Feb 03 17:09:19 But you do need to have a working `debootstrap` in your PATH. Feb 03 17:09:27 Actually not that bad, it runs just about anywhere Feb 03 17:09:58 There are things like script/local-bottom, local-top... aren't they part of the debian "way" of building an initrd ? Feb 03 17:10:17 They are. The initrd is built in a Debian environment Feb 03 17:11:13 The initrd is built in a debian stretch chroot, using initramfs-tools and a special hook for halium. But it should work with all rootfs Feb 03 17:11:30 I'm not sure yet which level of integration would be the best for us; we are already in a chrooted environment, we already have our initrd dependencies and so on Feb 03 17:14:15 But well, that's why I'm looking into it; I'm just at the very beginning, so I'll continue my study Feb 03 17:14:35 If you need anything else from it, just toss it in the issue and we'll see what we can do Feb 03 17:14:51 ok thanks Feb 03 17:15:01 Oh! Is your boot image not built in an Android tree? Feb 03 17:15:51 hehe, nope :) Feb 03 17:16:07 Oh. Feb 03 17:16:37 We don't build the whole initrd; rather we grab it from GitHub Releases Feb 03 17:16:50 But that's open to discussion too. Today we try to integrate what makes sense in our toolchain, so that we have a consistent output image Feb 03 17:19:15 From what I can see, we could either delegate completely boot.img's build, or we could continue to build our own, just reusing halium's initrd scripts Feb 03 17:19:56 Either way it would mean a few changes in term of naming and "flashing" on our side Feb 03 17:20:22 I'd say it'd be better if we could agree on one way to do the bootimg Feb 03 17:21:01 Simply because we're looking at "The Way" to make a GNU/Linux for Android device Feb 03 17:21:02 s Feb 03 17:22:37 Yes, I agree; and on our side we are not interested in redoing the Android integration work you've already done :) Feb 03 17:24:11 I'm not sure I understand... which Android integration work? Feb 03 17:24:52 well, for instance, the initrd scripts here, with all the mounts, etc Feb 03 17:25:18 Oh, you already have things for that? Feb 03 17:25:53 Or are you saying, "It'd be really nice to use halium-boot because of the things it has" Feb 03 17:26:28 I'm more saying, it'd be really nice to use halium-boot because of the things it does better than us Feb 03 17:26:35 Ohhh Feb 03 17:26:47 I was not connecting with you at all. :) Feb 03 17:27:29 :) no problem Feb 03 17:30:22 Currently our way of using Halium's rootfs is quite different: /system is already in LuneOS's rootfs, we do the initramfs extraction only when starting lxc, all the mounts (firmware, etc) is done via our fstab and systemd Feb 03 17:31:14 All these things would need to be adapted before doing the switch to halium-boot Feb 03 17:36:28 Some intermediate steps can be identified though: use a rootfs.img directly as halium-boot does, reuse halium-boot's script (but within our toolchain), etc Feb 03 17:37:53 And when the gap will be a thiner, we'll be able to discuss on how to finally unify the bootimg Feb 03 17:40:01 Cool Feb 03 17:42:45 @UniversalSuperBox, Ubports boot+ hubris boot = halium boot? Feb 03 17:43:04 @NSA_AMERICA, https://github.com/Halium/projectmanagement/issues/55 Feb 03 17:45:34 Damn.. sounds interesting.. Feb 03 17:45:53 Would Love to test.. Feb 03 17:46:09 That's a heading on that issue. :) Feb 03 17:47:14 Yes.. i read the whole issues :P Feb 03 17:54:50 Tofe, do you have any kernel configs that are different from Halium's? Do you use a LSM? Feb 03 17:57:36 Heheh, I fixed Bullhead. Turns out enabling all the kernel options really helps. :P Feb 03 17:57:58 oh this is not fixedc Feb 03 17:57:59 No, we reuse the defconfig directly, so it should be the same Feb 03 17:58:09 LSM ? Feb 03 17:58:16 SElinux, AppArmor Feb 03 17:58:19 TOMOYO Feb 03 17:58:27 ah, no, we disable that, too much trouble Feb 03 17:58:53 Cool. I'm trying to figure out how we can all reconcile our configs. Feb 03 17:59:28 Lately we made some efforts to also unify the source code, as we had quite a few patches, mainly to support newer GCC Feb 03 17:59:47 Ahh Feb 03 17:59:56 But are upstreamed to you now, that's fixed Feb 03 18:00:20 Maybe only mido is still on the way to be tested, but the PR is already done Feb 03 18:00:27 I ask because UT uses AppArmor. Distros who don't use it can just ignore it. Feb 03 18:01:02 Yes, we ignore it :) Feb 03 18:25:04 why not change upstart by systemd on UT? is it difficult to do it ? Feb 03 18:27:51 It is. The work was started but not finished by Canonical. Feb 03 18:28:23 We'll have to do it for any updates after Xenial Feb 03 19:09:06 Hi guys! Someone has already resolved the problem that i got now, Need i to follow this guide? https://github.com/docker/for-aws/issues/111 Feb 03 23:35:26 Should I be concerned when `mer-kernel-check` says that almost all parameters are unset? Feb 03 23:37:46 Here's the output: https://paste.ubuntu.com/26515613/ **** ENDING LOGGING AT Sun Feb 04 03:00:01 2018