Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD] NFC on screenoff and lockscreen - HTC One X ICS & JB

OP StephanSch

16th June 2012, 11:03 AM   |  #1  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
With this mod you can enable NFC at screenoff and on keyguard on the HOX in an easy way.

You have the choice of three apk for the state to use NFC (unlocked is always the original version):
  • screen off
  • lock screen
  • unlocked


USAGE
  1. Rename the Attachment to Nfc.apk
  2. Backup your /system/app/Nfc.apk
  3. Replace the original in /system/app - to keep permission use adb:
    • adb remount
    • adb push Nfc.apk /system/app
  4. Reboot phone (adb reboot)
  5. Disable NFC
  6. Enable NFC


On ROMs with additional/other framework than posted recompiling needed. If so the NFC options are simply gone.


Changelog

10.08.2014 - CM11 M9 added
19.08.2013 - ARHD 31 added
17.02.2013 - ARHD updated with 18.2
19.01.2013 - ARHD18 added
16.10.2012 - CM10 Nightly updated
14.10.2012 - first JB release: ARHD11
22.09.2012 - CM10 Nightly updated
12.08.2012 - ARHD9 added
09.08.2012 - CM10 added
06.08.2012 - ARHD8 added
18.06.2012 - ARHD7
  • APK for ARHD7 added
  • compatibility list added in second post
17.06.2012 - working
  • POLLING_MODE is generally not working
  • so simply made NFCServe$1.class think screen is unlocked though in keyguard
  • and made think screen os on though off
16.06.2012 - first try
  • Used POLLING_MODE to define when to enable NFC


Download
Please don't forget to thank if it works, if not we will make it work.
Last edited by StephanSch; 10th August 2014 at 03:25 PM. Reason: CM11 added
The Following 35 Users Say Thank You to StephanSch For This Useful Post: [ View ]
16th June 2012, 11:05 AM   |  #2  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
reserved
Last edited by StephanSch; 19th August 2013 at 09:28 PM.
16th June 2012, 11:16 AM   |  #3  
Member
Thanks Meter: 176
 
88 posts
Join Date:Joined: Jan 2007
The great work was first done by Geniusdog254 for the Galaxy Nexus. I just ported it to work on the Samsung Galaxy S3

[tapatalk]Vom S3 mit Tapatalk[/tapatalk]
The Following User Says Thank You to mayhemer For This Useful Post: [ View ]
16th June 2012, 11:16 AM   |  #4  
stiffmast3r's Avatar
Senior Member
Flag Graz
Thanks Meter: 455
 
1,302 posts
Join Date:Joined: Dec 2010
Donate to Me
More
nice, but i dont know where to use NFC :P
16th June 2012, 11:20 AM   |  #5  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Quote:
Originally Posted by mayhemer

The great work was first done by Geniusdog254 for the Galaxy Nexus. I just ported it to work on the Samsung Galaxy S3

[tapatalk]Vom S3 mit Tapatalk[/tapatalk]

Thanks, edited
16th June 2012, 11:23 AM   |  #6  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Quote:
Originally Posted by stiffmast3r

nice, but i dont know where to use NFC :P

I'm using with Sony Experia Tags: one at the door of my home, one in the car.
To change Wifi, Bluetooth, lockscreen, screen brightness, .........
The Following 2 Users Say Thank You to StephanSch For This Useful Post: [ View ]
16th June 2012, 11:25 AM   |  #7  
stiffmast3r's Avatar
Senior Member
Flag Graz
Thanks Meter: 455
 
1,302 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Quote:
Originally Posted by StephanSch

I'm using with Sony Experia Tags: one at the door of my home, one in the car.
To change Wifi, Bluetooth, lockscreen, screen brightness, .........

cool, thanks for tip, never heard of those tags
16th June 2012, 12:01 PM   |  #8  
starbase64's Avatar
Senior Member
Flag Lennestadt
Thanks Meter: 634
 
3,136 posts
Join Date:Joined: Apr 2007
Donate to Me
More
+ 1
16th June 2012, 12:23 PM   |  #9  
inzaghi75's Avatar
Senior Member
Thanks Meter: 1,687
 
2,874 posts
Join Date:Joined: Oct 2009
More
Can someone explain NFC?
16th June 2012, 12:25 PM   |  #10  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Quote:
Originally Posted by inzaghi75

Can someone explain NFC?

http://de.wikipedia.org/wiki/Near_Field_Communication
http://www.youtube.com/results?search_query=nfc

Something like RFID

The Following User Says Thank You to StephanSch For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
android revolution hd, arhd, hox, htc one x, nfc
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes