**** BEGIN LOGGING AT Sat Jun 02 03:00:09 2018 Jun 02 05:31:10 soooo I'm running into a kernel build issues regarding hci_uart, basically "'struct hci_uart' has no member named Jun 02 05:31:19 'rx_lock'" Jun 02 05:31:53 I'm no kernel developer, and I have successfully built Gentoo, but this beats the hell outta me Jun 02 05:32:21 anyone got any clues? Jun 02 05:45:24 nvm, seems I set something wrong. Jun 02 05:47:09 or not Jun 02 05:48:04 :D Jun 02 05:48:13 got full-log? Jun 02 05:52:24 let me pastebin it Jun 02 05:53:53 bshah: http://paste.ubuntu.com/p/42mjT8y6pk/ Jun 02 05:54:12 mka bootimg runs successfully Jun 02 05:54:59 wat? if kernel passes how can mka bootimg pass? Jun 02 05:55:17 s/kernel passes/kernel fails/ Jun 02 05:55:51 hmmm.... let me see what I actually built before Jun 02 05:56:15 ooooh, it's just mkbootimg that went successfully Jun 02 05:56:29 not the actual bootimg from what I understand Jun 02 05:56:32 :) Jun 02 05:56:46 okay.. soooooooo let's see your kernel Jun 02 05:57:04 which part do you need to see? Jun 02 05:57:24 I haven't published the config changes yet Jun 02 05:57:36 but the rest of it is the same as what's in the repos Jun 02 05:57:58 can you pastebin kernel config change? Jun 02 05:58:43 sure. Jun 02 05:59:26 here ya go: https://pastebin.ubuntu.com/p/cPchgK4Hvs/ Jun 02 05:59:34 what I changed is at the bottom Jun 02 06:00:29 CONFIG_BT_HCIUART* ... did mer config checker suggested that? Jun 02 06:00:43 it did Jun 02 06:00:53 but I could disable it Jun 02 06:01:10 disabling it would at least fix build error Jun 02 06:01:32 should I disable the H4 part as well? Jun 02 06:01:35 because as I see https://github.com/LineageOS/android_kernel_oneplus_msm8998/blob/cm-14.1/drivers/bluetooth/hci_uart.h#L75 hci_uart clearly doesn't have the rx_lock Jun 02 06:01:38 yeah both Jun 02 06:01:44 or actually Jun 02 06:02:11 try disabling CONFIG_BT_HCIUART_H4 Jun 02 06:02:31 just that one? Jun 02 06:02:34 yes Jun 02 06:02:36 k Jun 02 06:03:32 and same issue with just h4 disabled. Jun 02 06:03:42 I'll just disable the other for now Jun 02 06:03:45 yeah Jun 02 06:07:44 that finished Jun 02 06:07:51 now on to the next part Jun 02 06:35:46 so now I'm running into this: http://paste.ubuntu.com/p/Y3kmQNwzqR/ Jun 02 06:36:03 not exactly sure where to edit the SEPOLICY Jun 02 06:36:17 but it's throwing an error about exfat Jun 02 06:52:07 well, I think I found my issue: chose userdebug instead of eng Jun 02 10:27:18 <_sharvey_> Hey crew Jun 02 10:27:47 <_sharvey_> If a device can run LineageOS, can it then run Halium? Jun 02 10:34:21 most likely Jun 02 10:34:50 if the device has kernel 3.0 (I don't think many lineageos devices have that) it could be a problem but otherwise it should be fine Jun 02 10:37:16 okloloi was added by: okloloi Jun 02 10:45:20 <_sharvey_> I had a tablet picked out (used), but got sent the wrong one Jun 02 10:45:44 <_sharvey_> What I ordered (LG V500) is now out of stock Jun 02 10:48:15 <_sharvey_> So now I'm thinking of upping my budget and going for an 8" Galaxy Tab S2 Jun 02 11:10:11 Hello, im pretty new here. Just wondering, has anyone had any luck with a Nexus 5x? Jun 02 11:11:07 There is a working port for it. Plasma Mobile works well but there are still problems with Ubuntu Touch on it afaik. Jun 02 11:12:00 Ok cool, I'll have a bit of a google around for the port. Cheers! Jun 02 11:14:06 You can use this manifest as starting point to work on it further: https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/lge_bullhead.xml Jun 02 11:15:21 Here's the port issue on GitHub: https://github.com/Halium/projectmanagement/issues/17 Jun 02 11:16:34 Hey thanks a lot for that! Jun 02 13:08:54 @vanyasem, I followed Ivan's recommendations (install android with the same sources tree) and get test_egl_configs and test_hwcomposer working. When I get SSH again (still have difficulties to get ssh) I make a video! Thanks Ivan! 😊 Jun 02 13:27:47 @jasousa, you're welcome ^^ waiting for pics :P Jun 02 15:00:26 theimpulson was added by: theimpulson Jun 02 15:00:48 @theimpulson, welcome our deal lord Aayush Jun 02 15:01:03 @vanyasem, 😂👍🏼 Jun 02 15:32:21 Is Huawei P8 lite a good candidate for Halium? Jun 02 15:33:02 @Ismail_ibn_Thomas_Al_Amreeki, kirin? no, i don't think so Jun 02 15:33:06 but if you have it already, give it a try Jun 02 16:04:38 My choice of reasonably priced phones for trying this project on are extremely limited. … I can get my hands on a Reimi Note 4/5 .. but I am paying $200 USD. And $200 USD goes a long way in Egypt. And I am poor! Jun 02 16:08:40 so is there a reason the build would look for /clang as an absolute path? Jun 02 16:08:51 cause that's where I'm erroring out Jun 02 16:10:38 this is the log if anyone else wants to take a crack at it: http://paste.ubuntu.com/p/HGqSWZPSTs/ Jun 02 16:12:46 @JBBgameich i flashed halium on my device a106 but not booted Jun 02 16:13:06 I am getting bootloop at bootloho Jun 02 16:13:11 [Edit] I am getting bootloop at bootlogo Jun 02 16:14:03 Did you use the ubports check-config tool? It's chances produced a bootloop on my 3.18 kernel. Jun 02 16:14:25 @JBBgameich, No i didn't. Jun 02 16:15:19 Bcz i cherry picked your commits on halium-krillin so i thought you already have changed kernel config Jun 02 16:15:55 I did, but I also don't know if it boots on krillin Jun 02 16:19:20 I have a doubt.. Jun 02 16:20:25 As i worked with Android roms i saw that my phone boots when there is some files on /system or on emmc@android.. Jun 02 16:21:17 So i want to know how halium rootfs and systemimage can boot from /data Jun 02 16:21:39 doesn't boot similarly to chrooting? Jun 02 16:21:43 @maharudra108, Isn't rootfs already in /data? Jun 02 16:22:12 caghand3, that also makes sense. /system is for android specific stuff, isn't it? Jun 02 16:22:12 @caghand3, Yes it is Jun 02 16:22:15 @maharudra108, different initramfs Jun 02 16:23:27 After flashing halium i can't see /android /var/lib/lxc or /userdata Jun 02 16:23:51 Halium basically mounts data part to /tmpmnt, mounts /tmpmnt/rootfs.img to /target, binds /tmpmnt to /target/data, then switch_roots to /target, making it / Jun 02 16:25:11 @NotKit, Thnxx to make me understand. Jun 02 16:25:56 If everything goes right after bootlogo what i will face? I mean what i may see on my screen? Jun 02 16:26:05 isn't /system mainly for android specific stuff anyway? Jun 02 16:26:20 or am I wrong? Jun 02 16:26:43 @c_smith, it's used for Halium-built Android parts Jun 02 16:27:21 ah, that info may just come in useful, Jun 02 16:28:06 @NotKit, I think in my case it is not mounting on /system Jun 02 16:28:20 unrelated, but is there a reason mka would be calling clang from root (where it almost always isn't)? Jun 02 16:28:26 can you telnet to it at least? Jun 02 16:29:04 and by calling clang from root, I mean it's looking for the absolute path of /clang Jun 02 16:31:25 @NotKit, I can try from recovery terminal Jun 02 16:36:35 has anyone else run into issues like that Jun 02 16:45:41 @maharudra108, try what? Jun 02 16:46:10 @NotKit, Telnet from recovery terminal Jun 02 16:46:41 you mean hybris-recovery or twrp> Jun 02 16:46:54 Twrp Jun 02 16:46:56 second one is not what I am talking about Jun 02 16:47:13 especially if you're testing kernel Jun 02 16:48:04 if kernel+initramfs work, you should get USB network at least until it switches to rootfs Jun 02 16:49:14 @NotKit, To be honest i didn't understand 😞 Jun 02 16:49:16 I'm guessing that's a no? Jun 02 16:49:42 @NotKit, [Edit] To be honest i didn't understand what u said in this 😞 Jun 02 16:55:07 this is where that error arose if anyone is willing to take a crack at that: http://paste.ubuntu.com/p/HGqSWZPSTs/ Jun 02 17:06:51 @maharudra108, have you checked hybris-boot init script code? Jun 02 17:06:58 it's rather straightforward Jun 02 17:08:21 @NotKit, No Jun 02 17:08:25 during early boot phase, it setups rndis network on Android USB device, which should be detected on your host (e. g. mentioned in dmesg) if kernel could boot Jun 02 19:15:28 OK I'm going crazy over this. My lxc boots but lxc@android doesn't boot beucase it can't find init.rc. When I put it there myself, it deletes it. Jun 02 20:42:34 @maharudra108, Nothing Jun 02 20:42:48 You'll just see a black screen or your vendor's logo Jun 02 20:43:01 You get ssh or telnet over usb, as described in docs Jun 02 20:43:11 Reference halium rootfs draws nothing to the screen Jun 02 20:43:21 Don't get confused over this Jun 02 20:47:12 I see a logo as it's booting that says "HTC". It doesn't mean that it doesn't work. It just draws nothing Jun 02 23:52:33 anyone know why mka systemimage calls /clang? Jun 02 23:53:10 as in a nononexistant clang under / Jun 02 23:53:12 ? Jun 02 23:53:57 It shouldn't but sounds like a unset variable to me. Maybe there should be some path added before /clang which is unset. Jun 02 23:55:19 hmmmm... alright, that's somewhere I can look at Jun 03 00:00:56 well, I'm at a loss as to what variable that could be Jun 03 00:03:08 so is it normal to have to use lunch instead of breakfast on 7.1? Jun 03 00:05:32 not really Jun 03 00:06:34 should look into that, then Jun 03 00:07:12 which'll take time, but would likely be worth it for me to do **** ENDING LOGGING AT Sun Jun 03 03:00:01 2018