**** BEGIN LOGGING AT Sun Apr 18 03:00:04 2021 Apr 18 07:51:24 Morning! Apr 18 08:32:29 Morning! Apr 18 08:33:47 Herrie: I'm rebuilding the halium image from scratch, to check that the bluetooth and vibrator are actually not there Apr 18 08:43:02 Tofe: OK Apr 18 08:43:28 mmh it was actually a bit too efficient, I lost many service.rc Apr 18 09:00:21 oh well, it works too it seems Apr 18 09:02:18 Hehe OK :S Apr 18 09:30:18 Actually it makes sense that the touchpad doesn't need android so much Apr 18 09:42:50 Tofe: In general yes, since it was released without :P Apr 18 09:43:57 I can't get the sound to work, not sure what is wrong yet Apr 18 09:44:26 I think there was something similar on Volla Apr 18 09:44:34 All looked OK but it wasn't working Apr 18 09:44:44 Maybe we need some glue bits again somewhere? Apr 18 09:45:33 not sure; logcat says all is well, pulseaudio seems happy and sees the android side... Apr 18 09:49:14 Did you try the test_audio or test_media whatever it's called from libhybris to play something? Apr 18 09:49:39 You have the custom qcom audio repo on Android side right? Apr 18 09:49:41 not yet Apr 18 09:49:46 Similar to the display etc Apr 18 09:49:55 yes, I use audio-caf from DU Apr 18 09:53:26 I have a weird "tenderloin ls-hubd[1572]: _loadLibrary : Couldn't find /usr/palm/frameworks/mojoservice/version/1.0/node_module.js" on my device, not sure why Apr 18 09:53:32 the file is actually there Apr 18 09:54:12 Tofe: Well that is kinda normal Apr 18 09:54:16 I've seen that before Apr 18 09:54:31 ok Apr 18 10:03:41 Tofe: You say BT is working? I thought it actually was dead before on our 5.1 target? Apr 18 10:03:52 You didn't manage to get it working due to backport patches not behaving Apr 18 10:04:15 So that's nice if it does now! Apr 18 10:07:55 weeeell, I see the list of devices around me, I didn't try to connect to one yet Apr 18 10:08:19 and as long as I don't get sound on the speakers, this kind of test might be pointless Apr 18 10:09:22 test_audio: "Audio device API version 0200 doesn't match platform current 3004.test_audio: test_audio.c:71: main: Assertion `audiohw->common.version == AUDIO_DEVICE_API_VERSION_CURRENT' failed." Apr 18 10:09:47 but I can see pulseaudio actually talking to the android side... Apr 18 10:09:57 maybe test_audio isn't accurate Apr 18 10:12:39 Tofe: Ah I forgot, those tests aren't great Apr 18 10:12:43 Some work, some don't ;) Apr 18 10:12:51 I've seen this API version issues before Apr 18 11:45:01 any other trick to revive tenderloin than long charge with various chargers? I've left it charging for 12 hours and still no luck to power it on Apr 18 11:46:02 JaMa: not that I know of... do you at least have a light showing up ? Apr 18 11:46:35 middle button flashing left and right while on charger is all I got Apr 18 11:56:58 that's what I had too Apr 18 11:57:23 so there's hope Apr 18 11:57:47 I'd say, try the charger with the best output power you have Apr 18 11:58:00 and then just let it on for another night Apr 18 11:59:42 ok Apr 18 12:05:27 JaMa: The original charging barrel works best eventually Apr 18 12:05:34 At least that's my experience Apr 18 12:06:47 that's the one I've used last night Apr 18 12:07:16 but I didn't boot it for last 4 years at least I think, so maybe it will need another night :) Apr 18 12:07:31 Yeah it can take some time Apr 18 12:07:41 I had the same with some Go's Apr 18 12:08:52 with freerunner it was easy with replaceble battery and old nokia as dummy charger :) Apr 18 13:45:33 it lives! Apr 18 13:56:25 \o/ Apr 18 14:00:19 and there is some cm-10.1 installed Apr 18 15:17:58 Herrie: I got the accelerometer to work, so rotation is now working Apr 18 15:20:12 Tofe: Ooh nice, so it's just mainly audio remaining for now? Apr 18 15:20:28 right Apr 18 15:23:00 though for tenderloin's sensorfw, we'll have to find a way to disable autohybris Apr 18 15:25:02 ^I found a nice way Apr 18 15:27:50 I also found out that our wait-for-android script is still unadapted for tenderloin, where there is no LiveDisplay service Apr 18 15:37:36 I only put the accelerometer right now, but it looks like we could add ALS and magnetometer somehow Apr 18 15:54:48 :) Apr 18 16:09:22 Herrie: can you merge https://github.com/Herrie82/android_device_hp_tenderloin-common/pull/2 ? There might be a fix for audio there, but it's not sure Apr 18 16:09:39 and we have a stable logcat with this PR Apr 18 16:10:08 Camera still doesn't work, but it seems it's also broken on Android itself, so I won't insist Apr 18 16:33:57 Tofe: Done Apr 18 19:22:11 Herrie: I wonder, do we ditch mako ? Mine is probably still working, but I wonder if I'm not the last person who has one :p Apr 18 19:22:31 Tofe: I guess we could Apr 18 19:22:40 Or keep it on 5.1 just Apr 18 19:22:54 I doubt there are still many around Apr 18 19:23:19 Ok, let's keep it at 5.1 Apr 18 19:24:33 Though there is, actually a lineageos port https://forum.xda-developers.com/t/rom-unofficial-lineageos-16-0-mako.3758779/ Apr 18 19:25:58 OK there are even repos available, that's good Apr 18 19:26:06 Then porting shouldn't be rocket science Apr 18 19:26:11 I can have a stab @ Halium bit if you want? Apr 18 19:26:27 While you look @ Pinephone and let you know once there's an image ? Apr 18 19:27:06 Herrie: ok, let's do that Apr 18 19:27:26 Any clues as to audio for Tenderloin? Apr 18 19:28:00 not yet, I still wonder what's not activated. Nothing seems muted or so, audio routing seems to be working... Apr 18 19:28:28 Try a jack for a change? Apr 18 19:28:34 Sometimes it's something silly Apr 18 19:30:44 I didn't try jack yet, I'll test it yes Apr 18 19:31:07 Sometimes it might just work and it's something silly in routing Apr 18 19:32:57 nope, doesn't work Apr 18 19:36:06 OK, was worth the try Apr 18 19:37:54 yup Apr 18 19:39:11 OK put together a Mako manifest here, let's go ;) Apr 18 19:41:57 ahah you're quick Apr 18 19:42:14 Seems Mako also uses MSM8960 Apr 18 19:43:00 probably quite similar to hammerhead on many aspects Apr 18 19:43:45 mem8660, msm8960 and msm8974 are not so different Apr 18 19:47:37 I'll start a clean build of pinephone tomorrow Apr 18 19:51:07 Seems kernel has got quite some improvmeents Apr 18 19:52:52 Herrie: about pinephone, I'm uploading the prebuilt crust firmware cross-compiler to mainline-kernel-firmwares/ folder on our build server, in case https://musl.cc/or1k-linux-musl-cross.tgz disappears Apr 18 19:53:56 There's barely any value in compiling that firmware ourselves, let alone building the dedicated compiler... Apr 18 19:55:09 Herrie: for mako's kernel, yes, I was surprised how well maintained this one was Apr 18 19:55:46 Tofe: Well we'll see how much patches we need, it's 3.4 after all Apr 18 19:56:00 Should I take this new one or stick with the old one? Apr 18 19:56:13 OK JAR errors are gone, Halium is building Apr 18 19:56:39 Herrie: let's try the new one, as it has hwbinder backports Apr 18 19:56:51 OK Apr 18 19:57:04 Will be a bit toying with defconfig I guess, but we have experience from Hammerhead & Tenderloin now Apr 18 19:57:18 for defconfig, just take our old one for the moment Apr 18 19:57:37 It's what has worked best so far :p Apr 18 20:01:30 OK Apr 18 20:01:37 Seems kernel will need some patches :P Apr 18 20:01:40 GCC stuff isn't there yet Apr 18 20:01:53 Well Halium bit built Apr 18 20:02:06 That was easy enough, no vendor.img though Apr 18 20:03:35 That's fine Apr 18 22:00:50 Tofe: OK got a kernel that compiles in our Gatesgarth build, that's it for today ;) Apr 18 22:01:01 Rest for another day (hopefully tomorrow) Apr 18 22:01:16 https://github.com/Herrie82/android_kernel_lge_mako/commits/halium-9.0 Apr 18 22:41:25 Herrie: that's already great :) **** ENDING LOGGING AT Mon Apr 19 02:59:56 2021