yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Carrot Cruncher:
i'm running slimbean 4.3 build 2.2 with dorimanx 9.43 on a gt-i9100p. i've flashed the latest nfc enabler and i now see the options under settings, but i don't see any icons in the status bar like i do with the stock rom (not sure if i'm supposed to), and i can't communicate with any of my nfc tags or devices. have i missed something? cheers.
[Galaxy S II Android Development] Fr3d_:
Yes, there is no statusbar icon with this mod, at least with all the custom rom I've tested.

Try to reboot or/and wipe cache and Dalvik cache in recovery.

Hope it helps.

Sent from my Dorimanx powered I9100P baby!
[Galaxy S II Android Development] Carrot Cruncher:
thanks for the response. i should have said that i've tried various reboots and cache / dalvik cache wipes but still no joy.
[Galaxy S II Android Development] jthatch12:
Update for kitkat... let me know how it goes https://www.dropbox.com/s/na7of3b0om23513/NFCKK_Enabler-jthatch12v10.zip
[Galaxy S II Android Development] Fr3d_:
Working great here on Pound Rom, 4.4.2 .

Envoyé de mon GT-I9100 en utilisant Tapatalk
[Galaxy S II Android Development] tonton.spiroufantasio:
Sounds that the HCE (Host Card Emulation) is not activated. Please confirm when it would be possible to have this feature.

PS: I'm on Carbon ROM 4.4.2.

Thanks in advance.

Tonton Spirou
[Galaxy S II Android Development] jthatch12:
I'll look into it soon. I'm not running a S2 anymore so releases have slowed down. I'll throw one up soon though :highfive:
[Galaxy S II Android Development] thirdzcee:
finally got my hands on another nfc phone so i could now test if nfc works as it should,,, well its working flawlessly when recieving files from my xperia m but when i try to beam a file from my s2 my xperia m always ends up opening the playstore with a no result found message... my s2 is an shv-m250k converted to gti9100 running on stock rooted 4.1.2 firmware with apollo kernel any body else tried beaming a file succesfully using nfc enabler????
[Galaxy S II Android Development] Fr3d_:
Working great here between my 2 devices (Check my signature).

Sent from my I9100P with Tapatalk 4
[Galaxy S II Android Development] kiwell:
Thanks worked for me :)

I9100P

bande base : i9100PPBVLS2

Rom : offical miui V5

Now just need enable NFC screen locked or screen off, if someone know?
[Galaxy S II Android Development] tonton.spiroufantasio:
Have you been able to check ? Thanks.
[Galaxy S II Android Development] pdario:
The KitKat link seems broken; will it work on SlimSaber 4.4.2 on 9100P?

Thank you!
[Galaxy S II Android Development] unubtanium:
Have anyone got this working on Official CM 11 Nightly build?

As when I try to install it, get an error set_perm: some changes failed. And when I boot it back up i see the options for NFC but it just do not register any tags.

I did go through the install script and checked what it did and also to confirm with current system installed and the ONLY thing I noticed is that I am missing the file /system/app/tag.akp

But from that all other files where there and they had the right permisions..

Does anyone know about this file and do i need it(guess soo)??
[Galaxy S II Android Development] pdario:
KK dropbox link is dead?
[Galaxy S II Android Development] unubtanium:
Jupp, but i have V9 and v10 for you. :D

But i did not get v10 (for KK) to work on Official CM11 nightly as described above.
[Galaxy S II Android Development] pdario:
I put KK file on my SlimSaber 4.4.2 and the NFC settings are present.

What about the Tag app? Why is it missing from KK version?
[Galaxy S II Android Development] unubtanium:
I do get the NFC settings in the meny(but do not work), but what I am refering to is that in the install script in the V10 there is a command to set permision on this file /system/app/tag.apk but I did not have that file in my /system/app folder and i was wondering if this could be the reason for the error i see when i try to install it..

Please Let me know if you got it working and on what Rom.. TNX :D
[Galaxy S II Android Development] pdario:
I used the Tag.apk from the JB version; it appears in the app list, but not in the launcher, I don't know why...
[Galaxy S II Android Development] unubtanium:
Tnx for this, just copied tag.apk from the last official Sammy firmware and now restoring a my CM11 backup to see if coping it to the /system/app folder will help.. Wish me luck.. :D

Well that was a no go.. Mhee.. Guess I have to try the SlimSaber 4.4.2 ROM you mentioned! :D
[Galaxy S II Android Development] pdario:
I think you should find a Tag.apk file from some other 4.4.2 ROM, maybe CM11 for SGS3 or similar...
[Galaxy S II Android Development] unubtanium:
Searching.......

Check in 3 ROMS for the I9300 and the tag.apk is not present in any of them. HUmmmm.....

Trying Slimsaber...

---------- Post added at 11:38 AM ---------- Previous post was at 11:06 AM ----------

So did you confirm that it did read a tag?

As I did also put on SlimSaber-i9100-4.4.2-20140207 with the KK file. and i can see the NFC settings but it is just not reading any tags..

I soo want this to work as NFC is a must for me on this phone and I hate running sammyus roms on it.... :( :(

And one thing i do not understand it that the V10 file runs fin on the SlimSaber ROM but not on the CM 11.. HUmm...

Anyway,any help to get this to work would be greatfull as i dooooo really want a custom rom on my I9100P with NFC!!
[Galaxy S II Android Development] pdario:
No, sorry, can't confirm: I just would like to have it working to test with some other NFC phone of friends, I don't have tags to read.
[Galaxy S II Android Development] unubtanium:
Oki, no prob. :)

Also for everyone that reads this: I am testing with reading tags ONLY! as that is the function i do need.
[Galaxy S II Android Development] Carrot Cruncher:
just wanted to add that i've tried this on a i9100p running:

slimbean 4.3 build 2.2

slimkat 4.4.2 build 2.8 RC3

slimsaber 4.4.2 20140210

and while i see the nfc settings on them all, i haven't been able to access any nfc tags / devices.
[Galaxy S II Android Development] unubtanium:
Same problem I am having to on Official CM11 Nightly.
[Galaxy S II Android Development] pbfree:
Same problem I am having to on Official SlimRoms 4.4.2.

I can see the setting, I can't receive/send any tag from a SG4 with NFC

So?

:(
[Galaxy S II Android Development] unubtanium:
Well so I think we are STUCK with stock 4.1.2 until someone figures this out.

The most promising i have seen till now regarding getting NFC working with reading tags on a custom rom is this ROM:

http://xdaforums.com/galaxy-s2/orig-development/rom-cyanogenmod-10-2-unofficial-t2556776

( I Have tried countless ROMS with this enabler script and always the same result, I c NFC settings but do not read tags.)

It is claimed that it does read tags and so on, but i have tried MANY times to get it to work but I always end up with the same resolute.

NFC settings show, but do NOT READ ANY TAGS!! (FYI: I do not care about sbaem and that stuff as i JUSt want it to read tags)

So so far i am stuck with STOCK ROM.. :crying: :crying:
[Galaxy S II Android Development] Android_Raj:
Can Anyone share the link for KK roms V10, as the link in OP is broken.

Thank you in advance

Got the link few pages back

http://xdaforums.com/showpost.php?p=50200649&postcount=478&nocache=1&z=1206315533043671
[Galaxy S II Android Development] jthatch12:
I'll update the KK version soon. I've been super busy
[Galaxy S II Android Development] Android_Raj:
Thank you very much will wait for the update patiently
[Galaxy S II Android Development] unubtanium:
Great news, now lets hope this update when it comes, will allow me to read and write tags on a custom rom... :good:

As I have never got it to work with any Custom ROM on my i9100p
[Galaxy S II Android Development] unubtanium:
HI Mate, just a quick question regarding this enabler.

Is it meant to enable both beaming and read/write tags or just beaming?
[Galaxy S II Android Development] diego1121:
Hello, I Need V10 Patch KK - VERSION 10 (4.4.x only) nfc.

link does not work !
[Galaxy S II Android Development] FiKsTyLeR:
see this post

http://xdaforums.com/showpost.php?p=50200649&postcount=478
[Galaxy S II Android Development] tonton.spiroufantasio:
Is it possible to have access to the source code in order to modify/recompile this patch ?

Thanks.

Tonton Spirou
[Galaxy S II Android Development] jthatch12:
My source was only local. I'll have to upload it to git when I get a chance. Super busy here :eek:
[Galaxy S II Android Development] imlop:
you are the man. wish u Good luck. I'm using pacman kk and NFC working nicely but after a fix file permitions. but its nice because I have NFC now. thank you

---------- Post added at 10:20 AM ---------- Previous post was at 10:15 AM ----------

this question for forum moderators. sir now we know there are many korian s2 models now converted to international ones. plz can u start a forum for converted shw m250s. thank u and sorry for my bad English :D

---------- Post added at 10:20 AM ---------- Previous post was at 10:20 AM ----------

this question for forum moderators. sir now we know there are many korian s2 models now converted to international ones. plz can u start a forum for converted shw m250s. thank u and sorry for my bad English :D
[Galaxy S II Android Development] rahul thakkkar:
Will it works for galaxy note??
[Galaxy S II Android Development] Twain28:
Hello, and thanks for this mod: works like a charm on my GT-I9100P 4.1.2 NeatRom

I have one litte issue with it, though: I flashed 12v5ALT on my phone. The mod works and the NFC looks fine, yet each time I boot my phone, the "1 application updating" window opens (as if I was constantly installing NFC at each boot).

Should I uninstall it and try a lower version?

Cheerio! ;)
[Galaxy S II Android Development] Twain28:
A little update:

Seems like the issue is probably in the ROM itself.

I tried cleaning the patch away and installing a lower version, with the same results, then I reupgraded to 5.alt...I guess I'll keep it like this, until a solution pops out. ;)
[Galaxy S II Android Development] pdario:
v4.4 not found on Dropbox, can it be restored?
[Galaxy S II Android Development] Carrot Cruncher:
I've been back on a stock ROM since trying this patch out on various ROMs as per:

http://xdaforums.com/showpost.php?p=50232589&postcount=487

Thought I'd try out OmniROM. Got it all set up and working, installed the V10 Patch and just got the recurring message:

"Unfortunately, Nfc service has stopped"

Ended up deleting all the files that are extracted as part of the patch (as I'd forgotten to do a backup before applying)

ROM is all working again but no NFC options.

Not sure if this is a ROM or patch problem but does anyone know what could be causing this or what the fix is? Cheers.
[Galaxy S II Android Development] pdario:
I managed to have a valid NFC switch in my SlimsSaber 4.4.4 ROM, but when I put the phone on a tag nothing happen: am I supposed to do anything on the phone to have it read the tag?
[Galaxy S II Android Development] jthatch12:
I'll update for 4.4.4 this week. Just a quick heads up, if I don't respond to the thread, shoot me a PM and I'll get the work done
[Galaxy S II Android Development] unubtanium:
Sweeet, hope to get PA 4.5 on my i9100p with NFC!! would have loved that..
[Galaxy S II Android Development] pipyakas:
the link for the latest patch is broken, and does this patch include a fix for m250s gyro?
[Galaxy S II Android Development] pdario:
Hello everybody!

I have a working zip for SlimSaber 4.4.4, I suppose it will be ok for every AOSP ROM out there.

The zip can't be flashed as it is, because it lacks the script part, it just contains the files needed in their correct position.

Would anybody want to make it flashable with the right file permission?

Take it here
[Galaxy S II Android Development] dl1bjy:
Is there a way to activate ANT+ on S2 like in the newer S3 and S4 ROMS ?

Alf
[Galaxy S II Android Development] unubtanium:
Thanks for the files, and I did try to merge the files from your zip into NFCKK_Enabler-jthatch12v10.zip and the update the script but it was a no go.. Looks like the files are copied to the right places but it just do not read any tags.. :crying:

Man i so want my NFC back.. Will continue trying and update here if i make it.. hehe

Attaching the file, if anyone wants it. FYI: IT DO NOT WORK, But maybe we can make it work together.. :highfive:

Edit: Well did some more testing and it looks like it makes beaming work.. But that is something i never use so for me it does not work. Need to get it to READ tags damn it, why is that so F$%^ hard.. hehe

Any help would be appropriated to point me in the direction so that i can get it to READ tags too..
[Galaxy S II Android Development] unubtanium:
Hi pdario, Does your SlimSaber 4.4.4 read NFC tags??
[Galaxy S II Android Development] pdario:
I've been able to pair with another phone, but I haven't been able to read the only NFC tag I have at hand: it is on a advertising board, so I'm not sure if it works.

What do I need to do on the phone to read a tag?
[Galaxy S II Android Development] unubtanium:
I wish I did know.. as it looks like the files are there, but clearly there is something missing.
[Galaxy S II Android Development] pdario:
I'm not speaking of missing files, I mean if I need to tap anywhere on the phone to make it start reading the tag... Will it ususally suffice to touch the tag and nothing else?
[Galaxy S II Android Development] unubtanium:
Yes holding a tag into the back should trigger something on the screen if it was working.
[Galaxy S II Android Development] garfieldau:
it seems do not work in slim 4.4.4. no reponse with nfc tag. anyway, thank PO!
[Galaxy S II Android Development] pipyakas:
Just got nfc enabled on miui rom, problem is that it cant be disable and i dont have another device to really test the nfc
[Galaxy S II Android Development] pops1:
No NFC 4.4.4

Just to confirm other inputs - loaded your NFCKK_Enabler-jthatch12v10 onto OmniRom 4.4.4 and received same error message "Unfortunately, Nfc service has stopped" - had to pull battery and reload OmniRom to stop looping. Hopefully solution can be found or it's back to 4.2. Regards and thanks for efforts so far.

oops - should have said it's a i9100p
[Galaxy S II Android Development] Qaweck:
I think you need a full wipe after flashing that patch.

That is what I was obliged to do when flashing an home maded NFC enabled i9100p ROM
[Galaxy S II Android Development] pops1:
No NFC on 4.4.4

Thanks for replying - could you help me by explaining what you meant by *a full wipe after flashing" (sorry if this is a very basic question - I know about data wipe, cache, dalvic cache etc. but have usually only wiped these prior to a new ROM loading, not after). Thanks
[Galaxy S II Android Development] Qaweck:
Data and cash
[Galaxy S II Android Development] unubtanium:
Backing up now to test a full wipe..

I sooooooo hope this makes it work.. :fingers-crossed:

---------- Post added at 11:37 AM ---------- Previous post was at 11:21 AM ----------

Well that did not do it for me. anyway was worth the try.
[Galaxy S II Android Development] pops1:
No NFC on 4.4.4

Thanks for update but have now loaded CM11 and this seems to take the NFC patch (eventually) so won't be trying your solution just yet - will update on success or otherwise when I've tried it, but thanks for help.
[Galaxy S II Android Development] pipyakas:
try this patch on miui rom, v5 applied, and the accelerometer in asphalt 8 messed up. keep on turning left all the time, cant get rid of it eve after a full wipe and rom change. almost throw it onto a wall
[Galaxy S II Android Development] pops1:
Tried that but unfortunately did not clear problem - thanks for suggestion
[Galaxy S II Android Development] francobomber:
on cm11 there is nothing that makes enable nfc?

- I9100P with last cm11 nightly -
[Galaxy S II Android Development] mixvega:
The link of KK patch in op is down
[Galaxy S II Android Development] aclacl:
me too, no link available for KK. Is there any alternative link?
[Galaxy S II Android Development] jthatch12:
Meh I've been busy as all hell. Let me find a link for you guys
[Galaxy S II Android Development] jthatch12:
https://www.dropbox.com/s/m07am8cchdjoa61/NFCKK_Enabler-jthatch12v10 (1).zip?dl=0
[Galaxy S II Android Development] Qaweck:
Seems that with kk it will be impossible : the NFC.apk needs to be signed with the same key than the system build to allow permission.INTERACT_ACROSS_USERS.

W/ActivityManager( 2317): Permission Denial: getCurrentUser() from pid=6172, uid=1027 requires android.permission.INTERACT_ACROSS_USERS
E/AndroidRuntime( 6172): FATAL EXCEPTION: main
E/AndroidRuntime( 6172): Process: com.android.nfc, PID: 6172
E/AndroidRuntime( 6172): java.lang.RuntimeException: Unable to create application com.android.nfc.NfcApplication: java.lang.SecurityException: Permission Denial: getCurrentUser() from pid=6172, uid=1027 requires android.permission.INTERACT_ACROSS_USERS
[Galaxy S II Android Development] pops1:
NFC on KK

Understood - and thanks for reply.

From my trials it seems that KK patch appears to add the entries for NFC in "Settings> Data" on CM/PA/Carbon KK ROMS (flash NFCKK_Enabler-jthatch12v10.zip patch then reboot twice), but I have never checked functionality.

So, from what you've said, it appears that patch gives you the right check-boxes, but not the correct operation - is that correct?

Thanks,Barry
[Galaxy S II Android Development] sd_shadow:
Notice: A New Q & A thread has been created in the Q&A, Help & Troubleshooting Sub-Forum.

New Discussion and Q & A Tabs have also been created, located just under threads Title, when viewing in a Browser.

Posts from members with less than 10 posts will automatically be posted in the new Q & A thread.

Please check it out, and see if you can help out someone with a question about this Topic.
[Galaxy S II Android Development] rohitarora27:
working absolutely fine in cm11 4.4.4 for Samsung galaxy s2.

hardware gt-i9100p

hit that thanks meter and tell i helped you :) happy to help.

B)
[Galaxy S II Android Development] Viper The Ripper:
Hi [MENTION=4560679]jthatch12[/MENTION] :)

