Virtualize a physical SIM Card to a Android phone - android

I carry two phones around with me all the time.
Is there a way I can virtualize my second SIM card to my Android phone?
When I virtualize, my first SIM card is still plugged into my Android phone but my second SIM card is no longer plugged into any phones, but it is virtualized on my Android phone.
When I get call or messages from my second SIM, my Android phone will receive it cause my second SIM card is virtual.
So is there any solution available out there like that?

In, short no. Even if you can clone the card, related functionality is the baseband software (AKA radio firmware, etc.) and proprietary Android drivers, so you can't modify them to use your virtual card. You might be able to find a phone that has two SIM slots, but I haven't heard of one with Android.

The virtualization might require to copy the SIM card which is very hard to do.
And right now this technique is kind of tricky, you can look into this scholar article Virtualisation of a SIM-Card using Trusted Computing

Related

SIM Card Mobile Application Pre Load

Not directly a code related question, though I think this is the right place to ask.
Does anyone know, if so how and which requirements are needed, if it's possible to pre-load an IOS application and/or Android application on a Sim card. After which a user sticks it in their phone and loads them onto the device.
I know it used to be possible with old Nokia phones where the telecom provider loaded an app on the sim card, though not sure how this would work security wise for the current iOS and Android.
If someone could push me in the right direction, it would be well appreciated.
If it's not possible, does anyone know of an alternative solution?
There is no way to access data from the sim card using the iOS SDK apparently, so this would not be possible even if you could fit an app or url to the apps webpage on the sim card.
https://stackoverflow.com/a/15380308/1219956
as for android you can access some info from the sim card, but probably not arbitrary data written to it (which im not even sure how you would get onto the sim in the first place)
How to read Sim raw data on Android?
It's possible, as some network carriers trigger automatic installation of certain apps such as for subscription management. I noticed this when an app from my carrier appeared on my unbranded Android phone, shortly after I inserted my carrier's SIM card.
Most SIM cards support the Java Card platform for this purpose. How exactly a phone OS would interface with this to trigger app installations, I'm not sure, and might be vendor-dependent.
You can find some more information in a DEFCON talk slideset, "The Secret Life of SIM Cards". You should also look up the page on UICC Carrier Privileges in Android documentation.

Is it possible to create image of sim card and use it on Android phone?

I have a android phone and want to have two sim cards active at a time. But my phone does not support dual sims.
I was wondering whether it is possible to create a program that will copy the sim card on phone memory and simulate to phone as if there is real sim card. In this way we can have virtually any number of sim cards plugged into any phone.
I have following queries before I start programming any of such thing
Is this possible ?
I googled about inner working on SIM card I found out that the communication between antenna and mobile happens using some serial number generated by SIM and this serial is matched with the signal from antenna. Anyone has good links to understand the working on SIM cards?
Where do I start with? I have little understanding of GSM protocol. Do I need to know about GSM?
SIM card cloning is technically possible, yet even if you manage to have your SIM card copied you will not be able to write a program to simulate SIM card, as SIM card is handled in hardware and your app will not have access to that hardware. Also it is not just a matter of having 2nd SIM. Dual phones require different hardware approach, different logic in the system logic and firmware etc, etc. So unfortunately "Look for real dual phone" is the much cheaper approach here.
The SIM card reading and managing is not part of android software stack. This is part of Protocol stack which is run on a separate processor.
So this will not be possible. So even if you root a device to give android the SIM values, the Communication Processor that does protocol handling will not have updated values

Android NFC card emulation / use phone as card

I'm searching for a way to send specific commands from my phone to a reader.
I have already read that card emulation is not supported on android due to securtiy reasons, but it is possible via a firmware patch for android 2.3.4 on the Nexus S.
My main question is, do I really need card emulation to send defined APDUs to the reader and to recieve the answer APDUs or is there any other posibility maybe by misusing android Beam?
If I need to use card emulation are there any new insights?
The last posts, few posts I found are nearly one year old...
As adiditional information in the end I will not have any control over the reader.
Thanks for answering and on any new insights on card emulation.
It's possible in Android KitKat 4.4.
Check out this link, more information will be added soon I belive.
http://developer.android.com/guide/topics/connectivity/nfc/hce.html
What you are trying to achieve is somewhat candid. The reason smart cards are being used in NFC is because the NFC protocol is built in such a way that it is not possible to know the correct response in advance. There is always a secret involved, and you can't just guess it. Otherwise there would be a major security flaw in all the systems using contactless smartcards (building access control,
You can't just spy on the protocol, save the exchanges, and replicate them in some software, on most applications this will fail. There will be some random value at some stage, and some crypto computation to perform.
In order to emulate a card with the phone, you need a secure element (smartcard chip on the phone or the SIM card in your phone), and you need the NFC chip in your phone to route card emulation APDUs to this secure element (this is probably what the patch you are referring to is doing).
There are ways to do card emulation in an Android application, but I suspect this will require substantial patching, and you will not have predictible response time, so your reader might not like it. Also this will prevent card emulation from working when your phone is off (battery delpleted for instance).

How to simulate a SIM card for android

I do not have a real android device. I completely depend on emulator. So, for the sim contacts, changing sim cards and other purposes regarding sim, i want a simulator for SIM. I didn't find any thing regarding this in our default emulator. Can anyone please help me with any idea on this and any links to third party SIM simulators for android emulator. Thank you in advance..
May this help you:
Buddy in Document it is said that Emulators are supported with simulated SimCard..
"A GSM modem, including a simulated SIM Card" More Information
And There are some patches available which allows sim card support in emulator using standard USB PCSC reader...
Here are some links which may guide you through..
http://simhacks.github.io/android-emulator/
http://blog.codepainters.com/2010/11/20/android-emulator-patch-for-configurable-imei-imsi-and-sim-card-serial-number/
I had a similar problem in which I needed to obtain contacts from my SIM to test with my application. Furthermore to my understanding the only solution I resulted in was buying an android mobile and performed tests using that as I could not find such a SIM emulator.

Testing on Android Hardware without a SIM Card

I'm trying to test an application on an actual Android device (the main reason is to test the Bluetooth functionality, which the emulator cannot help with :( ). To help with my endeavor, I'm thinking about buying an Unlocked HTC G1 from eBay. My question is will I be able to use the unlocked phone without any SIM card at all? Ideally, I'd like to be able to use wi-fi and other native apps, but my main focus would be to test my application, without having a SIM card.
If there are any better phones, or alternative strategies that I should employ, I'd be grateful to hear about them.
Thanks in advance!
I develop Android games and have Google's ADP 1 (G1) and Nexus One, both SIM unlocked and regularly used without SIM, not problems at all. Also the former is rooted, while the N1 is not.
I have a G2 without a SIM card that I use for testing, works perfectly, the difference is you wont see some apps in the market. You can either buy an unlocked phone or get a lock one and unlock it for under 10$ on ebay.
you won't have any problems no android phone that I know of requires service to use. I test with my G1 all the time with no sim in it.

Categories

Resources