yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] wisepage:
Was working OK to start with, then NFC service kept stopping and FCing regularly. Flashed the "stock" zip but same thing. For those who have had the same problems, has anyone managed to recover NFC after flashing this? Anyone know if the AOKP/BlackIce Nfc.apk is different from the stock one and where I might find either one so I can get NFC working again?
[Samsung Galaxy Nexus] XlAfbk:
In the ROMs zip.
[Samsung Galaxy Nexus] wisepage:
Yeah found it and installed, still getting the "Unfortunately...stopped" error a lot. Can't delete tags. Not sure if this is a problem with BlackIce build 40 or this NFC mod has permanently broken something. Bummer. Not sure what else I can do...
[Samsung Galaxy Nexus] XlAfbk:
this mod doesn't make any changes to the system. It's just the 1 apk that's changed and when you revert that you're back to where you were before.
[Samsung Galaxy Nexus] wisepage:
Figured as much. Unless the fault lies with the ROM (or an app)?

Constant FC's now. I might flash a new ROM and start again, see how I go.
[Samsung Galaxy Nexus] kev0153:
I'm using aokp nightly on my vzw nexus and it has an option for using nfc tags with the screen off. Works pretty good.

http://rootzwiki.com/topic/31650-aokp-jellybean-official-nightlies/
[Samsung Galaxy Nexus] wisepage:
Actually, I'm not 100% sure about this. Prior to flashing this, I could write and delete tags fine using NFC task launcher. Now, any time I try and write or delete a tag I get the "Unfortunately, NFC service has stopped" message. I have flashed the stock zip in the OP, the stock nfc.apk found in my ROM, cleared cache partition and dalvik. No matter what I do, every time I try and write a tag it crashes. I can read the 1 tag I wrote prior to flashing this zip just fine, but I can't write anything.

I am by no means an expert, so take my comments with a grain of salt. But I would advise at least some caution before flashing this.
[Samsung Galaxy Nexus] maw230:
Which nightly are you running? I'd love to give this a try.

Edit - If anyone is curious the latest 8/8 nightly from AOKP has this feature. I haven't tried it yet, but the ROM itself is working flawlessly so far.
[Samsung Galaxy Nexus] je55ter:
Stock JB version.

I managed to get this working on my gsm GNex running stock Jelly Bean, by manually applying the changes in XlAfbk's diff file to the Nfc.apk/odex files in my phone. I'm attaching my modded apk here for others running stock JB to try, but of course, I make no guarantees that it will work for everyone.

One thing to be aware of (as it tripped me up the first time I tried). If you use a file browser with root access to copy this into your /system/app directory, you may need to adjust permissions on it after copying before it will work. Permissions should be rw-r--r--.

Also, of course make sure to backup your original files (and if you copied them to another directory, you may need to reset the permissions on your backed up files after you restore them.)
[Samsung Galaxy Nexus] sudaltsov:
Checked the solution for Samsung Galaxy SIII. It does not work on my (International, Vodafone-branded). NFC stopped working altogether (even returning to "stock" archive did not help). I guess the hack is for some US hardware.
[Samsung Galaxy Nexus] kev0153:
I'm on the 8/8 as well (toro). The only problem I see is that you have to restart nfc but checking / unchecking in settings from time to time. Seems to happen randomly, but after toggling nfc will work again.
[Samsung Galaxy Nexus] mitpianoman:
Thanks for the post. I can confirm this does NOT work for the verizon galaxy nexus, using Pete's Bugless Beast Jelly Bean ROM. I figured it was a long shot but had to hope...
[Samsung Galaxy Nexus] XlAfbk:
if that Pete .... ROM is based on CM try http://xdaforums.com/showpost.php?p=29625900&postcount=93
[Samsung Galaxy Nexus] Keiserrott:
This was a no go on the Sprint GS3 stock rooted.
[Samsung Galaxy Nexus] bulgareli:
Anyone else tried this? My GNex also is running stock JB 4.1.1. What I have to do? Just replace the NFC.apk file (backup it before) and if it dosen't work put it back the stock one?

One question: I have to rename the Nfc-screenoff.apk file to NFC.apk, right?

Thanks!!
[Samsung Galaxy Nexus] XlAfbk:
rename your /system/app/Nfc.apk to Nfc.bak

if you have a /system/app/Nfc.odex rename it to Nfc.odex.bak

Push Nfc-screenoff.apk to /system/app/Nfc.apk

reboot
[Samsung Galaxy Nexus] je55ter:
Also, make sure you set the permissions on the new Nfc.apk to rw-r--r--, otherwise you may end up with no NFC at all.

I used ES File Explorer with root access enabled to both copy/rename the files and set the permissions.
[Samsung Galaxy Nexus] bulgareli:
How exactly I set the permissions on the new Nfc.apk to rw-r--r-- using the ES File Explorer?

I already have the ES with root access enabled.

Thanks.
[Samsung Galaxy Nexus] je55ter:
Once you've copied/renamed the file, long press on it and select "properties". This will show information about the file including its Permissions. There should be a button next to the permissions labeled "change". Press that button, then make sure all checkboxes in the left column are checked, as well as the middle top box. Then you can click Ok on both dialogs, and reboot.
[Samsung Galaxy Nexus] soundslikemitch:
is there a version that works with tmobiles gs3?
[Samsung Galaxy Nexus] NFC Guy:
This worked perfectly on my stock 4.1.1 Galaxy Nexus. Thank you very much!
[Samsung Galaxy Nexus] bulgareli:
Thank you very much je55ter. This work perfectly im my GNexus JB stock 4.1.1. Life is much easier now! :laugh:
[Samsung Galaxy Nexus] etbotw:
Hello,

can someone be able to port it to Nexus S ?

If needed, i can provide the apk ...

Thanks for your help,

Etbotw
[Samsung Galaxy Nexus] XlAfbk:
there's no need for device specific ports. if you're running an official JB rom the Gnexus JB version will work. If you're running CM there's versions for that in this thread as well.
[Samsung Galaxy Nexus] tgerbracht:
Aokp version or would cm10 be compatible?
[Samsung Galaxy Nexus] XlAfbk:
aokp has a modded nfc with a setting when to scan. CM10 is getting that as well, it's in their github but not merged yet. for now use the apk I posted some pages before for CM10. Unless of course you're running stock, then use the stock JB version in this thread.
[Samsung Galaxy Nexus] sccubasteve:
I know this was really dumb on my part, but I didn't make a backup of my stock necessary app before flashing. Can someone send me a titanium backup of their stock nfc for sprint gnex?
[Samsung Galaxy Nexus] khaffner:
I can confirm that the nfcmod_screenoff.zip does NOT work on Samsung Nexus S with official Android 4.1.1 (JRO03E). Nor did the nfcmod_stock.zip. Luckily, I did a full backup before testing :)
[Samsung Galaxy Nexus] XlAfbk:
guessing from the filenames you just installed the files from first post without even reading it... Stock JB version is in http://xdaforums.com/showpost.php?p=30015154&postcount=112
[Samsung Galaxy Nexus] dwreck420:
Battery Life?

Do you think this will increase battery usage?
[Samsung Galaxy Nexus] XlAfbk:
nope, it won't.

BTW, CM10 and AOKP have added a NFC mode option which enables users to choose when NFC should be active: unlocked, screen on, always.
[Samsung Galaxy Nexus] Beast84:
When was this added to CMX? I know AOKP has it & I read CM was implementing it but I haven't seen it
[Samsung Galaxy Nexus] pittnuma:
Been trying to find this, where is the setting within cm10?
[Samsung Galaxy Nexus] XlAfbk:
hm, it seems that it's only in Euroskank. Thought I had read it in an CM nightly changelog. My bad!
[Samsung Galaxy Nexus] XlAfbk:
CM10 version, updated

