Sunday, 2024-10-27

T42<Umeaman> Just to clear put some confusion in the HADK faq, can we add instructions that applies to every version newer than hybris-17.0? I mean, If you build for hybris-20.0 there are no clear instructions on if you need to run the patch command mentioned for hybris-16.1.10:32
T42<Umeaman> 10:33
T42<Umeaman> What are we supposed to run before building hal and droidmedia?10:33
T42<Umeaman> Just to clear put some confusion in the HADK faq, can we add instructions that applies to every version newer than hybris-17.1? I mean, If you build for hybris-20.0 there are no clear instructions on if you need to run the patch command mentioned for hybris-16.1.10:33
T42<Umeaman> 10:33
T42<Umeaman> What are we supposed to run before building hal and droidmedia? (edited)10:33
T42<elros34> @b100dian sailfishos.wiki have some certificates issue11:21
rinigus@b100dian: finally got to nagara hacking. now got it boot into aosp13. camera doesn't work; gsm probably neither. gsm can't test as no sim inserted - probably doesn't work either11:58
rinigusaosp14 wasn't building and not sure whether it will boot with current blobs.11:59
rinigusbattery indicator works - positive aspect of the device getting warm12:01
riniguslooks like enabling wifi leads to crash. or it overheated due to restarting FPC12:10
mal@Umeaman the 17.1 instructions apply to all newer ones, of course fix the major version in that spec change, also the libhybris cloning mentioned in 16.0 is needed13:12
rinigus@b100dian: had to get back to stock. on aosp13, started getting stuck on android boot animation. for some reason, reflash with aosp13 didn't help and it was still stuck. same with factory reset.13:53
rinigusany luck with compiling aosp14?13:53
T42<b100dian> @elros34 sorry about that, there was some timing issue between me changing DNS to the new server and @potaster's availability to apply letsencrypt certs15:35
T42<b100dian> I am reverting to original hosting for now, but may take a while to propagate15:35
T42<b100dian> rinigus: no luck so far. The `lunch aosp_xqcq54-ap2a-userdebug` did work on A14 but build does not start, with:15:38
T42<b100dian> vendor/oss/timekeep/Android.mk: error: TimeKeep: Specifies both LOCAL_SDK_VERSION (system_34) and LOCAL_PRIVATE_PLATFORM_APIS (true) but should specify only one15:38
rinigus@b100dian: that is fixable15:38
rinigussee similar list https://github.com/sonyxperiadev/bug_tracker/issues/84815:39
rinigusI am currently at https://github.com/sonyxperiadev/bug_tracker/issues/83815:42
rinigus@b100dian ^15:42
T42<b100dian> Yup, `git fetch sony refs/pull/28/head`15:44
T42<b100dian> In `vendor/oss/timekeep`. Make starting again..15:46
T42<b100dian> rinigus: Aosp 13 builds I've tried, including the ones with supposedly working wifi (e.g. scan worked) all were overheating very much15:49
rinigus@b100dian: I suspect overheating is due to https://github.com/sonyxperiadev/bug_tracker/issues/79615:50
rinigusas for wifi, my issues started when I connected to one15:50
T42<b100dian> Oh :( That's not good news - the wifi thing. But fingerprint could easily be disabled if it is the culprit.15:51
T42<b100dian> But we still need GSM :D15:51
T42<b100dian> which was not working in any build I've tried of nagara aosp1315:52
T42<b100dian> And I did have a SIM15:52
rinigus@b100dian: I guess they will release new batch of blobs which hopefully would have gsm15:57
rinigusas for wifi, it could be coincidence as well. let's see when the next blobs will come15:58
rinigusbut in terms of aosp14 builds, they get stuck on absence of DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE . looks like mal gas been digging into it (https://github.com/sonyxperiadev/bug_tracker/issues/838#issuecomment-2221333441)16:00
rinigusI wonder if hybris has patches for it16:01
T42<b100dian> I'm tempted to also try stock + a GSI system. Maybe that would also work. Did you try to get back to stock, do you need Windows for that?16:05
rinigus@b100dian: didn't see patches - used same vendor_framework_compatibility_matrix.xml as pasted in that issue and then it compiles. although it is for the next xperia and probably needs to be adjusted16:10
rinigusas for going back to stock, I used newflasher16:10
riniguswill pastebin my notes regarding it. just a sec16:11
rinigus@b100dian: https://paste.mozilla.org/w7rQRA2F16:14
malrinigus: I currently use r34 on x10iv and v16:23
rinigus@b100dian: as for moving to stock based (+gsi?) - maybe we should taking into account a current state of aosp. it should also improve camera and other hw support16:24
rinigusmal: I am trying with the latest as in sony readme - _r55. but we don't have separate aosp14 blobs for nagara, so it will probably fail anyway16:26
rinigus@b100dian: option is also to look into lineageos porting, but when checking their device repos those seem to be rather large (for 1v)16:27
malyeah, r55 is failing quite badly, I had way to fix many of the failures but not all yet16:27
malI probably should continue debugging those build issues at some, just too many things to do16:27
rinigusmal: I managed to build it now, but would have to check that added manifest and see if it makes sense16:28
rinigusjust needed to use https://github.com/sonyxperiadev/bug_tracker/issues/837 and change that compatibility matrix.16:29
rinigusmal: btw they pinged you at the end of PR above :)16:29
malah, forgot about that again16:34
T42<b100dian> rinigus: thanks for the note, happy that newflasher is available on my distribution user repo16:53
rinigus@b100dian: welcome. its easy to compile as well.16:53
T42<Umeaman> I'd love to have it made clearer then. (re @SailfishFreenodeIRCBridgeBot: <mal>@Umeaman the 17...)16:55
malI wonder why nobody has made PR to that if it's supposedly so difficult to understand16:58
T42<b100dian> Well, those who understand it move on.. :) @Umeaman you should make a PR while its hot17:00
T42<Umeaman> I know how to make a PR, but others may not know. (re @SailfishFreenodeIRCBridgeBot: <mal>I wonder why no...)17:11
T42<elros34> others may use this one too https://sailfishos.wiki/books/hadk/page/hadk-hot#bkmrk-common17:15
T42<b100dian> rinigus: building, next error at 46% after 1h24: https://github.com/sonyxperiadev/bug_tracker/issues/848#issuecomment-2409143089 (goin' to try that suggestion next)18:23
rinigus@b100dian: hmm, let me check if I had that applied.18:25
rinigusflashing aosp14 right now, but with aosp13 blobs. will probably fail18:25
rinigus@b100dian: where is that file on which it fails?18:30
rinigusas for aosp14 boot - stuck on sony logo. no luck, will have to wait for new blobs18:30
T42<b100dian> hmm thought about trying aosp14 with stock blobs?18:31
T42<b100dian> rinigus: failure is on `vendor/qcom/opensource/pal/session/src/SessionAlsaCompress.cpp`18:32
rinigus@b100dian: it should be fixed already. did you run repo_update?18:35
rinigussee https://github.com/sonyxperiadev/repo_update/pull/14518:35
T42<b100dian> huh, checkout from ~2w ago18:35
T42<b100dian> sorry for the noise. good idea to repo_update when things are so in flux18:37
rinigus@b100dian: then repo sync first as well :)18:38
rinigusI am back on stock. no idea when the blobs for nagara will land ...18:39
T42<b100dian> rinigus: thank you for your newflash instructions, I am back to stock Android 14 without relocking21:12
T42<b100dian> About GSI: I never tried this but I tried it today:  https://developer.android.com/topic/generic-system-image/releases#14-stable21:13
T42<b100dian> I replaced the system partiton of nagara with one from google (but there are other, 'phhusson' example, GSIs) and most of the stuff works21:14
T42<b100dian> actually fingerprint also works. Only no setting for double-tap to wake as on sony stock is missing ;)21:16
T42<b100dian> So: if there is infinite wait for sony open SW for vendor and odm, we can have this as backup plan21:17
T42<b100dian> wifi, camera + recording work, volte doesn't which is surprising and shockingly now sound in 3G calls :D21:25
T42<b100dian> rinigus: next error in `java -jar out/host/linux-x86/framework/RecoveryImageGenerator.jar` was overpassed by installing fontconfig or even roboto..21:41
T42<b100dian> next: sload.f2fs 1.16.0 gives "Invalid sparse file format at header" :-S21:46

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