I have earned Android with SEEK for Galaxy S3, and after some struggle, now I can send the APDU to the SIM card and get the correct answers.
I want to place my own applet inside the SIM card, but since we cannot access this, I begin to wonder if there is anyway the possibility of issuing a java card to work as a SIM card. All I need is a Java card, which the phone cannot distinguish from a SIM card, no network coverage is required, and I know that creating a SIM card that works with an operator and provides network coverage is almost impossible.
The reason for all this is the need to send APDUs and work with my applet, but if I insert a java card instead of a SIM card in GS3, it gives me no access at all.
So my question is: Is it possible to issue a java card so that it looks like a SIM phone (and not an operator)?
or it is possible to change the android so that it provides the necessary access when it has a java card in it, i.e. Does RIL work as usual?
EDIT
Ok, I think I’ll try to release a Java map with the following properties:
Firstly, it will have an automatically selected applet (the default applet), which from now on will be called fake-UICC.
Secondly, in fake-UICC we will emulate the UICC file system (according to http://www.in2eps.com/fo-uicc/tk-fo-uicc-mf.html ).
Thirdly, since a different class is used for SIM APDUs ( 0xA0 ), therefore, all APDUs sent from RIL will be sent to fake-UICC JCRE, since the class + command is not recognized by a regular Java card. for example, 0xA0A4 is the choice for the SIM card, but 0x00A4 is the choice command for the Java card.
At the last stage, we will try to send the exact answers that the real SIM will send to each APDU.
It may not work, but I think it's worth a try.