Hi everybody !
I'm the lucky owner of a OnePlus One rooted whith custom rom (Resurrection Remix Oreo 8.1 [latest build]) and I was wondering about some tricks to do with the NFC HCE built-in the OPO.
Where I Work, we use NFC cards (MiFare Classic 1K) to access different parts of the building, and i forget my card all the time at home. So I looked on the internet and stumble upon the Card Emulator app which can (if you're rooted) scan the UID of an NFC tag and write it in the HCE part of the NFC module in the OPO.
So I'm able through this method to use my phone while its screen is on and unlocked. Then I wanted to do so while the screen is off, that's why i installed Xposed and the NFC LockScreenOff Enabler module.
But it doesn't seem to work.
My question is, is there a way or an another to use this application while the phone screen is off ?
thanks !
I do not have an answer for your question, but thank you for mentioning this app, I have it now too
r0tati0n said:
I do not have an answer for your question, but thank you for mentioning this app, I have it now too
Click to expand...
Click to collapse
You're welcome. But keep in mind that this is only effective when the software that manages the NFC tag readers only use the UID to complete the authentification, which is not secured at all if you value my opinion... I hope that most of modern aunthentication system retailers don't rely anymore on such use of NFC tags.
Have you looked into Menu-Advanced-Xposed in this app?
There is an option Enable NFC when screen is off...
Haven't noticed it ! Will try ASAP. Thanks !
Related
Hi,
I would like to develop an app for smartwatch: a reminder to take medicaments, that will displayed on requested time an alarm with the name and quantity of the medicament to take.
The special point of this app would be that this alarm can be snooze, but can be turned off only by "scanning " a RFID tag that would be on the pill box, in order to ensure as much as possible that the user takes the pill.
The point is that it would be for someone with bad memory, so who will most of the time not cary its smartphone with him. A smartphone is easy to leave and forget on a desk then go in another room and therefore miss the reminder, not like with a watch.
The features needed are:
- use of RFID
- the application should work even if not always connected with the smartphone
Could the Sony SmartWatch be used, with a custom firmware maybe, for building such an app?
I'm afraid you can not do that with the SW2 due to hardware limitations. Ok, you can put a custom firmware if you really convince Sony to release the sources or if you are resourceful ... but the NFC reader does not exists. This watch is designed to be a slave ...
A more autonomous device is galaxy gear because it is running android itself and can be used w/o a phone ... but it also lack the NFC reader functionality.
thank you for your answer.
So it seems that for now, no programable smartwatch have this NFC feature and will be independent enough for such an app.
Well, I hope that will change soon, that could be very useful.
ro_explorer said:
I'm afraid you can not do that with the SW2 due to hardware limitations. Ok, you can put a custom firmware if you really convince Sony to release the sources or if you are resourceful ... but the NFC reader does not exists. This watch is designed to be a slave ...
A more autonomous device is galaxy gear because it is running android itself and can be used w/o a phone ... but it also lack the NFC reader functionality.
Click to expand...
Click to collapse
Sorry to insist, but it s not clear in my head.
In the specs of the Sony Smartwatch 2, NFC is set as a feature.
http://www.sonymobile.com/global-en/products/accessories/smartwatch-2-sw2/specifications/#tabs
So what does this feature means ? If a NFC tag is presented to the watch, there is no way that the watch can react to it ?
And also about the watch being designed to be a slave, it's also not clear to me: what happens if the watch move out of the range of the mobile phone ? Will it simply stop ?
About custom firmware, I was speaking of this program there : http://developer.sonymobile.com/services/open-smartwatch-project/
Where maybe this NFC feature would be more open.
The watch has a NFC tag on it , not an NFC receiver. It will only TRANSMIT data to the phone or other reader.
So, you can not read NFC tags with the watch.
The "slave" means that for the watch to be fully functional, it will need a master. W/o a phone, this watch is simply a watch .. nothing else.
ro_explorer said:
The watch has a NFC tag on it , not an NFC receiver. It will only TRANSMIT data to the phone or other reader.
So, you can not read NFC tags with the watch.
The "slave" means that for the watch to be fully functional, it will need a master. W/o a phone, this watch is simply a watch .. nothing else.
Click to expand...
Click to collapse
Thanks for the clarification on the NFC.
And also for the relationship between the watch and the mobile phone. So the sony smartwatch is finally more just "another screen" with touch on it, ok, so no way to use it without other device indeed.
Just to confirm the Kamor NFC tags - NTAG203 Chip (link) works well with the Galaxy S6 phone.
I have thought about buying some of these for a couple different uses. I'm curious what other people are actually using these for on a regular basis. Also how helpful is the "programmable" feature with these when paired with the S6?
In general NFC tags have there uses... I mean there are apps out there that can do almost similar functions if not identical to what NFC tags do. For example an app called Llama can do similar functions such as switch things on/off based on your cell or GPS location. It has a mirad of customizable functions that can be triggered. Another is Tasker. However with NFC Tags, one big advantage as you all may know is the "on demand" of executing functions with the tags. Hence when I put my phone in my car charger the NFC tag that's stuck to the cradle instantly puts my phone in car mode, shutdown Wi-Fi, enable Bluetooth and launch my music player. Same goes for night mode at the night stand charger... Again on demand oppose to time or location. The programming aspect and features are based on the software you use to create the functions. You can pretty much do all the basic phone toggles except for enable/disable GPS. (Android security feature) Some have predefine tasks that you can use to write on the tag as soon as you install the app. Trigger, one of the apps I'm currently using also has predefined brand functions. Like Samsung related tasks to put the phone in low power mode along with other custom functions... However its not device specific so these functions can be a hit or miss in regards to operating. Oddly the latter did not work on my S6. But another NFC app may have it right.
So far I'm really liking these NFC Tags. Not sure if there are better/more features than others but for basic stuff these are doing a lot.
I just bought NFC tags 512, should get them by Saturday, it's for BT in my car as the S6 won't automatically connect to my HTC Car Stereoclip module
I purchased these for my M7 and they still work for the S6
http://www.ebay.com/itm/5x-NTAG203-...645?pt=LH_DefaultDomain_0&hash=item2ed078783d
nolimit78 said:
I purchased these for my M7 and they still work for the S6
http://www.ebay.com/itm/5x-NTAG203-...645?pt=LH_DefaultDomain_0&hash=item2ed078783d
Click to expand...
Click to collapse
Nice price!!
I have some of the Samsung brand "TecTiles" NFC tags. I've had them for two years. I've yet to find a really good use for them. I'm more likely to use automation based on BT connections or whatnot using Llama, Tasker and/or Trigger as s-one mentioned. I thought I finally had a good use for them recently, and made some things with Trigger, programmed my tags and got ready to rock. I think realized that I can put a shortcut to the Trigger task on my home screen and that it's just as easy, if not easier, to click on that shortcut than to get my phone in just the right spot to hit the NFC tag.
I've got some tags that came with a Moto X 2013 that seem to work OK with the S6.
Sorry for posting this in an old thread but suspect it is the right way anyway as the question is about NFC tags
Could some one confirm WHICH NFC tags/cards Actually work with the Samsung S6(we have the ACTIVE)???
We have some laying around but when we get message saying"nfc tag not supported"
Thank you for assisting
In Setting > Lock screen and Security > Smart Lock > Trusted devices > Add trusted Device ..... there is no option for NFC tag. Why is that? It only lets me add bluetooth device. I have NFC tag that I want to use to unlock, but I can't find that in Trusted devices.
Any hints?
Thanks
Still looking for a way to add NFC tag under SmartLock. It worked when I had Nexus 6P. What am doing differently with S8?
tasker + secure settings will do what you want.
Why can't I do it using SmartLock? This was available on Nexus 6P, and it is a standard Android feature. Is it a bug in Samsung S8 software?
Does everyone with stock S8+ have the same issue? Is there really no NFC tag option in Setting > Lock screen and Security > Smart Lock > Trusted devices > Add trusted Device ?
Before firmware update I can used this without problem but now I can't found this settings.
Well then this is a bug. How do we report it to Samsung? I need to unlock my phone when it's on NFC tag, without rooting my phone.
Got an update from Samsung last night, but this bug is still not fixed. No NFC option under SmartLock
It's not just Samsung bug. NFC Smart lock also disappeared on Lineage OS on my Nexus 5 and with out any system updates. I've read that it has to something with Google play services and it's missing from some other phones too.
I need the solution right now. It's very annoying[emoji58]
Sent from my Nexus 5 using Tapatalk
NFC Smart Unlock was also removed on the Google Pixel phones with a 7.1.2 update and is still gone in the 8.0.0 (Oreo) update I just installed now. It was likely removed because it was buggy and stopped working on some phones (like mine).
https://productforums.google.com/forum/#!topic/phone-by-google/DyxZwJpsOwY
https://issuetracker.google.com/issues/62268615
Elijah Lynn said:
NFC Smart Unlock was also removed on the Google Pixel phones with a 7.1.2 update and is still gone in the 8.0.0 (Oreo) update I just installed now. It was likely removed because it was buggy and stopped working on some phones (like mine).
https://productforums.google.com/forum/#!topic/phone-by-google/DyxZwJpsOwY
https://issuetracker.google.com/issues/62268615
Click to expand...
Click to collapse
not available on my stock Nexus 6 (7.1.1)
In Asus Zenfone 2, there is no NFC tag
oneguyks said:
Does everyone with stock S8+ have the same issue? Is there really no NFC tag option in Setting > Lock screen and Security > Smart Lock > Trusted devices > Add trusted Device ?
Click to expand...
Click to collapse
Recently, I flashed lineage OS on my Asus Zenfone 2 Z00A, there is no NFC option in Smart lock settings.
Please comment on this why it is not there?
Ac3_DeXt=R said:
Recently, I flashed lineage OS on my Asus Zenfone 2 Z00A, there is no NFC option in Smart lock settings.
Please comment on this why it is not there?
Click to expand...
Click to collapse
Did you read the post above yours? It explains why. And this is S8+ forum, not Zenfone forum....
Googled removed it due to lack of use. If you have an old NFC tag paired, it'll still work, but no way to add new ones
This is pretty disappointing... I had looked into getting an NTAG216 chip encapsulated in glass implanted, with unlocking my phone as one of the possible novel uses of it, but I guess I can forget that!
I guess we need some tweaks to get back NFC Smart Lock feature, like Magisk, scripts type of method and all that by all means.
Is there somebody who knows how Google blocked it technically?Assuming the culprit must be Google Play Services, though, if so, we done...?
Sent from my Nexus 5 using Tapatalk
dalanik said:
Did you read the post above yours? It explains why. And this is S8+ forum, not Zenfone forum....
Click to expand...
Click to collapse
But the context was same. Anyway, thanks!
NFC unlock
foo25 said:
This is pretty disappointing... I had looked into getting an NTAG216 chip encapsulated in glass implanted, with unlocking my phone as one of the possible novel uses of it, but I guess I can forget that!
Click to expand...
Click to collapse
I think it isn't a bug... And it is not removed on purpose... I am running the latest Software for my Smasung S8+ (7.1.1) and I can still add NFC Tags. Under SMart Lock I go to trusted devices and then add NFC tag. I already have two NFC tags in there, so I dont know if this feature is still availible to me because I added one on Version 7.0 so maybe you had to add one earlier to still have this option unlocked which wouldnt make any sence tho... I suggest you try the app NFC Tools Pro and NFC Tasks (like tasker) which both work together very well and let you allow to unlock you phone with the tag.
Best regards
I have found a workaround, though it requires root and manually editing a preferences file.
Details on pastebin: https://pastebin.com/2RSZzERg
Hello folks of XDA, especially the Italians one since i'm creating this thread to address one of the most wanted feature of the Italian Intesa San Paolo home banking mobile application for Android, that is making PayGo work with a custom ROM, rooted phone, ecc....
Now let's first state what PayGo is and what's the problem:
PayGo it's a feature of the application that allows you to emulate the contactless chip of one of you credit/debit card through NFC.
PayGo requires your phone to be unrooted and unmodified.
Every attempt to hide the modifications through Magisk Hide allows you to pass the initial warning of the application about Root and Custom ROM but the feature then fails to start with an unknown error.
So, summing up, PayGo won't work even if you pass SafetyNet checks and no one seems to understand what it checks.
Now, I'm a developer but I'm not even close to understand how security checks and stuff works under the hood in Android but my guess is that PayGo checks somehow if the bootloader is unlocked or not. Following this intuition I Googled how to check from application code if the bootloader is unlocked or not. One answer on Andorid Stack Exchange seemed to be really useful: it states that from a dialer app you can check if the bootloader is unlocked or not. Now, that answer reminded me that I was always wondering why Intesa San Paolo app was asking for phone permissions even if it never used them (at least apparently) and an idea popped to my mind:
what if the app asks for phone permissions only to check as dialer if the phone has unlocked bootloader or not?
Well, I revoked phone permission to the app and tried to open PayGo and guess what, it asks phone permissions right away! If you deny them and check "don't ask me again" it won't even open anymore, so my guess may be right.
The problem now is to understand what values is returned to the dialer and how to modify it so that we can test it.
Any good soul that can offer a solution through, i don't know, a Magisk module or something?
Thank you for your time in reading this, I hope it helps someone
@Diomorgan, @Errtu73, @olivercervera may find this thread useful
Have you tried disabling ADB debugging? I have personally tested PayGo and works
olivercervera said:
Have you tried disabling ADB debugging? I have personally tested PayGo and works
Click to expand...
Click to collapse
Yes, it passes the first warning but then fails to start with unknown error
You are lucky because I'm customer of the Intesa group (although I usually don't use this app)
As I said earlier, it works perfectly on my device. The issue is specific to your ROM/device.
I just activated the App and PayGo right now...
olivercervera said:
You are lucky because I'm customer of the Intesa group (although I usually don't use this app)
As I said earlier, it works perfectly on my device. The issue is specific to your ROM/device.
I just activated the App and PayGo right now...
Click to expand...
Click to collapse
Well I tried it on a OnePlus One with Sultanxda LOS but no luck, same on LG G4 with official LOS. Which phone and ROM are you using?
I'll try with my OnePlus 5 keeping the stock ROM, hoping it will work
Lamba92 said:
Well I tried it on a OnePlus One with Sultanxda LOS but no luck, same on LG G4 with official LOS. Which phone and ROM are you using?
I'll try with my OnePlus 5 keeping the stock ROM, hoping it will work
Click to expand...
Click to collapse
I'm on Xiaomi Mi5 and LOS 15.1 (Android 8.1)
LOS is not the problem, probably there was something weird in the ROMs you tried. Some old ROMs are implemented in a way that Magisk can't really work/hide everything, most of them before SafetyNet/Magisk era.
Try with stock ROM and Magisk, you should be fine.
Some background, here in my country, we can use a secure element on the sim card to store money to take public transport by simply turning on the nfc and tapping. I used to use the magisk module to enable my OP3T to use my nfc sim but ever since I upgraded, I have been trying to find ways to enable the nfc sim on my OP6. Apparently, the old thread for the 3/3T and 5/5T has instructions although, I am having some difficulty following the instructions. Is anybody able to mod it for the OP6? Maybe even the original modder @snowwolf725 could do it for the 6? I got quite a lot of value loaded onto my sim for daily transport use.
https://forum.xda-developers.com/oneplus-5/themes/mod-nfc-swp-sim-enabler-oneplus-3-3t-t3650482
Androidian10 said:
Some background, here in my country, we can use a secure element on the sim card to store money to take public transport by simply turning on the nfc and tapping. I used to use the magisk module to enable my OP3T to use my nfc sim but ever since I upgraded, I have been trying to find ways to enable the nfc sim on my OP6. Apparently, the old thread for the 3/3T and 5/5T has instructions although, I am having some difficulty following the instructions. Is anybody able to mod it for the OP6? Maybe even the original modder @snowwolf725 could do it for the 6? I got quite a lot of value loaded onto my sim for daily transport use.
https://forum.xda-developers.com/oneplus-5/themes/mod-nfc-swp-sim-enabler-oneplus-3-3t-t3650482
Click to expand...
Click to collapse
Bump this, i tried to do it by myself here https://forum.xda-developers.com/showpost.php?p=79193723&postcount=29, but reach no results...
I recall using something like this on my G3. It was an NFC payment solution from Orange.
But i just had to use their wallet app (just like GPay) and it would use the NFC chip in my Sim card instead of the phone's chip.
I'd be curious to know you can achieve what you want, it's interesting.
Totone56 said:
I recall using something like this on my G3. It was an NFC payment solution from Orange.
But i just had to use their wallet app (just like GPay) and it would use the NFC chip in my Sim card instead of the phone's chip.
I'd be curious to know you can achieve what you want, it's interesting.
Click to expand...
Click to collapse
I'm ok with gpay, but in my country (Russia, Moscow) there are universal transport card, and mobile providers has a spesial sim with security chip inside, which implements transport card emulation (using phone nfc module to pass instead plastic card).
Oneplus does not support sim secure chip "from the box", but there are solution for 3, 3T, 5 (up to android oreo). In android 9 libnfc-nxp.conf moved to vendor/etc (istead system/etc) and got many spesial params, so old solution does not works. I didn't yet modify magisk patch from OP 5, but i think i can if someone explain me which nfc config i need.
The second problem is apk and jar from patch, i dont have this original service in android 9 oxygen, so i cant predict behavior of my phone if i'll install custom one...
As well as i sugges that other nfc module using in OP6
So no solution?
Hi, I make a magisk module to Enable NFC-SIM Function for oneplus 6t maybe can work on oneplus 6 ?
https://forum.xda-developers.com/oneplus-6t/themes/magisk-enable-nfc-sim-function-t4002803