yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] StephanSch:
Yes, for sure. You have to replace a system app and without root you don't come to /system
[Samsung Galaxy Nexus] cathpah:
I figured as much. Sounds like I've got a project for the weekend!

Would I need a custom rom, too? My apologies for my ignorance.
[Samsung Galaxy Nexus] StephanSch:
No, you don't. But you should look for a custom rom that is near stock because I need some files.
[Samsung Galaxy Nexus] cathpah:
Alright...I just successfully rooted.

Now I need to decide which custom rom I should use (or which is closest to stock). I'm sure I'll need to research this, but if you have any recommendations, I'm certainly open to them.
[Samsung Galaxy Nexus] StephanSch:
You don't need to use it, just to give me that info. It should use the same system files as stock and I can use them to create the mod
[Samsung Galaxy Nexus] Xani.e:
Is there a version that works with the latest cm 10.1 nightly?

I've tested the lockscreen version but the apk chrashes after reboot.
[Samsung Galaxy Nexus] donutzman:
So now that Google/Motorola decide that its OK to let NFC work when the device is locked (to unlock the phone, no less), maybe they'll make it easier for the rest of us to make our phones do that? Here's hoping, anyway.

...if the tab is within a few feet if the Moto X, no password necessary. (The tokens use NFC technology, built into the phones.)
[Samsung Galaxy Nexus] StephanSch:
You can also use this kind of geofencing with other apps, like Tasker.
[Samsung Galaxy Nexus] supermario3:
Is there a version of this for 4.3 cyanogenmod 10.2 ?
[Samsung Galaxy Nexus] johnnysyeah:
Here is the ROM I'm currently using:

http://androidhosting.org/Devs/Dhacker29/cm-10.2/

I'm more than willing to be the tester for you if you're still interested in helping me out :)

Thanks!
[Samsung Galaxy Nexus] ice20978:
I would also be very interested in this!
[Samsung Galaxy Nexus] thunder2k:
+1

But I'm on Nexus 4,since I didn't find anything for my device, I'd like to give a try to this one.
[Samsung Galaxy Nexus] RepeatUntilTheEnd:
I'm also on 4.3 (toro), and would love to be able to scan tags with the screen off. Can anyone confirm if any of these zips works on CM10.2?

If no one can confirm within the next couple days I'll test and report back...
[Samsung Galaxy Nexus] StephanSch:
Man, a short search gave me this: http://xdaforums.com/showthread.php?t=2391170

A hint: I searched with "nfc" :mad:

So, nothing to do for me.
[Samsung Galaxy Nexus] XlAfbk:
Xposed version works perfectly.

Also the modded Nfc.apks should work as there's been no changes in 4.3
[Samsung Galaxy Nexus] RepeatUntilTheEnd:
Man, didn't work, but I hadn't found that thread in my search

A hint: I also searched with "NFC"... and "toro"... and "10.2". How exactly do you think I ended up here?;)

Now get to work!

But, seriously... I'm taking some time this weekend to modify the apk manually. It defeats the purpose of having tags if I need to unlock first... first world problems. I've just been too busy recently.

gnex|s7pro|dinc
[Samsung Galaxy Nexus] XlAfbk:
RepeatUntilTheEnd, all you need is already in this thread. Just browse the last few pages and you'll find http://xdaforums.com/showpost.php?p=35731730&postcount=199
[Samsung Galaxy Nexus] RepeatUntilTheEnd:
Thanks for your help!

I was on CM10.2, but I switched back to 10.1 last night. Works like a charm! Would this same apk work for .2 when I want to go back?

gnex|s7pro|dinc
[Samsung Galaxy Nexus] StephanSch:
No, it is a different Android version.
[Samsung Galaxy Nexus] RepeatUntilTheEnd:
That's what I thought. I guess its a good thing I went back to 10.1

I know I'll break down and go back to 4.3 and would like to get it working, but I'll worry about that later.

gnex|s7pro|dinc
[Samsung Galaxy Nexus] XlAfbk:
it should work just fine. from what i can see there's been no changes on Nfc.apk between 4.2 and 4.3 / CM10.1 and CM10.2

