We have previously looked at the possibility of using the modem AT command interface, but we need other alternatives in those cases when baseband does not present an available and proper AT command interface.
There are 3 other alternatives for reading the SIM EF / DF ( "multi RIL-client" does its access.
We’ll occasionally send you account related emails. Sign in to your account We need to be able to access the SIM card filesystem in order to work some magic while collecting relevant and necessary network data, not available from AOS API.
There may be many ways to read the file system on a SIM card.
Your i Phone can remain connected to the web as long as you’re in the range oft a Wi-Fi hotspot.
This means that you can use pop up will show up on your screen to notify you that you aren’t able to dial calls, until you don’t type the 4-digit PIN code.
So I looked into CRSM command to see how it works and what it can do. Demo: AT CRSM=176,28542,0,0,11 * read EF-LOCI CRSM: 144,0,18055A1B05F5101030FF00 * decode at GSM 11.11, 10.3.17 * 18055A1B TMSI * 05F5101030 LAI: 50501 4144 * FF current T3212 value (used on phase 1 devices only) * 00 location update status 176 is for READ Binary, 28542 is decimal representation of EF fileid 0x6F7E.
We use this command already to obtain the ciphering indicator. Other parameters should specify the record number and length of response.
We can't send APDUs to the SIM, because AT-commands like CSIM are not supported in Android.Each SIM has its own Passcode, called , which can be lifted by entering the SIM card’s PIN. However, if you type the wrong PIN more than 3 times, your SIM card is permanently locked and can be recovered only with the PUK code. However, this espouses your SIM cards info in case of thefts.If an unauthorized person gets his hand your i Phone and extracts the SIM card, you might experience a data leak, because the SIM can be used with another smarptohne, if SIM lock isn’t available.However the TE should be aware of the precedence of the GSM application commands to the TE commands. ME handles internally all SIM-ME interface locking and file selection routines.Parameters: - on a successful completion of the command previously issued it gives the requested data (hexadecimal character format).This should read Kc from file 0x6F20, doesn't work on my SIM By using this command instead of Generic SIM Access CSIM TE application has easier but more limited access to the SIM database.Set command transmits to the ME the SIM and its required parameters.We can't use STK because we can't install Java Card applets onto SIM without a key, which only the operator of the SIM has.You can only install an applet if you have a developer SIM where you know the key or if you have somehow the luck to get a SIM where you don't need the key.I was wondering if anyone knows a Android RIL implementation (and platform) that does use something other than CRSM (like CSIM, or some other type of raw SIM access).AT CSIM Command: This one is the eldest and most well-known command: some phones allow you to use one of the standard-defined-but-not-always-implemented AT command AT CSIM which let’s you to send raw APDUs (=”commands”) to the SIM-card via the modem.