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

NFC on screenoff and lockscreen - Nexus 5

OP StephanSch

23rd February 2014, 04:37 PM   |  #1  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
I modified the NfcNci.apk of different bases and ROMs to offer you the ability to use the NFC chip of your Nexus 5 not only while you are active but also while the screen is off and/or while the lockscreen is shown.

You have three options when to use NFC:
  • lockscreen and screen off
  • lockscreen
  • unlocked


USAGE
  1. Rename the attachment to NfcNci.apk
  2. Backup your /system/app/NfcNci.apk and NfcNci.dex (if existing)
  3. Delete /system/app/NfcNci.dex (if existing)
  4. Replace the original in /system/app - to keep permission use adb:
    • adb remount
    • adb push NfcNci.apk /system/app
  5. Reboot phone (adb reboot)
  6. Disable NFC
  7. Enable NFC

The compatibility depends on the framework/base. If your ROM has the same specifications like one existing you can use the posted.
If none of the version work (test it!) make an Feature Request


Changelog

09.03.2014 - added PURITY ROM
09.03.2014 - added SlimKat 3.0
09.03.2014 - added CM11
23.02.2014 - thread opened with stock 4.4.2



Download
Please don't forget to thank if it works, if not we will make it work.

XDA:DevDB Information
NFC on screenoff and lockscreen - Nexus 5, Tool/Utility for the Google Nexus 5

Contributors
StephanSch

Version Information
Status: Stable

Created 2014-02-23
Last Updated 2014-12-08
The Following 16 Users Say Thank You to StephanSch For This Useful Post: [ View ]
23rd February 2014, 05:05 PM   |  #2  
dirtbikerr450's Avatar
Senior Member
Flag USA
Thanks Meter: 122
 
642 posts
Join Date:Joined: Oct 2011
More
Thanks
24th February 2014, 03:36 PM   |  #3  
Junior Member
Thanks Meter: 0
 
11 posts
Join Date:Joined: Jun 2007
More
thanks! all apk files are working fine
27th February 2014, 08:54 PM   |  #4  
TomTcom's Avatar
Recognized Contributor
Thanks Meter: 475
 
1,071 posts
Join Date:Joined: Mar 2011
More
Been searching for a while for this exact page, trying to test now. Thanks!!

---------- Post added at 02:54 PM ---------- Previous post was at 02:25 PM ----------

Quote:
Originally Posted by TomTcom

Been searching for a while for this exact page, trying to test now. Thanks!!

I know it was for stock but had to try it on SlimRom, it didn't work. I'm not sure if SlimRom is planning this feature at all. Would be nice though.
28th February 2014, 02:01 AM   |  #5  
DroidXAce's Avatar
Senior Member
Flag Tours
Thanks Meter: 142
 
366 posts
Join Date:Joined: Nov 2010
More
Not work with the ROM Odex ?
28th February 2014, 06:27 PM   |  #6  
Senior Member
Thanks Meter: 37
 
153 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by TomTcom

Been searching for a while for this exact page, trying to test now. Thanks!!

---------- Post added at 02:54 PM ---------- Previous post was at 02:25 PM ----------



I know it was for stock but had to try it on SlimRom, it didn't work. I'm not sure if SlimRom is planning this feature at all. Would be nice though.

Not working on CM11 either, I hope OP get it to work on CM11. I could provide the NFC apk, if that will help. Thanks.
Last edited by cgjjaf; 1st March 2014 at 04:52 PM.
The Following User Says Thank You to cgjjaf For This Useful Post: [ View ]
9th March 2014, 11:57 AM   |  #7  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Sorry. Somehow didn't subscribe my thread ans so got no notifications.
The Following User Says Thank You to StephanSch For This Useful Post: [ View ]
9th March 2014, 12:01 PM   |  #8  
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 TomTcom

Been searching for a while for this exact page, trying to test now. Thanks!!

---------- Post added at 02:54 PM ---------- Previous post was at 02:25 PM ----------



I know it was for stock but had to try it on SlimRom, it didn't work. I'm not sure if SlimRom is planning this feature at all. Would be nice though.

I didn't find a SlimRom. Do you mean SlimKat?
The Following User Says Thank You to StephanSch For This Useful Post: [ View ]
9th March 2014, 12:02 PM   |  #9  
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 DroidXAce

Not work with the ROM Odex ?

If you mean the odexed stock ROM, it should work if you delete NfcNci.dex
The Following User Says Thank You to StephanSch For This Useful Post: [ View ]
9th March 2014, 12:53 PM   |  #10  
StephanSch's Avatar
OP Senior Member
Flag Berlin
Thanks Meter: 341
 
456 posts
Join Date:Joined: Dec 2007
Donate to Me
More
Storage NFCMod for CM11
Quote:
Originally Posted by cgjjaf

Not working on CM11 either, I hope OP get it to work on CM11. I could provide the NFC apk, if that will help. Thanks.

I added the mod for CM 11. Based on the nightly 20140309.

The Following User Says Thank You to StephanSch For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes