[Q] HCE? - Nexus 4 Q&A, Help & Troubleshooting

Hi,
I've read that KitKat brings Host Card Emulation. Do I understand it rignt that I can record any wireless card into my phone and later use my phone exactly as I would use that card? (credit card, tesco benefit card, door card etc.?)
I know I can connect google wallet with US credit card and pay with it, but this is for US only (I'm from Europe) and payments go through wallet account etc.
I would like to use it just as card emulator. Can someone please tell me, how to achieve this?
Is google wallet app necessary (because I struggle a little with country check).
I've tried to search but I couldn't find any usable informations, only discussions that HCE is enabled only for Broadcom NFC chips (which N4 has, so I presume it sould work on N4)
Thanks for any usable info

http://www.xda-developers.com/android/google-wallet-updated-with-kitkat-nfc-host-card-emulation/
I think it doesnt work without Google Wallet but I could be wrong.

We have a NFC hack section on xda..
Sent from my Nexus 4, while driving in my Evo9.

Related

Nexus S detects train access cards

This is more of an FYI...
I found out today that my Nexus S can detect MyKi cards (Subway/train access cards in Melbourne Australia - http://www.myki.com.au ) when NFC is turned on. To test it out, just place the phone on top of your wallet with the MyKi card in it and you'll hear the detection sound.
Now the question is, when will I be able to use the phone instead of the access card?
It would be much easier just to open an app and touch the back of the phone to pass through the gates at the train station.
The future, just one step away
I use the same (stupid) smart-ticket system here in melbourne, waste of money the myki card is. anyways, to answer your question, the card is an nfc enabled device. and it has a chip inside which stores information (an unique code for the card). and the phone (NS) reads that info, and beeps indicating it recognises it. if there is an app utilises NFC, like NFC task launcher, it will automatically launch it and respond with appropriate actions. source? i have and use an myki myself

Does Google Wallet need wifi?

This thought just occured to me. If i go to a store or im in a cab and use the nfc, i know it will pick it up, but doesnt it need internet to communicate to google servers in order to do the transfer? its a wifi only device and yes i know you can tether, but just seems weird.
I don't have personal experience in this matter but I have read you only need wifi to setup the Wallet. Once the setup is complete, you can use it without wifi.
Unless I am mistaken it stores the information that would be normally stored on a physical card on your device so that it doesn't need a connection. When you go to make a purchase it then uses the nfc to transmit the data in someway, "swiping" the card.
But I'm not exactly sure. It makes the most sense to do it that way though.
Sent from my Nexus 7 using xda app-developers app
the few times i have used wallet on my phone it seems to go out on the network to update the balance. I assume it works like a credit card though and the machine you tap your phone to does the credit check to the account so i would guess is not necessary. I'd try it Monday but I'll probably forget. We have vending machines at work with paypass terminals.
Hello!
After confirming from google, the Wallet app doesn't need WiFi or any data connection to pay at a paypass location since all it does is send card info over NFC. However, it does need wifi to update your balance and transaction list.
Used it today at cvs, does not need wifi
Sent from my Nexus 7 using xda app-developers app

Where is the NFC chip?

I just tried to pay with my nexus 7 and felt like an idiot because I didn't know where to tap it.
Also anyone know a relatively inexpensive way to trade my 16gb version for the 3g version.
Sent from my Nexus 7 using xda app-developers app
I bought a couple of meals at McDonalds to use the $10 credit using NFC with Wallet. I touched the top, back of the N7 to the sensor and a receipt spit out. The second time I had to tap it a couple of times to get it to take. Just remember to open Wallet first and choose your payment method, i.e., Google credit or debit or credit card. I think the Google credit is no longer available.
The NFC antenna is on the back of the case. It's a rectangular "frame" with the NEXUS on the case at the bottom of the "picture" and the top about one inch above NEXUS.
I never used a device with a NFC. In order to pay by NFC using Google wallet. Do you need a active internet connection?
Sent from my Nexus 7.
2kbandit said:
I never used a device with a NFC. In order to pay by NFC using Google wallet. Do you need a active internet connection?
Click to expand...
Click to collapse
Once I got Wallet set up back in Sept or Oct and got my debit/credit cards entered and had my Google Wallet credit available I found I did not need an active internet connection to use NFC to pay with Wallet. Now that the credit has expired (I think) I just make sure one of my cards is selected as the payment type. So, if you go to pay for something with Wallet/NFC, all you have to do is open Wallet, enter your pin, make sure your desired card is selected, and tap the reader. It just works without an active connection. The transaction is authorized at the terminal and the selected card is subsequently charged later behind the scenes. So, I repeat, no active internet connection is required if you have previously set up Wallet.
Thanks for the answer.
Sent from my Nexus 7.
Exactly. The NFC just transfers your card number to the machine like when you swipe your card. Then the machine uses the internet to verify and charge.
Sent from my Nexus 7 using xda app-developers app

[Q] Reproduce NFC?

Is it possible to read an NFC tag, for example one that lets me enter a hotel room, and then reproduce the signal to be read by another NFC reader?
For example, I read an NFC tag that lets me into my hotel and store the data on the Android device. I then tap my device (not the card) against the NFC reader on the hotel room door and the device sends the data that was on the card, and the door opens.
If so, what program allows me to do this? I've tried downloading a few random ones but haven't found this functionality and am beginning to doubt it's possible.
No, the N7 can read and write tags but not emulate one. The best you could do might be to copy data from one tag to another and use that.
Or even better, I tap your access card against my tablet and store your hotel room access info and wait for you to go out and then enter your room.
I think you may struggle to find something openly available that would allow you to clone NFC tags so simply, though in theory it may be possible
Sent from my Nexus 7 using xda premium

Anyone gotten tap and pay to work on CM 11?

im on CM11 bootloader unlocked, gsm unlocked razr M on T-mobile with the latest 3/13/14 update of the wallet app.
CM 11 kitkat 4.4.2 has HCE and tap and pay NFC should be working without a problem, yet I have never gotten it to work and have tried it at multiple locations.
Is there something im missing?
EDIT: PROBLEM AND SOLUTION
okay after EXTENSIVE research, i have finally found our problem. so basically our phones have the capability for TnP to work. The only issue is drivers and support.
As of now TnP only works with Broadcom NFC chipsets and nothing else, so even if your phone has NFC, TnP will not work unless it is a Broadcom controller chipset. Our razr phones have NXP NFC chipsets which as of right now are not supported by the google wallet app (google's fault) so Host Card Emulation (HCE) support in kitkat is missing from AOSP roms
this has absolutely nothing to do with the secure element anymore at all in 4.4.2. Google went the HCE specifically so the likes of verizon couldn't block the TnP function.
TL;DR
We will get it, it is only a matter of time. either direct from wallet app support for our NXP chipset or from our wonderful dev community. Currently the code for NXP's NFC chips is empty for the host card emulation to work.
some active work being done if you can help the movement (sorry I can't post links yet)
http://forum.xda-developers.com/showthread.php?t=2573842
dman9691 said:
im on CM11 bootloader unlocked, gsm unlocked razr M on T-mobile with the latest 3/13/14 update of the wallet app.
CM 11 kitkat 4.4.2 has HCE and tap and pay NFC should be working without a problem, yet I have never gotten it to work and have tried it at multiple locations.
Is there something im missing?
Click to expand...
Click to collapse
Yeah, there's something missing on the M and HD that won't allow TnP to work. I can't remember what exactly it is, but there was a pretty good discussion about it in the HD forum.
What you're thinking of is a "secure element". This was a thing built into older phones to enable stuff like NFC payments. Our phone does not have one built in to it.
Tmobile phones (and probably the others) that support ISIS don't use one built into the phone, but have a secure element built into the sim card (you need a new sim, along with methods of accessing it which CM probably doesn't have).
Kit Kat has a software-only version of the "secure element" and should not require anything built into the phone or the sim card. In theory you just have to convince google wallet to use the software one. That said, there's still probably some work to do to convince google wallet to do its thing. I think it still only enables tap to pay for some phones. What OP is asking for should be possible.
ezdi said:
What you're thinking of is a "secure element". This was a thing built into older phones to enable stuff like NFC payments. Our phone does not have one built in to it.
Tmobile phones (and probably the others) that support ISIS don't use one built into the phone, but have a secure element built into the sim card (you need a new sim, along with methods of accessing it which CM probably doesn't have).
Kit Kat has a software-only version of the "secure element" and should not require anything built into the phone or the sim card. In theory you just have to convince google wallet to use the software one. That said, there's still probably some work to do to convince google wallet to do its thing. I think it still only enables tap to pay for some phones. What OP is asking for should be possible.
Click to expand...
Click to collapse
That's what I was looking for, thanks.
CM11 NXP chip NFC HCE support
RikRong said:
That's what I was looking for, thanks.
Click to expand...
Click to collapse
okay after EXTENSIVE research, i have finally found our problem. so basically our phones have the capability for TnP to work. The only issue is drivers and support.
As of now TnP only works with Broadcom NFC chipsets and nothing else, so even if your phone has NFC, TnP will not work unless it is a Broadcom controller chipset. Our razr phones have NXP NFC chipsets which as of right now are not supported by the google wallet app (google's fault) so Host Card Emulation (HCE) support in kitkat is missing from AOSP roms
this has absolutely nothing to do with the secure element anymore at all in 4.4.2. Google went the HCE specifically so the likes of verizon couldn't block the TnP function.
TL;DR
We will get it, it is only a matter of time. either direct from wallet app support for our NXP chipset or from our wonderful dev community. Currently the code for NXP's NFC chips is empty for the host card emulation to work.
some active work being done if you can help the movement (sorry I can't post links yet)
http://forum.xda-developers.com/showthread.php?t=2573842

Categories

Resources