**** BEGIN LOGGING AT Thu Feb 11 02:59:57 2021 Feb 11 06:15:42 Morning! Feb 11 06:15:52 Tofe: Seems we might need https://github.com/Herrie82/android_device_xiaomi_msm8953-common/commits/halium-9.0 instead of https://github.com/Herrie82/android_device_xiaomi_msm8953-common/commits/halium-9.0-extended? Feb 11 06:15:57 I'll try that Feb 11 07:24:15 Morning! Feb 11 07:24:32 Herrie: well, on tissot I did some commit about VNDK, too Feb 11 07:25:19 but not in "common", right Feb 11 07:33:15 Tofe: OK, well I'm trying the other branch now to see Feb 11 07:46:56 Herrie: to summarize the steps I do: 1. flash_all with 7.1 tissot stock image; 2. install recovery 3.2.1; 3. install recovery 3.5.0; 4. install lineageos 16.0 (same .zip image as you); 5. install luneos Feb 11 07:47:11 did I miss a step that you've done on your side ?... Feb 11 07:47:27 Note: after step 4., lineageos didn't boot Feb 11 07:50:53 Maybe my recovery 3.5.0 is the culprit and is buggy Feb 11 07:53:14 Tofe: I think I went to 3.5.0.9 directly Feb 11 07:53:40 I don't install the TWRP Feb 11 07:53:43 I just fastboot boot it Feb 11 07:53:51 Herrie: ok, I can try that Feb 11 09:31:13 Tofe: Curious with 4.9 kernel my volume up also doesn't work :P Feb 11 09:33:55 Like for Sagit with 4.4 kernel Feb 11 09:34:01 Could be some key mapping changed somehow Feb 11 09:49:34 I guess it's in the nyx module for the keys somehow? Feb 11 10:11:07 should be, yes Feb 11 11:24:32 I have keycode 116 for power, 114 for volume down and 115 for volume up Feb 11 12:38:23 Herrie: who outputs that ? kernel ? Feb 11 12:38:58 I just used "showkey" and pressed the buttons Feb 11 12:39:01 That's my output Feb 11 12:39:08 Not sure of another way? Feb 11 12:39:39 no that's fine Feb 11 12:40:05 so kernel is fine; does it tell which /dev/input/eventX is involved ? has it changed ? Feb 11 12:40:08 Tofe: While checking nyx-modules-hybris: came across this: https://github.com/webOS-ports/nyx-modules-hybris/pull/6/files Feb 11 12:40:33 We still need to merge that at some point right? Feb 11 12:44:21 No showkey doens't show that it seems Feb 11 13:01:56 cat /dev/input/event0 gives me results for power & volume down, but not for volume up Feb 11 13:02:39 Seems volume up is on event4 now Feb 11 13:07:10 Should I simply change https://github.com/Tofee/meta-webos-ports/blob/testing/halium-9.0/meta-luneui/recipes-luneui/luna-next/luna-next-conf/tissot/environment.conf#L5 event6 into event4? Feb 11 13:19:46 Tofe: Yeah that does the trick Feb 11 13:24:37 Volume up works Feb 11 13:28:36 Tofe: https://github.com/Tofee/meta-webos-ports/pull/3 Feb 11 13:28:42 Let's merge it right away Feb 11 13:28:49 Or at least have a PR not to forget Feb 11 14:22:09 Tofe: Hmmz seems I have no audio with 4.9 kernel on Tissot Feb 11 14:22:16 logcat looks a lot better now Feb 11 14:22:21 PA doesn't crash either Feb 11 14:23:39 logcat: https://paste.ubuntu.com/p/qs4FX2tgbP/ Feb 11 14:42:48 And journal: https://paste.ubuntu.com/p/mK3ZJwkPXJ/ Feb 11 14:42:56 Seems I have some regressions, but could be my local build Feb 11 14:43:04 I.e. sensors and vibration don't work Feb 11 14:44:56 My local tree might need updating though, but have some WIP devices in there that I need to PR somewhere first :P Feb 11 15:02:46 sorry, quite busy this afternoon, but I'll catch up in a bit Feb 11 15:05:03 Tofe: No worries Feb 11 15:05:10 Just reporting what I find here Feb 11 15:07:33 merged the two pending PRs you mentioned Feb 11 15:07:50 we can bump nyx-modules on testing/halium-9.0 Feb 11 15:08:22 Tofe: Yeah Feb 11 15:08:37 And let me PR my WIP devices, so it's there.. We can always decide not to build them on Jenkins Feb 11 16:02:30 Tofe: Part 1 of WIP for meta-wop: https://github.com/Tofee/meta-webos-ports/pull/4 Feb 11 16:02:34 Will do the same for meta-smartphonbe Feb 11 16:18:55 And there is part 2: https://github.com/Tofee/meta-smartphone-1/pull/8 Feb 11 16:24:52 Tofe: Oxygen is not Halium 9 there yet, but will update that later Feb 11 16:30:20 nice, let me see Feb 11 16:31:19 for S2 it's halium-7.1 too, correct? Feb 11 16:37:40 Tofe: Yeah for now Feb 11 16:37:47 Just had this WIP pending here Feb 11 16:37:49 S2 is a bit funny Feb 11 16:37:53 Might move it to 9.0 as well Feb 11 16:38:12 Seems there's a LOS 16 for it Feb 11 16:38:23 Anyway the Halium part is easy to update Feb 11 16:39:03 They're stuck on 3.10 kernel though but that's not the end of the world Feb 11 16:39:11 Already have it building on 7.1, so 9.0 kernel should be the same Feb 11 16:43:43 looks good, merged Feb 11 16:44:01 maybe we could remove the empty libhybris.bbappend, but we can clean that up afterwards Feb 11 16:48:45 Tofe: Yeah and seeing we're doing the same for all Xiaomi targets by the looks of it, some of this code could be deduped I guess Feb 11 16:48:49 I'll give a stab at that Feb 11 16:49:05 Having 5 times the same code doesn't make a lot of sense ;) Feb 11 16:54:15 with .bbclass and .inc, we can improve this quite surely Feb 11 16:54:35 Well maybe even with {MACHINE} somehow Feb 11 16:55:17 Will try a few things Feb 11 17:25:24 Herrie: when starting twrp 3.5.0_4.9 from fastboot, I get a black screen... Feb 11 17:25:49 Tofe: hmmmmz Feb 11 17:26:06 (but I have adb) Feb 11 17:28:14 I'm using twrp-3.5.0_9-0-tissot.img Feb 11 17:28:55 me too... Feb 11 17:29:28 I'm suspecting I'm missing an upgrade somewhere, but I can't find what Feb 11 17:30:18 This is my dmesg: https://paste.ubuntu.com/p/byN3XSCRpk/ Feb 11 17:30:33 thanks, I'll compare Feb 11 17:30:52 You might want to check the ft5435_ts specifically Feb 11 17:31:00 That one seems to be the trouble maker usually Feb 11 17:34:07 ok, my bootloader is still androidboot.bootloader=MSM8953_TISSOT1.0_20171219100348, you have androidboot.bootloader=MSM8953_TISSOT2.0_20200810200428 , much more recent Feb 11 17:37:41 Hmmmz Feb 11 17:37:54 To be honest I don't recall exact steps I did Feb 11 17:38:16 I might have flashed latest Xiaomi Android after the 7.1.2 stock Feb 11 17:38:29 I'll do that Feb 11 17:38:44 I deleted all those files I think Feb 11 17:38:52 I can have a look in a few minutes Feb 11 17:39:01 It's something we should keep in mind for the people who'd want to try an install Feb 11 17:39:30 Yeah should document it Feb 11 17:45:04 but now I understand also why you had this skip_initramfs issue and not me Feb 11 17:45:23 fastboot now adds it at the beginning, to avoid security hacks like the "--" stuff Feb 11 17:46:00 (though it's probably just a coincidence) Feb 11 17:46:06 Tofe: Yeah Feb 11 17:46:17 I don't have record of my Tissot's Xiaomi images I used :( Feb 11 17:46:32 Only the 7.12 one Feb 11 17:46:33 I'm downloading the latest 9.0 stock rom update Feb 11 17:46:39 Yeha that's what I did I think Feb 11 17:47:02 I'll just flash fastboot+radio, should be enough Feb 11 17:47:14 oh hell, let's flash the whole thing. Feb 11 17:48:32 LOL as long as you have 7.12 at hand somewhere you should be OK Feb 11 18:05:15 ok, now twrp works ! Feb 11 18:05:48 ... and I don't need lineage-16.0 image anymore Feb 11 18:10:26 Hehe Feb 11 18:10:41 Well maybe at least we get to the same state now that would be good Feb 11 18:11:03 I'm trying to update the Halium setup script a bit, so we can automate the 9.0 work a bit Feb 11 18:12:45 I'm adding the skip_initramfs patch to the tissot kernel Feb 11 18:12:54 and I'll also bump nyx_modules Feb 11 18:22:58 Herrie: I think I still miss some fixes from you; for instance, didn't you use another common device tree ? Feb 11 18:23:58 I'm using this: https://bpa.st/YLBA Feb 11 18:24:26 For Halium Feb 11 18:24:56 Added the skip_initramfs for our build: https://github.com/Herrie82/tissot/tree/tissot/4.9/halium-9.0 Feb 11 18:25:24 yes, I PR'ed your fork in mine Feb 11 18:25:48 as I added also the fixes for halium build (but not tested yet, though) Feb 11 18:25:59 let me build that on my side Feb 11 18:26:32 Tofe: OK Feb 11 18:26:38 ah but you did build with my kernel fix for CLang Feb 11 18:26:43 Tofe: Yeah Feb 11 18:26:49 ok great, it works :) Feb 11 18:26:51 That works OK now Feb 11 18:26:58 I'll PR it to Halium-devices soon I guess Feb 11 18:35:16 once we have a nicely working tissot, it would be nice to squash a bit the commits in the device tree repo Feb 11 18:35:31 Yes Feb 11 18:35:53 I'm trying to see if I can automate the generic bits like we did in Halium 7 Feb 11 18:36:00 Will make new ports easier Feb 11 18:37:49 can you also re-upload your luneos-dev-package-tissot-0-0-4.9.zip, as I think you now have the correct halium bits inside Feb 11 18:38:24 I'm building it on my side now, but it can be useful to have the latest working one on the builds server Feb 11 18:38:36 ok, I get UI Feb 11 18:39:55 "firmware: could not find firmware for wcnss.mdt" should be easy enough to fix, let me see Feb 11 18:41:36 Tofe: It's there already Feb 11 18:41:41 Latest version Feb 11 18:42:12 ah ok, thanks Feb 11 18:42:12 http://build.webos-ports.org/halium-luneos-9.0/luneos-dev-package-tissot-0-0-4.9-new.zip Feb 11 18:42:24 that's the one I just downloaded then Feb 11 18:45:47 mmh /vendor/firmware_mnt/ isn't mounted, strange (the wcnss.mdt is in there) Feb 11 18:50:02 Herrie: there's no vendor.img in your Halium build ? Feb 11 18:55:58 ah, it's because we're back with the other branches... let me try something maybe a bit cleaner Feb 11 18:57:00 Tofe: Yeah no vendor.img Feb 11 18:57:51 the bug in this case is that https://github.com/Tofee/initramfs-tools-halium/blob/tofe/halium-9.0/scripts/halium#L634 is never reached Feb 11 18:58:45 but I'd prefer keeping vendor.img, personally; no strong reason here, it's just that we'll be using more and more this kind of schema anyway Feb 11 18:59:24 let me push a quick fix for the vendor fstab bug Feb 11 18:59:51 Tofe: Didn't we fix that also? Feb 11 19:00:03 Seems we're a bit out of sync in some places Feb 11 19:00:07 Let's sort that Feb 11 19:00:45 well, we had vendor image because I did the split in the device tree, branch halium-9.0-3.18 Feb 11 19:01:11 but now we use a 4.9 kernel, so the name is misleading Feb 11 19:01:43 well, not misleading, but it needs to be patched Feb 11 19:02:28 that way I hope we'll have everything working: sensors, screen, sound, but also wifi Feb 11 19:02:38 as it was the last missing piece Feb 11 19:04:25 https://github.com/Tofee/initramfs-tools-halium/blob/tofe/halium-9.0/scripts/halium#L634 here, fixed Feb 11 19:16:43 I'm trying https://github.com/Herrie82/android_device_xiaomi_tissot-1/pull/2 can we use that + herrie82/android_device_xiaomi_msm8953-common:halium-9.0-extended ... but it isn't what I expected :( Feb 11 19:16:52 s/can we use that// Feb 11 19:20:16 Herrie: we should also update the twrp version we use for recovery for tissot in luneos Feb 11 19:20:39 the current one isn't compatible with 4.9 kernels Feb 11 19:22:04 Tofe: Not compatible as in??? Feb 11 19:22:25 as in, wrong touchscreen firmware, etc Feb 11 19:22:39 Ah ok Feb 11 19:23:13 currently the binary is hosted at https://gitlab.com/nizovn/recovery-tissot Feb 11 19:23:33 I'll fork it and put the 4.9 one in another branch Feb 11 19:24:37 I think we probably also need to check our updater binary sometime Feb 11 19:24:44 That does the actual deploy Feb 11 19:24:54 It's ancient Feb 11 19:24:58 I expect issues there at some point too Feb 11 19:25:07 right... Feb 11 19:25:24 Just it's a binary from morphis from ages ago Feb 11 19:25:34 Probably from 4.4 era of Android Feb 11 19:25:46 I suspect it will give issues at some point Feb 11 19:28:50 I guess it's just picked from a classic OTA update zip file ? Feb 11 19:29:21 not sure how this stuff works :/ Feb 11 19:30:09 Yes seems it comes from recovery repo somehow Feb 11 19:30:24 I'll find some links Feb 11 19:30:34 Might also solve our busybox hacks Feb 11 19:30:40 That we used sometime Feb 11 19:30:48 ah, might be Feb 11 19:42:38 Tofe: OK changes to halium-devices setup script to adjust the lineagos_.mk work Feb 11 19:42:49 Now the other changes for Java.... Feb 11 19:43:42 on my side, the new recovery doesn't work :( Feb 11 20:06:36 "init: Couldn't open /sys/fs/selinux/null: No such file or directory" looks like the newer twrp needs a minimum selinux Feb 11 20:08:54 Could be Feb 11 20:09:06 I saw sfos guys enabling it in some places Feb 11 20:12:45 Some discussion on that message here: https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2020-06-07.log.html Feb 11 20:15:46 ok, yes, can be useful Feb 11 20:16:11 but first I'd like to get a fully working luneos Feb 11 20:16:46 I'm rebuilding my halium from scratch with the aforesaid branches, iirc it was what we used to get the best status so far Feb 11 20:16:57 (all without wifi worked) Feb 11 20:21:12 Tofe: OK Feb 11 20:24:19 I'll try the same here Feb 11 21:06:25 oh, "ueventd: couldn't open firmware loading fd for a530_pfp.fw: No such file or directory" Feb 11 21:07:32 ah, my fault, /vendor on my rootfs was a symlink. rebooting. Feb 11 21:10:34 sound, sensor, UI: ok Feb 11 21:10:56 we've got time_daemon polluting the log, but that's all Feb 11 21:11:21 damn, no wifi Feb 11 21:13:39 though it seems pretty happy Feb 11 21:14:48 let's make it a module again Feb 11 21:25:47 yes, it helps :) Feb 11 21:31:06 Herrie: I pushed a bunch of commits to meta-smartphone; it should help with various little bumps Feb 11 21:36:46 There's no bluetooth yet (like on other halium-9.0 devices iirc) but the status is now satisfying Feb 11 22:23:18 Tofe: Oooh nice **** ENDING LOGGING AT Fri Feb 12 02:59:56 2021