yashsingh1/xdaforums huggingface dataset:
[NFC Hacking] midge59:
Hi,

Thanks for the great mod.

I have this working on my i9300T and it works perfectly.

I am wondering if it is possible to get this to work on a HTC One. I have tried to do the mods myself but it is beyond my ability.

My device is:

HTC One 801s (M7_ul)

Baseband 4A.14.3250.13_10.33.1150.01L

Stock Android 4.2.2 Google Play Ed. (Build 2.14.1700.15) (deodexed)

The Ncf.apk is attached.

Screen-off NFC would be great too.

Thanks in advance.
[NFC Hacking] R4NDR01D:
+1 For an S4 mod.

Please and thank you.
[NFC Hacking] Beast84:
Has anyone thought about trying to make this an xposed module? Would make it so much easier than individual mods for individual devices & ROMs
[NFC Hacking] Neuer_User:
Thought about, yes. See here : http://xdaforums.com/showthread.php?p=42981933

Unfortunately, my skills are too low to do this myself. Maybe we should ask in the Xposed thread?
[NFC Hacking] PantsManUK:
Does anyone still have the GNEX4 4.2.2 stock NfcNci.odex lying around (I noticed LoveNFC's original uploads aren't available any more)? The 4.3 OTA/update.zip refuses to run without the stock copies and while I kept the apk, I (stupidly) deleted the odex. Just the apk alone (fairly easy to find online BTW) doesn't work for the update or to get stock NFC working again. :(
[NFC Hacking] Rhuarc:
Has anyone hacked this yet for the T-Mobile variant of the Galaxy Note II? Being able to do this with the screen off would be perfect for a phone holster.

Thank you!
[NFC Hacking] Rhuarc:
I am finally to the point on this mod where I am trying to recompile to the classes.dex file but I'm getting some errors. Wondering if anyone out there can help me figure out what I did wrong?
[NFC Hacking] Rhuarc:
Well, I thought I had this ready to go. I put the NFC.apk on my device, rebooted, and proceeded to get into a loop where the NFC Service would stop working every 5-10 seconds. My device was unuseable. I ended up suing Titanium Backup to uninstall the NFC.apk to make it useable again. I ahve tried reverting back to the stock apk and it still gets into this loop. Any ideas anyone?
[NFC Hacking] Septurious:
AT&T Samsung Galaxy Note 2 SGH-I317

Hey everyone,

First off, I'm extremely excited to see the work being done here and cannot wait to try it out. I've read through the previous pages but didn't see an explicit call out for a modded nfc that would work on the AT&T version of the Samsung Galaxy Note 2 SGH-I317.

I did see one called out for the LTE version but wasn't sure if that would work on AT&T or not...

If it would be helpful I'll upload the nfc files from my phone but wanted to ask first if this had already been posted.

Thanks in advance!!

Septurious
[NFC Hacking] midge59:
I ended up in a similar situation when I was experimenting with this mod. After restoring the original apk I booted into recovery, cleared the cache and the dalvik cache. This got my phone working again.

Hope this helps
[NFC Hacking] Septurious:
Samsung Galaxy Note 2 AT&T SGH-I317

Hey everyone,

I've attached the NFC apk and odex (with txt added to the end) for the Samsung Galaxy Note 2 from AT&T version SGH-I317.

If anyone can assist with getting the nfc mod working on this version I would greatly appreciate it.

I tried following the instructions on the first page but couldn't figure out where to find the file in step 7

"7. copy taglost.ogg to d:\temp\mod\Nfc\res\raw\ "

I'm probably doing something stupid...

Thanks!!

Septurious
[NFC Hacking] midge59:
Hi,

When I was trying this mod I wasn't sure where to find the "taglost.ogg" file either, so I just downloaded one of the nfc.apk files that was already modded (doesn't matter which one), then decompiled the apk (using step 6) within the extracted files I found and copied out the "taglost.ogg" file.

To makes things easier I have attached "taglost.ogg".

Good luck with the mod. If you manage to get step 10 to work let me know as that is where I am stuck (because the smali files (from my HTC one m7_ul) are very different to the ones that are given in Step 10, using BeyondCompare results in huge amounts of code needing to be added or removed which doesn't seem right)

Hope this helps
[NFC Hacking] Septurious:
Thank you for that!! That got me down to step 10 but I too am stuck there. There are a whole bunch of changes in every file, hundreds upon hundreds... I went ahead and tried out the files modifying the access lines to keep the numbers matching the original... however that just ended up with my NFC module crashing a burning, thank goodness for original file backups!!! :)

So I think at this point I'm out of ideas... I'm going to sleep on it and see if I can come up with anything but I'm thinking we'll need some professional help :)

Thanks again for helping me get farther than I was before!

Most appreciated. :)
[NFC Hacking] madfish73:
thank you for your suggestion, Xposed is a great tool!!

I've done it, see post#1.
[NFC Hacking] madfish73:
I've done it, see post#1
[NFC Hacking] Neuer_User:
Thanks, that looks great. Gonna test it today!!!!
[NFC Hacking] Beast84:
Link doesn't work...

Edit: didn't see it in the attachments but I got it now. Thanks will try it out when I get home from work
[NFC Hacking] Neuer_User:
Works great!!!

Now, I will contact the tasker guy to have tasker react directly on NFC intents. So we don't need modded AnyTag ;)
[NFC Hacking] Septurious:
Thank you for all that work on the Xposed plug in!! I got that going this morning and it correctly detects removal of a tag!

However, when I go into your plug in and check the allow NFC "screen is off regardless of lock state" it doesn't detect the tag. If I pick the other setting, "phone is locked but screen is on" it also doesn't detect the tag until I unlock the phone. (I tried rebooting as well but doesn't seem to help)

Is there anything I can do to help? Provide a log, test doing something a different way etc? Happy to help anyway I can.

Thanks again!! This is awesome!!
[NFC Hacking] madfish73:
The codes about "NFC screen-off, NFC screen locked" are not written by me, but I am sure it's no problem after looked through it. Try uninstall the plugin and install the original one and test if it works for your phone. You can contact the original author to get help: http://xdaforums.com/showpost.php?p=35988129&postcount=42

Because I don't have the framework of I317, I can't decompile the odex file you uploaded. Please upload the NfcService.smali file here if you have it, I'll try to find out what's the problem.
[NFC Hacking] Septurious:
I unchecked your mod from the Xposed Framework and tried the original but it seems to also not work for the Note 2. (At least this model.)

Attached is the file that you were asking about :) Would it be useful for me to zip up the whole framework and link it back here?

I'll contact the original author on the thread that you referenced as well.

Thanks again for all of your work on this!!
[NFC Hacking] Septurious:
Went ahead and uploaded the framework folder as well in case that is useful: https://dl.dropboxusercontent.com/u/7066557/GalaxyNote2I317-framework.zip
[NFC Hacking] madfish73:
I think I've figured out the problem, and have tried to fix it, please test it: View attachment NFCLockScreenOffEnabler.apk
[NFC Hacking] Septurious:
Works like a freaking champ!!

Unlocking and locking my phone via NFC as we speak.

So freaking awesome!!

Thank you so much!
[NFC Hacking] madfish73:
You are welcome:D, and thank you for your testing. I'll reupload it to the post#1.
[NFC Hacking] Orphee:
Hi, you shouldn't mark old method as "obsolete"... Some phones like RAZR I aren't compatible with Xposed (X86 processor)...

I wanted to try this method for it... But I'm not sure to make everything good with decompiling & co... I'll try...

Please do not remove old method from the thread, thank you :)

Edit : Maybe X86 are compatible : http://xdaforums.com/showpost.php?p=43696822&postcount=2125

I'll try this first.
[NFC Hacking] Orphee:
madfish73,

x86 Xposed crash on my phone, could you please make the mod on my Nfc.apk please ? with NFC on lockscreen ON and if it is possible, a 2nd with NFC ON when screen is off...

I'll be able to try the 2 apks, to see what it is better for me... ?

The Nfc.apk from post #79 works with AnyTag-Mod :) (but without lockscreen ON)

Thank you for your help !
[NFC Hacking] mike freegan:
Hey guys

The AnyTag mod app works for toggling things, but won't launch any apps.

I'm on CM10.1 nightly. Any ideas?
[NFC Hacking] Orphee:
Tasker, llama, locale... as you like
[NFC Hacking] KulaS9:
How exactly I have to configure AnyTAG and/or Tasker?

Hi there,

hopefully someone can help a beginner :fingers-crossed:

My goal is to automatically unlock my screen, activate Bluetooth and to start an app if I put my Galaxy into my car dockingstation (CarDock tag). If I remove my Galaxy the app will be closed, Bluetooth will be deactivated and the screen will lock.

Here my configuration: Galaxy Nexus (maguro), CyanogenMod 10.1.2, Xposed Installer with NFC LockScreenOff Enabler Module activated

My questions:

1) Did I still need Tasker if I use Xposed with NFC LockScreenOff Enabler Module?

2) I installed different NFC apps for different use cases. If I use my CarDock tag I fist have to choose the right app. (see the first screenshot attached) Have you any idea how I could choose AnyTAG as the default app?

3) Is there a way to really unlock the screen with AnyTAG or Tasker so I can see the app I automatically started? (see the second screenshot)

Thank you very much for your help!

Regards,

Kula ;)
[NFC Hacking] Orphee:
Hi, i'm following the Word document to make the mod myself

I tried to compile NFC modded for my phone, I have an error on the last file :

java -jar apktool1.jar b -f Nfc

I: Smaling...

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file

: java.io.FileInputStream@1b0b765

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)

at brut.androlib.Androlib.buildSources(Androlib.java:179)

at brut.androlib.Androlib.build(Androlib.java:170)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

It only happens when I modify NfcService$NfcServiceHandler.smali file.

All other modded compile well, but when i change this one, compilation fails...

Can you help me ?

Thank you

Edit : I took the Modded Nfc from post #79, I added locksreen enabled to it. It was easier. (added in attachement)

Thank you
[NFC Hacking] madfish73:
1) yes

2) no. you have to uninstall other apps conflicting with anytag, or set the option of the the app to enable foreground nfc only(only if it has that option)

3)see post#1
[NFC Hacking] madfish73:
I'll try the smali file after I back home two days later
[NFC Hacking] playahate:
Installed NFCLockScreenOffEnabler. Worked for me only when also installed secured settings and helper. (i mean it didnt work when screen was off, only if it was on and locked.)

But there is no NFC.apk for Nexus 4 with stock 4.3 in the list...:(

UPD: No need for this file. Working fine for me.
[NFC Hacking] xXYoshiXx:
I have a little request for the modified Anytag app: After a tag is scanned and then removed, the Anytag display appears and asks to configure the tag. Is it possible to remove this, because I have some tags configured within Tasker and each time a tag is scanned that is configured otherwise than with Anytag I get the display of Anytag on tag removal.
[NFC Hacking] madfish73:
you can config empty action in anytag for tags you dont want to display tag removal
[NFC Hacking] cbb77:
First thanks for the Xposed mod. The NFC mod with Screen off and LockScreen option is working fine on my SG4 with ShoStock 2.1 Rom. However having a problem with AnyTag. I can successfully setup actions in AnyTag for both Discovery and Tag Lost, however when I test placing the tag, AnyTAG never launches / detects the Tag. It will detect the removal of the Tag but not Discovery. Seems that I can only get it to detect the Tag if AnyTAG is open and in the foreground. At first I thought it was due to having NFC Launcher installed but had completely removed that and rebooted into recovery and wiped cache. Still no go. SG4 kept launching browser and taking me to Samsungs TecTiles webpage. I reinstalled NFC Tasker and set a empty task and at least it stops launching the browser now but AnyTAG still does not recognize it if not open. Ideas? Possible problem / compatibility issues with TecTiles NFC tags or SG4 itself?
[NFC Hacking] jabberwock:
I don't get it..

do I still need a modified nfc.apk?

No tag lost recognised so far..

on deodexed stock galaxy note 2
[NFC Hacking] cbb77:
Yes you need a modified nfc.apk. See the first post for installing this via xposed.
[NFC Hacking] madfish73:
the error line is :

invoke-interface/range {v21 .. v25},Lcom/android/nfc/DeviceHost$TagEndpoint;->SetTagLostCallBack(Landroid/content/Context;)V

it means in java: SetTagLostCallBack(v21, v22, v23, v24, v25), but correct one should be: SetTagLostCallBack(v21, v25)

so we should change the smali line into:

invoke-interface {v21, v25},Lcom/android/nfc/DeviceHost$TagEndpoint;->SetTagLostCallBack(Landroid/content/Context;)V

I'll change the word document.
[NFC Hacking] madfish73:
you don't need a modifid nfc.apk any more.

1. check if you've enabled the module in Xposed

2. run logcat in a terminal emulation to see more infos when you remove the tag:

su

logcat

3. open xposed log to get more infos: /data/xposed/debug.log
[NFC Hacking] madfish73:
Not sure that, but you can unformat the TecTiles tags and retry it. AnyTag doesn't care the content in tag.
[NFC Hacking] Orphee:
Hi, Thank you for you help, but it still fails for me.

I replaced .. by , but still the error :

java -jar apktool2.jar b -f Nfc

I: Smaling...

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file

: java.io.FileInputStream@1e2ad75

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:64)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:48)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)

at brut.androlib.Androlib.buildSources(Androlib.java:179)

at brut.androlib.Androlib.build(Androlib.java:170)

at brut.androlib.Androlib.build(Androlib.java:154)

at brut.apktool.Main.cmdBuild(Main.java:182)

at brut.apktool.Main.main(Main.java:67)

move-object/from16 v21, v0

check-cast v21, Lcom/android/nfc/DeviceHost$TagEndpoint;

.line 2390
.local v21, tag:Lcom/android/nfc/DeviceHost$TagEndpoint;
move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/nfc/NfcService$NfcServiceHandler;->this$0:Lcom/android/nfc/NfcService;

move-object/from16 v25, v0

move-object/from16 v0, v25

iget-object v0, v0, Lcom/android/nfc/NfcService;->mContext:Landroid/content/Context;

move-object/from16 v25, v0

invoke-interface {v21, v25},Lcom/android/nfc/DeviceHost$TagEndpoint;->SetTagLostCallBack(Landroid/content/Context;)V

move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/nfc/NfcService$NfcServiceHandler;->this$0:Lcom/android/nfc/NfcService;

move-object/from16 v25, v0

const/16 v26, 0x0

invoke-virtual/range {v25 .. v26}, Lcom/android/nfc/NfcService;->playSound(I)V

.line 2391
invoke-interface/range {v21 .. v21}, Lcom/android/nfc/DeviceHost$TagEndpoint;->findAndReadNdef()Landroid/nfc/NdefMessage;
[NFC Hacking] madfish73:
well, I have to say I am not proficient in smali language, after gooooogle , I got this solution:

replace

invoke-interface {v21, v25},Lcom/android/nfc/DeviceHost$TagEndpoint;->SetTagLostCallBack(Landroid/content/Context;)V

with

move-object/from16 v24, v21

invoke-interface/range {v24..v25}, Lcom/android/nfc/DeviceHost$TagEndpoint;->SetTagLostCallBack(Landroid/content/Context;)V
[NFC Hacking] shura_k:
how can patch AnyTAG1.2.6-mod.apk for reduce delay for start tasker task?
[NFC Hacking] Orphee:
Compilation works now :D need to try in live

