| sharks_ | @elros34 what PR? There are no open or closed PRs in github.com/sailfishos-open/sailfish-fpd-community regarding keymaster 4.1? | 00:00 |
|---|---|---|
| sharks_ | Ah, it's in erfanoabdi/fake_crypt, gotcha | 00:05 |
| sharks_ | That was a noob mistake, my bad. Thanks | 00:05 |
| sharks_ | Nope, that's not done it. I've got a different error at least --> https://paste.opensuse.org/pastes/2c9b17b10022 | 00:12 |
| sharks_ | Okay, got it to compile with some small tweaks --> https://github.com/sharks-dev/fake_crypt | 00:30 |
| sharks_ | Do I have to rebuild sailfish-fpd-community with a different spec file to tell it to look for fake_crypt rather than droid-biometry? | 00:47 |
| sharks_ | Oh hangon, I think it needs both. My bad | 01:20 |
| *** n2klb_ is now known as n2klb | 01:50 | |
| sharks_ | Well I've got sailfish-fpd-community, sailfish-fpd-community-test, droid-fake-crypt and droid-biometry-fp, but still when attempting to test the fingerprint we see FPSTATE_IDLE and then Failed Error: SYS_UNKNOWN | 02:05 |
| T42 | <birdzhang> rafin: I have a pixel3 too, do it :) | 04:04 |
| T42 | <securebootoff> rafin: you will be just fine. the difficulty that mistermagister mentioned was mostly due to gki2 which you do not have to worry about at all. | 06:39 |
| T42 | <Umeaman> Hi! I don't know if Sailfish OS will be affected by this or not: | 18:03 |
| T42 | <Umeaman> | 18:03 |
| T42 | <Umeaman> https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/ | 18:03 |
| T42 | <Umeaman> Will it? | 18:03 |
| mal | we don't use adb | 19:01 |
| rinigus | But we can use while porting. | 20:51 |
| T42 | <TheVancedGamer> mal: I've been working on esims and I wanted to tie in some functionality for switching sim slot mapping in ofono-binder-plugin | 21:00 |
| T42 | <TheVancedGamer> given that each android slot is represented as a separate modem and ofono has `CardSlotCount` and `ActiveCardSlot`, I was wondering if I could (ab)use those properties to swap between physical slot and eUICC slot with IRadioConfig | 21:01 |
| T42 | <TheVancedGamer> if anybody hasn't looked into this, I'll probably start working on it in a few days | 21:04 |
| mal | @TheVancedGamer you mean for handling eSIM-only slots? don't devices with two physical slots have the eSIM in the same slot? not sure how that actually works when you have sim and eSIM in same slot, is that possible? | 21:10 |
| T42 | <TheVancedGamer> two slots can be muxed too, that's what MEP does | 21:11 |
| mal | how is the selection which is active done? | 21:12 |
| T42 | <TheVancedGamer> it's handled by IRadioConfig's setSimSlotMapping, you can use it to assign a virtual sim slot (either physical SIM slot or eUICC slot) to the actual slot (which is connected to the baseband processor) | 21:12 |
| mal | @TheVancedGamer I wonder if you should open an issue in the ofono-binder-plugin repo and mention your plan, monich who is main maintainer of that might have some opinions about what is the best way | 21:12 |
| T42 | <TheVancedGamer> aha, okay | 21:12 |
| mal | I also have investigated what is needed to handle eSIMs in ofono-binder-plugin, without using the external lpac tool but but only using the libeuicc from that project from either ofono-binder-plugin or at higher level | 21:15 |
| mal | I libeuicc is just needed to encode the message to be sent logical channel if I remember correctly | 21:17 |
| T42 | <TheVancedGamer> I've already used libeuicc | 21:17 |
| mal | and of course the sim handling is separate from euicc use | 21:18 |
| T42 | <TheVancedGamer> github.com/muhammad23012009/usim, eventually I want to use ofono logical channels rather than gbinder directly | 21:18 |
| mal | yeah, that was the plan I had also | 21:18 |
| T42 | <TheVancedGamer> but for that we'll have to patch ofono again because ofono does not allow opening channels while sim isn't "present" | 21:18 |
| mal | well gbinder comes in to play in ofono-binder-plugin to handle the logical channel | 21:19 |
| mal | hmm | 21:19 |
| mal | @TheVancedGamer at least what I have seen the eSIM-only slot has always sim present | 21:19 |
| T42 | <TheVancedGamer> oh? need to check it again then | 21:20 |
| mal | which is what causes issues with those slots | 21:20 |
| mal | since the slot has empty sim (no apps in it) so higher level does not like that | 21:20 |
| mal | and keeps waiting for it become ready which never happens | 21:20 |
| T42 | <TheVancedGamer> but if you read the code in the app I linked, you can see some operations need you to drop the logical channel entirely without closing, not sure if ofono will like that | 21:20 |
| mal | but that might be only issue on sailfish | 21:21 |
| mal | hmm | 21:21 |
| mal | related to your issue of sim not present, I wonder how the logical channel would then work in case where eSIM would be in physical slot | 21:22 |
| mal | since that would report no sim present | 21:23 |
| mal | assuming eSIM in physical slot would be otherwise same as having eSIM-only slot | 21:23 |
| T42 | <TheVancedGamer> android HAL will always open logical channel to ISD-R even if it doesn't report application present | 21:24 |
| T42 | <TheVancedGamer> *if the underlying slot is eUICC | 21:24 |
| mal | anyway based on my investigation eSIM-only slot in here https://github.com/mer-hybris/ofono-binder-plugin/blob/master/src/binder_sim_card.c#L340 has status->card_state == RADIO_CARD_STATE_PRESENT but status->num_apps == 0 | 21:26 |
| mal | if there is no profile installed to eSIM slot | 21:27 |
| T42 | <TheVancedGamer> yeah, android HAL doesn't report ISD-R app | 21:27 |
| T42 | <TheVancedGamer> or ISD-P iirc | 21:27 |
| T42 | <TheVancedGamer> fwiw IRadioConfig does report what type of slots are present on a device | 21:31 |
| mal | yes | 21:31 |
| T42 | <TheVancedGamer> will see what I can do for sim slot mapping then | 21:31 |
| mal | or does using physical slot for eSIM need one of the physical eSIM cards? or can it work without it even? | 21:32 |
| mal | ah seems it can support both | 21:33 |
| mal | https://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/main/radio/aidl/android/hardware/radio/config/SimTypeInfo.aidl#30 | 21:33 |
| T42 | <TheVancedGamer> if device has a muxed slot (dual SIM with eSIM) you can connect one of the slots to the baseband | 21:33 |
| T42 | <TheVancedGamer> yes | 21:33 |
| mal | I think most physical dual sim devices have muxed slot or two? | 21:34 |
| mal | since most phones support eSIM afaik | 21:35 |
| T42 | <TheVancedGamer> I've only seen pixels with dual eSIMs so far | 21:36 |
| mal | ok, but even if just one physical slot is enough, would be a bit strange if physical dual-sim device would need some physical eSIM card | 21:37 |
| mal | *just one physical eSIM-supporting slot is enough | 21:37 |
| T42 | <TheVancedGamer> ? | 21:37 |
| T42 | <TheVancedGamer> single eUICC can expose two slots | 21:37 |
| mal | hmm | 21:38 |
| mal | I need to check a bit for example on the new jolla phone what it reports as supportedSimTypes for the slots | 21:38 |
| mal | since it has two physical slots | 21:39 |
| mal | @TheVancedGamer I don't seem to find how to check slot capabilities other than existence of eid | 22:03 |
| T42 | <TheVancedGamer> https://cs.android.com/android/platform/superproject/+/android-latest-release:hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.config/current/android/hardware/radio/config/IRadioConfig.aidl;l=56 | 22:05 |
| T42 | <TheVancedGamer> | 22:05 |
| T42 | <TheVancedGamer> response https://cs.android.com/android/platform/superproject/+/android-latest-release:hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.config/current/android/hardware/radio/config/IRadioConfigResponse.aidl;l=46 | 22:05 |
| mal | I mean in hidl | 22:05 |
| mal | in aidl it's simple | 22:05 |
| T42 | <TheVancedGamer> ah | 22:05 |
| T42 | <TheVancedGamer> https://cs.android.com/android/platform/superproject/+/android-latest-release:hardware/interfaces/radio/config/1.0/IRadioConfigResponse.hal;l=38 | 22:07 |
| T42 | <TheVancedGamer> | 22:07 |
| T42 | <TheVancedGamer> seems to be this | 22:07 |
| T42 | <TheVancedGamer> ah yes, radioconfig@1.2 is forced for eSIM devices | 22:08 |
| T42 | <TheVancedGamer> seems like euicc check there is just seeing if EID is present | 22:08 |
| T42 | <TheVancedGamer> seems like euicc check there is just seeing if EID is present in simslotstatus (edited) | 22:08 |
| mal | yep, that was what I meant | 22:09 |
| mal | @TheVancedGamer that SimTypeInfo was added to aidl in android 16 so quite new thing | 22:26 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!