CM10 recently (in cm-10-20120831-NIGHTLY) changed something about Nfc.apk, so here's the new mod
[Samsung Galaxy Nexus] Royal2000H:
I can confirm as well that following these instructions does not work on Bugless Beast (Jelly Bean) on my VZW Galaxy Nexus, which is supposed to be as close to stock as possible. (It is not based off CM). I even wiped cache and dalvik cache. NFC completely doesn't work with this file and the NFC options disappear from the settings menu too.
[Samsung Galaxy Nexus] OpusX11:
Just curious if you were planning on releasing a screen-on/lockscreen version?
[Samsung Galaxy Nexus] XlAfbk:
Screen-on doesn't work on JB
[Samsung Galaxy Nexus] nerys71:
will the sgIII fixes work on the JB leaked rom that is out now?
[Samsung Galaxy Nexus] XlAfbk:
just test it!? and if it doesn't work patch it yourself, the diff is in this thread.
[Samsung Galaxy Nexus] ironhead65:
Any patches for the T-Mobile Samsung Galaxy S2?

I took a look through the thread using the search, did not get any hits.

Thanks!

--Ironhead
[Samsung Galaxy Nexus] nerys71:
I don't think any S2 variants have NFC ???

I am waiting to "get" some NFC tags (on the way)

if I flash them it won't permanently hard the phone? I will be able to easily flash back the backup?

how do I make a backup? of what?
[Samsung Galaxy Nexus] ironhead65:
I am not sure about all the variants, but mine is a T989 (T-Mobile Galaxy S2). It does have it.

I use it quite a bit with Tasker to set things like "Night Time Mode" or Car mode, etc. In those cases, 95% of the time I DO plug in the phone to power, so the screen DOES turn on, and then I read the NFC tag. HOWEVER, it would be nice to be able to NOT have to plug my phone into my car's adapter...say I was running down to the corner store, or just a quick-ish run somewhere.

--Ironhead
[Samsung Galaxy Nexus] pablo.va87:
I've flashed the nfcmod_screenoff and the NFC function has disappeared completly :S any help please?

I'm using Galaxy Nexus GSM (AOKP JB build 4)

Edit: I've flashed the stock mod and the NFC function does not appear, ****.
[Samsung Galaxy Nexus] XlAfbk:
sounds like you didn't flash the JB version I created or that AOKP is incompatible with it.

But didn't AOKP introduce an option for when NFC should be active recently?
[Samsung Galaxy Nexus] Royal2000H:
I patched the Nfc.apk for Bugless Beast (JB) for screen off. It works :)

Thanks for the diff, XlAfbk!
[Samsung Galaxy Nexus] Hero_Guy:
This doesn't necessarily belong here but its related and I don't want to create a thread to ask. In AOKP, there's an option to set the NFC polling mode to screen off, does this drain battery faster than having the polling mode set to screen on?
[Samsung Galaxy Nexus] burgi400:
Android 4.1.2 issue

Hi, the mod is not working on last nightly of cm10, android 4.1.2 (nfc functionality fully gone), any suggestion?
[Samsung Galaxy Nexus] XlAfbk:
my CM10 mod works just fine with CM10 4.1.2 builds, at least it does in cm-10-20121012-NIGHTLY-maguro.zip. And i can't see any Nfc related changes in the next builds.
[Samsung Galaxy Nexus] Royal2000H:
XlAfbk,

I had to uninstall the Nfc.apk that I patched with the help of your diff file. It did work with the screen off, but every so often NFC would stop working (screen off or unlocked) completely, and I would have to go into Settings and disable and re-enable NFC. That would do the trick and make NFC work again, but in a couple of hours same thing.

I decided the hassle of dis/re-enabling NFC pretty much every time I needed it was much more than unlocking the phone.

Do you have any idea why this would happen? Any help would be appreciated.

My step by step:

I removed classes.dex from the apk (7-zip as my archive utility)

baksmali'd the dex

Modified NfcService.smali by replacing everything line by line manually (did not use a diff program) and verifying that I copied each line correctly

smali'd back into dex

dragged classes.dex back into Nfc.apk (again with 7-zip)

and replaced the new apk into /system/app/

To note: I did not sign the apk or anything after modification.
[Samsung Galaxy Nexus] XlAfbk:
those steps are all correct, wouldn't know what went wrong. haven't experienced such a behaviour myself. maybe try samli/baksmali 1.3.3? might be a new bug in 1.4.0
[Samsung Galaxy Nexus] burgi400:
i just tried it with cm10 nightly kang from 14 october and from 13 october and it is definitly not working. after changing the nfc app the nfc functionality is fully broken, also no options in options dialog
[Samsung Galaxy Nexus] XlAfbk:
I'm currently on cm-10-20121015-NIGHTLY-maguro.zip and it's working fine with that one as well.

If you're using Euroskank: I think he's cherrypicked the Nfc setting quite a while ago so you won't need this mod but just change the mode in settings.
[Samsung Galaxy Nexus] TeamHackura:
I am also interested in nfcwhilescreenis off on t989..... and also nexus 7 ;)
[Samsung Galaxy Nexus] heaiser:
I'm getting really confused. I have an AT&T based Galaxy S3 running the newest CM10 nightly. What file do I want to download for my device?

Edit: Disregard, got it working.
[Samsung Galaxy Nexus] supersain08:
Please add support for SGH t989
[Samsung Galaxy Nexus] Ruggerxpunk:
I"m just curious, has anyone tested this with Paranoid Android on GSM Galaxy Nexus?

That is an AOSP ROM, but it has quite a few customizations.
[Samsung Galaxy Nexus] nerys71:
anyone confirmed if the deodex nfc screen off mod works on the final LJ7 JB release ?
[Samsung Galaxy Nexus] BigBadBuddy:
I tried it a week or two ago and it dorked NFC. I reflashed the ROM to fix. Since there have been updates since then I'll probably try it again tomorrow.

EDIT: I'm on Sprint, just realized you said GSM
[Samsung Galaxy Nexus] Skurvy_Pirate:
Anyone get this working on Bugless Beast?
[Samsung Galaxy Nexus] Sagin:
Hello,

is it also possible with galaxy note2? If yes which file should i choose.

Thanks
[Samsung Galaxy Nexus] nerys71:
its crazy how much I use this screen off feature. but now I also have a note II and of course it don't work on the note II

can you make the changes to this for me? (attaching the apk)

this is the stock deodex rooted PALJC for sprint Note II
[Samsung Galaxy Nexus] bulgareli:
This MOD stop working on Jelly Bean 4.2.... I tried replacing the original Nfc.apk by this new one modified, but it has no effect. (Put it back the stock one and everything is normal)

Anyone is planning to update this MOD?

Thanks
[Samsung Galaxy Nexus] nerys71:
Pretty please mod this. attached file is the US Sprint NOTE II Stock Rooted Deodex LJC Rom.
[Samsung Galaxy Nexus] dignan17:
Um, I screwed up. I have a Galaxy Nexus (Verizon) running stock 4.1 that I flashed. Looks like I was too eager and completely forgot to make a backup of my NFC apk before flashing this mod. The mod didn't work, and flashing the "stock" zip didn't bring NFC back. NFC is now completely absent from my phone.

What do I do? Is there somewhere I can find the proper NFC apk for my phone?

And is there going to be an update to this mod? I'd REALLY love to use NFC with the screen off. It's so much more convenient in the car especially.
[Samsung Galaxy Nexus] bulgareli:
Here is the stock NFC files:

Download, rename the files for Nfc.apk and Nfc.odex, and copy these 2 files to your /system/app folder:

https://www.dropbox.com/s/o7s3nlzz1oxmn9i/Nfc.apk%20%28stock%29.bak

https://www.dropbox.com/s/544kjo469amocmp/Nfc.odex%20%28stock%29.bak

I'm really expecting the update for this MOD, NFC with screen off is something very useful.
[Samsung Galaxy Nexus] nerys71:
yes please still need the Note II US Sprint nfc update. it works lock screen but not screen off !!

