(Q)NFC in airplane mode - NFC Hacking

Forgive me if this has been asked before. I did search and didn't find an answer. Is there a way to prevent NFC from being disabled in airplane mode? I currently use a tag at work to turn airplane mode on when I get to my desk. I have virtually zero signal and no wifi, so leaving airplane mode off eats a lot of battery in the order of 25% or more an hour. I would like to be able to just tap the tag when I leave to turn everything on. I have tried a simple task in tasker (Status=Airplane mode on -> enable NFC), but its sketchy at best. I know the nfc.apk has been modded to enable at lockscreen and at screen off conditions. Could the nfc.apk be modded to survive airplane mode, or would that hack be somewhere else. If it matters, I'm on an AT&T Galaxy SIII running the stock rom, rooted.

On my Galaxy Nexus, I'm able to go into the menu and enable NFC once I activate aeroplane mode; is it different for the S3? Or are you looking for an automatic solution?

I'm looking for an automatic solution. I can manually enable this too.

I am also looking to do this, or find a work around that turns off everything airplane mode does except NFC

lordmorphous said:
I'm looking for an automatic solution. I can manually enable this too.
Click to expand...
Click to collapse
I mean not to be an ass or anything but would it kill you just to do it manually? It takes like 3 seconds...
Sent from my Galaxy Nexus

AshtonTS said:
I mean not to be an ass or anything but would it kill you just to do it manually? It takes like 3 seconds...
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I guess that is what he means by automatically rather than manually.

AshtonTS said:
I mean not to be an ass or anything but would it kill you just to do it manually? It takes like 3 seconds...
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
But that defeats the purpose of using the nfc... Automation.... Why I bought an NfC capable phone
Sent from my EVO using Tapatalk 2

bacidath said:
But that defeats the purpose of using the nfc... Automation.... Why I bought an NfC capable phone
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
I added this to NFC Task Launcher - essentially there is a comma delimited string that tells Airplane Mode what radios to toggle. If you remove nfc from this list the broadcast receiver for the nfc service doesn't disable it when airplane mode changed is broadcast. It only scans this setting on boot though so you'll need to change it and then reboot.

krohnjw said:
I added this to NFC Task Launcher - essentially there is a comma delimited string that tells Airplane Mode what radios to toggle. If you remove nfc from this list the broadcast receiver for the nfc service doesn't disable it when airplane mode changed is broadcast. It only scans this setting on boot though so you'll need to change it and then reboot.
Click to expand...
Click to collapse
That is the NFC app I use, fantastic app by the way thanks. So is it in there now?

kiwitrc said:
That is the NFC app I use, fantastic app by the way thanks. So is it in there now?
Click to expand...
Click to collapse
Yeah, it's been in for the last few updates. Under preferences and advanced.

Ignore my comment, found it thanks!

Sorry, I didn't mean to abandon my own post....lol.
I didn't realize this option was in the app...awesome!

krohnjw said:
Yeah, it's been in for the last few updates. Under preferences and advanced.
Click to expand...
Click to collapse
Thanks... I should have looked in there
Sent from my EVO using Tapatalk 2

kiwitrc said:
Ignore my comment, found it thanks!
Click to expand...
Click to collapse
I can not find!!!!!! Please help.
NFC task launcher is now Trigger. Is this OK.
Thanks.

Dadomih said:
I can not find!!!!!! Please help.
NFC task launcher is now Trigger. Is this OK.
Thanks.
Click to expand...
Click to collapse
Haven't used it for a while. Had a look but I can not see it anywhere in the new app, sorry.

kiwitrc said:
Haven't used it for a while. Had a look but I can not see it anywhere in the new app, sorry.
Click to expand...
Click to collapse
Thanks Kiwitrc.
Can anyone make a backup of NFC task launcher and send it to me via e-mail?

Related

[Q] Market and GPS questions...

I picked a Verizon GNex at BB yesterday and have a couple questions...
First, I don't see where to turn GPS ON/OFF -- there has to be a way to turn it off and on -- right?
Second, after installing the apps I had with my Evo I attempted to purchase another app but the "Accept & Buy" button to complete the purchase would not work. I tried this with two different apps. Is Verizon trying to prevent use of the Google Market so they can have you go through there app market?
Thanks,
Brian
For the first question, settings-> location services
Sent from my Galaxy Nexus using XDA App
jstegeman said:
For the first question, settings-> location services
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
I saw that but it's not like any of those option clearly the GPS on/off. The three options:
Googles location service (lets apps use location data from wifi sources etc)
GPS satellites (lets apps pinpoint your location)
Location & Google search (lets Google use your location to improve search results)
OK, of the three the second one seems closest to what I'm looking for but there's nothing here that clearly says it turns the GPS on/off.
Brian
It does turn it off
Sent from my Galaxy Nexus using XDA App
come on man, isn't it odvious that is this option? "GPS satellites"
Kikoshi said:
come on man, isn't it odvious that is this option? "GPS satellites"
Click to expand...
Click to collapse
Actually no! As I said, it's the most likely option but no where does it say that the GPS radio is turned off it just says that is "lets apps pin point your location". Everyone wants to know where you are at all times so they make it more difficult for you to turn off location finding tools because they want you to leave it on.
So, Google may allow you to disable GPS access for third party apps but still permit them (Google) to know exactly where you are because that information is money. If disabling this option stopped third party apps from accessing the GPS but still left the GPS on so Google could keep tracking you the wording of the option gives them the legal latitude to do just that.
So, in addition to wanting to save battery life it's nice to also limit the amount of tracking Google, and pretty much everyone else, does to you.
My Evo 4G had a widget that controlled: 4G (WiMax), BlueTooth, GPS and Wifi -- I would like that on my Nexus.
Brian
It's pretty obvious to me that that option actually does turn off the GPS antenna. It I don't think that there's any device in the world with a GPS antenna that cannot be turned off, unless it's part of the core functionality (e.g. with GPS receivers).
Put the power control widget on one of your homescreens - the middle one is GPS and you can quickly toggle it.
TabsAZ said:
Put the power control widget on one of your homescreens - the middle one is GPS and you can quickly toggle it.
Click to expand...
Click to collapse
Thanks man, that's what I was looking for!
Brian
Raptor1956 said:
Thanks man, that's what I was looking for!
Brian
Click to expand...
Click to collapse
All the toggle in that widget does is turn "option 2" on and off. There is no 4G LTE toggle either. Also, no Verizon isn't blocking the market to force you to use theirs. They don't even have a separate app market.
Sent from my Galaxy Nexus using xda premium
joshnichols189 said:
All the toggle in that widget does is turn "option 2" on and off. There is no 4G LTE toggle either. Also, no Verizon isn't blocking the market to force you to use theirs. They don't even have a separate app market.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Yep, after toggling I checked back and option 2 was turned off. It was the most likely option but I wish the wording was more explicit...
I also found that the market problem was somehow related to the fact that I'd added a second gmail account. I had to select the second account and enter my CC info there and after that the market worked just fine.
Brian
Raptor1956 said:
Second, after installing the apps I had with my Evo I attempted to purchase another app but the "Accept & Buy" button to complete the purchase would not work. I tried this with two different apps. Is Verizon trying to prevent use of the Google Market so they can have you go through there app market?
Click to expand...
Click to collapse
Yes Verizon only wants you to use their 20 or so apps. Enjoy!
Sent from my Galaxy Nexus using xda premium

[Q] Where is Android Beam?

I cannot find it on my GNex. Also, do I need to enable NFC for it to work, and how do I do that.?
Sent from my Prime
marriedman624 said:
I cannot find it on my GNex. Also, do I need to enable NFC for it to work, and how do I do that.?
Sent from my Prime
Click to expand...
Click to collapse
Under "Data Usage" click "More".
You'll see NFC and AB; and yes NFC has to be on for Android Beam to work.
Do I have to open the android beam app? I I tried to send a contact to my wife's phone but couldn't get it to work.
Sent from my Prime
marriedman624 said:
Do I have to open the android beam app? I I tried to send a contact to my wife's phone but couldn't get it to work.
Sent from my Prime
Click to expand...
Click to collapse
Just enable NFC and put two phones together, that will work. No app needed.
tititake said:
Just enable NFC and put two phones together, that will work. No app needed.
Click to expand...
Click to collapse
To clarify, navigate to the contact you want to transfer. Then put the two phones back to back. Then tap the screen on the source phone and it will transfer
Yeah, Android Beam requires that you have your web page/contact/Youtube video up in the foreground before you send it over. When you hear the chime after the two devices come together, touch and hold down on middle of your screen until the info gets sent. Often times a quick tap isn't quite enough, especially for web pages.
Just For Kicks, I'm Going To Have To Mention BOTH Phones Must Have NFC
Wonder if u can send pics like that
Sent from my Galaxy Nexus using XDA
Pictures don't work. I assume the files are too big to do it that quickly.

Wi-Fi only when home network is available

Is there a way to setup the phone so it will only use your home wifi when it is available? I don't want to manually have to change this all the time. I want it to use my home network when it can connect to it. If it can't then use 4g. Anyone?
anaylor01 said:
Is there a way to setup the phone so it will only use your home wifi when it is available? I don't want to manually have to change this all the time. I want it to use my home network when it can connect to it. If it can't then use 4g. Anyone?
Click to expand...
Click to collapse
In cyanogen there are profiles you can set.
But if you're stock there are third party apps that you can use. I believe they even track your location to know if you're home or not.
Or just leave WiFi on all the time and it will connect when in range. But might kill your battery quicker since it will be scanning constantly
Sent from my SGH-T999 using Tapatalk 2
Thanks for your response. How do you give someone a thank you or whatever its called? Someone flipped me **** because I hadnt given any. I dont know how.
I use LLama ---> https://play.google.com/store/apps/...t#?t=W251bGwsMSwxLDEsImNvbS5rZWJhYi5MbGFtYSJd
My wife uses [email protected] ---> https://play.google.com/store/apps/...wsMSwyLDEsImNvbS5hZWJlaW5yb3RoLndpZmlob21lIl0.
They both work. LLama does so much more than what you desire and [email protected] only does what you want.
anaylor01 said:
Thanks for your response. How do you give someone a thank you or whatever its called? Someone flipped me **** because I hadnt given any. I dont know how.
Click to expand...
Click to collapse
Click the thanks button on the left side under the name and post count. If you're on the xda app just click the post.
I'm pretty sure the phone will only connect to a network when you tell it to so you can just leave wifi on. From my experience wifi didn't really use that much more power. It'll just connect automatically within range.
Additionally, there's ways to change the scan interval times so it doesn't check constantly.
If you wanna impress some folks buy some Nfc tags and set them up.
Sent from my SGH-T999

[Q] Hotspot toggle widget (AT&T)

Is there any way to get a hotspot toggle widget to work on the AT&T optimus G pro?
I do have a plan that allows tethering and my phone is rooted, however the toggle widget that worked fine on my note fails to initialize the hotspot on this phone (though it will disable it).
nope. Had my question up for a few days with no good responses. Hotspot might grab someone easier than WAP though so who knows.
shiltz said:
Is there any way to get a hotspot toggle widget to work on the AT&T optimus G pro?
I do have a plan that allows tethering and my phone is rooted, however the toggle widget that worked fine on my note fails to initialize the hotspot on this phone (though it will disable it).
Click to expand...
Click to collapse
Try power toggles.
Sent from my LG-E980 using xda app-developers app
Jammol said:
Try power toggles.
Sent from my LG-E980 using xda app-developers app
Click to expand...
Click to collapse
No luck, I get the same error as I did with hotspot toggle which is what I normally use.
The specific error is a white triangle with a red exclamation point which says "Tethering Failed Tethering is not allowed for downloaded apps"
HD widgets has a widget u can assign to anything but i havent seen one that turns it on or off in one click, only ever takes u to the hotspot settings so u can turn it on or off
vinniemac84 said:
HD widgets has a widget u can assign to anything but i havent seen one that turns it on or off in one click, only ever takes u to the hotspot settings so u can turn it on or off
Click to expand...
Click to collapse
That's what I have at the moment, though you don't need any app to do that, you just add a shortcut, shortcut > settings shortcut > mobile hotspot, but it's a pain having to do 2 steps for what should only take one.
Is there any root method to disable the at&t tethering plan check? I'm betting that's the only thing that's causing it to not work and if I can disable that check it should work fine.
Isn't that what the existing fix does? Eliminate the check?
http://forum.xda-developers.com/showthread.php?t=2283615
jeffhesser said:
Isn't that what the existing fix does? Eliminate the check?
http://forum.xda-developers.com/showthread.php?t=2283615
Click to expand...
Click to collapse
Ooh, I'll try that out and hopefully I can use the toggle afterwards. It's so annoying that they have it set up that you need to have a rooted phone and change setting just to use a toggle for something I pay for.
That fix is meant to allow tethering without paying for it (which is what I've done) but even after that change I have not found a way to toggle that setting directly. One of those things that may never change without a new ROM....
jeffhesser said:
That fix is meant to allow tethering without paying for it (which is what I've done) but even after that change I have not found a way to toggle that setting directly. One of those things that may never change without a new ROM....
Click to expand...
Click to collapse
Damn, well that sucks, I guess I won't bother doing that then.

Disabling Phone and Messaging in Tab S LTE

Hello there.
Maybe it's really easy, but I've been unable to disable phone and messaging in the tablet.
Is there any way to do that? I don't want "X missed calls" notifications in the tablet (I share the same number between my phone and tablet)
Thanks in advance.
reycat said:
Hello there.
Maybe it's really easy, but I've been unable to disable phone and messaging in the tablet.
Is there any way to do that? I don't want "X missed calls" notifications in the tablet (I share the same number between my phone and tablet)
Thanks in advance.
Click to expand...
Click to collapse
lol, just put it on flight mode.
[email protected] said:
lol, just put it on flight mode.
Click to expand...
Click to collapse
Thanks, but I'd like to be able to use wifi (or mobile network if wifi is not available). I just don't like having to dismiss SMS and missed calls notifications both in the phone and the tablet.
You can still use WiFi.
Disable phone & sms app?
LoVeRice said:
Disable phone & sms app?
Click to expand...
Click to collapse
How could I do that?
I froze "Phone" with Titanium Backup and still get missed calls notifications. BTW, I get those even if I answer the call on my phone.
reycat said:
Thanks, but I'd like to be able to use wifi (or mobile network if wifi is not available). I just don't like having to dismiss SMS and missed calls notifications both in the phone and the tablet.
Click to expand...
Click to collapse
ok I see..
Ooh.. i think it is tied to android system ui. Just turn on flight mode and turn on wifi again
LoVeRice said:
Ooh.. i think it is tied to android system ui. Just turn on flight mode and turn on wifi again
Click to expand...
Click to collapse
I already told him that but he wants mobile network enabled, but don't want notifications.
Sent from my GALAXY S5
---------- Post added at 02:21 AM ---------- Previous post was at 02:20 AM ----------
reycat said:
How could I do that?
I froze "Phone" with Titanium Backup and still get missed calls notifications. BTW, I get those even if I answer the call on my phone.
Click to expand...
Click to collapse
have you tried freezing contacts?
Sent from my GALAXY S5
go to call setting and just set it to reject all number.
I am interested in a solution as well ...
[email protected] said:
lol, just put it on flight mode.
Click to expand...
Click to collapse
vhgomez36 said:
You can still use WiFi.
Click to expand...
Click to collapse
LoVeRice said:
Ooh.. i think it is tied to android system ui. Just turn on flight mode and turn on wifi again
Click to expand...
Click to collapse
Actually, after trying this, it has proven good enough for me. I didn't know you could have WiFi enabled in flight mode.
I can use WiFi most of the time and only enable the mobile network when I really need it, minimizing the odds of getting notifications.
Thanks a lot
I was looking for a sepearte switch for data and phone(voice calls) ...
reycat said:
Hello there.
Maybe it's really easy, but I've been unable to disable phone and messaging in the tablet.
Is there any way to do that? I don't want "X missed calls" notifications in the tablet (I share the same number between my phone and tablet)
Thanks in advance.
Click to expand...
Click to collapse
Maybe it is only me but why do you have a LTE tablet if you don't want to take advantage of what LTE has to offer why not just get a wifi only tablet
Uniquebarbee said:
Maybe it is only me but why do you have a LTE tablet if you don't want to take advantage of what LTE has to offer why not just get a wifi only tablet
Click to expand...
Click to collapse
It's not that complicated. I want to be able to browse the web and download docs on the go. I don't like having to dismiss notifications for texts and lost calls in the tablet when I never ever intend to answer those calls or texts from the tablet.
Are you serious? Yes. But not mobile data which is the point here.

Categories

Resources