Author Topic: SIM card is locked (solved)  (Read 22318 times)

laukref

  • Newbie
  • *
  • Posts: 4
    • View Profile
SIM card is locked (solved)
« on: August 01, 2020, 05:57:00 pm »
I have the last linux update but when I try to call with the Phone app it says that my SIM CARD IS LOCKED and link me to “Settings → Security & Privacy” but this entry doesn’t exist. Anybody knows how to unlock the sim card?. (I’m using an spanish phone provider).
Thanks.
« Last Edit: August 02, 2020, 05:20:59 am by laukref »

cam1965

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • http://
Re: SIM card is locked
« Reply #1 on: August 01, 2020, 06:14:29 pm »
I dont know. But maybe your sim card is configured to enter the pin code as security. Try to disable the pin code in android.
Or in  linux : /usr/share/ofono/scripts/enter-pin ( never tested  if this works, my pin code is disabled ).

laukref

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: SIM card is locked
« Reply #2 on: August 02, 2020, 05:04:43 am »
Thanks a lot cam1965,

Code: [Select]
/usr/share/ofono/scripts/enter-pin pin <pin_number>
solved the problem.

I have created a script in /home/cosmo/.config/autostart-scripts/ and added the command, in this way the SIM is unlocked when you login to KDE.