also YOU HAVE the original NFC.apk. the stock rom you flashed can be opened by an archiver (like winrar) just go inside and pull out the nfc.apk from the app folder.
[Samsung Galaxy Nexus] dignan17:
Thanks so much for posting those, but sadly it doesn't seem like they did the trick. I still don't have NFC capability on my phone. Again, it's my fault for not making a backup, I just need to fix this and I don't know how :(
[Samsung Galaxy Nexus] bulgareli:
Just realised something now... You have a Verizon Galaxy Nexus, the files I posted is from a GSM Galaxy Nexus. Maybe that's why it didn't work.

Have you tried re-flashing stock JB 4.1.1?
[Samsung Galaxy Nexus] dignan17:
Will that make me start from scratch? As much as I want NFC, I'm not ready to wipe the phone again... :(
[Samsung Galaxy Nexus] bulgareli:
I believe it'll... But don't worry, make a backup with Titanium Backup first.
[Samsung Galaxy Nexus] nerys71:
can someone please mod the US Sprint Note II nfc.apk I posted.

someone posted some Note II APK's but they only work lock screen they do NOT work screen off. :(

I tried the nfc.apk from my S3 but that just makes the Note II really mad :) hehe
[Samsung Galaxy Nexus] bimasakti85:
I think reflash your rom without wiping will solve your problem...
[Samsung Galaxy Nexus] nerys71:
I have done that twice (messing with other stuff) so far no change. it works on the lock screen but not "screen off"
[Samsung Galaxy Nexus] brium13:
Hello,

Does this work on the LG Nexus 4 ?

If not, there is there a MOD compatible ?

Thank you in advance.

-------------------------------------------------------------------

Bonjour,

cela fonctionne t'il sur le LG Nexus 4 ?

Si non, y a t'il une MOD compatible ?

Merci d'avance.
[Samsung Galaxy Nexus] XlAfbk:
you'll need to mod the Nexus 4 Nfc.apk yourself. The required changes are in this thread.
[Samsung Galaxy Nexus] brium13:
Hello, thank you, I'll watch it, thank you.

---------- Post added at 05:00 PM ---------- Previous post was at 04:37 PM ----------

Hello

The name of my files: NfcNci.apk and NfcNci.odex

Is that it is the right file?

What should I do next, I did not find the instruction on the topic?

thank you
[Galaxy Ace S5830 General] immy28:
i brick my ace :(:(

i have Flashing Problem

in just last night i flash ma ace .

but i cant .. because ..pc shutdown and my ace is brick.

error...with odin

first is good but 1/10 step installing rom then 4 step installing is hanging or not

installing.. i just wait 2 -3 hour but ntng work .

i try 4-5 time bt 4step ( amss-somthing like that ) file is not installing..

so plz tell me how to flash my ace .

i try diffrent base or 1-pack file (zip) like DDKQ8,xxkph,xwkt7 .. but .. i say (Amss) that file cant installing ..

tell me what can i do ...

thanku all..:(:(
[Galaxy Ace S5830 General] Shaaan:
Try a usb jig.
[Galaxy Ace S5830 General] immy28:
what is jig ? idk :confused::confused:

Edit; I search in Google. .for jig ..

But I can putting my ace in downloading mod.

By I can't flash. .. that file is not instolling .
[Galaxy Ace S5830 General] PsyGik:
USB jig: http://xdaforums.com/showthread.php?t=1604707

Or download android commander, press the power button kinda icon and reboot to download. (if you have knowledge on ADB then use that instead of android commander)
[Galaxy Ace S5830 General] Harry GT-S5830:
Try just getting a boot on it in the AP boot section, use Odin multidownloader 4.42 with cooper.ops, then from there flash a new firmware with your new boot image allowing it to hopefully work
[Galaxy Ace S5830 General] grubbyhabi:
dont forget to activate usb debuging
[Asus  Eee Pad Transformer Prime] Tweek900:
Hey guys, So i'm new to the tablet world. I'm not sure what tablet i'm going to buy but at the moment i'm leaning towards the asus eee pad transformer prime. It looks like a pretty slick product. Any thoughts on that are welcome :)

But for my main question. I was going to buy this and use it as a video player at work until i saw the keyboard dock. Now i want a tablet that i can play some games on. Not just android apps. Maybe java based web games? And maybe even league of legends if possible.

I'm not sure if this is possible on this device or any at this time. A friend told me to wait for a windows 8 tablet but its not even sure that those can do it. So any advice in this area would be amazing

Thanks :)
[Asus  Eee Pad Transformer Prime] slowatsch:
Well I'm not really into tablet gaming, and I play some games on my TFP from time to time. As far as I know you can get gamepads working on the TFP. For LoL there is no Android version as far as I know. But I kinda successfully played Starcraft2 and Diablo 3 on the tablet with the Splashtop THD app... it basicly screens your desktop on the tablet. So you have to have you computer running and stuff. Also a good connection is needed for the streaming. But it's fun :)
[Asus  Eee Pad Transformer Prime] Tweek900:
I don't have the Internet speeds to remote to my computer and do it that way. So maybe I would be better off waiting on windows 8 tablets
[Asus  Eee Pad Transformer Prime] Tweek900:
Does anyone else have any information on this?
[Verizon Droid Charge] killerapl:
So recently i have been getting the static noise(yes i know its been talked about many of times) on my phone on about every other call. I had already had one charge replaced due to the static noise. Since i was getting close to my warranty expiring plus i really couldn't handle the static noise anymore, i decided to give verizon a call. I had only one expectation, to get a charge refurb replacement. What actually happened............they gave me a nexus as a replacement. Yup you read that right!!!! Didnt count as my upgrade, didn't have to pay anything, simple as that!! Its a refurb nexus but still!!!

So i should receive it by friday. I just really want to thank all the devs out there that bring goodness to the charge. Tweakstock is so freaking amazing as well as the ics theme!! You guys rock!!! For now farewell and i might even see some of you guys on the nexus side :)
[Verizon Droid Charge] DROID3R:
Wow... how can i get that crackling noise on my charge?
[Verizon Droid Charge] killerapl:
You dont want that crackling noise!!!! **** is annoying. I seriously just lucked out. I was really nice, explained what i tried to tech 1 support, told them it wasnt going away and just kept chatting with them. I just mentioned i was scared i would get another charge with the same issue and then be stuck since my warranty was running out. Tech support said she can look at other equivalent models. I told her i liked samsung, especially the nexus, she talked to manager and boom i jumped for joy!
[Verizon Droid Charge] cujo6801:
Just tell them you have it....trust me the know of the problem.

