Saturday, 2026-07-25

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, gotcha00:05
sharks_That was a noob mistake, my bad. Thanks00:05
sharks_Nope, that's not done it. I've got a different error at least --> https://paste.opensuse.org/pastes/2c9b17b1002200:12
sharks_Okay, got it to compile with some small tweaks --> https://github.com/sharks-dev/fake_crypt00: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 bad01:20
*** n2klb_ is now known as n2klb01: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_UNKNOWN02: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
malwe don't use adb19:01
rinigusBut 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-plugin21: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 IRadioConfig21:01
T42<TheVancedGamer> if anybody hasn't looked into this, I'll probably start working on it in a few days21: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 does21:11
malhow 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 way21:12
T42<TheVancedGamer> aha, okay21:12
malI 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 level21:15
malI libeuicc is just needed to encode the message to be sent logical channel if I remember correctly21:17
T42<TheVancedGamer> I've already used libeuicc21:17
maland of course the sim handling is separate from euicc use21:18
T42<TheVancedGamer> github.com/muhammad23012009/usim, eventually I want to use ofono logical channels rather than gbinder directly21:18
malyeah, that was the plan I had also21: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
malwell gbinder comes in to play in ofono-binder-plugin to handle the logical channel21:19
malhmm21:19
mal@TheVancedGamer at least what I have seen the eSIM-only slot has always sim present21:19
T42<TheVancedGamer> oh? need to check it again then21:20
malwhich is what causes issues with those slots21:20
malsince the slot has empty sim (no apps in it) so higher level does not like that21:20
maland keeps waiting for it become ready which never happens21: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 that21:20
malbut that might be only issue on sailfish21:21
malhmm21:21
malrelated to your issue of sim not present, I wonder how the logical channel would then work in case where eSIM would be in physical slot21:22
malsince that would report no sim present21:23
malassuming eSIM in physical slot would be otherwise same as having eSIM-only slot21:23
T42<TheVancedGamer> android HAL will always open logical channel to ISD-R even if it doesn't report application present21:24
T42<TheVancedGamer> *if the underlying slot is eUICC21:24
malanyway 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 == 021:26
malif there is no profile installed to eSIM slot21:27
T42<TheVancedGamer> yeah, android HAL doesn't report ISD-R app21:27
T42<TheVancedGamer> or ISD-P iirc21:27
T42<TheVancedGamer> fwiw IRadioConfig does report what type of slots are present on a device21:31
malyes21:31
T42<TheVancedGamer> will see what I can do for sim slot mapping then21:31
malor does using physical slot for eSIM need one of the physical eSIM cards? or can it work without it even?21:32
malah seems it can support both21:33
malhttps://android.googlesource.com/platform/hardware/interfaces/+/refs/heads/main/radio/aidl/android/hardware/radio/config/SimTypeInfo.aidl#3021:33
T42<TheVancedGamer> if device has a muxed slot (dual SIM with eSIM) you can connect one of the slots to the baseband21:33
T42<TheVancedGamer> yes21:33
malI think most physical dual sim devices have muxed slot or two?21:34
malsince most phones support eSIM afaik21:35
T42<TheVancedGamer> I've only seen pixels with dual eSIMs so far21:36
malok, but even if just one physical slot is enough, would be a bit strange if physical dual-sim device would need some physical eSIM card21:37
mal*just one physical eSIM-supporting slot is enough21:37
T42<TheVancedGamer> ?21:37
T42<TheVancedGamer> single eUICC can expose two slots21:37
malhmm21:38
malI need to check a bit for example on the new jolla phone what it reports as supportedSimTypes for the slots21:38
malsince it has two physical slots21:39
mal@TheVancedGamer I don't seem to find how to check slot capabilities other than existence of eid22: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=5622: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=4622:05
malI mean in hidl22:05
malin aidl it's simple22:05
T42<TheVancedGamer> ah22:05
T42<TheVancedGamer> https://cs.android.com/android/platform/superproject/+/android-latest-release:hardware/interfaces/radio/config/1.0/IRadioConfigResponse.hal;l=3822:07
T42<TheVancedGamer> 22:07
T42<TheVancedGamer> seems to be this22:07
T42<TheVancedGamer> ah yes, radioconfig@1.2 is forced for eSIM devices22:08
T42<TheVancedGamer> seems like euicc check there is just seeing if EID is present22:08
T42<TheVancedGamer> seems like euicc check there is just seeing if EID is present in simslotstatus (edited)22:08
malyep, that was what I meant22:09
mal@TheVancedGamer that SimTypeInfo was added to aidl in android 16 so quite new thing22:26

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