yashsingh1/xdaforums huggingface dataset:
[HTC One X] StephanSch:
OK. I'm just eating something and if it doesn't work anyway I'l give you one for chameleon
[HTC One X] the_real_fosgate:
Hello,

I tried downloading the file once more, pushed it via adb like you posted in OP.

I rebooted in recovery, wiped cache and dalvik cache, rebooted the phone,

then I disabled NFC and enabled it once again. But the same as before.

It is only working on unlocked screen, or on Lockscreen.

It would be great, when you make the files for Charmeleon Roms !!

Thank you & bye bye

Robert
[HTC One X] StephanSch:
Try this:

http://hox.stephanschenk.de/test/NfcMod-HOX-Charmeleon5-screenoff+lockscreen-v1.0.apk
[HTC One X] the_real_fosgate:
Sorry ... the same problem, everything is working well, but not when screen is

off, after pushing the power button on top of my HOX.

Bye

Robert
[HTC One X] StephanSch:
Hmm... on the first sight I would say they have a different nfc.apk (I used it) but I cannot imagine that it interpretes the android.intent.screen_off different than others.

Could you look into logcat whether there is a NFC-C off when screen is off and/or put a question in their thread?
[HTC One X] the_real_fosgate:
Sorry, I don´t know about logcat.

I use franco kernel r9. Could it be that this is the reason for the problem?

Bye

Robert
[HTC One X] StephanSch:
don't know. I'm using faux. Perhaps there is some kind of fast deep sleep
[HTC One X] the_real_fosgate:
ok ... now I tried to install stock kernel for testing, but still the same :-(

Bye

Robert
[HTC One X] StephanSch:
with modules?
[HTC One X] the_real_fosgate:
of course
[HTC One X] StephanSch:
So. Who else is using this on HOX? And on which ROM and kernel?
[HTC One X] sakiin:
Using it with Renovate 1.2.0 rom and works perfectly on all three modes. Thanks mate.
[HTC One X] the_real_fosgate:
Hello,

now I tried the Faux 3b7 but still the same.

Bye

Robert
[HTC One X] zvieratko:
I switched to CM9 alpha yesterday and wanted to give this another try - with the version in this thread it refused to work (at all - NFC was gone).

When I used the original non-HOX-version http://xdaforums.com/showthread.php?t=1709586 it works.

Give it a try, it might work for you as well...
[HTC One X] StephanSch:
The missing option comes by another framework. I can say that there are definitively differences between that NFC service and the one from hox. But I don't know on what this results

Which CM9-ROM are you using? I'm jut downloading this: http://xdaforums.com/showthread.php?t=1706001
[HTC One X] StephanSch:
For CM9 please give this a try

NfcMod-HOX-CM9-screenoff+lockscreen-v1.0.apk
[HTC One X] the_real_fosgate:
Me once again ;-)

I tried every file I could find ... but no success for NFC and screen off :-(

Could somebody with Charmeleon 5.0.0 Rom test this mod for me?

Bye

Robert
[HTC One X] zvieratko:
this one

http://xdaforums.com/showthread.php?t=1706001

some issues as expected, but it's well worth it :-) I just tried new ARHD 7.0 and it feels soooo sloooooooow compared to CM9...
[HTC One X] StephanSch:
Did you try the apk 3 posts above?
[HTC One X] the_real_fosgate:
are you "talking" to me?
[HTC One X] StephanSch:
no, unfortunately not

it was about CM9
[HTC One X] dusanzk:
Is it just me or are the links down ?

Just tried all three using three different browsers.

Also, anyone tried the Screen off version on ARHD 7.0.0 ?
[HTC One X] StephanSch:
Sorry, had to restore my server. They are online now
[HTC One X] dusanzk:
Ok, managed to download and push the apk to system/app through adb but when i rebooted the phone the NFC option in setttings was gone.

I'm on ARHD 7.0.0, i'm guessing that's not supported yet ?
[HTC One X] StephanSch:
I added the files for ARHD7 in OP.

FYI: There are changes in filesize in both nfc.apk and framework of ARHD7 but I don't know/care what changed.
[HTC One X] dusanzk:
Can confirm the new Screen Off version works on ARHD 7.0.0.

Thanks

UPDATE: Lockscreen version also works on ARHD 7.0.0
[HTC One X] StephanSch:
Some guys tried to download the old apk. Please use the download links on the op. I renamed them because of the different ROMs.
[HTC One X] drew071:
NFC

i know this is about NFC with screen off but im wondering if any of you can help, my phone has lost NFC capability, i have flashed slim, leedroid, ARHD and now im back on stock 1.29.401.11 but NFC has stopped responding. It is selected in settings and beam is on. i really dont know what to do?

Any help will be greatly appreciated.

Thanks

Drew071
[HTC One X] StephanSch:
Did it stop in stock or before?

Did you wipe Dalvik and/or full wipe?

How do you use NFC normally?
[HTC One X] drew071:
i flashed using an RUU so i assume it would clear all caches on installation.

It used to work on stock but now wont.

I was trying to send information to my wifes HOX whos NFC is working flawlessly

Thanks for your quick reply

Drew071
[HTC One X] StephanSch:
Did it work on the custom ROMs?
[HTC One X] drew071:
yeah it worked on leedroid so i dont understand why it has stopped working.

drew071
[HTC One X] StephanSch:
Install and start aLogcat and filter/search for NFC --> screen off --> screen on --> post output
[HTC One X] StephanSch:
Looks good (like on mine)

So software part seems ok. I hope you or your wife have no bumper or anything like that on the phone.

You could try again a custom ROM or a full wipe or to search another NFC device or tag.

No more ideas on my site, sorry.
[HTC One X] drew071:
no both are bumper free. Thanks for the help anyway. i just dont know what is wrong with it. it must be a hardware issue. my phone is unlocked so dont really want to send it back to HTC.

Drew071
[HTC One X] mattmanwrx:
Hi, thanks for the mod...

I'm running leedroid latest (6.4)...

Have just received some NFC tags, so wanted to check it worked...

I moved the apk (with root explorer), the other day (when I ordered them), and check when they came today.. it didn't work...

I copied the apk over again, rebooted and it did work...

It has now stopped working again... Seems like it goes into deepsleep and then doesn't recognise that the NFC is near...

I wanted this for my car to turn off WiFi (and other things), but if I have to unlock my phone, I may aswell do it manually...

Is there something.I'm missing? Has this been mentioned before (sorry, haven't read through the thread)...

Thanks, Matt

Edit: re done it all, and it is working perfectly... Thanks.. :)
[HTC One X] ebguilbert:
Links broken

The links are broken. I get permission denied.

Please fix
[HTC One X] StephanSch:
try again, please
[HTC One X] ebguilbert:
Same problem :(
[HTC One X] StephanSch:
You have to use the link of the OP so that xda-developers.com is the referrer. If your firewall or proxy cuts the referer you get a forbidden.

I disabled this check. So try again please.
[HTC One X] ebguilbert:
It worked! Thanks

Enviado desde mi HTC One X usando Tapatalk 2
[HTC One X] bRunO:
is it possible to use this APK with a stock rom+root?
[HTC One X] StephanSch:
Im using it with ARHD which is almost stock
[HTC One X] bogfather:
Is this mod compatible with ViperX 1.0.1 Rom?
[HTC One X] StephanSch:
It needs less a minute to test. This will give you faster response than waiting here.
[HTC One X] bogfather:
Can confirm the lockscreen only mod works perfectly on ViperX 1.0.1 Rom :thumbup::)

Cheers for this great mod
[HTC One X] prophet_master:
HTC One X MAXIMUS V2.2

Do not work on Rom MAXIMUS V2.2, can you do something? I joined Nfc.apk of rom. I'm android developer if you want help with pleasure.
[HTC One X] StephanSch:
I can when I'm home again (about 5 hours). I also need all framework*.apk

Then I will also take a look at ARHD 8 (HTC Sense 4.1 and test base)
[HTC One X] StephanSch:
New APK

In OP are the apk for ARHD8. It also has 2.15 base and Sense 4.1. So, please try that first.
[HTC One X] Fekke:
what apps in htc one x does NFC work?

i have tried contacts and gallery. Contacts works, but not in the gallery app
[HTC One X] ianjsilver:
Hi, really enjoyed using this mod on Leedroid, but have now switched to CM10, and miss this feature the most. Will you be doing a CM ver at some stage? It would be so nice to have this feature back, thanks/
[HTC One X] StephanSch:
For sure I can. Please give me the Link to the ROM you are using.

I probably can do it this evening (CEST).
[HTC One X] mattmanwrx:
Hi, is there a guide on how to do this? I would like to enable it on my nexus 7, and future devices...
[HTC One X] StephanSch:
http://xdaforums.com/showpost.php?p=27751249&postcount=16
[HTC One X] ianjsilver:
Thank you, that's much appreciated, here is the link, http://xdaforums.com/showthread.php?t=1786696

Thank you again.
[HTC One X] StephanSch:
Take a look at the OP
[HTC One X] ianjsilver:
Thank you Stephan, just copied it across and it works like a dream! no more faffing in the car.
[HTC One X] StephanSch:
ARHD9 added

ARHD9 added on OP

The one of ARHD8 probably works too but this one is a bit smaller.

Surely only because of no debug code compared to testbase 2.15
[HTC One X] allo2u:
Hey Stephan! Thanks for adding ARHD 9 support!

I'm sure this has been asked before but can't find the info anywhere; is there any stats or so about increased battery consumption after installing this mod?

Thanks!
[HTC One X] StephanSch:
No, none. Probably beacause it is that marginal that nobody realizes.

I'm using it only on lockscreen, so there is almost nothing because the phone is on anyway
[HTC One X] allo2u:
Thanks! That's just awesome! Will install it on ARHD 9.1 and get myself some tags! Great mod!
[HTC One X] thebobmannh:
Any chance this would work on CleanROM 4.5? Should I just try and see, or is it pointless to even try? (sorry if a stupid question; I'm still a bit new to custom ROMs and not quite sure what features interoperate between them).
[HTC One X] StephanSch:
In xda it is never useless to try. Just try it and give feedback. If it doesn't work I'll build a working apk

The indication that it doesn't work is that NFC doesn't work ;) and/or that the properties menu of NFC are gone
[HTC One X] thebobmannh:
Ha, great, thanks. Any idea which package might be most likely to be compatible?

I'll give it a try tomorrow night I think.
[HTC One X] StephanSch:
I don't find a CleanROM in Dev-Section, so it is hard to tell. If you give me a link I'll create a fitting APK.

ARHDis with Sense (ARHD9 with Sense 4.1, ARHD8 with Sense 4.0). CM10 probably only works on CM10
[HTC One X] thebobmannh:
My bad, CleanROM is a ROM for the AT&T version of the One X, I didn't realize this was the Int'l version forum (I stumbled here searching for an NFC fix)

http://xdaforums.com/showthread.php?t=1655011 is the link to the ROM, but realizing it's for a different phone I'm guessing I'm SOL. Sorry for the confusion.
[HTC One X] StephanSch:
So. We will find a new Mod in the AT&T section soon
[HTC One X] StephanSch:
Or even not. I cannot edit odexed ROMs
[HTC One X] thebobmannh:
Damn. OK, well, thanks.
[HTC One X] Jamesch:
Is it possible to replace Nfc.apk on full stock HOX?
[HTC One X] StephanSch:
Search helps: Just try the one forARHD
[HTC One X] ercliou:
Hi, is this mod still working for new CM10s?

I've tried on cm-10-20120920-NIGHTLY, but the NFC's options in Settings just disappeared.
[HTC One X] miguel.netreg:
I'm a little confused, but to my knowledge, the OneX doesn't even have the NFC hardware chip, does it?! So not sure why the thread is here... or am I completely wrong?.. :-/
[HTC One X] bogfather:
The one x does have NFC, I'm using the tags everyday
[HTC One X] StephanSch:
Hi. If it doesn't work I have to create a new one. Sometimes they change something on the framework and then the options are gone. You will get new one when I'm back from work
[HTC One X] miguel.netreg:
Hmmm... interesting... Thanks! I'll give that a crack then, nice!.. :cyclops:
[HTC One X] StephanSch:
NFCMod for CM 10 Nightly

Needed some time longer, but there they are.

