[Discussion] Google wallet on all NFC devices. - NFC Hacking

Does anyone know why there are only eight devices (seven phones and the Nexus 7) that support Google wallet? Shouldn't any phone with NFC be able to support the ability to pay anywhere? I really wish there was a way to contact Google about this, I want to know why my HTC One X isn't supported by Google Wallet. It isn't even the AT&T one, so it can't be AT&T requesting it doesn't work. Thoughts?

I'm guessing NFC Secure Element.

Secure Element
j2cool2012 said:
I'm guessing NFC Secure Element.
Click to expand...
Click to collapse
That's probably correct. Having the keys to the secure element gives you control over what goes in there. Google (via First Data) controls the keys to their hardware secure element (attached to the NFC controller, as opposed to a SIM/UICC secure element attached to the baseband controller). This means they don't need carrier approval to push payment applets to their secure element (the carriers only control the keys to the SIM/UICC SE).

I thought that this new update didn't need the secure element because of the cloud wallet stuff.
Sent from my HTC One X

mibikin said:
I thought that this new update didn't need the secure element because of the cloud wallet stuff.
Sent from my HTC One X
Click to expand...
Click to collapse
The secure element is still necessary for card emulation. The SE connects directly to the NFC controller and allows the device to "emulate" a payment card. Also, there is one CC # for all of your credit cards in the "cloud" Google Wallet. That number is transmitted via NFC to the PoS terminal, and then Google magically knows which of your credit cards to charge.

__multiplex said:
The secure element is still necessary for card emulation. The SE connects directly to the NFC controller and allows the device to "emulate" a payment card. Also, there is one CC # for all of your credit cards in the "cloud" Google Wallet. That number is transmitted via NFC to the PoS terminal, and then Google magically knows which of your credit cards to charge.
Click to expand...
Click to collapse
So what about those SD cards that come with NFC?
In theory if they were to be deployed in the market, they could not use Google Wallet, due to the "secure element" missing?
I dont see many uses to NFC but this and data sharing. If you cut half of the "important" uses, the technology is kinda DOA?

mibikin said:
Does anyone know why there are only eight devices (seven phones and the Nexus 7) that support Google wallet? Shouldn't any phone with NFC be able to support the ability to pay anywhere? I really wish there was a way to contact Google about this, I want to know why my HTC One X isn't supported by Google Wallet. It isn't even the AT&T one, so it can't be AT&T requesting it doesn't work. Thoughts?
Click to expand...
Click to collapse
You can Install and use Google Wallet on any phone with my original guide here! http://forum.xda-developers.com/showthread.php?t=1810282 Best of luck.

HeroKhar said:
You can Install and use Google Wallet on any phone with my original guide here! http://forum.xda-developers.com/showthread.php?t=1810282 Best of luck.
Click to expand...
Click to collapse
I thanked you, but I haven't rooted my One X yet, so I couldn't actually try this. Thanks for the response though.
Sent from my HTC One X