Could you re-upload your v10 patch for KK builds please? The link is broken

Thank you so much ;)
[Galaxy S II Android Development] AmyClaraRose:
Thanks worked on my i9100p converted to i9100

The link above works used it yesterday
[Galaxy S II Android Development] lohtse:
will this work for LP???
[Galaxy S II Android Development] burngraf:
I successfully enable nfc on my LG P700 running the mod and copying the nfc.msm7x27a.so at /system/lib/hw (that i found it from another ROM).
[Galaxy S II Android Development] Lister Of Smeg:
Hi Guys,

I'm getting an i9100P sometime this week, in which it will replace my standard i9100 (which I'm giving to my nephew), so currently downloading all these files now. To play and test with.... ;)

Does anyone know if the latest i9100 Lollipop / Marshmallow roms work with NFC natively? Or is a patch still required, and if so... Is anyone working one a patch for the newer Android builds, or due to age of the phone... is it discontinued?

Thanks, Lister
[Galaxy S II Android Development] Viper The Ripper:
I'm using the last RR Lollipop build and I can't activate it, our builds are made for the international S2 version, so I think we still need a patch but I didn't try NFC apps or flash our KK patch because of there is nobody here with a NFC phone :D
[Galaxy S II Android Development] yyh991013:
i9100 has no NFC chip.. lol

通过我的 GT-I9100 上的 Tapatalk发言
[Galaxy S II Android Development] Lister Of Smeg:
You're right, the i9100 DOES NOT have a NFC chip....

But as I stated in my original post, I am getting the i9100P and that DOES have an NFC chip.. ;)

Cheers, Lister

---------- Post added at 08:37 AM ---------- Previous post was at 08:30 AM ----------

Hi [MENTION=4560679]jthatch12[/MENTION],

I am soon to test out your amazing work and contribution in bring NFC to custom roms for us i9100P users... as I pick up my i9100 later this week :)

Just wondered if you had plans to continue this work with say a v11 and v12, with respect for Lollipop and Marshmallow roms...??

Many thanks, Lister
[Galaxy S II Android Development] Draky50110:
Would be cool but I'm pretty sure it's dead :/

As a CM13 user, I'd like my I9100P to be able to use NFC...
[Galaxy S II Android Development] Lister Of Smeg:
Hi [MENTION=3582785]Draky50110[/MENTION],

Aye, it would be nice if there was a continuation of this Mod, so that it works with newer roms too now... Such as Lollipop and Marshmallow... :)

Cheers, Lister
[Galaxy S II Android Development] jthatch12:
Hey guys, let me see if I can whip something up for ya! Sorry I've been out of the S2 loop for many years, didn't realize it still has such a strong following!
[Galaxy S II Android Development] wdevil12:
mine is korean version (NFC compatible) running lollipop. Your magic would be cool here.
[Galaxy S II Android Development] Draky50110:
The I9100 / S2 is still a daily driver for me, running CM 13 (Android 6.0.1) !

So, I hope your magic will come in handy :)
[Galaxy S II Android Development] Lister Of Smeg:
Hi [MENTION=4560679]jthatch12[/MENTION],

The mere fact, you've spotted and responded to this request of quests, is encouraging for me!!! Thank you, thank you...

Indeed, the S2 still has quite the following, for such an old device, it's still a rocking!!! With official CM13 support again, its gained many new roms again... So yeah, if ya can work ya magic again would be coools...

I'm new to the NFC version, as only just picked it up the other week... So need to find something/somewhere i can test what does with it... would be cool. But strangely, I flashed the last KK version of the NFC patch in a Marshmallow rom, and sure enough NFC popped up in the Settings...??? From there, I can enable and disable it too...? However, as yet to actually test it on anything officially NFC based... But yeah, if ya can work ya magic to make NFC officially supported by ya skills in newer roms... Would just be awesome for all us old relics!! ;) lol

Thanks again, Lister
[Galaxy S II Android Development] Draky50110:
Maybe you can try with any NFC app on PlayStore...

Don't know if there is a NFC tester there...
[Galaxy S II Android Development] jthatch12:
If everyone could just wait a few more days I'll get around to making something this weekend! Thanks for your patience and consider this thread officially revived ?
[Galaxy S II Android Development] jthatch12:
Warning! Alpha version! Download both files, make a nandroid and hope for the best. I have no way of testing this version, my i777 died many years ago. Good luck and seriously NANDROID!

http://d-h.st/3TBG

http://d-h.st/J1AH
[Galaxy S II Android Development] Draky50110:
1st is for enable and 2nd for disable ?

Do you recommend any app to test NFC ?

I have a NFC credit card to test with my i9100P.
[Galaxy S II Android Development] jthatch12:
Correct, if things don't go correctly, use the remover. And just look for an NFC app in play store
[Galaxy S II Android Development] Draky50110:
OK.

I choose to install fine with TWRP recovery.

It begins and then directly back to menu after 0.5 seconds :(

And I don't have any NFC setting in my CM13 settings.
[Galaxy S II Android Development] jthatch12:
Try manually extracting the packages and setting the permissions via an app like xplore. I won't have time to fix the installer til this weekend
[Galaxy S II Android Development] Draky50110:
Sorry, too noob for that :p

I'm not in hurry ;)
[Galaxy S II Android Development] Viper The Ripper:
I'll try to test it if possible ;)