Based on 20120919 because download of 20120920 is corrupt
[HTC One X] :
10 chars
[HTC One X] StephanSch:
If it has Sense try apk of arhd (arhd9 for Sense 4.1, arhd8 earlier version). If not give a link to the Rom
[HTC One X] 1immortal:
did anyone tested this mod on a InsertCoin latest roms ? 9.x.x ?
[HTC One X] abr67:
Could you patch the nfc.apk for JellyBean Sense+ please ;)

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] StephanSch:
I'm working on it but it is not that easy as with ICS because there no check for screen on/off in the apk anymore.

The first with this this will be the one for ARHD 10 (and a new comming rom)

Don't reckon that it will be here before weekend
[HTC One X] derfler:
can some1 tell me if it works on the new base 3.07 jellybean 4.1 + sense 4.5

and if not pls make some that work :)

plsss
[HTC One X] StephanSch:
are you kidding? Did you read any of the two posts above :eek:
[HTC One X] derfler:
Lol, I'm sorry. Didn't see that

Sent from my HTC One X
[HTC One X] willn0t:
Can someone please explain how to install this on stock 4.0.4 sense 4.1 version? and which file?

thanks
[HTC One X] StephanSch:
NFCMod for JB ARHD 11

OP updated with first HTC JB release for ARHD 11

I will also try to give some information of the roms. So you can find the version for your rom by comparing the specifications.
[HTC One X] flakz0r:
Hey StephanSch, great job. Any chance you could mod the new Nfc.apk from CM10 with android 4.1.2?

I can upload it if you want. :)
[HTC One X] StephanSch:
Did they change something since september (OP)?
[HTC One X] flakz0r:
I saw a few nfc related commits on the official android 4.1.2 changelog, so i'm assuming it has changed.

Here's the changelog: http://goo.gl/6Ilp6
[HTC One X] StephanSch:
Ok, I'll take a look. But could need a day or two. Until then I'm sure the old are still working
[HTC One X] flakz0r:
Yeah, of course, take your time. And thanks, this is really useful. :)
[HTC One X] StephanSch:
NFCMod for CM 10 Nightly JB 4.1.2

OP updated with CM 10 Nightly 20121014 (JB 4.1.2)
[HTC One X] flakz0r:
Doesn't seem to work. Using my own fresh compile of CM10. Replaced Nfc.apk and rebooted, set correct permissions.

Tried this version: NFC while screenoff & on lockscreen & unlocked: NfcMod-HOX-CM10-screenoff+lockscreen-v1.2.apk

Only works with screen on and unlocked.
[HTC One X] StephanSch:
1) to test please use the original nightly for hox

2) please try v1.1, I manipulate different methods on it
[HTC One X] flakz0r:
Hi,

Just tried 1.2 and it's the same, only works with screen on and unlocked. I was using your old version for CM10 and Android 4.1.1, and updating nightlies had no impact whatsoever.

I'll be trying IceColdJelly later today, it's based on AOKP, which has a setting that lets us choose when we want to have NFC enabled, let's see if that works.

Thanks!
[HTC One X] StephanSch:
Sorry, I dont't understand: Did you try v1.1 of NFCMod with your compiled version? Did you try v1.2 of NFCMod with original nightly from CM10 (http://download.cyanogenmod.com/get/jenkins/10092/cm-10-20121014-NIGHTLY-endeavoru.zip)?
[HTC One X] flakz0r:
I used your previous version for CM10 without any problems with my own compiled nightlies (v1.1).

After Android 4.1.2, your version stopped working.

I tested v1.2 with my own compiled CM10 and it doesn't work. Haven't tried with the original nightly, but i assume that should not be a problem specific to a related nightly because it always worked fine with my own compiled versions.
[HTC One X] StephanSch:
Ok. Than I have to take a closer look
[HTC One X] flakz0r:
Hey StephanSch,

Just to let you know that IceColdJelly has the Nfc toggle to choose when you want it active, and it works perfectly. Maybe you can check out their github and find out how it's done there? I have no idea, just throwing suggestions out there :)

take care
[HTC One X] derstandard:
Works in ViperX 2.7 :laugh:
[HTC One X] KimUyLong:
I set my Nfc tag open brower every i touch my phone and I'm using Venom 2.5x

I choose the file from ARHD 9.x.x -

while screen off & unlocked

