-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SW match failed! Expected 9000 and got 6982 #1
Comments
I believe your ADM pin is wrong. It should be only digits. Please check the ADM1 pin provided to you by sysmocom |
Hi |
Hmm, so you are saying that the SIM ADMI1 key is ADM11111 ?? Also, can you post the full error you get when you attempt to program using pySIM?? |
Yes we received the ADM pin as ADM11111. We verified the same using verify_adm I tried with a random ADM just to check. But got an 6983 "Authentication Method Blocked" pySIM-shell (MF)> verify_adm 88888888 We then proceeded to program the SIM using the below commands and parameters but got 6982 error. ./pySim-prog.py -p 0 -t sysmoUSIM-SJS1 --mcc=234 --mnc=015 --iccid=89010020000005348007 --imsi=234015555020000 --msisdn=+12800520000 -a ADM11111 pySim.exceptions.SwMatchError: SW match failed! Expected 9000 and got 6982. |
root@reeturaj--ubuntu:/home/reeturaj/SIM_CARD/pyscard-2.0.7/pysim# ./pySim-prog.py -p 0 -t sysmoUSIM-SJS1 --mcc=234 --mnc=015 --iccid=89010020000005348007 --imsi=234015555020000 --msisdn=+12800520000 -a ADM11111
Card programming failed with an exception: During handling of the above exception, another exception occurred: Traceback (most recent call last): Programming failed: Remove card from reader |
Any SIM PIN, including the ADM PIN is a strictly numeric value. This is true in general for all UICC/SIM/USIM cards. There is simply no way how to encode characters...
--
Sent from a mobile device. Please excuse my brevity.
|
I had received the below Secret codes. All are numeric except the ADM PIN. Is there any other security parameter that needs to be passed while programing the Cards? |
@ReeturajBhuyan As @laf0rge (Harald from Sysmocom) mentioned ADM PIN cannot be anything other than digits so I would suggest to re-check ADM1 key. |
Thank you so much @laf0rge @herlesupreeth for the support. |
Hello,
I am trying to program a SIM Card using pySim. But I am getting this below error
pySim.exceptions.SwMatchError: SW match failed! Expected 9000 and got 6982
I guess this error basically means "Security condition not satisfied.” I am passing the below parameters in the prog command.
IMSI 234015555020000
MSISDN 12800520000
mcc 234
mnc 015
AMDPIN ADM11111
./pySim-prog.py -p 0 -t sysmoUSIM-SJS1 --mcc=234 --mnc=015 --iccid=89010020000005348007 --imsi=234015555020000 --msisdn=+12800520000 -a ADM11111
Is there any other parameter that needs to be added or mandatory which is not included.
The text was updated successfully, but these errors were encountered: