sailfish-on-dontbeevil / issues-dontbeevil

All issues related to the Sailfish OS port of the PinePhone
1 stars 1 forks source link

Cannot unlock SIM #16

Open simonschmeisser opened 4 years ago

simonschmeisser commented 4 years ago

After typing in the PIN for my SIM card it does not proceed. Nothing happens when I press the "checkmark" button. Also in the top row it says "SIM 1 | Unknown" where I guess it should show some info about the network.

Same phone and SIM work on ubports

I have most of November available (ie fulltime) to fix anything on pinephone but then I need a working phone :)

simonschmeisser commented 4 years ago

I tried unlocking via ofono-tests scripts but there also nothing seems to happen /usr/lib/ofono/test/enter-pin /quectelqmi_0 pin 1234 No error occurs, but it still says pin required:

[root@PinePhone nemo]# /usr/lib/ofono/test/list-modems                      
[ /quectelqmi_0 ]
    Online = dbus.Boolean(True, variant_level=1)
    Powered = dbus.Boolean(True, variant_level=1)
    Lockdown = dbus.Boolean(False, variant_level=1)
    Emergency = dbus.Boolean(False, variant_level=1)
    Manufacturer = QUALCOMM INCORPORATED
    Model = QUECTEL Mobile Broadband Module
    Revision = EG25GGBR07A08M2G
    Serial = **************
    SystemPath = /sys/devices/platform/soc/1c1b000.usb/usb3/3-1
    Interfaces = org.ofono.SimManager org.ofono.VoiceCallManager org.nemomobile.ofono.SimInfo 
    Features = sim 
    Type = hardware
    [ org.ofono.SimManager ]
        Present = dbus.Boolean(True, variant_level=1)
        CardIdentifier = *****************
        FixedDialing = dbus.Boolean(False, variant_level=1)
        BarredDialing = dbus.Boolean(False, variant_level=1)
        SubscriberNumbers = 
        LockedPins = pin 
        PreferredLanguages = de en 
        PinRequired = pin
        Retries = [pin = 3] [phone = 3] [firstphone = 152] [pin2 = 3] [network = 152] [netsub = 64] [service = 208] [corp = 160] [puk = 10] [firstphonepuk = 4] [puk2 = 10] [networkpuk = 100] [netsubpuk = 12] [servicepuk = 16] [corppuk = 16] 
    [ org.ofono.VoiceCallManager ]
        EmergencyNumbers = 911 112 
    [ org.nemomobile.ofono.SimInfo ]

I talked to Bhushan Shah of Plasma Mobile and he pointed me to this patch: https://github.com/ubports/ofono/commit/b102d027a00d93add88595d486172a50ba182a33

simonschmeisser commented 4 years ago

This is working with a small hack now, proper fix pending: https://git.sailfishos.org/neochapay/ofono/issues/1