**** BEGIN LOGGING AT Sat Apr 28 03:00:04 2018 Apr 28 06:33:13 @lambdaperl[m], did you enable or disable the two configs afterwards - I don't really understand from they guide what you SHOULD do ... Apr 28 06:33:58 I guess disable CONFIG_ANDROID_PARANOID_NETWORK and enable CONFIG_SECURITY_ANDROID_GID_CAPABILITIES ?! Apr 28 07:06:32 @ritardato[m], I see it came up before http://logs.nslu2-linux.org/livelogs/halium/halium.20180110.txt search for qdoverlay Apr 28 07:16:04 Hmm, from what i read it's a libhybris problem Apr 28 07:22:07 I can't claim I really understood it Apr 28 09:19:11 Is there a sane way to reuse a repo folder? I have `repo init -u https://github.com/Halium/android -b halium-7.1` sitting on my hard disk already and now I'd like to have `repo init -u https://github.com/ubports/android -b ubp-5.1` I suppose much of the bits are the same, can I avoid having them twice? Apr 28 09:23:51 @dohniks, you can if you're building on the same branch for different device Apr 28 09:23:52 @dohniks, [Edit] you can if you're building on the same branch for different devices Apr 28 09:24:03 No, i did it while going from rr to lineage and half of the synced repo were from rr while they shouldve been lineage Apr 28 09:24:17 @vanyasem, but you can't reuse componenets between branches Apr 28 09:26:41 The scripts in halium-devices should be able to swap the device specific manifest, so you can build for a new device. Apr 28 09:27:22 @vanyasem, let me see whether I understood this: Apr 28 09:27:24 Building halium-7.1 for the device deb and mako should be possible in ONE repo tree. But building halium-7.1 and ubp-5.1 for deb requires TWO repo trees. Apr 28 09:27:27 Like that? Apr 28 09:27:32 @dohniks, ye Apr 28 09:27:42 thx! Apr 28 09:30:20 Maxwell Lu, I can hel with X20 Apr 28 09:30:21 but you need kernel source code Apr 28 09:33:16 *help Apr 28 16:37:47 I'd like to port Halium to my device, but its kernel is version 3.0. Can I use an Android compatible custom kernel instead? Apr 28 16:38:46 If there's a newer kernel from LineageOS or similar you can use it, but for most devices there's no newer one available. Apr 28 16:39:43 So I should find a kernel from a custom ROM? Is that right? Apr 28 16:40:38 Halium uses the sources from LineageOS, which is a custom ROM, so it's probably correct Apr 28 16:40:51 Which device do you want to port to btw? Apr 28 16:41:08 Samsung Galaxy Tab 2 10.1. Apr 28 16:41:33 And where do I obtain the kernel? Apr 28 16:43:39 Am I still connected? Apr 28 16:44:15 Ye Apr 28 16:45:18 This is probbaly the correct device tree (https://github.com/LineageOS/android_device_samsung_i9100) and kernel: https://github.com/LineageOS/android_kernel_samsung_smdk4412 Apr 28 16:56:13 Sorry it took me so long. That is for the S2, not the Tab 2. I think I can take it from here, though. Apr 28 16:56:55 @b010000100100001, Sorry to say but halium uses systemd and needs a kernel >=3.1 normally Apr 28 16:58:36 Yeah, but I know to look for the kernels and device trees on the LineageOS GitHub now. Apr 28 16:58:51 You can port postmarketOS to the device though, although you can't use that as a daily driver yet (which is also the case for some Halium distributions) Apr 28 17:02:21 I think I found two device trees (https://github.com/LineageOS/android_device_samsung_espressowifi and https://github.com/LineageOS/android_device_samsung_espresso-common) and a kernel (https://github.com/LineageOS/android_kernel_samsung_espresso10) I can use. Apr 28 17:03:02 The kernel is still to old for Halium unfortunately Apr 28 17:04:05 Does it matter if I get a non-LineageOS kernel? Apr 28 17:05:03 Maybe you can get a non-LineageOS kernel that works, but it's important that it's 3.1 or newer Apr 28 17:05:39 very unlikely though that such kernel exists Apr 28 17:06:05 If you want to spend a lot of time and like the device, you could maybe also try get support for that device into the mainline linux kernel Apr 28 17:08:25 Does anything matter other than that it works on my device and is 3.1 or newer? And why does Android use such old kernels? If getting support for this thing will take too much time, I'll just buy a new device. Apr 28 17:09:26 A 3.1+ kernel that supports the device should be enough given that there is a device tree for it already. Apr 28 17:09:56 But if there isn't a new enough already, it could take a really long time. Apr 28 17:10:55 Alright. I'll start the search If I need more help, I'll come back. Apr 28 18:10:31 MrAjAnderson was added by: MrAjAnderson Apr 28 18:11:49 Replicant could have newer kernel Apr 28 18:11:54 If Tab2 is supported Apr 28 18:12:12 some dude ported sailfish hybris to the tab 2 Apr 28 18:18:57 Got a link with info, I have a Tab 2 in need of a personality transplant? Apr 28 18:26:34 Holger Müller was added by: Holger Müller Apr 28 18:27:45 @Holger Müller, Welcome Apr 28 18:28:55 When trying to build Halium systemimage the build aborts almost immediately. Below is a short file with the messages I get. What can I do to fix this? Apr 28 18:29:06 (Document) https://irc.ubports.com/gY2pPRfm.txt Apr 28 18:46:35 @aribk, did you do breakfast ? Apr 28 18:47:02 Yes, I followed the guide to the letter. Apr 28 18:47:27 I can try again, of course... Apr 28 18:48:30 @abhishek_0, ... exact same result. :( Apr 28 18:50:56 @abhishek_0, Thanks for responding. 👍 I have to absent myself for a while. Will check in later to see if anyone has left any suggestions... Apr 28 19:26:10 Seems like Switch is faster in terms of getting mainlined, lel Apr 28 19:26:10 (Photo, 1280x960) https://irc.ubports.com/NeOAXD0B.png Apr 28 19:27:53 Maybe it's hardware platform was already well supported in the kernel, and maybe graphics are supported by some nvidia driver... I'm just guessing, but that could be an explanation. Apr 28 19:29:36 Yeah, wondering if X11 comes up on it using nouveau Apr 28 19:30:25 I already saw pictures of it running KDE Plasma, so it probably does. Apr 28 19:31:40 Good, probably the best tablet around excluding the Z2 Tablet Apr 28 19:34:25 wait, no, the hardware is bad Apr 28 20:31:08 TxaumeVW was added by: TxaumeVW Apr 28 20:41:45 (Document) https://irc.ubports.com/3ScaiPmV.xml Apr 28 20:42:02 are these manifests correct? Apr 28 21:46:24 Hello Apr 28 21:46:48 Is @dohniks there? Apr 28 21:48:26 @mayltonfnds hello mate, how've you been getting on? Apr 28 21:49:26 I've just got back to work Apr 28 21:49:37 I've been busy recently Apr 28 21:50:08 Could you give me a hand, please? Apr 28 21:50:27 I can try but I'm not as experienced as dohniks Apr 28 21:51:15 No problem. every help is useful and welcome. Apr 28 21:52:06 So, look: I was following what Dohniks told me here Apr 28 21:52:15 https://forums.ubports.com/topic/1169/porting-halium-to-leeco-le-max2-aka-x2-x820/2 Apr 28 21:53:47 But there's a little problem. Although my installer script do not remove halium-install.xxxxx from /tmp, there is no system.img nor rootfs.img Apr 28 21:54:38 Here you have it's localization: tmp/halium-install.ilzZ1/tmpmount/ Apr 28 21:54:49 there is no file inside of it Apr 28 21:54:54 Hmm Apr 28 21:55:11 there's nothing inside `/tmp/halium-install.ilzZ1` either so? Apr 28 21:55:39 there is a folder called tmpmount Apr 28 21:57:40 I think it's cleaning up after the build but failing to do so fully, Apr 28 21:57:41 if you want to debug the results, you can comment out this line https://github.com/reivilibre/halium-scripts/blob/master/halium-install-hostbuild#L98 and then run it again Apr 28 21:59:20 Actually I have a later version of the script, I may just push that to the repo Apr 28 21:59:22 I tried again and monitored it's folder and noticed that Apr 28 21:59:41 The files are there but are removed just after install is finished Apr 28 22:00:15 did you put `#` before the `trap cleanup 0 1 2 3 9 15`? Apr 28 22:00:58 I did that now Apr 28 22:01:03 Please disregard that recent link, as I just updated the script with changes I forgot to push last time Apr 28 22:01:11 I tried before you said that Apr 28 22:01:42 @lambdaperl[m], No problem. I am not using your script btw Apr 28 22:01:47 OK, that should hopefully leave stuff without cleaning it up Apr 28 22:02:06 Oh, sorry, which script do you use? Apr 28 22:02:43 I'm not sure who did it tbh Apr 28 22:03:12 URL to it? Apr 28 22:03:15 That worked. All files were left Apr 28 22:03:52 Hooray :-) Apr 28 22:04:27 @lambdaperl[m], this one Apr 28 22:04:38 It's yours 😂 Apr 28 22:04:55 haha, sorry for the confusion, I do indeed have a different username :-) Apr 28 22:08:41 Am I correct in saying that you're having problems after you pass the hybris-recovery? Apr 28 22:11:29 ye Apr 28 22:11:44 you can see it in the link I sent above Apr 28 22:12:55 I was having a similar problem, and I found my rootfs was being corrupted (I found this out by setting what I call a 'panic bomb', basically I created a shell script that would trigger a kernel panic in 60 seconds, which I activated before booting) Apr 28 22:13:07 I think my old halium-install-hostbuild may have been responsible Apr 28 22:13:37 The new one ( https://github.com/reivilibre/halium-scripts/blob/master/halium-install-hostbuild ) uses `sync` to ensure that changes are written to the filesystem, before it sends the rootfs.img to the Android device Apr 28 22:15:15 I understand it's a faff because you have to set a new root password manually, but it might be an idea to try the new one Apr 28 22:16:25 interesting Apr 28 22:16:32 give me a minute Apr 28 22:17:05 I should make the script add a root password automatically to be honest :-) Apr 28 22:24:13 DUDE Apr 28 22:24:24 SOMETHING REALLY STRANGE HAPPENED Apr 28 22:24:25 DUDE? Apr 28 22:25:20 what's happened? Apr 28 22:25:20 @lambdaperl[m], Like, man, bro, friend 😂😂 Apr 28 22:25:41 Give me a minute and i'll tell you when I am sure about it Apr 28 22:29:57 Man, I don't know why, how or when, but now I AM ABLE TO SSH LOGIN Apr 28 22:30:17 what did you do to do that? Apr 28 22:30:36 I am totally sure i did nothing different from other times Apr 28 22:30:37 I am sure Apr 28 22:30:41 I am really surprised Apr 28 22:31:41 Using the new script? Apr 28 22:31:44 Wait! There is only one thing different from other times. I just installed Ubuntu 18.04 LTS. Do you think that might be the reason? Apr 28 22:31:55 @lambdaperl[m], No, I didn't use it Apr 28 22:32:19 Hmm, I can't say I believe that's the reason Apr 28 22:32:24 Maybe luck? Apr 28 22:33:08 I don't know Apr 28 22:33:29 I did the very same process hundred of times Apr 28 22:33:39 Why would it work only one? Apr 28 22:33:56 I think the old script is bugged, but if you were doing a lot of disk I/O at the time, it may have had the same effect anyway Apr 28 22:34:07 I'd seriously recommend using the new script in future Apr 28 22:36:38 hmm Apr 28 22:36:46 now I have a new problem Apr 28 22:36:48 cat: '/var/lib/lxc/android/rootfs/ueventd*.rc': No such file or directory Apr 28 22:36:53 What are you trying now? Apr 28 22:37:10 Ah, OK, I had that too. Did you disable lxc@android earlier? Apr 28 22:37:11 I do not have the folder rootfs Apr 28 22:37:18 Yes Apr 28 22:37:46 So first we want to be able to run lxc Apr 28 22:38:01 try running `lxc-checkconfig` Apr 28 22:38:32 I think i found the solution Apr 28 22:38:36 systemctl unmask lxc@android && systemctl start lxc@android Apr 28 22:38:42 Hang on Apr 28 22:39:26 If you do that before checking it, it might just crash immediately Apr 28 22:40:26 https://paste.ubuntu.com/p/zmcR7gf6S5/ Apr 28 22:41:37 a lot of things missing Apr 28 22:41:42 You're in a similar situation to what I was, hopefully I should be able to lead you down the right path Apr 28 22:41:44 You need to add some more config directives to your kernel Apr 28 22:42:22 Don't worry, I was in the same way Apr 28 22:42:36 let's go Apr 28 22:43:00 https://paste.ubuntu.com/p/ncv8GdpwKQ/ Apr 28 22:43:16 that's what I added to mine Apr 28 22:43:51 make sure that for each one of those, there isn't already a line saying `# blahblah is not set` Apr 28 22:48:39 Let us know when you do that or if you have any question Apr 28 22:48:39 and by 'us' I mean 'me' :-) Apr 28 23:16:50 Hey Apr 28 23:16:51 The only line I was able to find was CONFIG_NF_NAT_IPV6=y Apr 28 23:16:52 Hey Apr 28 23:16:53 The only line I had enabled before was CONFIG_NF_NAT_IPV6=y Apr 28 23:17:52 That's OK, so all you should need to do is add the above lines (maybe remove the line starting with `#maybe` so you don't inherit my uncertainties) somewhere in your `codename_defconfig` Apr 28 23:18:26 Did you send those messages a while ago? I only received them now (23h16) Apr 28 23:18:27 Yeah Apr 28 23:19:11 Maybe I need to join IRC properly, it seems like the ubptgbot might be suffering Apr 28 23:19:12 I've done that already Apr 28 23:19:12 I'm building kernel now Apr 28 23:19:12 No, I sent it now Apr 28 23:23:27 Yeah I think the ubptgbot is struggling Apr 28 23:25:51 test Apr 28 23:25:52 @mayltonfnds, That's strange. This one is already set Apr 28 23:26:24 Sending messages in Telegram itself is slow. The bot's doing great though Apr 28 23:26:36 Nevermind, I think I confused ubptgbot for the Matrix bridge Apr 28 23:26:53 Yeah, Matrix bridge has been up and down over the past few days Apr 28 23:26:54 Most people talk through ubptgbot so it seems like that's driving the bridge Apr 28 23:27:01 I keep forgetting it's not Apr 28 23:27:31 False alarm, sorry ubptgbot :P Apr 28 23:28:31 @mayltonfnds If one is already set, it's probably fine (I copied that extract from my own config changes which brought up LXC) Apr 28 23:32:54 Okay, buhbai Telegram... Apr 29 00:16:46 @mayltonfnds I don't know if you are still around, but I will be going to bed now. See you later. Apr 29 01:15:05 Hi there Apr 29 01:15:54 Halium telegram group isn't working for me Apr 29 01:16:18 I think there are some problems in telegram servers **** ENDING LOGGING AT Sun Apr 29 03:00:03 2018