Shadow89 said:
So what about those SD cards that come with NFC?
In theory if they were to be deployed in the market, they could not use Google Wallet, due to the "secure element" missing?
I dont see many uses to NFC but this and data sharing. If you cut half of the "important" uses, the technology is kinda DOA?
Click to expand...
Click to collapse
The SD cards are an NFC antenna, secure element, and some standard storage, all wrapped into one. See: (apparently I can't post links, but look around for IN2PAY_MICROSD_V2.1.pdf)
I still think the Google Wallet issue comes down to who has the keys to the Secure Element. Google needs to load one card into the SE to do card emulation. I could be wrong here, but I'm assuming that if they don't have the keys (or permission from whoever has they keys), they can't load their initial card in there and Wallet can't be installed on the device.

mibikin said:
I thanked you, but I haven't rooted my One X yet, so I couldn't actually try this. Thanks for the response though.
Sent from my HTC One X
Click to expand...
Click to collapse
Haha, anytime I glad I could help you! Thanks for the +Thanks also, I greatly appreciate it!
Sent from my Xoom using XDA Premium HD app

HeroKhar said:
You can Install and use Google Wallet on any phone with my original guide here! http://forum.xda-developers.com/showthread.php?t=1810282 Best of luck.
Click to expand...
Click to collapse
Sadly, it doesnt't work on all devices. Since The att One X is missing the secure library files needed to run Google Wallet, it stays stuck on the activating account screen...trust me, I have tried 4 different methods and none have worked...

HTCFAN0923 said:
Sadly, it doesnt't work on all devices. Since The att One X is missing the secure library files needed to run Google Wallet, it stays stuck on the activating account screen...trust me, I have tried 4 different methods and none have worked...
Click to expand...
Click to collapse
Oh Okay, thatnks for the reply! I can add that to my Guide! +Thanked you too

HTCFAN0923 said:
Sadly, it doesnt't work on all devices. Since The att One X is missing the secure library files needed to run Google Wallet, it stays stuck on the activating account screen...trust me, I have tried 4 different methods and none have worked...
Click to expand...
Click to collapse
That isn't my issue. I have the international One X, not the AT&T one.
Sent from my HTC One X

what are the chances of getting a secured element emulator?

waiters said:
what are the chances of getting a secured element emulator?
Click to expand...
Click to collapse
Very little unfortunately :'(
Sent from my Xoom using xda app-developers app

HeroKhar said:
Very little unfortunately :'(
Sent from my Xoom using xda app-developers app
Click to expand...
Click to collapse
Someone had a patch to emulate a secure element ( http://forum.xda-developers.com/showthread.php?t=1832499 )- the problem is we cannot emulate the secure element *as programmed by Google*, which Wallet expects.
The problem is:
To use the SE of devices that support GW, you need Google's keys
To use Google's SE cardlets on a device, the SE must be programmed with the correct keys

Entropy512 said:
Someone had a patch to emulate a secure element ( http://forum.xda-developers.com/showthread.php?t=1832499 )- the problem is we cannot emulate the secure element *as programmed by Google*, which Wallet expects.
The problem is:
To use the SE of devices that support GW, you need Google's keys
To use Google's SE cardlets on a device, the SE must be programmed with the correct keys
Click to expand...
Click to collapse
Exactly, Google DOESN'T want Wallet on other devices and variants, but there may be a Dev who can extract the keys from a compatible device...
Sent from my Nexus S using xda app-developers app

Is Google doesn't want it on all android devices and will try to keep it to Google branded phones only, it will fail.
Soon ios will have the passbook, carriers will have isis, and Google will have Wallet but only on 3 devices??
Sent from my SAMSUNG-SGH-I747 using xda premium

I want Google Wallet on my S3... Google should create or addapt Google Wallet forma all devices...
Enviado desde Tapatalk 2

I'm trying to create a method to get wallet working on the htc incredible 4g on verizon. But it gets stuck on the adding account screen. What exactly is the secure element? Is there any way to get it on a phone that's missing it? Is there anything I can do? Thanks

Related

Tasker/Locale NFC Plugin

I just purchased this plugin to use with Tasker:
https://play.google.com/store/apps/....&purchaseButton=9yzEcX63VIYisA_oRMh13HqYUXs=
Seems to work ok, but ever time it scans my NFC tag it pops up a dialogue asking if I want to "Activate NFC condition" or "New tag collected". I just want it to kick off the action in Tasker without any dialogue. Anyone have experience with this plugin, or should I use something else?
Nevermind... got it working with NFC ReTAG FREE. Works great! Don't mess with the app I posted a link to above, it's a pain to use.
Glad you like NFC ReTag ;-)
For any questions: http://forum.xda-developers.com/showthread.php?t=1477138
kimboinatl said:
I just purchased this plugin to use with Tasker:
https://play.google.com/store/apps/....&purchaseButton=9yzEcX63VIYisA_oRMh13HqYUXs=
Seems to work ok, but ever time it scans my NFC tag it pops up a dialogue asking if I want to "Activate NFC condition" or "New tag collected". I just want it to kick off the action in Tasker without any dialogue. Anyone have experience with this plugin, or should I use something else?
Click to expand...
Click to collapse
Hi kimboinatl!
I'm the developer of the NFC plugin for Locale. The reason why this chooser pops-up is because there are multiple apps on your phone that can handle the NFC-tag that was scanned.
This can be solved by either disabling the other apps that the NFC scan action can choose from or you can create a unique tag following this guide.
I'm glad that you have been able to solve your needs with NFC ReTAG.
May I ask what it is that makes it a pain to use ? The feedback is greatly appreciated so that I might make it more pain free for other users.
Kind Regards
m3llon
m3llon said:
Hi kimboinatl!
I'm the developer of the NFC plugin for Locale. The reason why this chooser pops-up is because there are multiple apps on your phone that can handle the NFC-tag that was scanned.
This can be solved by either disabling the other apps that the NFC scan action can choose from or you can create a unique tag following this guide.
I'm glad that you have been able to solve your needs with NFC ReTAG.
May I ask what it is that makes it a pain to use ? The feedback is greatly appreciated so that I might make it more pain free for other users.
Kind Regards
m3llon
Click to expand...
Click to collapse
Hey m3llon,
I think the the problem was getting rid of the popup. Typically when there are multiple apps that can be launched from an action my phone gives me the option to select a default, but I couldn't do it in this case. I spent a while trying to figure out how to disable the popup, or if there was another app that was causing this, and had no luck, so I ended up uninstalling it. If there was a way to specify what the default action was I probably would have kept the plugin. Sorry if my feedback sounded a bit harsh, I was just grumpy after not being able to get it to work the way I wanted it to. Thanks for checking in with me about it, I appreciate the work you have put into it.
kimboinatl said:
Hey m3llon,
I think the the problem was getting rid of the popup. Typically when there are multiple apps that can be launched from an action my phone gives me the option to select a default, but I couldn't do it in this case. I spent a while trying to figure out how to disable the popup, or if there was another app that was causing this, and had no luck, so I ended up uninstalling it. If there was a way to specify what the default action was I probably would have kept the plugin. Sorry if my feedback sounded a bit harsh, I was just grumpy after not being able to get it to work the way I wanted it to. Thanks for checking in with me about it, I appreciate the work you have put into it.
Click to expand...
Click to collapse
Ok thanks for explaining what the neusens was. That have been fixed in the last update together with the workarounds that's linked in the app description.
Good luck with your future NFC endeavours
Sent from my Galaxy Nexus using Tapatalk 2
Just in case anyone else has issues with the popup, I find that using non-formatted tags doesn't produce a popup. Once the tag is formatted, or if you buy them preformatted, it doesn't look like it can be UNformatted though (wiped, yes.. but not unformatted)
When I first got my GS3 and started scanning everything possible, I found that some tags would produce the popup discussed (despite having no other nfc apps installed), and others wouldn't.. I ended up realising that unformatted tags don't produce the popup.
I ended up using the Tasker/Locale NFC Plugin as I didn't want something else running all the time when I had Tasker for that - and since the plugin uses the serial number (or what I assume is a serial number - it's different on each tag) rather than what's written on the tag itself, there's no need to format it - Same would apply with NFC ReTAG.
So as long as any tags are unformatted, you should be good to go.
So I bought the plugin and wrote the bad://access/developer URL to one of my tags. I scan it and Locale reacts accordingly.
But then what? Locale is in that situation forever.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Trinition said:
So I bought the plugin and wrote the bad://access/developer URL to one of my tags. I scan it and Locale reacts accordingly.
But then what? Locale is in that situation forever.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Yes, you will have to scan another tag to exit the situation.
For using Tasker with NFC Tags I like Tasker URL Launcher the best. Once installed you simply write a short URL that ends with the name of your Tasker Task to a tag then anytime you tap that tag it intiates that Tasker Task.
I did at one time have issues with those pop-ups (new tag collected) and through much searching found that I needed to disable a system app on my Galaxy S3 called "Tags". It wasn't there on ICS, but was after the update to Jelly Bean so not sure if it's something Android added into JB and not sure why they would or what it's purpose is, but disabling it fixed the annoying pop-up issue and has had no affect on reading/writing tags with various apps.
Kaibosh said:
Just in case anyone else has issues with the popup, I find that using non-formatted tags doesn't produce a popup. Once the tag is formatted, or if you buy them preformatted, it doesn't look like it can be UNformatted though (wiped, yes.. but not unformatted)
So as long as any tags are unformatted, you should be good to go.
Click to expand...
Click to collapse
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
dragon_76 said:
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
Click to expand...
Click to collapse
Thanks for that.. That definitely wasn't the case when I wrote the post as I'd tried with numerous apps (including NFC Tagwriter, which is also my go to app for writing) and using the Clear option left the tag wiped, but did not leave it in the same state as prior to formatting.
Also, the developer of the app implemented a direct url that could be written to the tags so that only this app is launched - so the need for unformatted tags (when using this app at least) is somewhat moot.
I have this app and I must say it makes building tasks extremely tedious.
If you want to scan the same tag twice, you have to put an action in your task to disable the first task after the first one is done and then put a disable of the task you are running in the second task.
Also, both need to run as exit tasks.
It would have helped if the dev used some better logic and came up with exit tasks on repetitive scan
Sent from my DROID RAZR MAXX HD
dragon_76 said:
They can be unformatted. Using NFC TagWriter by NXP (which I LOVE), you choose Tools > Clean. This resets the tag to factory default (unformatted). NXP manufactures the Xperia tags, they make nice products.
Click to expand...
Click to collapse
You can also use the app StartNFC Expert to "unformat" a tag. It's a great simple app for formatting/unformatting and testing tags and seeing what types they are etc.
It's extremely disappointing they the developer has completely abandoned this plugin.
Solution
Hello !
A solution I found to avoid this popup :
- Scan a tag (popup appears)
- Long press on the unwanted app
- Choose disable
- Enjoy the plugin
You can also go to your apps list and search "tags" and disable it
Hopefully pent does something with NFC in the next version of Tasker so we can be rid of this unsupported plugin.
Sent from my Nexus 7 using Tapatalk
Hoping someone is still using this plugin and can answer my question...
Do I have to have two tags if I want an on / off tasks? For example, I have hue lights and I would like to turn off the bedroom light on / off with the same NFC tag but not sure if that is possible
No.. Just use the check box for repetitive scan
Ignore: Haha I accidentally posted in the wrong thread.

Use Android Phone as NFC Tag?

Hello there,
is it possible to use my HTC One X as an NFC Tag?
My goal is to scan a normal NFC Tag (1k) with my phone and store the informations. And then I'll provide this informations with my phone, so an other NFC Reader can read the informations stored on my phone.
Greetz
It is possible as the NXP chip most likely used by the HTC (and known to be in Nexus S/galaxy) can be put into card emulation mode but the current kernel does not support it. There has been at least one user that has gotten it to work on the Nexus S.
Nightskill said:
Hello there,
is it possible to use my HTC One X as an NFC Tag?
My goal is to scan a normal NFC Tag (1k) with my phone and store the informations. And then I'll provide this informations with my phone, so an other NFC Reader can read the informations stored on my phone.
Greetz
Click to expand...
Click to collapse
Hi i believe NFC ReTag will do the trick , or at Least NFC TagReader , can also be use as ask … but that will depend on what you will store in … as you didn’t say it ican’r help you more at this stage.
hope that help
Nightskill said:
Hello there,
is it possible to use my HTC One X as an NFC Tag?
My goal is to scan a normal NFC Tag (1k) with my phone and store the informations. And then I'll provide this informations with my phone, so an other NFC Reader can read the informations stored on my phone.
Greetz
Click to expand...
Click to collapse
I'd really like to do the same thing.. but haven't had any success in finding a way to do that. I would personally love to scan my work badge and use my phone instead of my badge which I commonly leave at home. It would also be great for hotels where I commonly lose my hotel key and could instead use my phone.
Any advice on these being a possibility. Any additional information I need to provide. I personally have the HTC EVO 4G LTE and my wife has the Nexus S 4G that I could use.
card emulation
try NFClassic.apk its in the android market, i cannot confirm it works but it appears to and i will test it tomorrow, it recognises my work card it picks up 2 tags, one will be door access and the other is canteen credit, (the app doesnt tell you this, but i know there 2 parts to the card, as i recently cancelled a card then found it, and can no longer access doors with it, but can still use it in the canteen) anyway the app reads the card and asks if you want to save the info, save it, the you will see it under saved tags click the tag, and click share tag, it then appears to emulate the tag as a card so it can be read by a nfc card reader, but i dont have a reader to confirm this, but i will try it tomorrow night at work to see if the doors accept it, ill let you know my results
and if anyone else know of any apps that can definatley emulate cards on galaxy s 3 let me know ! the more software i can try at work the more likely ill find one that works, i only got my s3 yesterday and have been of work so havnt tested any app, but NFClassic is the only one that appears to emulate my card.
note the app cannot write cards, only has options to write contact to card but when tried it force closes. i would definatly like to be able to write to card if at all possible ( free lunch copy card when it has credit , when run out of credit, re-write info = credit again its gotta be possible somehow ! )
okz19 said:
try NFClassic.apk its in the android market, i cannot confirm it works but it appears to and i will test it tomorrow, it recognises my work card it picks up 2 tags, one will be door access and the other is canteen credit, (the app doesnt tell you this, but i know there 2 parts to the card, as i recently cancelled a card then found it, and can no longer access doors with it, but can still use it in the canteen) anyway the app reads the card and asks if you want to save the info, save it, the you will see it under saved tags click the tag, and click share tag, it then appears to emulate the tag as a card so it can be read by a nfc card reader, but i dont have a reader to confirm this, but i will try it tomorrow night at work to see if the doors accept it, ill let you know my results
and if anyone else know of any apps that can definatley emulate cards on galaxy s 3 let me know ! the more software i can try at work the more likely ill find one that works, i only got my s3 yesterday and have been of work so havnt tested any app, but NFClassic is the only one that appears to emulate my card.
note the app cannot write cards, only has options to write contact to card but when tried it force closes. i would definatly like to be able to write to card if at all possible ( free lunch copy card when it has credit , when run out of credit, re-write info = credit again its gotta be possible somehow ! )
Click to expand...
Click to collapse
You can try, but it's probably not going to work.
Bardamuz said:
Hi i believe NFC ReTag will do the trick , or at Least NFC TagReader , can also be use as ask … but that will depend on what you will store in … as you didn’t say it ican’r help you more at this stage.
hope that help
Click to expand...
Click to collapse
NFC ReTag can´t do that ... but a lot of other cool stuff
I tried nfclassic and that didn't work I'm also looking for NFC card emulation
I'm not sure about other phones but Evo4GLTE's have Android beam that should do what is wanted
This didn't even occur to me til I saw this thread. I will be trying with my work badge since I occasionally forget mine as well...
I am still deciding between getting the S3 and the EVO 4G LTE. Leaning towards evo... but haven't played with the s3 yet.
I don't have your HTC, although there's documented info for the nexus s where devs were successful in emulating mifare most of the code is still on dev android. Its not full reigns of emulation but depending on your level of tech you can do some pretty cool stuff. I don't know how far this has gone but I remember people getting some functionality on new galaxy. Check out the link.
http://techshek4u.blogspot.com/2012/01/applying-card-emulation-patch-to_03.html
How does google wallet do it? Doesn't that emulate a secure card?
Sent from my GT-I9300 using xda premium
Zanith said:
How does google wallet do it? Doesn't that emulate a secure card?
Click to expand...
Click to collapse
I was thinking the same thing!
The most "advanced" operations that i was able to do with the Galaxy Nexus were saving actions with differents cards. But that's all.
By the way, i use NFC ReTag to achieve it.
What I was just referring to was emulation how I perceived the op was looking for. Example you use a card at work to open a door and wanted to emulate that so you could use your phone instead. However with gwallet or say paywave then you'd need to have the secure key which obviously wouldn't just be given out otherwise you would be able to emulate anyone's card. Hence the secure element. Then it would be ridiculously insecure. Ex. If I took a friends paywave and was able to emulate it then now I in theory just stole their credit card . It's also why gwallet won't work without a secure element like on my sgs2.
Sent from my SGH-I777 using xda premium
WOW interesting topic
Nizda1 said:
I don't have your HTC, although there's documented info for the nexus s where devs were successful in emulating mifare most of the code is still on dev android. Its not full reigns of emulation but depending on your level of tech you can do some pretty cool stuff. I don't know how far this has gone but I remember people getting some functionality on new galaxy. Check out the link.
http://techshek4u.blogspot.com/2012/01/applying-card-emulation-patch-to_03.html
Click to expand...
Click to collapse
anyone trythis
ive seen the video after flashing and kinda dissapointed
bcos they cannot prove that nexus s can be the nfc tag anyway they donk have the reader too to test it
Hmmm...
Hey guys.. i went searching in the marketplace for an app that does just that (emulate a RFID)...
And... I FOUND ONE!It's called NFC Classic Tag Reader
It was able to read my cards and apparently emulate it but i have no idea if it works cause my door does not detect it... and i have no other NFC devices...
I'm using a SHS-5120 door lock... and that only registers the serial no of the tags programmed and allows only those to enter...
Read on the comments that ICS users are not getting it to work but previous 2.3.3 user reviewed that it was working like a charm...
Oh and i'm using a S3... which of course is ICS...
I reckoned Google Wallet will store something into the mobile NFC chip. Make the phone like a RFID card or tag.
I also noticed some Korean telecom operators has their apps integrated on the Android phones which have the Membership card, Voucher, Credit card etc. functionality. That means the NFC enabled phone can be acted as RFID card or tag.
Is there anyone know where we can find the source code sample from Google development website we could look into this kind of project?
We have HID sensors on doors at work as well as a clocking in system and both use different cards so I'm going to have a go with them on Monday with my SGS3.
SimonCraddock said:
We have HID sensors on doors at work as well as a clocking in system and both use different cards so I'm going to have a go with them on Monday with my SGS3.
Click to expand...
Click to collapse
any luck with doors?
Anyone any luck with being able to push/publish his phone as a card? Like for instance with doors?
We have Mifare Classic cards which open doors, reading the card isn't a problem, but being able to emulate your phone as a card has proven to be more difficult..
How does one turn his phone into 'beacon mode' (being able to receive the door's power boost and return card info) ?

Copying NFC tags?

Is there some way to copy one RFID NFC tag to another blank NFC tag with the SGS3?. I have 2 active NFC tags that I would like to mess around with and see if I can actually copy them and get the same access as my authentic ones offers.
So down to the question. Is it possible to copy the entire contents of an NFC chip and write it to another one with an app, and in that case which one?
bump* I'd like to know as well
copy a tag
"NFC Smart Q supports reading or copying a tag"
I just read this, didn't use this app.
There must be more nfc apps in Google's android shop, doing this trick.
I cannot post links, i'm sure you will find it.
MeX_DK said:
Is there some way to copy one RFID NFC tag to another blank NFC tag with the SGS3?. I have 2 active NFC tags that I would like to mess around with and see if I can actually copy them and get the same access as my authentic ones offers.
So down to the question. Is it possible to copy the entire contents of an NFC chip and write it to another one with an app, and in that case which one?
Click to expand...
Click to collapse
Depends. If it's a tag without any protection, yes.
If it's a tag with crypto, such as most RFID door entry systems, contactless credit cards, subway cards - no, they're intentionally designed to prevent such things. (Specific systems may have been hacked, but in general, these are not copyable.)
"Not protected" means I can edit them as I want right??
So if I can solve the encryption manually than I can change my info on my NFC card with the help of my cellphone.
Is that right??
https://play.google.com/store/apps/details?id=com.skjolberg.nfc.clone2. Try this..... Works for me
Sent from my Nexus 4
carhustler said:
https://play.google.com/store/apps/details?id=com.skjolberg.nfc.clone2. Try this..... Works for me
Sent from my Nexus 4
Click to expand...
Click to collapse
Agreed - may not work for everything, but definitely one of the better tag cloning apps.
Hello,
I am new at nfc so please do not judge me
I have one question:
It is possible to write dokumrent path in nfc tags for example:URL.
but on the path will be security level as:
login
pasword
And after you type your login and password it is automatically opened your dokument.
I was tried to write this way, but after I type login and password the link is not active longer and I have to search manually the document in my data base.
Waiiting fot you answers
For any information I would be thankfull.
P.S. It is possible to do this with my samsung galaxy s3?

Card emulation on Nexus 4!

i have came across the card emulation thread on galaxy nexus and nexus S thread. and found many useful information. i wonder if anyone has heard anything about it on the nexus 4?
HTML:
https://github.com/CyanogenMod/android_packages_apps_Nfc/commit/75ad85b06935cfe2cc556ea1fe5ccb9b54467695
i believe it is very simple to do with these codes compiled into the latest version of CM for the nexus 4. but I'm no developer, so i don't know how to. if anyone is also interested. please help make this happen! or atelast help on guiding us how to compile these codes into the latest CM!:fingers-crossed:
draginslygj said:
i have came across the card emulation thread on galaxy nexus and nexus S thread. and found many useful information. i wonder if anyone has heard anything about it on the nexus 4?
HTML:
https://github.com/CyanogenMod/android_packages_apps_Nfc/commit/75ad85b06935cfe2cc556ea1fe5ccb9b54467695
i believe it is very simple to do with these codes compiled into the latest version of CM for the nexus 4. but I'm no developer, so i don't know how to. if anyone is also interested. please help make this happen! or atelast help on guiding us how to compile these codes into the latest CM!:fingers-crossed:
Click to expand...
Click to collapse
There are currently no ways who are interesting for a non-developer. Start and do some research
youtube video of these codes coded into CM 10
these codes were originally in Nighty CM9 at around march 2012. it was then removed from the rom afterwards. these people at University of Texas has ported it onto CM10. these codes are pretty much the prerequisite of NFC proxy. which is a card emulation software, also work to proxy a card. and they have used it in the video to scan a card with phone NFC enabled phone, then the data collected is directly sent to the proxy. and allow it to simulate the card and purchase with the card.
http://www.youtube.com/watch?v=Yjfc60LGjik
wow thx
So how do I get it on my galaxy s3?
Sent from my Revolt Galaxy S3.
Create your own app who extends NFC_extras and has nfceeadmin rights
Sent from my GT-I9300 using xda app-developers app
Factionwars said:
Create your own app who extends NFC_extras and has nfceeadmin rights
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Has nobody done this already?
Sent from my Revolt GT-I9300 using Tapatalk 2.
AMoosa said:
Has nobody done this already?
Sent from my Revolt GT-I9300 using Tapatalk 2.
Click to expand...
Click to collapse
Yes, but only in a state where it is almost only interesting for a developer's perspective. You can enable the emulation of a Mifare classic 4k card. And you can only write on it using a external writer and UID is fixed.
Noob. If we wanted this we would've read that thread.
Sent from my SPH-L710 using xda app-developers app
Factionwars said:
Yes, but only in a state where it is almost only interesting for a developer's perspective. You can enable the emulation of a Mifare classic 4k card. And you can only write on it using a external writer and UID is fixed.
Click to expand...
Click to collapse
That clearly isn't only interesting for a developer.
If what you're saying is true, and people are emulating Mifare 4Ks with a static UID on modern phones like the S3, then many people would be interested in using that to replace their door entry cards at work and school.
LoveNFC said:
That clearly isn't only interesting for a developer.
If what you're saying is true, and people are emulating Mifare 4Ks with a static UID on modern phones like the S3, then many people would be interested in using that to replace their door entry cards at work and school.
Click to expand...
Click to collapse
That is also true, but most mifare classic systems use authentication based on the UID wich is not to be changed externally. You can read/write under certain circumstances to the emulated Mifare classic 4k. But because it is a default applet, and we do not have access to the configuration of the card (Mifare4Mobile). I highly disregard using the feature because you might lose a correct dump of your mifare classic card.
But ofcourse, it is alot of fun. Sources are on the interwebs, http://stackoverflow.com/questions/12955919/enabling-cardemulation-on-android-ics-with-nfc-extras i have rewritten that code and it works.
Read again, when you are cracking a Mifare classic card and emulating it for gaining access to places where you do not belong without a proper card. you might get busted
Factionwars said:
That is also true, but most mifare classic systems use authentication based on the UID wich is not to be changed externally. You can read/write under certain circumstances to the emulated Mifare classic 4k. But because it is a default applet, and we do not have access to the configuration of the card (Mifare4Mobile). I highly disregard using the feature because you might lose a correct dump of your mifare classic card.
But ofcourse, it is alot of fun. Sources are on the interwebs, http://stackoverflow.com/questions/12955919/enabling-cardemulation-on-android-ics-with-nfc-extras i have rewritten that code and it works.
Read again, when you are cracking a Mifare classic card and emulating it for gaining access to places where you do not belong without a proper card. you might get busted
Click to expand...
Click to collapse
That's not what I'm talking about. If, as you claim, you are able to emulate a card that has its own fixed UID, then that is highly useful. At my place of work, I'd be able to go to the IT guys and have them use my phone's emulated card's UID for my door access.
I'm not talking about shady stuff here.
LoveNFC said:
That's not what I'm talking about. If, as you claim, you are able to emulate a card that has its own fixed UID, then that is highly useful. At my place of work, I'd be able to go to the IT guys and have them use my phone's emulated card's UID for my door access.
I'm not talking about shady stuff here.
Click to expand...
Click to collapse
Sure, you might be able to do that.
Factionwars said:
Create your own app who extends NFC_extras and has nfceeadmin rights
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Hi,
Would you give me more information or reference about deal with "nfceeadmin" ?
For now, I got a security exception when I access the SE, and after doing some search, It looks like need to root my device. But I got same exception after root my nexus 7.
Thanks your help
Sent from my Nexus 7 using xda app-developers app
bauann-tw said:
Hi,
Would you give me more information or reference about deal with "nfceeadmin" ?
For now, I got a security exception when I access the SE, and after doing some search, It looks like need to root my device. But I got same exception after root my nexus 7.
Thanks your help
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Here you go http://nelenkov.blogspot.nl/2012/08/accessing-embedded-secure-element-in.html
Factionwars said:
Here you go nelenkov.blogspot.nl/2012/08/accessing-embedded-secure-element-in.html
Click to expand...
Click to collapse
Hi,
Thanks your help , but I still get same security exception.
Here is my step,
I am trying to use debug signature (debug.keystore) and modify system/etc/nfcee_access.xml like below
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Applications granted NFCEE access on user builds
See packages/apps/Nfc/etc/sample_nfcee_access.xml for full documentation.
-->
<!-- Google wallet release signature -->
<signer android:signature="3082...852e" />
<signer android:signature="3082...996ab">
<package android:name="com.rftag.cardemu" />
</signer>
<debug />
</resources>
After reboot my device and run test app again, the code throw exception at "nfcExtras = getMethod.invoke(null, adapter);".
And I don't see any message about NFCEE denied in logcat, Did I miss something ?
PS: for reference, My device is Nexus 7 and running 4.2.2 ( offical ROM, only rooted )

KitKat will support Host Card Emulation

From http://developer.android.com/about/versions/kitkat.html#44-hce
New NFC capabilities through Host Card Emulation
Android 4.4 introduces new platform support for secure NFC-based transactions through Host Card Emulation (HCE), for payments, loyalty programs, card access, transit passes, and other custom services. With HCE, any app on an Android device can emulate an NFC smart card, letting users tap to initiate transactions with an app of their choice — no provisioned secure element (SE) in the device is needed. Apps can also use a new Reader Mode to act as readers for HCE cards and other NFC-based transactions.
Android HCE emulates ISO/IEC 7816 based smart cards that use the contactless ISO/IEC 14443-4 (ISO-DEP) protocol for transmission. These cards are used by many systems today, including the existing EMVCO NFC payment infrastructure. Android uses Application Identifiers (AIDs) as defined in ISO/IEC 7816-4 as the basis for routing transactions to the correct Android applications.
Apps declare the AIDs they support in their manifest files, along with a category identifier that indicates the type of support available (for example, "payments"). In cases where multiple apps support the same AID in the same category, Android displays a dialog that lets the user choose which app to use.
When the user taps to pay at a point-of-sale terminal, the system extracts the preferred AID and routes the transaction to the correct application. The app reads the transaction data and can use any local or network-based services to verify and then complete the transaction.
Android HCE requires an NFC controller to be present in the device. Support for HCE is already widely available on most NFC controllers, which offer dynamic support for both HCE and SE transactions. Android 4.4 devices that support NFC will include Tap & Pay for easy payments using HCE.
Click to expand...
Click to collapse
Shouldn't this mean devices like the nexus 7 (2013) without a secure element should be able use Google wallet for NFC payments? I heard somewhere that the nexus 5 uses the same chip as the nexus 7 (2013)
Sent from my Nexus 7 using xda premium
Big_Red77 said:
Shouldn't this mean devices like the nexus 7 (2013) without a secure element should be able use Google wallet for NFC payments? I heard somewhere that the nexus 5 uses the same chip as the nexus 7 (2013)
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
It does indeed.
What about the AT&T HTC One?
From some general research I did earlier this year with NFC being used for contactless payments, there were three different means of implementation; a) the Secure Element on the NFC chipset itself (Google Wallet), b) The secure element on the SIM card with a SWP link (used by ISIS Mobile wallet) and c) Secure Element Emulation via the cloud (Simply Tapp)
for a) the problem dealt with the fact that for some reason(s) three of the four major United States Cellular Carriers (AT&T, T-Mobile and Verizon) would not provide Google with the required TSM (Trusted service management) credentials to access the protected memory of the secure element. It was suggested that because of the time invested prior to actual availability, the above carriers elected to adopt their own standard to implementing the secure element.
for b) The sim cards used by GSM carriers were developed with the secure element onboard. The problem that was experienced dealt with the limited availability of special sim cards (only two markets had them, Salt Lake City and Austin) as well as the poor support and backbone to the system, leaving most users calling foul on the carriers abuse of power (a personal attempt at contacting the FTC about a possible obligopy resulted in that is not).
the concept of c) was approached by Doug Yeager and Ted Fifelski, both of whom are more than knowledgeable with the POS and NFC markets. Instead of requiring the secure element hardware on the device, emulate it by using the cloud. As previously mentioned the libraries in the Android operating system did not include smart/host card emulation. Doug Yeager then created and had merged into the CyangenmodRom builds 9.1 + the open source IsoPCDA and IsoPCDB libraries.
Looking up on NFC World, Google collaborated with Simply Tapp to officially bring HCE into the 4.4 http://www.nfcworld.com/2013/10/31/326619/google-gets-around-carriers-host-card-emulation-nfc-payments/
Does this mean I can, with the proper app and so on, "emulate" NFC tags (or at least some types of NFC tags/cards)? Does anyone plan on making an app to do just this...'record' and 'emulate' nfc tags/cards of supported types (not just 'credit cards')?
TjPhysicist said:
Does this mean I can, with the proper app and so on, "emulate" NFC tags (or at least some types of NFC tags/cards)? Does anyone plan on making an app to do just this...'record' and 'emulate' nfc tags/cards of supported types (not just 'credit cards')?
Click to expand...
Click to collapse
This is what I was wondering as well... tried endlessly searching apps or even figuring out how to do it on my own.Everything was a dead-end, always returning to that damned secure element. Does anyone know if there's any hope?
TjPhysicist said:
Does this mean I can, with the proper app and so on, "emulate" NFC tags (or at least some types of NFC tags/cards)? Does anyone plan on making an app to do just this...'record' and 'emulate' nfc tags/cards of supported types (not just 'credit cards')?
Click to expand...
Click to collapse
+1 for TJ's question, I'd love to ditch the corporate RFID tag and use my phone. I mean if it's really going to be a wallet replacement, that's one of the things in my wallet.
TjPhysicist said:
Does this mean I can, with the proper app and so on, "emulate" NFC tags (or at least some types of NFC tags/cards)? Does anyone plan on making an app to do just this...'record' and 'emulate' nfc tags/cards of supported types (not just 'credit cards')?
Click to expand...
Click to collapse
Ya I'm wondering that same. My senior project is due in 3 weeks and I build a "door unlocker" based off NFC tags. The NFC shield on an Arduino reads a tag and unlocks a door. I have a Nexus 5 and would love to be able to emulate a tag and use it to open a door.
Android 4.4 NFC HCE demo app
Please have a look at this article: blog.opendatalab.de/hack/2013/11/07/android-host-card-emulation-with-acr122/
An Android sample project that use NFC HCE is available here: github.com/grundid/host-card-emulation-sample
Any updates for this? Really looking forward to using my phone as a replacement for transit cards.
Bump? I would really like an emulation app.
TjPhysicist said:
Does this mean I can, with the proper app and so on, "emulate" NFC tags (or at least some types of NFC tags/cards)? Does anyone plan on making an app to do just this...'record' and 'emulate' nfc tags/cards of supported types (not just 'credit cards')?
Click to expand...
Click to collapse
Host card emulation is not to emulate NFC tags but make payment through NFC possible with Google Wallet even without a secure element chip. The devices technically could be a NFC tags (think about it, android beam can go both directions so the device beams to the other devices which acts KIND of like a tag).
NFC tags are cheap anyway so what's the need to try to emulate them? You can program them from the phone.
tiny4579 said:
Host card emulation is not to emulate NFC tags but make payment through NFC possible with Google Wallet even without a secure element chip. The devices technically could be a NFC tags (think about it, android beam can go both directions so the device beams to the other devices which acts KIND of like a tag).
NFC tags are cheap anyway so what's the need to try to emulate them? You can program them from the phone.
Click to expand...
Click to collapse
I thought hce allows for the phone to emulate a NFC card, for example, a transit card.
Sent from my Nexus 4 using Tapatalk
Sfkn2 said:
I thought hce allows for the phone to emulate a NFC card, for example, a transit card.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
It's for payments strictly. It emulates a payment card and I think the android implementation is strictly for Google wallet. I'm not sure the transit systems would use Google wallet or not. Maybe they do.
tiny4579 said:
It's for payments strictly. It emulates a payment card and I think the android implementation is strictly for Google wallet. I'm not sure the transit systems would use Google wallet or not. Maybe they do.
Click to expand...
Click to collapse
Nope, KitKat "supports emulating cards that are based on the NFC-Forum ISO-DEP specification (based on ISO/IEC 14443-4)...". This is a standard for Identification cards used for payments but also could be used for other use cases. Android 4.4 also supports different HCE service groups "Category_PAYMENT" and "Category_OTHER" , so I wouldn´t say it´s strictly for payments! (Although, I think, your right, that´s the main purpose Google had in mind by implementing this emulation feature ...)
Doesn´t mean that you could "clone" your (or your neighbors) company badge or transit card and use your android device instead, but that´s a completely different story.
-Psycho- said:
This is what I was wondering as well... tried endlessly searching apps or even figuring out how to do it on my own.Everything was a dead-end, always returning to that damned secure element. Does anyone know if there's any hope?
Click to expand...
Click to collapse
No hope, secure elements are secure by design. You can't download them wihout hacking the card. In most cases, this is just as complicated as hacking into someone's bank account.
Sorry but that is the reason why we trust these cards in the first place.
ascsa said:
Doesn´t mean that you could "clone" your (or your neighbors) company badge or transit card and use your android device instead, but that´s a completely different story.
Click to expand...
Click to collapse
Although that would be awesome..
Sent from my Nexus 4 using Tapatalk
Stupid question, but if the secure element isn't necessary anmyore, is Google wallet now secure enough?
I mean, Google kind of used this for a reason I presume before, I know why they got rid of it, but is this risky or not? Because I haven't heard people discussing this side yet.
Also, what other payment services may work with this once they support it (if ever), ISIS? Paypass?
Axe Homeless said:
Stupid question, but if the secure element isn't necessary anmyore, is Google wallet now secure enough?
I mean, Google kind of used this for a reason I presume before, I know why they got rid of it, but is this risky or not? Because I haven't heard people discussing this side yet.
Also, what other payment services may work with this once they support it (if ever), ISIS? Paypass?
Click to expand...
Click to collapse
A few months ago, a Google patent application surfaced that explains some details of how they did it.
1) Previously, PIN entry to GW did not require a network connection - it only unlocked the SE. Now, you cannot unlock Wallet without a network connection. Also, PINs used to be device-specific but are now common to all devices on your Wallet account
2) The patent application references creation of a virtual card that is geographically and time-restricted
So pretty much, I think what happens is that when you unlock Wallet now, it creates a "virtual" card that is restricted to the unlock timeout in time and to some sort of geographic limitations.

Categories

Resources