And you could always use the Xposed mod which has even more features than this one and is configurable: http://xdaforums.com/showthread.php?t=2122019
[Samsung Galaxy Nexus] irotsoma:
I created some NFC.APK mods for 10.1 which I'm still using on the latest toroplus nightly. Not sure if the mods would work on 10.2, but if you're comfortable building your own, I have a patch that may or may not work. It actually adds an option, too, so you can turn it on and off at will. Feel free to play with it. I have a bunch going on at the moment, but if I have time I can build a 10.2 version pretty easily. It's just time consuming. Here's the thread: http://xdaforums.com/showpost.php?p=33565958

Edit: please excuse any autocomplete grammatical issues from my phone.
[Samsung Galaxy Nexus] basti84:
helped very well :) thank you!!! nealry gave up hope to get it workin'
[Samsung Galaxy Nexus] awatrin:
Hi, I've tried the screenoff, and didn't worked (NFC option wasn't in settings anymore). So I tried to restore the stock, but didn't worked too! Now, I still have no NFC option in settings. There's any way to recover?

Thanks

Edit: I've managed to restore the stock files from the original firmware. Thanks!
[Samsung Galaxy Nexus] StephanSch:
request thread

Because there have been several request for the mod on new devices in this thread and many others, I decided to create a thread on the general Android Q&A board where you can request the mod for your device.

[MOD] NFC on lockscreen and screenoff - requests
[Samsung Galaxy Nexus] Zerqz:
Would you ever consider making one compatible with the note3 / touchwiz? Or would you make one for a release of cyanogen mod (once its released) for the note 3? :good:
[Samsung Galaxy Nexus] marsupiale:
Hi everyone,

i downloaded the three zip, and i would install the locked screen one.

I be able to go in recovery mode, but after that , what i should do ?

Sorry, i am a newbie in this....
[Samsung Galaxy Nexus] marsupiale:
please , someone can explain how to do ?
[Samsung Galaxy Nexus] XlAfbk:
lollipop version: http://xdaforums.com/showpost.php?p=59780557&postcount=469
[Samsung Galaxy Nexus] mario_foo:
do you happen to have a "nougat version" somewhere hidden in your personal mods ?
[Samsung Galaxy Nexus] R0ttenB4ndit:
Does this still work, on pie even?
[Samsung Galaxy Nexus] moogtheartist:
NFC problems... sometimes you have to do a double tap...

I hope that these modifications will somehow fix the issue of when you are trying to make payment and it takes a couple taps just to get the authorization going to process payment... I've ran into this countless times... And it is especially crude trying to make a payment at McDonalds in the drive thru, handing your phone to the person at the window and possibly holding up a line because the NFC won't read on the first two times... lol... :D
[Samsung Galaxy Nexus] HolzwurmMarkus:
Hey,

this is very very nice :)

I did not try so far but sounds very nice.

Is it possible to make this switchable (maybe with a reboot of the phone)?

So maybe a menu, widget or little app where it's possible to switch between stock, LockScreen or Screen off mode?

This would be a very great feature in the future. But thanks anyway for this BIG feature you provided us so far. :D
[Samsung Galaxy Nexus] agentdr8:
Ah ok. I'll see what can be done for this Nfc.apk. Thanks for the insight.
[Samsung Galaxy Nexus] bdubs4200:
Me too dude I've used it 3 times outside the vending machine from work (the only paypass thing that its worked with) and its so embarrassing!! Foot locker, I grabbed the buy one get one shorts and shirt, tapped-sent-nothing.... again, nothing, the dude was like "idk what that thing is" tried again asked him to hit credit , nothing.... paid cash :( same thing happened at CVS... its pretty sad trying to boast my kick ass phone with features that don't fully work lol. So I hope this helps :-/ I doubt it but I hope.... thanks op! Great mod.
[Samsung Galaxy Nexus] 5noc:
Your forum name says it all. Genius.

edit, also I can confirm the screenoff mod works on GSM models, ¡YAY!

edit 2, NFC Service FC's whenever I try to write (or delete) a tag with NFC Task Launcher :(
[Samsung Galaxy Nexus] mightycouger:
I installed this on my stock rooted galaxy nexus and lost all nfc settings and functions in the settings menu (they were absent from the settings menu)! Thank god for backups.
[Samsung Galaxy Nexus] kolyan:
Don't know about Wallet but it looks like its working on AOKP....I extracted apk from zip, zip itself looks broken though.

Installed lock screen version because I have battery concerns with its always active even with screen off.

Brought your meter to 100 thanks even : )
[Samsung Galaxy Nexus] mayhemer:
Same happend here on my Samsung Galaxy S3. It didn't work now. All NFC functionality is gone after flashing your packages. Hope this will work soon, because I really need this feature!

Thanks for your work!

[tapatalk]Vom S3 mit Tapatalk[/tapatalk]
[Samsung Galaxy Nexus] LoveNFC:
I'm new to applying patches, could someone answer some quick questions for me please?

1) Since this is just replacing the old NFC apk, can't I just copy and paste the new one using Root Explorer?

2) Those of you who applied the patch and then lost NFC functionality in the settings menu, what did you have to do to restore functionality? Would simply copying the stock NFC apk back and then rebooting work? Or do I have to take a Nandroid/Titanium backup etc?
[Samsung Galaxy Nexus] subvertz:
On maguro AOKPCB R2 confirmed it reads cards with screen off and lock on.

-It now takes 2 presses of power button to trun on after scanning a card.

-I get an "Unfortunately, Nfc Services has stopped" error, but the scan is successful, and all seems to work.

-Using any NFC app also gives the error, but clearing it causes no problems and apps continue to function.

-NFC setting in menu still present and functional

Is it possible to add option for device wake on scan? Maybe via tasker plugins...

Going to check my stats later and see if this eats much processor time. Any idea on how often it looks for a tag?
[Samsung Galaxy Nexus] Adriandroide:
Great mate!!! I´ll be waiting for a version that works on my SGS3.

Thanks for your work!
[Samsung Galaxy Nexus] mayhemer:
I think this should work. But maybe you also need to clear Dalik Cache...

I made a Nandroid backup and restored it after the problem.

By the way. I've just finished the versions of the Nfc.apk working on the SGS3. With the infos of Geniusdog254 it was very easy. I will release them soon. Maybe Geniusdog254 can also create an advanced version for the S3.
[Samsung Galaxy Nexus] mayhemer:
I just finished to create the packages compatible to the Samsung Galaxy S3. Maybe Geniusdog254 put them into the first post.
[Samsung Galaxy Nexus] Geniusdog254:
Great work! I'll update the OP with a link to this post, so you get credit. I'd hate for anyone to think I stole your work.
[Samsung Galaxy Nexus] kolyan:
dont need to clear dalvik cache. need to set correct permissions in root explorer. it worked fine here.
[Samsung Galaxy Nexus] JSS_7:
Works on Galaxy Nexus GSM (ROM: AOKP m5)

Great and useful MOD.

I installed the screen off version and it works perfect.:)

Thanks a lot.
[Samsung Galaxy Nexus] LoveNFC:
Alright, I went ahead and bit the bullet.

I copied using Root Explorer and changed the permissions to those of the original Nfc.apk. Sadly, it didn't work for me. Upon reboot my NFC settings were gone and I could no longer use NFC.

I suppose the good news is that I can confirm that simply copying the original Nfc.apk back in and then rebooting DID restore my NFC functionality.

I'm on a stock but rooted GSM Galaxy Nexus Yakju on 4.0.4.

EDIT:

Scrap that.

WARNING: Looks like my Google Wallet application was at least partially reset. It was stuck on initialising device for about 5 minutes, and then I had to reaccept the terms of use and readd my prepaid card.

Fortunately, everything seems to be back to normal now, but my transaction history is completely gone.
[Samsung Galaxy Nexus] Bradart:
During the code freeze, I thought you could still add commits, they just wouldn't make it into the RC. They still make nightlies during the code freezes, so that was my understanding. I only wish I could code, though, so I might be very very wrong.
[Samsung Galaxy Nexus] wesley905:
Works with Nexus S

Just want to say thanks. Works fine with my Nexus S! :)

Edit: Tmo Nexus S running CyberGR-MOD ICS v12. I am also seeing "NFC service stopped" when trying to write tags
[Samsung Galaxy Nexus] Geniusdog254:
No you're quite right. That's why I said if you use the nightlies then you can get it as soon as it's accepted. I haven't had time to work today. I'm packing for a trip I leave for tomorrow. I may get it done tonight, but if I don't finish it tonight then it'll have to wait until I get back on the 24th.
[Samsung Galaxy Nexus] StephanSch:
And the Nfc.apk for the HTC One X (Everything is working):

http://xdaforums.com/showthread.php?t=1713354
[Samsung Galaxy Nexus] Wilsonium:
Any word on battery life?

I'm not sure that your handset constantly generating the induction field to read tags is negligible. Can anyone comment?
[Samsung Galaxy Nexus] WeWearFedoras:
I installed it on my sgsII and it said the install was successful but I don't know of any way to verify that it's working. I do had a friend buying some NFC tags and as soon as he gets them I'll try it out.
[Samsung Galaxy Nexus] StephanSch:
Update:

http://xdaforums.com/showthread.php?p=27474577
[Samsung Galaxy Nexus] paranoid2007:
Does this work on non Sprint Galaxy Nexuses? I'm willing to try this mod.
[Samsung Galaxy Nexus] dusturm:
Tested both mods on a Verizon Galaxy Nexus running a clean install of AOKP build 39. Both worked perfect for me. Did what the tag wanted it to do without hesitation.
[Samsung Galaxy Nexus] StephanSch:
Now everything is working on HTC One X

@Geniusdog254:

Please update OP for screenoff + keyguard.

Don't know too whether it is working on S4, nothing to test.
[Samsung Galaxy Nexus] arhung:
can the screenoff.zip work on the gsm galaxy nexus with ARHD4.0.1??thx!!
[Samsung Galaxy Nexus] nmesisca:
works

it works.. but it seems to break Android Beam for me.. anyone else??

update: on Galaxy Nexus GSM though..
[Samsung Galaxy Nexus] jairmoreno:
I have the same problem here, I'm on AOKP M5 GSM
[Samsung Galaxy Nexus] Pliind:
You sir have my thanks! been looking for this since day one! and now i've got my solution! :D thanks!
[Samsung Galaxy Nexus] An UrgeT Dance:
So is there any way to fix the NFC service crash after flash? I would love to install this but when I first tried it I go a crash error after everything I did with NFC
[Samsung Galaxy Nexus] Madbaires:
Doesn´t work to me :confused:

Need info to solve the problem? ask me ;)
[Samsung Galaxy Nexus] nmesisca:
as it is, this is quite unusable as it breaks more things than it fixes.

pity..
[Samsung Galaxy Nexus] Sonicmax2k2:
Thank you! This has been a pet peeve of mine too, and this looks fantastic! My only question, is whether this might trip the secure element for Google Wallet when swapping out the .apk
[Samsung Galaxy Nexus] kimocal:
Reporting to let you know that all the ZIPs in the OP seem to work fine with an AT&T Galaxy Note i717 running Paranoid Android Unofficial. I deleted/created a tag fine with NFC Task Launcher.
[Samsung Galaxy Nexus] nmesisca:
I can do that too with no problem, but is Android Beam working for you?

It force closes on mine.
[Samsung Galaxy Nexus] Steady Hawkin:
I can confirm on toroplus running CM9 that the mod functions as described in the OP. Also wanted to mention that Google Wallet works perfectly. As far as android beam, I am unable to test as I do not have another NFC device. Thanks for putting this together!
[Samsung Galaxy Nexus] kimocal:
Screenshot of it in Settings. No real way to try it out beyond that. I'm using the screen off zip.
[Samsung Galaxy Nexus] hawkye:
It works fine on Verizon Toro to read tags but it FC every time I try writing a tag. Awesome job though! If I could only write a tag then I would use it. BTW, the stock zip won't work either. I get FC every time I try writing a tag with it also.
[Samsung Galaxy Nexus] DesireHDScreenorgasm:
Did work only one time but then screws up the whole NFC functionality. NFC needs to be turned off/on to make it work with unlocked screen. Screen off or locked doesn't work at all. GSM 4.0.4
[Samsung Galaxy Nexus] sushiboy:
Tested on my Google Nexus S (GSM) + CM9. It works perfectly. :good:
[Samsung Galaxy Nexus] etstudent:
Also works fine for my Nexus S.

Anyone have some cool ideas how to use this new functionality with Tasker.

I'm using it in the car to start my radar app and drop calls to my car phone.

:good:
[Samsung Galaxy Nexus] iclickjohn:
would this work on the Verizon S3? If not, I hope to see it developed. I know I am early in asking, but am anxious to use with this option. (SGS3 has not been delivered yet, just preparing early)

Edit: I read your reply to the one X, thanks, can't wait.
[Samsung Galaxy Nexus] mayhemer:
Look here: http://xdaforums.com/showthread.php?p=27443453

It is the mod for the SGS3.

[tapatalk]Vom S3 mit Tapatalk[/tapatalk]
[Samsung Galaxy Nexus] phadric:
Works perfectly for me.

Galaxy Nexus GSM with CM9 using the lock screen version.

Tested Android beam

Writing and reading tags

Now I just need to find a way to unlock my phone using it. I have this nice NFC wristband just need to find an app that can unlock my phone.
[Samsung Galaxy Nexus] kimocal:
Tasker + Secure Settings +NFC Task Launcher
[Samsung Galaxy Nexus] T-Loop:
Many apps failed to work :( NFC Service stops working and it fails to read/write tags. Maguro GSM with AOKP #38. Huge shame, I'd love to use this on my phone. Always hoped some day this mod will arrive :) Does anyone know how to make this fully functional on GSM/AOKP? Thanks.
[Samsung Galaxy Nexus] tlkl:
this mod work´s on JB??? thanks!!!
[Samsung Galaxy Nexus] mayhemer:
Without modifications... I don't think so...

[tapatalk]Vom S3 mit Tapatalk[/tapatalk]
[Samsung Galaxy Nexus] tlkl:
Nothing??

Enviado desde mi Galaxy Nexus usando Tapatalk 2
[Samsung Galaxy Nexus] grant01:
It totally has destroyed NFC functionality on my Verizon Galaxy. Will not write tags and continually crashes. If anyone has a true Verizon NFC.apk it would be appreciated. The "stock" APK here does not work properly at all.

SO JUST A HEADS UP FOR ALL VERIZON GALAXY USERS. THIS HAS A GOOD CHANCE OF NOT WORKING PROPERLY
[Samsung Galaxy Nexus] Muzikant:
Does anyone have anything to say about the impact on battery consumption ?

Didn't see any response on the thread...
[Samsung Galaxy Nexus] Headcase_Fargone:
I can't seem to get this to work with the screen off. I flashed the screenoff zip, and it works fine when at the lockscreen (I use Widgetlocker if that makes a difference) but never seems to activate when the screen is completely off.

This is on the GSM model with CM9. Any suggestions?
[Samsung Galaxy Nexus] thepatman:
Breaks NFC on JB

Just removes it from the Settings -> More... section completely. My bad for not backing up I guess :(

[EDIT] OH PTFA Pat - I'm applying mods from the SPRINT dev section when I have the GSM direct model <sigh>

Nothing to see here, carry on!
[Samsung Galaxy Nexus] cav3r:
no luck here.

This didnt work for me, all apks from here gave me FC, have a rooted galaxy GSM nexus stock 4.0.4 rom. I noticed the nfc.apk is very different in compared to the one i have in system/app. mine is only 81KB.

... and now to the best part, after a reboot, i dont have the nfc settings anymore, restoring apk from my backup wont help. any idea what to do?

... flashed system back from stock. original functionallity restored.
[Samsung Galaxy Nexus] tgerbracht:
If only this worked...Great idea.
[Samsung Galaxy Nexus] subvertz:
Had it previously working on AOKP M5. Tried again on Tr4nscend (JB build) and it removed NFC option from the phone. Just FYI.
[Samsung Galaxy Nexus] Sum14u2nvy:
If only it worked on JellyBean.
[Samsung Galaxy Nexus] flolee:
(edit: sorry, wrong forum lol)
[Samsung Galaxy Nexus] krazykit:
Give it time. The dev teams are hard at work on JB, so it's just a matter of time.
[Samsung Galaxy Nexus] yxcv99:
HiHo Galaxy Nexus Friends!

I was testing the 'nfcmod_lockscreen.zip' on my Nexus S i9023 GSM with Stock Rom 4.1.1. At all, flashing the file broke my nfc functionality totally. It does not work and the menu point in connections is gone. I don't know what is causing the problem, I even don't know how to find it out.

Propably I can find ghere some Nexus S user who has fixed this problem. (thread in Nexus S subforum: http://xdaforums.com/showthread.php?p=29265564 )

At all many thanks to Geniusdog254 for this gret idea!
[Samsung Galaxy Nexus] XlAfbk:
reading the post before yours would have answered it: it's not yet JB-compatible
[Samsung Galaxy Nexus] yxcv99:
I'll just leave my odexed and deodexed nfc.apk here, propably it helps to see differences between NS and GN.
[Samsung Galaxy Nexus] robshookphoto:
Altering nfc polling is now possible on jelly bean with AOKP unofficial preview build number 6.

I'm a new user and thus unable to post links, but it can be found on rootzwiki. Pm me if you want the link.
[Samsung Galaxy Nexus] XlAfbk:
can the AOKP nfc.apk be ripped from the rom and used on others or does it depend on other stuff?
[Samsung Galaxy Nexus] robshookphoto:
I have no idea, unfortunately. I can send you the apk if you want to mess around with it.
[Samsung Galaxy Nexus] XlAfbk:
please do send the link in PM

Edit: got the file. breaks nfc on cm10
[Samsung Galaxy Nexus] yxcv99:
Does it work for you?
[Samsung Galaxy Nexus] XlAfbk:
"breaks nfc on cm10"
[Samsung Galaxy Nexus] maw230:
subscribing to this as this is THE most important feature that my Gnex is missing at the moment imo.

Good luck devs! I'm willing to donate to whoever makes this work for JB CDMA (VZ) Galaxy Nexi.
[Samsung Galaxy Nexus] XlAfbk:
just wondering, is anyone even actively working on porting this to JB or does it need a new maintainer?
[Samsung Galaxy Nexus] XlAfbk:
JellyBean version

Attached is a version for CM10 based JellyBean ROMs. This should work on CM10, AOKP and similar ROMs. Only the screenoff version is available, lockscreen version doesn't work. Make a backup of your Nfc.apk before applying this one!

For Stock JB ROMs use the modded apk in http://xdaforums.com/showpost.php?p=30015154&postcount=112

Install instructions:

1. backup your /system/app/Nfc.apk

2. push Nfc_screenoff.apk to /system/app/Nfc.apk or use a root-enabled file manager to replace the file

3. reboot

For reference I'm also attaching a .diff of the changes I made. If you try this at home it's important to (bak)smali the classes.dex file and replace it in the original apk, recompiling it as a whole always broke NFC functionality for me.

edit: cm-10-20120831-NIGHTLY and later use http://xdaforums.com/showpost.php?p=31000269&postcount=138
[Samsung Galaxy Nexus] tgerbracht:
Thanks for keeping this project going!
[Samsung Galaxy Nexus] GatorsUF:
Haven't really used this mod yet. Is that port for the Toroplus? I am on Toro and would love this mod for JB!
[Samsung Galaxy Nexus] LoveNFC:
Unfortunately this doesn't work on a stock 4.1.1 GSM Nexus. If I were to send you my NFC apk, would you be able to edit it?
[Samsung Galaxy Nexus] XlAfbk:
I should be, unless the file is completly different from the CM10 one. Can give it a try if you PM me the file.
[Samsung Galaxy Nexus] LoveNFC:
Just needed somewhere reliable to upload, sorry.
[Samsung Galaxy Nexus] kev0153:
Thanks but didn't seem to work on liquid smooth beta 1 on my vzw nexus
[Samsung Galaxy Nexus] Lesicnik1:
I can confirm it works on ParanoidAndroid 1.9.5a for the maguro :)
[Samsung Galaxy Nexus] Sum14u2nvy:
So thisll work on any JB ROM?
[Samsung Galaxy Nexus] XlAfbk:
My mod (http://xdaforums.com/showpost.php?p=29625900&postcount=93) should work on CM10 based ROMs, might work on stock-JB roms. If it doesn't work on your stock-JB ROM I have a mod for that locally, but it's untested, need some testers. If you want it PM please.
[Samsung Galaxy Nexus] yxcv99:
Sorry for being such a beggar (?) but is there a chance to merge it to my apk? http://xdaforums.com/showthread.php?p=29392623