App Review: Calculating Your Android Calculator Options

Sure, everyone has a default Calculator and its something that you dont think about … more

MultiROM Once Again Available for the Galaxy S4

Multiboot, or the ability to select betweenmultiple operating systems on a single device at … more

Build an Impractical But Awesome Lego Mindstorm Dock

The vast majority of what we cover here on the XDA-Developers News Portal relates to … more

MultiROM Makes its Way Over to the HTC One (M8)

While browsing our forum, you will undoubtedly find more than a few enticing ROMs available … more
Post Reply

[Q] NFC Card Emulation on ICS 4.0.3

13th January 2012, 02:18 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Nov 2008
Hi,

Does anybody know if the new features introduced in ICS (Beam feature for instance) may help in the use of 'NFC card emulation' ?

Thanks,
Javier
12th February 2012, 08:42 PM   |  #2  
Junior Member
Flag Bremen
Thanks Meter: 4
 
17 posts
Join Date:Joined: Mar 2011
Donate to Me
More
This is indeed a million dollar question. I would really like to know an official answer to it.

Current research lead me to the following information:
1) Unofficial Android 2.3.4+ supports Card Emulation for Nexus S. This custom Android OS has no official Google support and the APIs may not fully work.
2) You can have card emulation using Inside's Open NFC Stack 4.3.3 for ICS. I checked the website, and the documentation, live working examples were very weak/almost non-existant. Inside attemps to compete with NXP. With such a website, I see failure for Inside.

I also do not fully understand the hype around NFC if the most important feature - Card Emulation - is not functional.

Some companies, such as Assa Abloy have implement mobile keys based on NFC. I do not know whether they used custom-hacked phones to act as card-emulated phones.

Please share any additional info you find on this topic!

A plain reader/writer can't do much in my opinion. In order for interesting applications such as mobile payments, mobile keys etc to work, card emulation should be enabled.
15th February 2012, 07:31 AM   |  #3  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Mar 2011
Any news on this topic?

// Offtopic

Another question is whether the Galaxy Nexus supports the single-wire protocol or not? Particularly, is the SIM card physically connected to the NFC controller?

Cheers,
koRn
Last edited by korn2k; 16th February 2012 at 09:49 AM.
20th February 2012, 04:50 PM   |  #4  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Feb 2012
NFC UID on Nexus S with ICS 4.0.3
Hi there,

I am using a Samsug Google Nexus S (I9023) with ICS v4.0.3

Does anyone know how can i get a Unique Identifier (UID) in my card emulation application (Mifare 1K) instead of the Random Identifier (RID) ?

I can't use NFC in my company access control if the Identifier is never the same...

Is there any form to pass trough this?

Is this one intentional leak on google official API?
15th April 2012, 05:04 PM   |  #5  
Junior Member
Flag Bremen
Thanks Meter: 4
 
17 posts
Join Date:Joined: Mar 2011
Donate to Me
More
It appears that nobody has yet performed card-emulation on the Nexus S running ICS 4.0.x.

Update:
I tried it myself, and obtained limited functionality. I was also not able to read the ID of the emulated card when the phone was off. (that somehow defies the purpose of card emulation.)

UPDATE (05.05.2012):
I managed to force the ID of the secure element to be fixed. The phone can now be read by an NFC reader even when the phone is off. The Nexus S' NFC antenna (found on the back cover, under a black coating) is powered by the RF field generated by the reader and the embedded SE can be read by the external reader.

If anybody is still interested in the above subject, I will post my steps and compiled sources.
Last edited by shailentj; 5th May 2012 at 10:43 PM.
4th May 2012, 09:14 AM   |  #6  
Junior Member
Flag Bremen
Thanks Meter: 4
 
17 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by marco-f.nunes

Does anyone know how can i get a Unique Identifier (UID) in my card emulation application (Mifare 1K) instead of the Random Identifier (RID) ?

Yes, with the hacked Gingerbread OS provided by M0rtadelo (you have to compile from source - nasty procedure, requires good knowledge and confidence with Linux) or by softy007 (search his blog for the compiled binaries), you will be able to have card-emulation working. It is for experimental purposes only. The UID will be fixed, but you cannot do much from there.
Quote:
Originally Posted by marco-f.nunes