SENT FROM THE DOG POUND
[Verizon Droid Charge] DKYang:
Gratz. Hopefully, everyone doesn't start trying this to get a free replacement.
[Verizon Droid Charge] kintwofan:
I actually just got off the phone with verizon today with the same problem. They have me a razr as a replacement device. I retired to get a maxx even offered today some for it but no go. However I'll be being my new razr in tomorrow so no more charge. It was fun while it lasted. Verizon is well aware if this static problem, and of the data drops
[Verizon Droid Charge] BattsNotIncld:
Never had static issues. Also no data drop issues since EP4/FP1 updates. That's pretty cool that they gave you a nexus as a replacement, but it is 6 months old already, and the SGS3 has been announced, so it's not that surprising. I suppose if you catch the right manager on the right day...
[Verizon Droid Charge] killerapl:
Yeah that's true. Kinda wondering if they even want to fade out the charge. Reminds me of the fascinate.
[Verizon Droid Charge] shrike1978:
I've actually started having data drops recently and I never had them before. It really sucks that my phone will be showing 4G and not able to connect to anything, and my girlfriend's Rezound is doing just fine. I may call and try my luck.
[Verizon Droid Charge] BleedsOrangeandBlue:
i had that issue before and they wouldn't even send me a new sim card.
[Verizon Droid Charge] kintwofan:
I actually thought my problem was sim related, but the csm informed me that was a known problem with the charge. Thats actually the train they sent me a razr, not the static
[Verizon Droid Charge] killerapl:
Well now I'm reading on the multiple problems with the nexus (low signal, dropped calls, microphone mutes, random reboots) .
[Verizon Droid Charge] kintwofan:
Its the samsung radios. I'm glad o for a razr, supposed to have great signal. Just wish it was a max
[Verizon Droid Charge] killerapl:
Got my nexus!! It runs smooth, no problems yet. Again thank you all the devs for the charge. You guys really made the charge an awesome phone but i guess we all have to move on sometime!