| *** n2klb_ is now known as n2klb | 02:03 | |
| T42 | <elros34> @nightishaman just curious how usb => uart will help you debug your issue better? It's not like don't have acces to logs now | 06:20 |
|---|---|---|
| T42 | <nightishaman> @elros34 Kernel gdb maybe to get more infos | 07:01 |
| T42 | <elros34> ok never used it | 07:01 |
| sharks | OH YEAH! I downgraded pulseaudio-modules-droid to 14.2.106 and pulseaudio woudn't start, "Failed to parse module arguments". My old arguments were `rate=48000 hw_volume=false use_legacy_stream_set_parameters=true`. I removed the legacy_stream_set_parameters argument and we've got audio in calls!!! The Xperia 10 IV is a working phone again! | 07:06 |
| sharks | Thankyou again mal, I've said it before but you're a legend among men | 07:07 |
| T42 | <TheVancedGamer> replace find_get_pid with `get_pid(find_pid_ns(nr, &init_pid_ns));` (re @nightishaman: mal: I can maybe fix...) | 07:09 |
| T42 | <nightishaman> @TheVancedGamer thanks | 07:10 |
| T42 | <TheVancedGamer> fwiw you can also grab a USB-C breakout board, it's what I use for uart on my pixel | 07:10 |
| sharks | Okay now things are getting scary, I have a basically fully functioning port so I would like to get jolla store access etc... but reading hadk-faq I need to get OBS first? however I don't know what I am doing fully, and some things eg. sledges name, links for https://webhook.merproject.org/webhook are out of date, so not sure if the guide is fully reliable. Anyone willing to walk me through it? | 07:29 |
| T42 | <elros34> more info about obs in hadk-hot -< that one which nobody is reading | 07:32 |
| sharks | Thanks elros, I'll read up on what I can see there. Either way seems like first step is to contact @Keto so hopefully they spot this sometime | 07:34 |
| T42 | <elros34> yeah you need account first | 07:35 |
| sharks | Not really worth releasing my port to the public without jolla store so yeah I'll have to work out how to set that up | 07:37 |
| T42 | <adampigg> simple, you ping keto with some config (re @SailfishFreenodeIRCBridgeBot: <sharks>Not really w...) | 07:40 |
| sharks | @adampigg is this for jolla store or for OBS? I need to give keto the output of `ssu s` for jolla store but not before I've got OBS according to hadk-faq | 07:42 |
| T42 | <adampigg> ah ok | 07:42 |
| sharks | So I guess I just have to wait until it's a reasonable hour of the day in Sweden | 07:43 |
| sharks | Does anyone have an official Xperia 10 IV in their drawer at the minute? What are the chances the output of `ssu s` is the same and I've already got jolla store access? haha | 08:11 |
| Keto | xqcc54? | 09:21 |
| sharks | Hey - `ssu s` spits out "Device model: Xperia 10 IV (pdx225 / pdx225)" on my build. My phone in particular is XQ-CC72 but I presume it will work on XQ-CC52 as well | 09:22 |
| sharks | I think 54 is 10V | 09:23 |
| sharks | I have not ported that | 09:23 |
| Keto | that pdx225 is probably slightly wrong value to use for the model/variant... but I'm not sure | 09:29 |
| sharks | Drat, I wouldn't know how to change it now! It's worked up until now! | 09:30 |
| sharks | It's the value all the LineageOS people used so I assumed I could use it too | 09:30 |
| sharks | So do I need to come back another day after I've worked out how to change that value to XQ-CC72? | 09:36 |
| Keto | afaik pdx225 is common X10IV platform, but then there are different xqcc* variants, which may require slighlty different configuration | 09:36 |
| Keto | the official Jolla images are for xqcc54 | 09:38 |
| sharks | Hmm, I used Jolla official SFOS for 1.5yrs which was "supposed" to be for XQ-CC54, and it never had any problem. And as I say the Lineage people refer to the both of them as pdx225 and offer identical images for either 54 or 72. | 09:38 |
| sharks | It appears I was wrong, it is 54 not 52 but points still stand | 09:39 |
| sharks | See eg. https://wiki.lineageos.org/devices/pdx225/install/ | 09:40 |
| Keto | yeah, it probably works, I don't know what are the differences in those variants. but we just haven't had 72 device to test it | 09:41 |
| sharks | The difference AFAIK is esim vs. second physical sim, but otherwise identical. But as I say I've used your image on a 72 device for a long time and have observed no apparent differences between that and a 54 device | 09:42 |
| sharks | Anyway if you want me to go back and change it to XQ-CC72 I guess I can work out how to do that and come back again another day? | 09:45 |
| sharks | I also wondered if it should be "murray" instead of "pdx225" but as I say, I have used pdx225 the whole time. Also fixup-mountpoints already used pdx225 which was another reason I was relatively confident that was a reasonable decision | 09:48 |
| Keto | yes, that probably would be better. also we might need to think a bit how we name and identify these when there is a "official" and "community" port for the same device | 09:49 |
| sharks | Sorry - what would be better? murray or XQ-CC72? | 09:50 |
| Keto | xqcc72 | 09:50 |
| sharks | Okay, and people who have a 54 will hopefully not be affected | 09:51 |
| Keto | yes | 09:51 |
| sharks | I will try and work out how to change it tonight I guess and ping you again tomorrow | 09:51 |
| sharks | I agree we need some distinction between this and the official port, to be honest I thought Jolla might have a plan seeing as they have floated the idea of a community port a few times! But happy to work with you there. | 09:52 |
| Keto | unfortunately can't help you more right now, as I don't remember/know all the details | 09:56 |
| sharks | No worries, as I say I'll try to figure out what I can in the next hour or two and ping you same time tomorrow if that works | 09:56 |
| sharks | Worst case I start all over again with xqcc72 instead of pdx225 and just make all the same changes I guess! | 09:58 |
| sharks | Oh no I have to rebuild everything and I'm failing on the first hurdle | 10:21 |
| sharks | `breakfast $DEVICE` doesn't work when Android thinks the device is pdx225 but sailfish wants xqcc72 | 10:21 |
| sharks | I'm not entirely convinced this is a good idea | 10:22 |
| T42 | <BigChadCat> Couldn't you do something with init that sets the value to xqcc72 on runtime and let the codename remain pdx225 | 10:26 |
| sharks | Is that an option? I'm just a guy sitting in front of a keyboard. @Keto or @mal can you please weigh in on this? | 10:27 |
| T42 | <BigChadCat> I mean I'm more of an AOSP engineer and not SF, but we do this quite a lot of times | 10:29 |
| sharks | Oh? Do you have an example I can look at in a device repo somewhere? | 10:30 |
| T42 | <BigChadCat> github.com/xiaomi-sm6150 | 10:31 |
| T42 | <BigChadCat> | 10:31 |
| T42 | <BigChadCat> You just want to change a property, right? | 10:31 |
| T42 | <BigChadCat> Where is that property read from? | 10:31 |
| T42 | <BigChadCat> https://github.com/xiaomi-sm6150/android_device_xiaomi_phoenix/blob/lineage-23.2/init/init_phoenix.cpp | 10:32 |
| T42 | <BigChadCat> this is what I meant | 10:32 |
| T42 | <BigChadCat> It runs on boot, and it detects a property to differentiate between global and CN variant of the device, and depending on that, sets SKU props | 10:32 |
| sharks | I don't know enough about Sailfish to know if I can do that | 10:33 |
| sharks | I would love it if I could | 10:34 |
| T42 | <BigChadCat> same tbh, but it's worth a thought | 10:35 |
| T42 | <BigChadCat> wish they sold these devices in IN | 10:35 |
| mal | sharks: HABUILD_DEVICE env var | 10:35 |
| sharks | Sorry mal, can you elaborate? I do not have that env var set in platformsdk or habuild. Do I set it in both, then run `breakfast $HABUILD_DEVICE`, then `make hybris-hal droidmedia etc` and it will output these to "./out/target/product/$DEVICE/" rather than "./out/target/product/$HABUILD_DEVICE/" so the `build_packages.sh` scripts are happy? | 10:38 |
| sharks | I just don't want to sit here for two hours while hybris-hal builds if that's not going to work | 10:39 |
| mal | make hybris-hal will output to whatever android think it wants to do, the HABUILD_DEVICE is for packaging part | 10:40 |
| mal | i.e. build_packages.sh to find things correctly | 10:40 |
| sharks | so I ran `export HABUILD_DEVICE=pdx225` then `rpm/dhd/helpers/build_packages.sh --droid-hal`, and it fails because "Can't open ./out/target/product/xqcc72/obj/KERNEL_OBJ/.config: No such file or directory" | 10:41 |
| sharks | because it's in "./out/target/product/pdx225/..." | 10:42 |
| sharks | I could maybe just rename the directory but surely that will break something else | 10:42 |
| mal | export DEVICE=xqcc54 | 10:42 |
| mal | export HABUILD_DEVICE=pdx225 | 10:42 |
| mal | I use those in my builds | 10:43 |
| sharks | I hate to say it but that is 100% not working here | 10:43 |
| sharks | Oh that's why | 10:50 |
| sharks | rpm/droid-hal-xqcc72.spec should be rpm/droid-hal-pdx225.spec still | 10:51 |
| sharks | this is going to get messy | 10:51 |
| mal | yeah, if I remember correctly sony people said same image could be used with xqcc54 and xqcc72 | 10:52 |
| sharks | Yeah I can confirm that firsthand like I said | 10:53 |
| sharks | Changing the spec filename didn't fix it, I guess there's a lot more things like that where I don't know if I should be using $DEVICE or $HABUILD_DEVICE | 10:53 |
| sharks | Why does `build_packages.sh --droid-hal` verify the kernel config, and where does it get the idea that the kernel config is at "./out/target/product/$DEVICE/..."? | 10:57 |
| sharks | right, "%define device" in rpm/droid-hal-pdx225.spec has to still also be pdx225, not xqcc72 | 11:03 |
| sharks | woo, built dhd, let's see if I can keep going | 11:04 |
| sharks | dang, stuck again at mw, "No provider of 'droid-hal-xqcc72-devel' found." | 11:09 |
| sharks | time to grep logs | 11:09 |
| sharks | oh is it because I made a new target? | 11:10 |
| sharks | yeah totally is, okay gotta run build_packages with no params first i guess | 11:11 |
| sharks | hmm even then I still get it | 11:14 |
| sharks | Ah, droid-configs/rpm/droid-config-xqcc72.spec is still supposed to have device pdx225 but also rpm_device xqcc54 | 11:30 |
| sharks | or xqcc72 rather | 11:31 |
| sharks | similar story for droid-hal-version | 11:34 |
| sharks | no that didn't fix it | 11:36 |
| sharks | why is it looking for droid-hal-xqcc72-devel? I have in droid-local-repo droid-hal-pdx225-devel | 11:36 |
| sharks | oh there's a FAMILY variable | 11:38 |
| sharks | Great, `export FAMILY=pdx225` did it | 11:40 |
| mal | sharks: patterns need to be adjusted for the new spec naming | 11:45 |
| sharks | That one I've worked out ahead of time, yet to be seen if I have done it right though | 11:45 |
| sharks | building the mic now so should know shortly | 11:46 |
| sharks | Ah crap I forgot parse-android-dynparts and things | 11:46 |
| sharks | should have read my own notes | 11:46 |
| sharks | heh, there goes the phone. Nearly time to flash and see if it works | 11:56 |
| sharks | well it booted | 12:04 |
| sharks | seems to work | 12:05 |
| sharks | `ssu s` now says "Device model: Xperia 10 IV (xqcc72 / xqcc72)" | 12:06 |
| sharks | So I think I was successful | 12:06 |
| sharks | I will commit changes and go to bed. @Keto are you around sometime in the morning UTC tomorrow to talk about OBS things? | 12:08 |
| Keto | what kind of OBS things? | 12:10 |
| sharks | I am following hadk-faq & hadk-hot, it says in order to have jolla store access I should have OBS set up, and in order to do that I need an account, which I need to ping you about | 12:11 |
| Keto | ok | 12:13 |
| sharks | Thanks | 12:13 |
| T42 | <nightishaman> @TheVancedGamer nr doesnt exist I substited for kctx tgid | 13:15 |
| T42 | <nightishaman> https://github.com/maltesermailo/android_kernel_google_gs-6.1_google-modules/blob/lineage-23.2/gpu/mali_kbase/platform/pixel/pixel_gpu_dvfs_metrics.c#L280 | 13:17 |
| T42 | <b100dian> @NotKit the waydroid-ATV is not currently built for HALIUM, is that right? One needs to at least build that vendor image | 13:33 |
| T42 | <b100dian> (halium is the waydroid way of working with hybris no?) | 13:33 |
| T42 | <NotKit> @b100dian right. There are some patches at waydroid_vendor updated for 16 | 13:34 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!