T42_ | <Delbert Underwood> Forwarded from unknown: 𝚏𝚎𝚎𝚕 𝚒𝚖𝚙𝚛𝚎𝚜𝚜𝚎𝚍 𝚠𝚒𝚝𝚑 𝚃𝚑𝚎 𝚠𝚘𝚗𝚍𝚎𝚛𝚏𝚞𝚕 𝚠𝚘𝚛𝚔 𝚠𝚎𝚕𝚕𝚍𝚘𝚗𝚎 . 𝙸 𝚝𝚘𝚘𝚔 𝚊 𝚛𝚒𝚜𝚔 𝚝𝚘 𝚐𝚒𝚟𝚎 𝚝𝚛𝚢 𝚘Ϝ $➐⓪⓪, 𝙸 𝚛𝚎𝚌𝚎𝚒𝚟𝚎𝚍 𝚊 𝚙𝚊𝚢𝚖𝚎𝚗𝚝 𝚘𝚏 $➊➍,⓪⓪⓪ 𝚃𝚑𝚊𝚗𝚔 𝚢𝚘𝚞 � | 07:51 |
---|---|---|
T42_ | <Delbert Underwood> https://t.me/joinchat/vBc97I9e_4s0ZDk0 | 07:51 |
jules[m] | <deathmist> "@jules[m] I'm interested in..." <- Thanks :) | 09:09 |
mal | deathmist: then we probably need to do some magic to strace for example that gst-inspect-1.0 so we see if loading everything works (there was some need for special parameters to make it work correctly with strace) | 09:13 |
Verevka | deathmist: Need help | 11:00 |
Verevka | https://github.com/SailfishOS-sagit/sfbootstrap/commit/3d6a4e23d0e7790342f47cf33e932ed7ccc7b446#diff-f989151610bd0066139c724b4e5b5d22386d6b6119e256ca802e37be8e37df78R3 | 11:02 |
Verevka | * No git url specified, assuming https://github.com/mer-hybris/miniaudiopolicy.git | 11:02 |
Verevka | * pulling updates... | 11:02 |
Verevka | !! Could not get version for miniaudiopolicy: fatal: --unshallow on a complete repository does not make sense | 11:02 |
Verevka | ERROR: Failed to run post-build-mw hook for xiaomi-sagit! | 11:02 |
T42_ | <XAP2P> :D | 11:05 |
deathmist | Verevka: replacing "--mw=miniaudiopolicy" with "--build=hybris/mw/miniaudiopolicy" should fix build, I'm not sure if using --mw this way is even correct | 11:37 |
mal | deathmist: -b hybris/mw/miniaudiopolicy is correct afaik | 11:45 |
mal | deathmist: sorry, misread your comment | 11:46 |
deathmist | Verevka: something is wrong with sfbootstrap and passing arguments to build_packages: it appears to only read the first argument. I'll investigate | 11:49 |
deathmist | Verevka: fixed passing of >1 args to build_packages via https://github.com/JamiKettunen/sfbootstrap/commit/b1cbc5c, now you should also be able to do --mw=miniaudiopolicy still but simply additionally also pass --no-auto-version (or -N) for short so it won't try to correct version; this was a problem for you because the repo has no tags so it can't correct the version | 12:24 |
Verevka | Thanks, I'll try now | 12:25 |
deathmist | (btw you can drop the --spec arg for miniaudiopolicy since that is the only rpm spec file in the repo, build_packages can find it) | 12:29 |
deathmist | I specified --spec files for fpd on my port to avoid having to build extra HAL side & RPM packaging for fake_crypt which may be needed by newer devices | 12:32 |
*** Ischwitch is now known as Ingvix | 14:38 | |
deathmist | rinigus: have you seen "hybris/mw/hwcrypt/main.cpp:81:68: error: no member named 'getErrorCode' in 'keystore::KeyStoreNativeReturnCode'" before? I get this on 16.0 (A9), so I assume it's only been tested with A10+? | 16:22 |
rinigus | deathmist: no, I haven't. I am using it with aosp10, correct | 16:43 |
rinigus | deathmist: maybe you could check whether there is something similar in aosp9? I wonder if you have system/security/keystore/keystore_cli_v2.cpp for it | 16:45 |
deathmist | rinigus: yeah: https://android.googlesource.com/platform/system/security/+/refs/tags/android-security-9.0.0_r76/keystore/keystore_cli_v2.cpp | 16:57 |
deathmist | I suppose result.isOk() is a thing | 16:57 |
deathmist | oh wait that's just for checking it, eh gonna have to int32_t(result) | 16:58 |
deathmist | we'll need some ErrorCodeFromResult() method everything uses so it can be wrapped with a #if ANDROID_VERSION_MAJOR > 9 or similar | 17:00 |
mal | deathmist: did you try strace or something with gst-inspect? | 17:05 |
mal | you probably need the remove the cache file before trying it | 17:05 |
deathmist | mal: not yet, I'll check it a bit later tonight | 17:14 |
T42_ | <BenKerry> Ist there a SailfishOS Port Form Galaxy S5? | 17:35 |
rinigus | deathmist: I can see that at least your link to keystore_cli_v2 doesn't have getErrorCode call. | 18:23 |
*** Daanct12 is now known as Danct12 | 18:24 | |
rinigus | deathmist: looks like it was added here: https://android.googlesource.com/platform/system/security/+/7008074335d061c388b2538965e81b3c79fe09ca%5E%21/ | 18:26 |
rinigus | deathmist: reading your reply again - yes, ErrorCodeFromResult wrapper should work | 18:29 |
deathmist | rinigus: would you mind writing one? I suppose I can take a crack at it today still but tomorrow my military service still continues for another month or so :) | 18:39 |
rinigus | deathmist: ha! will see. I suspect I'll forget about it and we will be back with the discussion regarding it in one month as I just started working on other issues. just to save us in future, I'll write an issue describing a problem | 19:16 |
deathmist | rinigus: looks like keystore droid service doesn't want to stay as running for me, so I can't test hwcrypt (or use it for that matter) :/ | 20:39 |
deathmist | (keeps dying and restarted by d-h-i every 5 seconds) | 20:40 |
rinigus | deathmist: weird. I thought that keystore is a vital for keeping android bits working happily in the port. or am I missing something? | 20:41 |
deathmist | I think android 9 ports used to straight out just disable it | 20:41 |
deathmist | that's what I had in my disabled_services.rc anyway | 20:41 |
rinigus | deathmist: let me check for tama | 20:42 |
rinigus | deathmist: doesn't look like keystore is disabled in tama nor seine: https://github.com/mer-hybris/droid-hal-configs/blob/master/sparse-10/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc | 20:46 |
deathmist | rinigus: but that's sparse-10, aka android 10, I'm on android 9 | 20:47 |
rinigus | true. | 20:47 |
rinigus | deathmist: not for https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/usr/libexec/droid-hybris/system/etc/init/disabled_services.rc | 20:48 |
rinigus | aosp9 | 20:48 |
deathmist | hmm, guess it just kept dying for me and I couln't figure out why and just disabled it to stop battery drain etc since other parts seemed to work at the time, but now for encryption support it's a blocker :/ | 20:49 |
deathmist | I | 20:50 |
deathmist | 'll try using the linked disabled_services.rc file and see what happens | 20:50 |
rinigus | yeah, that one you would want to get running | 20:51 |
deathmist | with that file I've got the following crash looping: time_daemon, keystore & vendor.dataqti | 20:54 |
deathmist | doesn't look like keystore got any happier with less disabled services | 20:54 |
deathmist | eh I don't really know how I'd debug this, maybe hybris-17.1 port would fix this issue as well | 20:55 |
deathmist | (considering this device's vendor HAL still got updated as well for Android 10) | 20:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!