**** BEGIN LOGGING AT Thu Jan 14 02:59:57 2021 Jan 14 08:05:02 Morning! Jan 14 08:59:55 Morning! Jan 14 09:00:51 Herrie: ah, I didn't re-sync in quite some time Jan 14 09:02:24 ... and common isn't part of rosy's lineage Jan 14 09:02:34 unfortunately Jan 14 09:07:58 Ah it isn't? Jan 14 09:08:04 It is for Tissot Jan 14 09:10:56 I expected for Rosy also but well Jan 14 09:10:59 You can see what I did Jan 14 09:13:27 yes, and iirc it was also disabled in GSI Jan 14 09:17:59 ok, done here too Jan 14 09:21:25 Herrie: could you try https://github.com/Tofee/android_device_xiaomi_rosy-2/blob/halium-9.0/BoardConfig.mk#L154 on tissot and see if it create a separate vendor image ? it may also need the lines 151, 189, 228-230 Jan 14 09:34:40 if it doesn't work, then, well, we'll just see later Jan 14 09:48:52 I'm more fighting with those 4.9 kernels Jan 14 09:48:56 If they compile they don't boot Jan 14 09:49:06 But most don't compile due to GCC 1 Jan 14 09:49:10 +0.2 Jan 14 09:50:01 Herrie: I can switch my Halium build to tissot and help Jan 14 09:50:08 now that rosy is pretty much ok Jan 14 09:50:46 LuciferKernel seems most promising for now to be honest Jan 14 09:51:03 can you show me your current manifest ? I'll give it a try Jan 14 09:51:47 I think we can also PR our Mido & Rosy manifest to Halium-Devices for 9.0 Jan 14 09:51:51 Since we know they're OK Jan 14 09:55:42 yes, we can do that Jan 14 10:00:23 Tofe: https://bpa.st/FVUA Jan 14 10:00:25 For Tissot Jan 14 10:02:59 Tissot fails building with the flag it seems Jan 14 10:03:05 Now rebuilding to get a log Jan 14 10:03:23 https://github.com/Herrie82/android_device_xiaomi_rosy-2/pull/1 can you merge this one before I PR the manifest ? Jan 14 10:03:35 my manifest is still pointing to your repo :) Jan 14 10:08:02 Tofe: Done Jan 14 10:16:26 PR created Jan 14 10:20:18 Tofe: Seems I forgot to simply update the kernel cmdline, so that might cause issues :p Jan 14 10:22:05 that won't solve the build issues Jan 14 10:24:00 Tofe: No but I had an OK build already (though no vendor.img but that isn't necessarily a problem from what I understood) Jan 14 10:24:22 Just it wouldn't boot and i couldn't get into ADB to pull any logs and console-ramoops was empty Jan 14 10:25:44 Latest tissot build for 9.0 on http://build.webos-ports.org/halium-luneos-9.0/halium-luneos-9.0-20210113-1-tissot.tar.bz2 Jan 14 10:27:57 ok, now I understand Jan 14 10:30:08 I didn't have too much time to play with Tissot, quite hectic yesterday Jan 14 10:30:15 Was happy to get Tissot back alive at least :P Jan 14 10:34:35 Luciferkernel builds with this defconfig: https://paste.ubuntu.com/p/4DtwFbDZ8R/ Jan 14 10:34:56 Note I disabled CONFIG_NFS_FS in this one because of totalram_pages error. Jan 14 10:35:08 There are some fixes upstream but they didn't apply 1:1 and I was lazy for now Jan 14 10:36:01 Some trials & tribulations from Lucifer yesterday: https://github.com/Herrie82/LuciferKernel/tree/halium-9.0-new/ Jan 14 10:36:05 But you can use above defconfig Jan 14 10:36:44 ok thanks :) Jan 14 10:38:54 I don't think we need CONFIG_NFS_FS for now anyway Jan 14 10:43:33 I don't think either Jan 14 10:45:17 So instead of cherry picking a long commit and fixing issues, this was easier ;) Jan 14 12:23:29 "revision refs/heads/lineage-16.0 in proprietary_vendor_xiaomi not found" ? Jan 14 12:57:41 Tofe: For what is that? Jan 14 12:57:43 Tissot? Jan 14 12:58:52 Seems to exist? https://gitlab.com/the-muppets/proprietary_vendor_xiaomi/-/tree/lineage-16.0 Jan 14 12:59:09 maybe I missed a step, I did it a bit quickly Jan 14 12:59:24 You need to define them2 Jan 14 12:59:35 https://bpa.st/FVUA Jan 14 12:59:39 L3-L5 Jan 14 12:59:50 yes, I copied your whole xml Jan 14 12:59:59 Weird I used it here Jan 14 13:00:10 anyway, I'll look further, must be something stupid from me Jan 14 13:05:32 Finally some minutes here for lunch & testing kernel Jan 14 13:11:37 Still black screen and no ADB on Tissot with LuciferKernel Jan 14 13:14:19 I could of course switch the device to 3.18 kernel and try that Jan 14 13:15:58 To make sure it's not an issue with my system image somehow Jan 14 13:26:54 JaMa: Morning! Jan 14 13:26:57 Tissot is back alive ;) Jan 14 13:27:04 Now let's get that Halium 9 running on it ;) Jan 14 13:33:16 Tofe: Building Halium 9.0 with 3.18 kernel for Tissot now Jan 14 13:33:18 Let's see Jan 14 13:34:13 Tofe: https://github.com/Herrie82/android_device_xiaomi_tissot-1/tree/halium-9.0-3.18 Jan 14 13:46:30 morning :) Jan 14 13:59:28 Feeling any better? Jan 14 13:59:40 Just had a regular bug or the COVID? Jan 14 14:16:16 o/ Jan 14 15:19:13 it's slowly getting better and it was the thing which shall not be named :/ Jan 14 15:20:54 mine and kids isolation should end tomorrow, but looks like recovery will take a bit longer Jan 14 15:21:28 Sorry to hear that, but good you're on the way to recovery.... Jan 14 15:22:16 Did the little ones notice anything or not much? Jan 14 15:22:54 little ones were nagative in the end, only me, wife and here mother got it here Jan 14 15:23:49 luckily wife's father was able to take care of kids for last 2 weeks, so we 3 with it, stayed in upper floor separated from kids and him Jan 14 15:28:00 Recovery can take some time, unfortunately. I hope you'll all feel well soon Jan 14 15:41:04 Indeed, hope will all feel better soon! Jan 14 16:03:33 Damn, I get TLS issues for the_muppets, looks like gitlab is closing the connection Jan 14 16:03:44 at least it explains my issue Jan 14 16:05:11 JaMa: it this heresy ? https://github.com/Tofee/meta-webos-ports/blob/testing/halium-9.0/meta-luneos/recipes-webos/nyx-modules/nyx-modules-hybris.bb#L17 I wanted to reuse resources of another recipe Jan 14 16:06:27 Tofe: no, that's fine Jan 14 16:06:37 ok, good, because it works well :) Jan 14 16:07:31 many recipes do this by naming the directory "files", but this is fine as well Jan 14 16:08:05 ah, yes, now that you say it, I've seen it several times already Jan 14 16:08:11 Tofe; Was fighting a bit to find a 3.18 kernel that works well with 9.0, but found something now it seems Jan 14 16:08:27 Works as in compiles Jan 14 16:08:35 Herrie: great ! Jan 14 16:09:13 This one it seems: https://github.com/android-linux-stable/tissot Jan 14 16:09:20 Others were failing for various reasons Jan 14 16:09:26 Also because our 7.1 Tissot was hackidy hack Jan 14 16:09:40 No common etc similar to your hackidy hack Rosy Jan 14 16:09:50 :) Jan 14 16:10:20 We can probably still use our 7.1 3.18 kernel, just not for Halium 9.0 build Jan 14 16:10:43 It didn't complete yet, but @ 85% now which is better v.s. 58-60% where others would fail Jan 14 16:10:52 So suspect it'll be OK Jan 14 16:11:32 And we can ditch the 7.1 stuff when 9.0 is good enough Jan 14 16:11:44 Yeah Jan 14 16:12:07 I'm pretty happy with how quickly and easily the switch is. Seems less problematic v.s. 5.1 to 7.1 Jan 14 16:13:08 just the very beginning took a bit of time to understand how it articulates, but it's true that Mer and ubports have already fixed most of the issues Jan 14 16:14:42 Yes seems so Jan 14 16:15:59 it's a bit tedious to download the whole xiaomi vendor repo, when just one device is needed Jan 14 16:17:40 and gitlab isn't helping either.... Jan 14 16:22:01 Tofe: Yeah Jan 14 16:22:14 Not really an issue here but yes :P Jan 14 16:22:36 Tofe: Seems I'll have a Tissot image here shortly with 3.18 kernel Jan 14 16:22:41 Let's see how that behaves Jan 14 16:24:26 I can upload it if needed Jan 14 16:25:15 let me first fetch the halium stuff :p Jan 14 16:27:48 This is the 3.18 build: http://build.webos-ports.org/halium-luneos-9.0/halium-luneos-9.0-20210114-1-tissot-3.18.tar.bz2 Jan 14 16:29:05 It will be here in a few minutes: http://build.webos-ports.org/halium-luneos-9.0/ForTofe/ Jan 14 16:29:14 hehe Jan 14 16:30:38 you already have a working recipe for tissot's kernel, then ? Jan 14 16:31:55 Well I took our 7.1 3.18 kernel and updated cmdline just Jan 14 16:31:59 Similar to what we did for others :p Jan 14 16:32:06 ok, good Jan 14 16:32:21 for rosy, it's actually a new kernel Jan 14 16:32:39 same version though, but some drivers got refreshed a bit Jan 14 16:32:53 Ah OK Jan 14 16:33:00 Well in general the 7.1 kernel should work Jan 14 16:33:05 agreed Jan 14 16:33:11 I could take the one I linked above and update defconfig Jan 14 16:33:16 But let's first try this one Jan 14 16:33:25 let's do step by step yes Jan 14 16:33:40 I'd be happy to get some output or logs already Jan 14 16:33:59 I didn't get there with the 4.9 kernel, after I eventually got it to compile... Jan 14 16:35:02 OK flashed let's see Jan 14 16:35:05 yay, xiaomi vendor retrieved (I used the one from /e/ , which should be pretty much identical) Jan 14 16:36:22 Well get ADB at least Jan 14 16:36:27 Now need to be a bit patient Jan 14 16:36:37 that's the hard part ! Jan 14 16:36:54 lxc container running Jan 14 16:37:01 \o/ Jan 14 16:37:05 quite a good start Jan 14 16:37:58 And reboot: https://paste.ubuntu.com/p/Ch3FzXSWdn/ Jan 14 16:39:15 But no logcat it seems Jan 14 16:39:51 hwservicemanager crashed ? Jan 14 16:41:05 ah, no, it's a consequence Jan 14 16:43:08 several things like "Service 'vendor.ir-hal-1-0' (pid 56) exited with status 1 " Jan 14 16:43:18 could be some missing .so , we'd need logcat there Jan 14 16:43:36 These are my mounts: https://paste.ubuntu.com/p/XHgMM2Pyjw/ Jan 14 16:43:59 Herrie: I think the mounts are quite fine, android goes quite far Jan 14 16:44:00 Yeah I remember I had hwservicemanager crashing previously as well at some point Jan 14 16:44:24 Herrie: I suspect hwservicemanager has a tendancy to crash when vendor services fail Jan 14 16:45:09 I'm still downloading the zip, 62% now Jan 14 16:45:32 Ehm that sounds familiar Jan 14 16:52:00 flashing, try "1" Jan 14 16:56:46 logcat is spammed by /system/vendor/bin/adsprpcd Jan 14 16:59:57 Herrie: https://paste.ubuntu.com/p/HFbqqp5Q9k/ Jan 14 17:01:10 And the parts with .so stuff: https://paste.ubuntu.com/p/7chHG762ZK/ Jan 14 17:02:10 so probably some missing service .so, and for the display libsdm-disp-vndapis.so might be the main one Jan 14 17:08:42 Tofe: those flags in common should sort that Jan 14 17:08:51 Or I built the wrong common Jan 14 17:08:59 Quick dinner and will check Jan 14 17:09:40 ok :) Jan 14 17:16:01 Yeah has those flags Jan 14 17:16:20 I guess we just need to hack them back into device.mk Jan 14 17:18:44 meh, apply-patches doesn't work anymore, says one patch is already applied Jan 14 17:19:21 ah, sorry, it's me, cleanup wasn't complete Jan 14 17:23:51 Well I have this with bionic usually Jan 14 17:24:43 I always remove bionic, device, kernel and vendor folders when switching targets Jan 14 17:25:54 Tofe: You're adding them to device.mk? Jan 14 17:27:39 for the moment I'm doing an initial build... and I just saw that taking vendor from /e/ was a baaad idea Jan 14 17:27:53 ninja: error: 'vendor/xiaomi/tissot/proprietary/vendor/bin/hw/qcrild', needed by '/media/LuneOS/Android/Halium-9.0/out/target/product/tissot/system/vendor/bin/hw/qcrild', missing and no known rule to make it Jan 14 17:28:19 let's go back to the-muppets, then :/ Jan 14 17:32:01 Well you could always fork it and remove what you don't need :P Jan 14 17:32:05 Or just clone the needed repos Jan 14 17:33:40 I'm retrying the gitlab one, just in case Jan 14 17:33:45 feeling optimistic Jan 14 17:43:55 ok, checkout succeeded, now building Jan 14 17:48:05 Herrie: what flag were you talking about ? Jan 14 17:49:20 These VNDK ones which supposedly should sort all these (HIDL?) binaries with @ in the name: https://github.com/Herrie82/android_device_xiaomi_msm8953-common/commit/3e41d670f9cac8471d9690bf9efd62281008c790 Jan 14 17:51:08 ok, that was my guess too; added and build restarted Jan 14 20:31:06 Herrie: looks like hwbinder isn't active in the defconfig ? Jan 14 20:31:21 or maybe it's just not there in the kernel Jan 14 20:32:06 should be in CONFIG_ANDROID_BINDER_DEVICES Jan 14 20:37:48 https://github.com/Herrie82/tissot/blob/tissot-o-oss/arch/arm64/configs/tissot_defconfig#L3679 mmh it's there, weird Jan 14 20:46:39 Tofe: Well I built Halium with the android-on-linux kernel Jan 14 20:46:50 Since the tissot-o-oss would fail due to changes in Halium 9 vs Halium 7 Jan 14 20:47:35 Used this one for Halium build: https://github.com/android-linux-stable/tissot Jan 14 20:48:00 With unchanged defconfig (besides changed name) from tissot-perf_defconfig to tissot_defconfig Jan 14 20:48:02 you mean for LuneOS ? Jan 14 20:48:57 No on Halium side I used that one Jan 14 20:49:06 On LuneOS side, our 7.1 with updated cmdline Jan 14 20:49:37 https://paste.ubuntu.com/p/cZzB49X5Jb/ Jan 14 20:49:41 That's my messy recipe Jan 14 20:50:05 https://github.com/Herrie82/tissot/commits/tissot-o-oss ok so this one didn't work ? or didn't compile ? Jan 14 20:50:47 for halium, anything that build will do, it shouldn't affect our halium image Jan 14 20:51:54 oh, I forgot we've put it on shr; ok let's rebase all this on top of tissot-o-oss maybe Jan 14 20:51:58 Tofe: Didn't compile Jan 14 20:52:01 With Halium side Jan 14 20:52:12 So for Halium side I used the tissot-p-oss one Jan 14 20:52:23 But for LuneOS our good old one iwth adjusted cmdline Jan 14 20:54:36 ok :) Jan 14 20:56:48 well, that kernel is too old Jan 14 20:57:12 we have to rebase on top of tissot-o-oss Jan 14 20:58:30 Tofe: I suggest tissot-p-oss instead: https://github.com/android-linux-stable/tissot Jan 14 20:58:39 Is 3.18.140 so "new" 3.18 Jan 14 20:59:04 ok, let me try that Jan 14 21:13:17 https://github.com/Tofee/tissot/commits/tissot/3.18/halium-9.0 let's try that... Jan 14 21:24:11 and... UI ! Jan 14 21:25:27 quite some stuff to converge still, of course, but well Jan 14 21:26:04 let me push this version of the recipe Jan 14 21:27:03 Easy enough :P Jan 14 21:27:39 What did you change on Halium side? Jan 14 21:28:33 I added the flash for VNDK Jan 14 21:28:35 that's all Jan 14 21:28:39 flags Jan 14 21:28:50 Huh? But I did that in common already Jan 14 21:28:57 So I'm not sure why it doesn't pick it up Jan 14 21:29:15 ah, I didn't check, I must say Jan 14 21:29:23 https://github.com/Herrie82/android_device_xiaomi_msm8953-common/commit/3e41d670f9cac8471d9690bf9efd62281008c790 Jan 14 21:29:35 And Tissot should use common I think Jan 14 21:30:07 $(call inherit-product, device/xiaomi/msm8953-common/msm8953.mk) Jan 14 21:30:09 yes Jan 14 21:30:46 So I wonder why it didn't pick it up at my end Jan 14 21:31:20 sorry was this one from BoardConfig -include device/xiaomi/msm8953-common/BoardConfigCommon.mk Jan 14 21:32:17 but maybe it worked already ? Jan 14 21:32:27 Tofe: You might want to add tissot_defconfig as well Jan 14 21:32:29 it was my first build, so... Jan 14 21:32:33 Since device is expecting thst Jan 14 21:32:47 no it's in the tree Jan 14 21:32:59 I changed tissot-perf_defconfig Jan 14 21:33:03 https://github.com/Herrie82/android_device_xiaomi_tissot-1/blob/halium-9.0/BoardConfig.mk#L32 Jan 14 21:33:14 ah, oh, you want to reuse it for halium :p Jan 14 21:33:20 WEll I want to try ;) Jan 14 21:33:30 sure Jan 14 21:33:52 let me do that quickly Jan 14 21:35:56 done Jan 14 21:36:15 I copied the one from our working Halium build, just to be on the safe side Jan 14 21:40:11 (... You'll beat me to it, for sure ... I'm still download the kernel ... ) Jan 14 21:44:01 damn Jan 14 21:48:28 Tofe: Well I'm just building here Jan 14 21:48:37 While fixing a few last minute things :P Jan 14 21:49:15 there are some useless build artefacts from failed merges in power_on.h Jan 14 21:52:02 then, some forbidden warnings Jan 14 21:57:29 I couldn't find where to add the KBUILD_CFLAGS: -Wno-maybe-uninitialized in the Android .mk... Jan 14 21:58:31 Tofe: Depends if it's in a module or in kernel Jan 14 21:58:40 If in kernel, it's in the Makefile Jan 14 21:59:23 I.e.: https://github.com/Tofee/tissot/commit/1f2e748df6c848e4a7d22aab15a36b1924b10c9d Jan 14 21:59:30 ah, wait, if I take exactly our luneos defconfig, it's behaving Jan 14 21:59:48 but of course, it was a 4.9 kernel... Jan 14 21:59:55 and now it's 3.18 Jan 14 22:00:02 ok nevermind, I'll just fix that Jan 14 22:00:56 forced-pushed Jan 14 22:01:01 should work as-is now Jan 14 22:03:46 but we need TARGET_KERNEL_VERSION := 3.18 of course Jan 14 22:08:20 Works on my side :) Jan 14 22:08:37 ok, that's all for tonight, glad we could make tissot work so fast Jan 14 22:48:30 Tofe: Nice will try the new kernel here Jan 14 23:12:31 Tofe: OK got UI here too... Logcat lots of spam, so rebuilding Halium with some bits to see if it will behave better Jan 14 23:55:43 Tofe: My latest status: https://paste.ubuntu.com/p/j6ZTrzgwJP/ Jan 14 23:57:04 This is with https://github.com/Herrie82/android_device_xiaomi_msm8953-common/commit/0dcddddb5e031078b3e6a6a109d3a156c41a26c5 and https://github.com/Herrie82/android_device_xiaomi_msm8953-common/commit/208818bf0b50ae2e20f84fd6dbbc5e88e08821d1 **** ENDING LOGGING AT Fri Jan 15 02:59:57 2021