I can't use NFC in my company access control if the Identifier is never the same...

Card emulation is too much in its infancy to be able to do what you want right now. You may do some research on SEEK for Android. I don't know about your company, but the latter might not like a hacked android phone due to security issues.
Quote:
Originally Posted by marco-f.nunes

Is this one intentional leak on google official API?

Yes, this is intentional. Nick Pelly and Jeff Hamilton officially state so on the official Google IO 2011 presentation. (http://www.google.com/events/io/2011...ow-to-nfc.html)
11th May 2012, 09:55 AM   |  #7  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: May 2012
Hi shailentj,

I'm really interested in this post. Currently, I'm doing the same thing that marco-f.nunes wants to do.

I would like to emulate all the Galaxy Nexus of my company to allow them to open every locked doors. Thus, I just want to emulate a passive NFC tag (through an app for now) [EDIT: but it's just a POC!]

Quote:
Originally Posted by shailentj

If anybody is still interested in the above subject, I will post my steps and compiled sources.

So, I would be really interested and grateful if you could post it!

Thanks.
Last edited by drummaniac; 11th May 2012 at 10:09 AM.
15th May 2012, 08:40 AM   |  #8  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: May 2012
Smile Software Developer
Hi Shailentj,

I am trying to develop a NFC application to read the nfc tag, this works fine on emulator, but not working on device/phone.

Please do advice me the steps that help me to read nfc tag through the phone. the app is also having other non nfc model along with it. all others models are working fine expect the nfc part.

Please do help me. also please provide me the steps that you performed and also the compiled source.

Thanks and Regards
Srikanth k


Quote:
Originally Posted by shailentj

It appears that nobody has yet performed card-emulation on the Nexus S running ICS 4.0.x.

Update:
I tried it myself, and obtained limited functionality. I was also not able to read the ID of the emulated card when the phone was off. (that somehow defies the purpose of card emulation.)

UPDATE (05.05.2012):
I managed to force the ID of the secure element to be fixed. The phone can now be read by an NFC reader even when the phone is off. The Nexus S' NFC antenna (found on the back cover, under a black coating) is powered by the RF field generated by the reader and the embedded SE can be read by the external reader.

If anybody is still interested in the above subject, I will post my steps and compiled sources.

17th May 2012, 06:31 PM   |  #9  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: May 2008
I there, been watching this subject for a while ago and things are going slower then we'd like...'cause everyone wants card emulation to work so that you can just forget your card at home and then pull out your phone and still go to work without calling a mate to open up the door for you.

There's still nothing done, pretty and nifty but it seems there are quite a few solutions to turn up...recently i checked this:
hxxps://play.google.com/store/apps/details?id=at.mroland.android.apps.nfctaginfo
which reads all of my MIFARE 1k cards and pulls out a lot information, but it still as a problem to get the KEYs, of course...the sectors are encrypted...but the above app let's you force the keys A and B to use to read all sectors...you just need to crack A and B KEYs.

So i think, dispite the phone beeing able or not to emulate a tag...i think there's still the problem of getting the keys...so it can truelly emulate the tag, am i correct fellows? 'cause i didn't see anyone talking about this...and it's clear for me...

MIFARE Classic algorithm was hacked some years ago that's not the problem, we can get the keys, proof of concept was people got transportation cards cloned (Oysters for ex.)...but to do so they needed to clone the cards, and for that they had to hack MIFARE Classic algorithm...

Still with me?! Bottom line...maybe i'm getting all wrong...so without getting the KEYs of the card (hacking it!) you won't be able to emulate it with your phone...
17th May 2012, 10:46 PM   |  #10  
vetvito's Avatar
Senior Member
Thanks Meter: 179
 
3,133 posts
Join Date:Joined: Dec 2007
More
Correct, a lot of work cards, gate cards, etc have proprietary software and codes. So getting the keys from the card is a huge issue, and a security issue.

Sent from my Nexus S using Tapatalk 2

Post Reply Subscribe to Thread

Tags
card emulation, ics, nfc
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes