[Help] [cm12.1] Nfc Smart lock - ONE Q&A, Help & Troubleshooting

Hi,
I'm on CM12.1 Nightlies, and I'm looking into the Smart lock features. I've added an NFC tag to the trusted devices, but I don't really understand how it works now...
I expected to be able to scan my tag when screen is locked, to easily unlock it, but when I do nothing happens, like if NFC weren't even enabled when screen locked (if that's the case it's stupid to even let me select a NFC trusted device, right?)
Anyone know how NFC trusted devices is intended to work in CM12.1?
Anything more I should look at?
Btw. I'm using AK kernel 300, not sure it can have anything to do here...
Any help or pointer is much appreciated. TIA.
Sent from my OnePlus One with Tapatalk

Nobody?
Sent from my OnePlus One with Tapatalk

That's balls brah
Sent from my A0001 using XDA Free mobile app

superbrowndude said:
That's balls brah
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
Any more info about how that works? After digging a bit more into it in Google I found that the phone must already be unlocked, and must stay on top of the NFC tag, which is not at all what I expected and... Well, in my case worthless.
I'd value a lot more Trusted Wifi, which for whatever dumb reason Google hasn't thought useful to develop apparently (nor anybody contributing to CM unfortunately ?).
Sent from my OnePlus One with Tapatalk

Related

NFC disabled SGH-i727 (ATT) - How to enable

I noticed on GSM ARENA the specs for the Skyrocket phone say it has NFC.
So I got really excited, but then when I tried to use it, I realized it does not, in fact work.
ATT apparently marked it as not-present and disabled it. (Two problems.)
Anyhow, I found out how to enable it, and I wrote a quick Android App to verify it is present.
I did take a chance and used the Note hack as the model numbers were very close to being the same. I theorized the hardware was mostly the same, excepting the screen.
I searched and apparently nobody has announced doing this before.
The thread used was here:
http://forum.xda-developers.com/showthread.php?t=1545751
The tool to test NFC on Skyrocket SGH-i727 is here.
Its already enabled on the ICS leaks we have.
Sent from my SGH-I727 using Tapatalk 2
Where is the nfc built in on our phones?? I kno on the note its built into the battery cover
Sent from my SAMSUNG-SGH-I727 using XDA
Its on the battery itself. If you remove the sticker on the battery you can see the antenna
Sent from my SGH-I727 using Tapatalk 2
I read ICS has a bug where it can't initialize NFC tags.
This candhelp people on 3.x get their NFC working.
Sent from my SAMSUNG-SGH-I727 using XDA
NFC in the Skyrocket is on a chip inside the unit itself. Only the antenna for the NFC chip is located on the battery.
NFC was disables by AT&T in stock GB builds, however some custom ROMS, such as Alien, enabled it.
The 4.0X ICS releases (leaks) for the skyrocket have fully functioning NFC capabilities.
Specific phones did (or maybe) still do have an NFC bug (Verizon's Nexus) phone couldn't handle certain types of formatted tags, but the SkyRocket hasn't had this or any other problem NFC related that I am aware of.
I'm writing an NFC application.
I'll plan to upgrade to Alien in the near future. Sounds like fun.
Just the thought of putting a tag on the nightstand, in the car, ... I can do so much with it, but none the apps out there (even Samsung TecTiles App and NFC Task Launcher) do what I want to do. Not that I can run TecTiles on my phone version.
I'm currently running SKY ICS 4.2F-3B with the UCLE2 radio.
I use NFC tags in the car, at work and at home with an app called NFC Task Launcher.
Sent from my Transformer TF101 using xda premium
What distance can they be read?
Sent from my SAMSUNG-SGH-I727 using XDA
Promethyl said:
What distance can they be read?
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
My handset does not read the NFC tag until it is within approximately 1cm.
Sent from my Transformer TF101 using xda premium
Promethyl said:
What distance can they be read?
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
It's very close range by the nature of NFC itself. Depending on if you have a case on the phone, and which case it is, you might need to actually hold the phone to the tag and keep it there for a second. Stock NFC in the skyrocket, regardless of which ROM, gives an audible tone when reading a tag. A file is floating around XDA that will disable the tone, but it is nice to know if the tag was read correct or if there was an error.
How are you guys able to get the NFC to work? I can enable it but when I use NFC apps I get a secure settings needed.
Sent from my SAMSUNG-SGH-I727 using XDA
specter07 said:
How are you guys able to get the NFC to work? I can enable it but when I use NFC apps I get a secure settings needed.
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
Are you using apps that require secure settings (secure eliment)? If so, it has nothing to do with NFC, it has to do with the app.
I want it to work so bad on cm
CM9 Skyrocket
To answer your question, yes. So which app would allow me to use NFC with out the secure elements?
Sent from my SAMSUNG-SGH-I727 using XDA
Can anyone share where you purchased your tags from? I would like a handful of reliable tags but cant figure out where to get them from.
Sent from my SAMSUNG-SGH-I727 using XDA
got mine from ebay just google there are plenty of places that sells tags for cheap.
specter07 said:
To answer your question, yes. So which app would allow me to use NFC with out the secure elements?
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
None. The Skyrocket does not have a secure eliment. There are several threads about this already.
bobgodd said:
Can anyone share where you purchased your tags from? I would like a handful of reliable tags but cant figure out where to get them from.
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
Bought mine here:
http://tagsfordroid.com/tags/Home.html
scott14719 said:
None.
Bought mine here:
http://tagsfordroid.com/tags/Home.html
Click to expand...
Click to collapse
+1 on the tagsfordroid
Those are the ones I use, too.
Sent from my Transformer TF101 using xda premium
I tried this on mine, and it didn't work oh well, guess I'll wait for the the official ICS update.

NFC Modding

Has anyone here at all considered a mod to enable nfc with the screen off or even with just the screen on but not unlocked? It would make things far more convenient. It's my understanding that this would just involve a modified nfc.apk, since it's been done that way on other devices. I have no experience with the odex files in an apk, and I'm guessing a mod like this would involve some editing of that.
So, is anyone else interested in this, and/or willing to help out with it?
Sent from my DROID RAZR HD using Tapatalk 2
I'd consult the op of this thread
http://forum.xda-developers.com/showthread.php?t=1712024
Sent from my DROID RAZR HD using Tapatalk 2
Thanks, when I have more time this afternoon I'll do that. I'll provide info in this thread if anything happens.
Sent from my DROID RAZR HD using Tapatalk 2
Unless you're okay with someone swiping your phone and buying stuff with it, NFC shouldn't be on when locked... Just my 2 bits.
EdwardN said:
Unless you're okay with someone swiping your phone and buying stuff with it, NFC shouldn't be on when locked... Just my 2 bits.
Click to expand...
Click to collapse
G Wallet requires the app to be open and pin entered, at least it did on my s3. It's not a matter of just waving the phone around. Nfc on when screen off is handy for using nfc tags, for instance.
Sent from my DROID RAZR HD using Tapatalk 2
EdwardN said:
Unless you're okay with someone swiping your phone and buying stuff with it, NFC shouldn't be on when locked... Just my 2 bits.
Click to expand...
Click to collapse
Yeah, I just use NFC tags, Verizon has Google Wallet locked down and I live in the middle of nowhere where mobile payments aren't supported anyway.
update on this?

[APP REQUEST] Motorola Assist Modification

I was wondering if any developers would be willing to look in to the Moto Assist app, I know there's a few of us that would like to be able to toggle the driving functionality on and off at will.
I work from home programming, so it's great to be able to just vocally tell my phone to read me texts, or answer calls... but then I'd like to be able to turn it off when I go out to dinner haha. I've already tried work-arounds like forcing car mode on, or downloading other apps. Nothing works as well as the stock Moto Assist app, but unfortunately it only works when I'm driving, it must pull from the GPS.
Anyway, if someone could look into this that would be awesome, it's a bit beyond my ability regrettably. Thanks! :fingers-crossed:
Like being able to say.. "okay Google now. Turn on moto assist"
Sent from my XT1080 using xda app-developers app
Jeez, this is quite a shock coming from the Galaxy Nexus. I didn't realize developers for this phone would be so sparse.
Sent from my XT1060 using Tapatalk
9kracing said:
Jeez, this is quite a shock coming from the Galaxy Nexus. I didn't realize developers for this phone would be so sparse.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
No kidding. :|
I'll see if I can get around to decompiling the APK today and poke around. Hopefully I can bypass the driving check at worst and just have it always on, or always off.
Sent from my XT1060 using Tapatalk
+1 I think I'll donate $5 to anyone who does this
I thought of this one too
Look at these weird permissions assist has maybe we just need an app with these permissions
Sent from my XT1058 using Tapatalk 4
EDIT
New finding in SmartActionsHanashi.apk ... there's a service com.motorola.hanashi.CommunicationMediatorService (my guess on which service it is) and I think (I dont do much reverse engineering) we just need an app to activate the service after we edit the SmartActionsHanashi.apk to make the service exported (it is false ATM)...
I would try it myself but with no root I cant reinstall the SmartActionsHanashi.apk
Edit like 4
SmartActionsHanashi.apk also has all of the right resources. so i am 90% sure that this is the apk we are looking for.
If anyone would like to try my idea PM me, you WILL need root.
9kracing said:
Jeez, this is quite a shock coming from the Galaxy Nexus. I didn't realize developers for this phone would be so sparse.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
In all fairness, it's a completely different situation. I know with my Droid DNA it took MONTHS to see anything other than slightly modded stock ROMs.
I'm sure the Moto X community will pick up in the next few months but that being said i'll probably get a Nexus 5 to satisfy my urges.
foster626 said:
Look at these weird permissions assist has maybe we just need an app with these permissions
Sent from my XT1058 using Tapatalk 4
EDIT
New finding in SmartActionsHanashi.apk ... there's a service com.motorola.hanashi.CommunicationMediatorService (my guess on which service it is) and I think (I dont do much reverse engineering) we just need an app to activate the service after we edit the SmartActionsHanashi.apk to make the service exported (it is false ATM)...
I would try it myself but with no root I cant reinstall the SmartActionsHanashi.apk
Edit like 4
SmartActionsHanashi.apk also has all of the right resources. so i am 90% sure that this is the apk we are looking for.
If anyone would like to try my idea PM me, you WILL need root.
Click to expand...
Click to collapse
I tried with this but no luck. Check your PM.
I've been super busy lately, haven't had time to look at this myself.
Sent from my XT1060 using Tapatalk
abiezer said:
I tried with this but no luck. Check your PM.
Click to expand...
Click to collapse
Thanks to new root method I'll be working on this on my own I will post if I get it to work
Sent from my XT1058 using Tapatalk 4
New development assist app uses new modified smart actions app and there are rules in here that correspond to assist actions but using the ones they have all I can do is confuse the phone..... There are also strange actions that don't do anything except if in the driving sleeping meeting actions ....in the pictures I'm sitting at my desk but in the status bar you can see I'm "driving" but no texts are read and music didn't start either....
Sent from my XT1058 using Tapatalk 4
Edit the command i got to open the assist engine is
adb shell
su? idk i just used it
[email protected]:/ # am start com.motorola.contextual.smartrules2/.app.AboutActivity
AOV is Touchless Controls
I believe LED is Active Notification
use with caution i probably messed up my assist just now
Is anyone still working on this by chance? The only thing about my Moto X that I wish was different is having the ability to switch having the phone read my texts aloud on and off at will. I'm surprised that such a useful feature is limited to only driving when there are so many situations where it would be useful. Being able to do this without needing root access would be ideal.
This would be very useful and definitely be awesome for a work environment.
I am going to try and do it again. I have some new ideas on how to do it!
Will post in here and make a new thread if profit is achieved :fingers-crossed:
I would defiantly donate $10 for this.
Profit

[Q] OK Google on lockscreen

I thought I remembered reading that OK Google should work even on your lockscreen if you use slide and from any other screen as long as your device is awake but it only works on my home screen or Google now... An I just wrong or is something wrong with my device?
Sent from my Nexus 5
Nothing wrong with your device.. This feature is enabled only for US devices.. Although there may be a workaround to activate it on your device I heard.. I'm from India and this feature does not work on my phone
Sent from my Nexus 5 using xda app-developers app
My device is a US device... I bought it in America and a friend brought it to me...
Sent from my Nexus 5
Its not from where you buy it. Its what carrier you are connected to and what is your primary email id on device. If your email id has address/postal code of outside of us then your device is not consider as us device
Sent from my Nexus 5 using xda app-developers app
Oh well. I'm guessing there's no way to fake it yet...? Thanks a lot!
Sent from my Nexus 5
vinod.20r said:
Nothing wrong with your device.. This feature is enabled only for US devices.. Although there may be a workaround to activate it on your device I heard.. I'm from India and this feature does not work on my phone
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I have the US version and live in the US and "OK Google" does NOT work from the lockscreen. It only works from the homescreen or Google Now as OP has stated.
Pretty sure it's only supposed to work from the Homescreen where the microphone symbol is present. Confirm/deny?
Actually now that I look it up on all the reviews it says on home screen or Google now... But I remember reading a while ago saying unlocked out lockscreen without password... Whatever.
If it worked on the lockscreen though that would be awesome... So much more useful
Sent from my Nexus 5
OK Google in India
You can still use the feature.. Don't worry..just follow these simple steps:
Menu>settings>language & input
Change the language to English (US).
Now just go back to your home screen.. And say 'OK google'
Worked for me and my friends..
Cheers!!
Sent from my Nexus 5 using xda app-developers app[/QUOTE]

IR Blaster is Awesome

When I got the phone, I assumed the IR Blaster was a gimmick and that I would hardly use it. Therefore it was not a selling point when buying the phone. Now I use it everyday. It is just so convenient to control my TV and be able to change channels while looking at the channel guide!
Sent from my Vipered M8
I wish there was a way for it to open the app directly to the remote to turn tv on. there are about 4-5 button presses I need to do to get the tv powered on
I dont know why but I cant get the app to work. It keeps saying that it cannot connect to the server. Ive seen other people mention this problem but I dont know if theres a fix for it yet.
Sucks because I would like to use the feature.
The IR blaster on this device is much better than the LG or Samsung versions, IMO... And when it works apparently (sorry for the luck). It does upset me that you can't add it to the lock screen like Samsung though. With viper, and probably other ways as well, you can add the shortcut to the lockscreen, so that save a few clicks.
Sent from my HTC One M8 using XDA Premium 4 mobile app
There is a universal remote app that is amazing. Its 10 dollars but is worth every penny. I have been at the bar and turned off tv's as a joke. No one would think a phone can do that
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Paulb787 said:
There is a universal remote app that is amazing. Its 10 dollars but is worth every penny. I have been at the bar and turned off tv's as a joke. No one would think a phone can do that
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Doesn't the TV app already do this? You can setup different rooms.
Sent from my Vipered M8
Maybe I'm blind, but where is the guide button? Works great, but I can't figure out how to open up the guide on my AT&T U-Verse box.
Paulb787 said:
There is a universal remote app that is amazing. Its 10 dollars but is worth every penny. I have been at the bar and turned off tv's as a joke. No one would think a phone can do that
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
What is it called exactly there are loads of apps titled simply ' universal remote'. Having an app like that that needs so little setup sounds pretty cool.
ReyStunner said:
I dont know why but I cant get the app to work. It keeps saying that it cannot connect to the server. Ive seen other people mention this problem but I dont know if theres a fix for it yet.
Sucks because I would like to use the feature.
Click to expand...
Click to collapse
If you didn't sign up for an HTC account at start dot htc dot com then it will do that. Once I went through that, the TV app worked fine for me.
Can't put URL because I don't have enough posts.
2k7gt said:
If you didn't sign up for an HTC account at start dot htc dot com then it will do that. Once I went through that, the TV app worked fine for me.
Can't put URL because I don't have enough posts.
Click to expand...
Click to collapse
Thanks a lot. I'll try that later today.
EDIT: Works great!, thanks again
Crooke356 said:
The IR blaster on this device is much better than the LG or Samsung versions, IMO... And when it works apparently (sorry for the luck). It does upset me that you can't add it to the lock screen like Samsung though. With viper, and probably other ways as well, you can add the shortcut to the lockscreen, so that save a few clicks.
Sent from my HTC One M8 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You can set it as lock screen. I just did. Your doc at the bottom is the same as your lock screen so you have to change it to one of those.
Masa6GCS said:
What is it called exactly there are loads of apps titled simply ' universal remote'. Having an app like that that needs so little setup sounds pretty cool.
Click to expand...
Click to collapse
I've found two.
https://play.google.com/store/apps/details?id=com.verdegem.myuremote
https://play.google.com/store/apps/details?id=com.remotefairy2
Sent from my HTCM8
bobniborg said:
You can set it as lock screen. I just did. Your doc at the bottom is the same as your lock screen so you have to change it to one of those.
Click to expand...
Click to collapse
Yeah, I didn't think of that. It would be nice if we could set up as a widget. Be nice to double tap and there's the remote. Since its stock on other OEMs, I'm hopeful someone will make it happen on one of the great ROMs we have to choose from.
Sent from my HTC One M8 using XDA Premium 4 mobile app
Here you go. Hands down the best it app ever.
***MOD EDIT*** URL removed
d1ez3 said:
I wish there was a way for it to open the app directly to the remote to turn tv on. there are about 4-5 button presses I need to do to get the tv powered on
Click to expand...
Click to collapse
This is why I use Smart IR and have a widget with power and volume controls.
Edit: Let's support devs instead of being little deviants, guys.
Piracy
Good Afternoon.
The distribution of paid apps for "free" by any means is considered Piracy and is strictly prohibited on XDA.
If you are unsure whether or not the app you're linking others to or downloading is pirated material, try searching for it in the Playstore.
If it has a cost, then your "free download" is PIRATED
Thank you and have a nice day.
-Neo
TheBiles said:
This is why I use Smart IR and have a widget with power and volume controls.
Edit: Let's support devs instead of being little deviants, guys.
Click to expand...
Click to collapse
That's what I've been using. It has more remotes in it and you can input the hex codes. I've made some ir controlled switches and it has worked well for me.
Sent from my HTC One_M8 using xda app-developers app
Just an FYI, you can tap the add button on the top right in the TV app to set up any button from your controller. Don't think many people know that from reading this thread.
Sent from my HTC6525LVW using xda app-developers app
IAmTheOneTheyCallNeo said:
Good Afternoon.
The distribution of paid apps for "free" by any means is considered Piracy and is strictly prohibited on XDA.
If you are unsure whether or not the app you're linking others to or downloading is pirated material, try searching for it in the Playstore.
If it has a cost, then your "free download" is PIRATED
Thank you and have a nice day.
-Neo
Click to expand...
Click to collapse
Lol, what in the actual fuk?
Sent from my Vipered M8
BFirebird101 said:
Lol, what in the actual fuk?
Sent from my Vipered M8
Click to expand...
Click to collapse
I have a feeling you'll be going to timeout for a bit. Been there, homie.
Sent from my HTC6525LVW

Categories

Resources