---------- Post added at 01:00 PM ---------- Previous post was at 12:59 PM ----------

I don't have any delay, you can remove it in Anytag options.
[NFC Hacking] shura_k:
exist delay in 4 sec.

no any related options in anytag.
[NFC Hacking] Orphee:
"Popup on scan" not very hard to find.
[NFC Hacking] shura_k:
popup i've found but delay is remained!

maybe exist any other delay when anytag start tasker intend.
[NFC Hacking] cbb77:
Thanks, this was the trick. Assumed the tag was blank as I hadn't written anything to it as of yet. However clearing indeed fixed the issue.

Thanks
[NFC Hacking] Orphee:
Hi,

NFC application force close when tag detected.

File transfer with another phone still works.

Both on Razr HD and Razr I.
[NFC Hacking] jabberwock:
Fixed this issue. It seems I had the old lockscreennfc module installed. Reinstalling with the recent version did the trick. Now it is working....sorft off. I can configure actions on found and lost actions but the nfc service keeps crashing.
[NFC Hacking] ascsa:
NFC ReTag add support for "tag lost" message

I´m following this thread since the beginning (-> post #2 ;)) ....

All these month madfish73 was pushing the solution, and from my point of view, the Xposed framework and the NFCLockScreenOffEnabler.apk is a good, practical and relative stable approach .... only had some issues (nfc crashing) on my testing device with the "screen is of(regardless of lock state)" option on Android 4.3 ,but the "phone is locked, but the screen is on" option works just fine for me...

I did some testing over the last couple of month with my own prototypes and finally I decided to add some official support for the Tag lost message to NFC ReTag ...I added also an additional setting to disable the "new Tag message " for unrecognized tags and a setting to ignore the tag lost message fired when screen goes off in "phone is locked, but the screen is on" mode ...works perfect for me ;)

However, the tag lost support in ReTag is disabled by default, but you could enable it via the Advanced Settings in NFC ReTag (Version 2.6 !!! just released to Google Play) ... so try it out if you want.

Feedback always welcome !
[Galaxy S II Themes and Apps] sgs2erko:
Nexus phones, touch the keyboards in stock rom samsung galaxy s2 4.1.2 How do I install the phone is installed orjimnal Provide assistance on this subject, please bi
[Galaxy Note II Q&A, Help & Troubleshooting] maow425:
I'm looking for a long charging lead 2-3 metre for using in car or at home. I've have a long 3m cable but it doesn't seem to charge the phone over night. Even after 5hrs it is not fully charged.

I need something so I can use satnav in the car but keep the phone fully charged ready to take out to use. Any UK based shop I can buy a good lead from?

Thanks :fingers-crossed:
[Nexus 4 Themes and Apps] Simmo3D:
Does anyone have a static image of the live wallpaper Phase Beam?

I love the wallpaper but just don't want the live one because I want to save battery.

Thanks in advance.
[Nexus 4 Themes and Apps] special.k:
create a homes screen with no apps or widgets then just take a screen shot of the live wallpaper and crap it when you go to set it as a static wallpaper
[Nexus 4 Themes and Apps] Lexus fan:
Here you are. All credits go to the site

http://www.styleroot.com/files/attach/images/32149/156/032/d93ab83545a717d57d9d7b11a42512bd.png
[Nexus 4 Themes and Apps] Simmo3D:
Thanks!! Really appreciate it guys.
[Nexus 4 Themes and Apps] sn0warmy:
Awesome. Thanks!
[Asus  Eee Pad Transformer Prime] twistednl:
Hi people,

I need your urgent help!

My TF201 was running on hairy rom.

I wanted to update/change to CM10 latest nightly (I really dislike the asus crap).

I tried several times via TWRP and goo manager but it would boot up (only saw the asus logo).

Then I thought it might have been the recovery.

I booted in fastboot mode and flashed CWM (recovery-clockwork-touch-5.8.1.8-tf201.img and md5 was correct).

Looked fine.

Then I wanted to reboot into recovery but it simply did not.

Tried it 5/6 times but nothing.

So I booted up again in fastboot mode and flashed the latest TWRP (2.3.3).

Again I rebooted to recovery but it still failed.

I do not have NVflash because I bought this device 2nd hand and it was allready upgraded to JB bootloader so I could us NV.

Is my device bricked? Is there a way to solve this?

Please help me but keep in mind, I'm a "noob" (do know stuff but not very much).

Thnx in advance!

Ralph aka TwistedNL
[Asus  Eee Pad Transformer Prime] Makrilli:
Re: [Q] Help! can get in recovery!

I'm not sure but it sounds a little like you flashed rom for ics bl but I'm not sure as ypu can still get to recovery and fastboot. Btw post questions to Q&A!!!

Edit: What version of hairybean were you running? And did you wipe?

Sent from my sgs2
[Asus  Eee Pad Transformer Prime] twistednl:
I can get in fastboot mode but can't get in recovery mode. The latest nightlies are JB roms right?

If I can get in recovery, I could restore nandroid I made before starting this journey.

Could the custom build TWRP version from hairy be the reason? As far as I know, the only difference are cosmetics (othe backgropund and buttons, like a theme)

Sorry about the wrong section for my question. Am to pissed atm so I did not look good where I should have asked this.

Can my question be moved by somebody?
[Asus  Eee Pad Transformer Prime] Makrilli:
Re: [Q] Help! can get in recovery!

Well I don't know about the CM10 nightlies. But most likely that custom twrp didn't do it. I'm not an expeet in any of this stuff. Also what happens when you go to recovery? And only mods can move threads to another section

Also I edited my first post but ypu answered too quickly :) What version of hairu bean were tou running and did you wipe when you flashed cm10?

Sent from my sgs2
[Asus  Eee Pad Transformer Prime] flumpster:
There is not a version of CWM that is for the Jellybean bootloader. The quickest way to hard brick your device is to install a recovery meant for ICS onto Jellybean bootloader.

If you can still access fastboot then you have a chance, if you cannot still access fastboot then I'm sorry but flashing CWM has hard bricked you.
[Asus  Eee Pad Transformer Prime] twistednl:
Then I'm a lucky bastard! :)

Managed to reflash stock TWRP (without the theme).

After 2 times flashing, I could boot in recovery again. The nandroid was copied to external SD which I could restore and the Prime is running again!

I think I'll keep it on Hairy (which runs fine on 1.7 kernel) and will wait to the promised update (around november 2012) of Asus to 4.2 cause I really like the multi user option :)

Thnx all for helping me out!
[Galaxy S I9000 Q&A, Help & Troubleshooting] James14:
i cant find a 4.2.1 rom without problems (keyboard/Wi-Fi not working)

any help please i am now running the below
[Galaxy S I9000 Q&A, Help & Troubleshooting] hasolo:
I'm using Fishears, give it a try (even better if you got an inand i9000)hi sfi
[Galaxy S I9000 Q&A, Help & Troubleshooting] Marcxd2214:
Try LinerRom, SlimBean

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Q&A, Help & Troubleshooting] GrippingSphere:
All these JB 4.2.1 Roms are working very good:

C-RoM Mix v5

C-RoM BeaN v2

Baked Blackbean 7

Vanilla RootBox

If you are coming from GB, the recommended procedure is to flash a CM9 Rom first before any of the above Roms to avoid post installation problems.

Device: GT-i9000

Rom: JB 4.2.1 Vanilla Rootbox

Kernel: Mackay 0.240
[Galaxy S I9000 Q&A, Help & Troubleshooting] KUN1:
AW: cant find a good 4.2.1

Try HellyBean i got 4900 points on Antutu with 114% live OC.
[Galaxy S I9000 Q&A, Help & Troubleshooting] CodeRR:
Try CyanAOSP. It´s stable, fast and smooth. Wi-Fi is working fine, keyboard also. :good: