Tuesday, 2024-10-08

rinigus@b100dian: still no reply from sony aosp. I hope you will manage to build and test ...05:11
T42<b100dian> Build finished late evening yesterday (5 more hours) but..07:26
T42<b100dian> There is no vendor_dklm.img to flash07:26
T42<b100dian> And I think I flashed the wrong oem since uname says 5.10 and I've downloaded the latest from https://developer.sony.com/open-source/aosp-on-xperia-open-devices/downloads/software-binaries which is 5.1507:31
T42<b100dian> So the result was that no camera or GSM (but yes wifi) and the battery drained overnight, not very spectacular07:31
T42<b100dian> rinigus: I'll try to fix the above, first charging, than see if make vendor_dklmimage produces something, and flashing 5.10 sw binaries07:33
rinigus@b100dian: I think there was some issue with 5.15/5.10 kernels07:34
T42<b100dian> both of them?07:35
rinigushttps://github.com/sonyxperiadev/bug_tracker/issues/824#issuecomment-190099684307:35
rinigusno, with some different builds available.07:35
T42<b100dian> I made sure the current slot is A before flashing07:36
rinigusI haven't looked at the builds myself, but maybe it is possible to choose kernels?07:36
T42<b100dian> Oh, there's also the fact that the default build instruction don't build the kernel.. I need to look into that next, but I might take me late this evening to do that07:36
rinigussure. but testing with older oem images that fit 5.10 could be an option :)07:37
T42<b100dian> There are both 5.10 and 5.15 folders in kernel/prebuilts/ but I can't say off the top of my head how to switch between them07:37
rinigusI see. that's strange07:38
riniguslet's first try to get it working as regular aosp and use prebuilt kernel. as that is easier to use when filing bug reports07:39
rinigusb100dian: https://github.com/sonyxperiadev/bug_tracker/issues/828 regarding that missing image07:40
T42<b100dian> thanks, then I should just try flashing 5.10 sw binaries first07:41
riniguscuriously, in that report it is stated that they have 5.15 kernel...07:43
rinigusalthough, later xperia07:43
rinigusgood luck07:43
T42<b100dian> took 7 minutes to say "unknown target 'vendor_dklmimage', did you mean 'vendor_dlkmimage'?" :) So I might be able to build that next07:45
T42<b100dian> nope, no work to do07:47
rinigusnote that with older oem binaries maybe some other things are not working. if they release it for 5.15, unless its a typo, there should be some way to get to that newer kernel07:51
rinigus@b100dian: also 5.10 binaries were for nagara only v1 - those maybe buggy :(07:53
T42<b100dian> I think I was wrong and it is the 5.15 that is booting07:53
rinigusthat's good. absence of gsm and camera not so ...07:54
T42<b100dian> I am still on sw binaries 5.10 and while it doesn't boot to gui, I get adb shell, but I cannot figure out how to shutdown the device to enter fastboot mode again.07:59
T42<b100dian> It may have been that yesterday evening I didn't issue "fastboot erase metadata" successfully since that was supposed to also be issued after `fastboot reboot fastboot`07:59
rinigus@b100dian: is it possible to shutdown device from adb? or maybe there is some adb command to reboot to fastboot08:03
T42<b100dian> yea,h, reboot fastboot did that actually :whew:08:08
rinigus:)08:14
rinigus@b100dian: so, let's hope that reflashing again will help. with the latest binaries if the kernel is 5.1508:15
T42<b100dian> So the result was the same, even if this time metadata was confirmed erased..08:16
T42<b100dian> It is uncommon for me that the launcher is presented first, no wizard08:16
T42<b100dian> even though userdata partition is also wiped08:16
T42<b100dian> and there's a messagebox with "There's an internal problem with your device. Contact your manufacturer for details" first08:17
rinigus@b100dian: I guess new bug report?08:18
T42<b100dian> I have to switch to work now :) I'll probably do that later08:18
rinigussure!08:18
rinigus@b100dian: for later - I wonder whether switching to older aosp tag would help...08:19
T42<b100dian> one thing I notice in the fastboot reboot fastboot screen: most data is not there08:21
T42<b100dian> https://irc.thaodan.de/.imgstore/17b37e5c/file_6582.jpg08:21
rinigus@b100dian: sounds like you did "fastboot reboot fastboot​" before flashing. that was important on tama, I remember08:23
rinigus@b100dian: yes, that image is rather strange. I don't have so fancy fastboot on tama, so cannot compare08:23
rinigus@b100dian: fyi: https://github.com/sonyxperiadev/bug_tracker/issues/840 . I wonder if stock android 13 is supposed to be flashed if you had upgraded to 14 before aosp13. as for android tags, _75 is probably old enough (based on that issue).08:35
rinigusmaybe of interest issue thread with this: https://github.com/sonyxperiadev/bug_tracker/issues/808#issuecomment-177503252208:37
T42<b100dian> It was "at build 64.1.A.0.913 which is A13 now, not sure if there were any updates still on A13" before building and flashing08:53
*** rdr_ is now known as rdr09:05
rinigus@b100dian: right, that looks to be newer than the one they used ~ a year ago in https://github.com/sonyxperiadev/bug_tracker/issues/80809:11
T42<edp_17> @b100dian : Fingerprint. My port is based on Lineageos, so I guess I should use something different than "lunch aosp_$DEVICE-user"? How can I found out what to use instead of "aosp_$DEVICE-user"?10:48
T42<edp_17> Or I just use the usual "breakfast $DEVICE" instead of that "lunch aosp_$DEVICE-user" ?10:49
T42<edp_17> Yeah, that was it. Now libbiometry_fp_api has built.10:51
T42<b100dian> yup;)10:54
T42<edp_17> Thanks. :D I have another one. How should I know whether or not I need fake_crypt ?10:55
T42<b100dian> what keymaster version do you have? Maybe you find it running with ps10:59
T42<edp_17> keymaster 410:59
T42<b100dian> then yes10:59
T42<edp_17> Thanks.11:04
T42<edp_17> It seems I need libhybris-devel: libhybris-devel is needed by sailfish-fpd-community-1.1.3-1.aarch6411:04
T42<edp_17> How can I get it? I wasn't able to install with: sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -m sdk-install -R zypper install libhybris-devel11:05
T42<b100dian> hmm aren't you building in the PlatformSDK of your port? I don't remember needing to install anything11:08
T42<edp_17> I am in the SDK of my port.11:08
T42<edp_17> When I issued that command in HABUILD, I got: bash: sb2: command not found11:09
T42<edp_17> So, I need to use it in SDK.11:10
T42<edp_17> It either doesn't find libhybris when I try to install that: No provider of 'libhybris' found.11:10
T42<edp_17> I only have these repos in there: https://paste.ubuntu.com/p/xv9q3cJHrN/11:12
T42<b100dian> pretty sure that should be a system package you built earlier for your port. Did you change target since?11:28
T42<edp_17> I have updated target, toolings, recreated sdk and updated all submodules before built 4.6. However, I am only building droid-hal and droidmedia locally. I am building libhybris on OBS.11:31
T42<edp_17> This yamuisplash is driving me mad. I've forked, changed the image, bumped its version to 1.0.5 and uploaded into my github repo, then I set that in _service file. But it is still building 1.0.2 version without my change. What am I doing wrong here?12:18
T42<edp_17> I even deleted and recreated the package, still the same.12:19
T42<b100dian> rinigus: filed https://github.com/sonyxperiadev/bug_tracker/issues/84712:32
rinigus@b100dian: thank you very much! what's the version of your xperia? is it XQ-CQ54?12:35
rinigusas in https://github.com/sonyxperiadev/device-sony-pdx224/blob/master/BoardConfig.mk12:35
T42<b100dian> Yes, xqcq5412:37
rinigusso, that shouldn't be a problem either.12:37
T42<b100dian> @edp_17 maybe you can build fpd on obs if you upload the .so files where copy-hal puts them12:57
T42<b100dian> But it would be easier to have hybris built locally ig12:58
T42<edp_17> Thanks, I am trying to build libhybris locally13:03
T42<edp_17> libhybris doesn't build locally because it is complaining about : "line 228: It's not recommended to have unversioned Obsoletes: Obsoletes: vulkan-loader"13:06
malthat's not an error13:07
T42<edp_17> https://paste.ubuntu.com/p/PcpP4yR8SN/13:08
T42<edp_17> vulkan.c:547:15: error: 'vkAcquireWinrtDisplayNV' undeclared here (not in a function); did you mean 'vkAcquireDrmDisplayEXT'?13:08
T42<edp_17> make[3]: *** [Makefile:556: libvulkan_la-vulkan.lo] Error 113:09
T42<edp_17> Are you sure this is not the error?13:09
malthat is an error13:20
malthe previous one you mentioned wasn't13:20
malwhich version of libhybris are you building? are you sure it's latest13:21
T42<edp_17> Do you know how to fix? Or should I use an older commit of libhybris ?13:21
malmake sure your libhybris submodule is latest13:21
T42<edp_17> I just did a : rpm/dhd/helpers/build_packages.sh --mw=https://github.com/mer-hybris/libhybris.git13:21
T42<edp_17> Oh, in external. Got it. That's an old one from 2022.13:23
malyeah, it checks external also13:23
T42<edp_17> Hmm, there is a local change in rpm/libhybris.spec. I don't remember changed anything in there: https://paste.ubuntu.com/p/qVKrYSg3kn/13:24
T42<edp_17> I am updating it anyway.13:26
T42<edp_17> The same error about that vulkan thingy.13:28
maldid it update the submodule13:28
maljust doing git pull doesn't do that, you need to add --recurse13:29
T42<edp_17> in external/libhybris ?13:29
T42<edp_17> Okay, I deleted external/libhybris then cloned it again. When trying to build, get the same error13:32
malhow is that possible13:55
malis the repo in hybris/mw really up to date?13:56
malremove that also13:56
T42<b100dian> looks like an old / stalled build. Before you know you get the hybris that is compatible with esr91 😉13:59
T42<edp_17> mal: No, there is no libhybris in mw. Only in external where I deleted and git cloned.15:13
T42<elros34> why do you even build it if you have everything on obs, use obs15:13
T42<edp_17> Because I'd like to build fingerprint and it requires libhybris-devel package that I cannot install either.15:14
T42<elros34> sure you can, add obs repo and install it15:14
T42<edp_17> I'll try that. Thanks.15:14
T42<elros34> about yamuisplash: you didn't push tags, latest one 1.0.215:14
T42<edp_17> Damn, that tag thingy again. :(15:16
T42<edp_17> Thanks! I need to remember this.15:18
T42<elros34> maybe you can use this command for online repo too https://sailfishos.wiki/link/20#bkmrk-%C2%A0%C2%A0%C2%A0-sb2--t-%24vendor-%2415:25
T42<edp_17> @elros34 : Good advice! I've installed libhybris-devel from OBS repo and now fingerprint packages have built. Thanks.16:00
T42<edp_17> @b100dian : All three fingerprint packages are installed and ... Connection: Disconnected  State: Unknown: DBus interface invalid   :) I guess now I need to dig down.16:34
T42<edp_17> Failed to start Community Fingerprint Daemon16:36
T42<edp_17> journal: https://paste.ubuntu.com/p/2st5DvqKQJ/16:41
T42<edp_17> "Could not find 'android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprint/default" - on device: https://paste.ubuntu.com/p/xt8vwnRcbx/16:46
T42<b100dian> Not at my computer, but do you have any services even if other version, like that? Or disabled..?17:18

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!