. I pust the NFc file to system/app via Root explore. Affter clear Davik and reboot, while my Hox screen is off, i check my tag, nfc work after "ping". But it only call my brower, not screen on.

I do a right way !? And how i make screen on or off while i use my Nfc tag !?

Sorry for my bad English.
[HTC One X] StephanSch:
Do you mean that your NFC ping does not enable your screen but opens the browser with the black screen?

I use "Tasker" to create tasks (like screen on + browser start) that are used by "NFC Aufgabenlauncher". But this mod has absolutely nothing to do with what your tag should do, it only enables the possibility to use nfc on screenoff
[HTC One X] KimUyLong:
. ..

_ Ya. ..my bad :(

I'm understand your thread's name in a wrong way. Tks your great work :D
[HTC One X] brenopoubel:
Whitch one did u used?

I used o my ViperX 2.7.1 and the option gone.
[HTC One X] derstandard:
I used http://hox.stephanschenk.de/NfcMod-HOX-ARHD9-screenoff+lockscreen-v1.0.apk

Cause i´m lazy i used root-explorer to copy the file, reboot -> done ...
[HTC One X] Geggan:
How does this mod work on recent CM10 nighlies?

I have no luck on seadersn modded version :(
[HTC One X] doumer:
any plan to update this mod for 4.2? loved your mod and was quite essential for me, since i do a lot with nfc :D
[HTC One X] noodlez04:
any chance of making a stock version? tried all downloads, none of them work for me with stock.
[HTC One X] StephanSch:
NFCMod for JB ARHD 18

After a long period of nothing there is a new version for ARHD 18.x in OP which is equal to the official JB update of HTC.

I started the development while being unemployed. Since a half year I'm employed again and so the time for this mod is really rare.
[HTC One X] mike1986.:
Great work mate, congrats! :)
[HTC One X] doumer:
But the new version wont work with CM/AOSP/AOKP roms I guess?

Anyway, thanks for keeping up the work :good:
[HTC One X] StephanSch:
The one of ARHD does not work on CM, because the base isn't CM or AOSP. The one for CM10 could work on CM10.

After negativ test with CM10-version just give me a link to a ROM you are using.
[HTC One X] doumer:
thanks for your response.

the cm10 version unfortunately doesnt work. if I exchange the apk, NFC just keeps force closing :(

I'm using latest ParanoidAndroid Link
[HTC One X] StephanSch:
AW: [MOD] NFC on screenoff and lockscreen - HTC One X ICS & JB

Unfortunately on my thread for EVO4G is the same problem with FC on CM (and it is the first time FC). I will make a mod for Paranoid when I'm back home and we take a look at it. But I've seen that they are also using parts of CM so perhaps there is anything built-in that is making problems.
[HTC One X] doumer:
thanks for looking into it :)

EDIT: after three days of use without screen-off nfc I can honestly say, nfc without this isn't good for anything...automatic stuff only make sense if you can just hold your phone to a tag and let tasker make the rest – if you have to unlock your phone (and using a pin like me) before every time you want to have an action performed, you just can do it by yourselfe instead of using nfc for it :(
[HTC One X] DaffyR:
Someone else experiencing battery drain with this mod in arhd 18?
[HTC One X] StephanSch:
What is BetterBatteryStats saying to your drain?
[HTC One X] LQQKS:
Will this work on JB Sense roms on Evita? Running Viper 3.2.1 and it just makes my NFC options disappear lol. Flashing the stock apk doesn't restore function, only a nandroid restore
[HTC One X] StephanSch:
Do you mean ViperXL 3.2.1? The options are probably gone because there is for sure a different framework (because of LTE option).

Restoring the Nfc.apk from your rom must restore the option. How did you flash, like in instructions on OP? Wiping Dalvik could help, too.
[HTC One X] StephanSch:
What is meant with this in 3.2.0 changelog?
[HTC One X] LQQKS:
Yeah I did wiped cache and dalvik.

Maybe it wasn't meant tto be, it would be so useful

sent from Evita <3, my rooted, Venomized HTC One XL 4G \o/
[HTC One X] StephanSch:
I'm not sure if they didn't already have this option in their rom but give it a try with attached version and give feedback.

If positive I'll make a thread in HOXL-board.
[HTC One X] LQQKS:
Hi I just updated to 3.2.2 and it has become an option.

If you'd like I could still test these for you?

sent from my iPhone 5 \o/

(haha....as if)
[HTC One X] StephanSch:
Yes, would be nice.

Perhaps someone asks for another rom.
[HTC One X] LQQKS:
Hey I just finished work and gave them a go.

They both work fine :)

sent from my iPhone 5 \o/

(haha....as if)
[HTC One X] thebobmannh:
Viper built a similar functionality into their ROM already. No need to flash anything extra.
[HTC One X] StephanSch:
AW: [MOD] NFC on screenoff and lockscreen - HTC One X ICS & JB

As you can read in the posts after that we already mentioned that. I also removed these apks.
[HTC One X] ruizit0:
nice work stephan .. i used this when i was on sense..

but now im on aokp 4.2.1 .. can you give support for that to ? thanks
[HTC One X] StephanSch:
AW: [MOD] NFC on screenoff and lockscreen - HTC One X ICS & JB

Is here a thread for that?

I could give it a try and you'll have to test it.
[HTC One X] StephanSch:
I've taken AOKP-ICJ421. Give it a try:
[HTC One X] StephanSch:
Updated apk ARHD18 with apk of ARHD 18.2.

Should stay usable on any 18.x
[HTC One X] Miglon:
Is this mod available for HOX+ ? I'm currently running InsertCoin and it's the only feature I'm not happy about...
[HTC One X] vakbrain:
I'm running stock rom on my HOX+. I'd love to know if this apk works on HOX+ !

NFC not working when the screen is off is so annoying !
[HTC One X] NoobDude:
in case anyone is interested I ran the third download option under ARDH 18.x and it worked like I charm on my stock but rooted ONE X+ (plus).
[HTC One X] Miglon:
I've changed back to Viper, mainly because of this lack. 1.0.7 and Elite Kernel are the best!

Enviado desde mi HTC One X+ usando Tapatalk 2
[HTC One X] ultraracespeed:
Good job! Im using ViperX v3.5.4 and ARHD 18.x version mod work perfectly!

Thanks!!!
[HTC One X] Pain123:
HTC One

Hi, I was wondering if it is possible to change Nfc.apk for HTC One?

I can send the original apk.

I'm on ARHD 7.1

Thanks in advance :fingers-crossed:
[HTC One X] antonholmstedt:
Is this mod working on latest ARHD?
[HTC One X] alray:
Please make it work for CM10.1 Would be awesome!

I tried the Nfc apk for CM 10 Nightly 20121014 on my hox CM10.1 RC1 and it doesn't work. Nfc options missing from phone settings. Do you plan to make an apk for cm10.1? it would be really appreciated!! I surfed on other forums and noticed that I was not alone looking for your mod on CM10.1.

It might be completely stupid but I also tried replacing the classes.dex file of your cm10 apk into my cm10.1 apk but it completely fail --> ''Nfc service has stopped'' message when booting the phone (I have 0 knowledge in modifying apk)

I can send you the Nfc.apk from CM10.1 RC1 if you need it

Cm10.1 stable will probably be released soon (RC1 released this week) so it might worth it for every cm10 users that are waiting stable build of cm10.1 to update ;)

ty ! :D:D:D
[HTC One X] alray:
Evo 4G mods Works for hox cm10.1

hey again!

I just wanted to let you know that I just tried your NFC apk mods for EVO 4G LTE on CM10.1 at this link:

http://xdaforums.com/showthread.php?t=1723193

and its working great for me on my HOX tegra 3 CM10.1.

Maybe some other HOX users running cm10.1 can confirm

btw tank you very much

ps: Should be great to update your op with those files from EVO 4G LTE
[HTC One X] StephanSch:
http://xdaforums.com/showthread.php?t=2325410
[HTC One X] islipfd19:
I can confirm that it works on a HOX tegra 3 running CM10.1
[HTC One X] StephanSch:
NfcMod for ARHD 31

I added NFCMod for ARHD 31 (Android 4.2.2, Sense 5) to the OP
[HTC One X] opto_isolator:
Will this work with roms other than ARHD or CM? I'm running"CleanROM" right now, which is a stock 4.1.1 ROM (planning on updating to 4.2.2 CleanROM soon).