yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] MaxNXS:
I followed the discussion about using tasker to dismiss the consent, but even after installing the secure settings plug in, I cannot set a profile for it. I see the option to turn it on or off in the tasks, but I need a profile state.
[Xposed Framework Modules] pav290588:
This mod doesn't work on KitKat devices.. Could anyone please help :)

Thanks!
[Xposed Framework Modules] tylerdurden83:
This is my workaround for the time being: http://xdaforums.com/showpost.php?p=49033092&postcount=54
[Xposed Framework Modules] jinosong:
Not exactly elegant but better than nothing.
[Xposed Framework Modules] pav290588:
Thank you:)
[Xposed Framework Modules] Bwangster12:
I've used that profile...but found that it was rather slow to accept. I started just pressing the button myself. For now... I have location turned off totally.
[Xposed Framework Modules] Bwangster12:
Is this still being worked on?
[Xposed Framework Modules] buu1152:
Nexus 4 not working

I run latest purity and Francos ATM, 4.4 and it's doesn't work on my Nexus 4, I've done everything advised so idk, please fix I hate that agreement which I deal with on a daily basis for school, thanks!
[Xposed Framework Modules] SaphirX:
I am on temasek v43 (4.4.2) and it also does not work on this version anymore.

It would be great if you could make it work on this version again. In my opinion this is one of the most useful and simple modul. Greatly reduces my level of annoyance with google :D
[Xposed Framework Modules] Bwangster12:
Seriously guys? This is comical cause I'm always from the belief that there can be too many posts to stay up to date on a thread... but it has been talked about A LOT to know that this does not work on 4.4. There has been convo about the dev working on it, but I think he was looking for help with it.
[Xposed Framework Modules] MySeLfPT:
is this dead?

Does not work with CM 11 (4.4)
[Xposed Framework Modules] themadproducer:
Maybe. At least dormant.

I haven't seen any action or updates since the initial release.
[Xposed Framework Modules] MySeLfPT:
:S
[Xposed Framework Modules] Spiricore:
I just wanted to throw my name in the hat for another user hoping for a kitkat update. Location consent wasn't a huge deal for me on JB, but with the 3 different modes available in KK it's just plain obnoxious. Thanks!
[Xposed Framework Modules] h0tkey:
Nexus 7 (2013), CM11, not working

I'm sorry if someone has already reported about it, but the mod doesn't work on CM11 Nexus 7 (2013), the dialog appears as it usually did.

Can I help by providing some logs or detailed system info?
[Xposed Framework Modules] tylerdurden83:
Really?

...

...

...

It does NOT work on kitkat, been said 1000 times in the last pages...
[Xposed Framework Modules] bolsderac:
OK. But could we hope it works on KitKat in futur? Or development is discontinued...?
[Xposed Framework Modules] themadproducer:
You could ask the Dev.

Post him the question, and Tag him with this... [MENTION=2011359]MohammadAG[/MENTION]

...better chance he will see it and be able to respond.
[Xposed Framework Modules] bolsderac:
Ok. Thanks.
[Xposed Framework Modules] jeepcook:
Unable to obtain an answer from the dev about a kitkat version...
[Xposed Framework Modules] Extrinsic:
Well, I don't know if MohammadAG ever planned on updating this for KitKat, but I rather liked the idea of it, so I took the liberty of updating it myself (I don't have 10 posts yet, so I can't post a link, but just copy this into your browser): github.com/zenzizenzic/Xposed-Disable-Location-Consent/releases

It seems to work fine here. The radio buttons occasionally flash briefly when moving from "Device only" to "Battery saving" or "High accuracy" (the latter two options use network location, thus prompting the location consent dialog to open), as described by MohammadAG in the first post. However, the setting definitely appears to stick.

If anyone wouldn't mind testing this a little more, I could put it up on the Xposed module repo as well.
[Xposed Framework Modules] filipeataide:
Put it up and I'll test it!!

Great news! :D
[Xposed Framework Modules] sykomaniac:
Tried it and it works for me
[Xposed Framework Modules] jeepcook:
Yes great, work for me !!

https://plus.google.com/103030464371153755046/posts/epZQvVVS5Nf
[Xposed Framework Modules] tylerdurden83:
MohammadAG said the following about his own kitkat update of the module:

May I ask how you solved this? Cheers!
[Xposed Framework Modules] Bwangster12:
Looks like it is handling it differently...

Weird... when I turn location mode on and off manually it doesn't display the message. When I do it with Tasker/Secure Settings, it quickly flashes the message and then it goes away.
[Xposed Framework Modules] Extrinsic:
I suppose he was finishing the activity before dismissing the dialog, because that's what he did in the source for his currently released version. That means this bug was also already present. For me, at least, a window leak error appeared in logcat whenever the location consent dialog would normally be created. I fixed this today for my version, but I also put a little more thought into it and came up with a better solution.

Try v1.1: github.com/zenzizenzic/Xposed-Disable-Location-Consent/releases/tag/v1.1

This version just bypasses the dialog completely, fixing that window leak and also fixing the bug that made the buttons flicker whenever a selection was made. I also added support for Jelly Bean, if anyone still uses that. ;)

All is working for me, but I wouldn't mind hearing if it works for everyone else as well. I'll send a pull request to MohammadAG's GitHub repo in a bit, but if he's too busy—which is fine—I'll see about adding it to the Xposed module repo in a few days.

An aside: using Tasker, Secure Settings, and this module all together give me a definite improvement in battery life. I have practically no NlpWakeLocks and NlpCollectorWakeLocks anymore. I just have the location mode set to "Device only" when the screen turns off, and then I have it set back to "High performance" when the phone is unlocked. Of course, this could also be done a per-app basis.
[Xposed Framework Modules] Spiricore:
Sweet jeebus THANK YOU. Will give it some testing while I'm out tomorrow and leave feedback. :good:
[Xposed Framework Modules] Epikarus:
Its working awesome for me. Thanks for your work seriously. I cannot thank you enough for this.

Although is there a way for me to remotely turn on location services? Just in case I lose my phone I want to be able to turn on location services when I try to find it with Device Manager app. Is there a way to detect this??
[Xposed Framework Modules] tylerdurden83:
First of all thanks for the update and explanation about the mem leak, I like to learn new things :)

I have a Tasker question related to using this module.

Suppose that I create a new profile with a context of App opened, say Maps. The in task is to turn on Location, which depending on the accuracy might pop up the dialog box, and the exit task is to turn off location.

What used to happen without any module was that I opened maps, location would be turned on, at which point the dialog would come up, thus making maps the non foreground app anymore, consequently making tasker call the exit task, turning location off again...

With this module, when I open Maps and have tasker turn on the location, even if a dialog were to appear, it wont appear thus maps never stops being the foreground app, right?
[Xposed Framework Modules] Epikarus:
I don't know about that. I just have location turn off when the screen is off and turn back on when to screen is on.
[Xposed Framework Modules] Extrinsic:
Setting the location mode to "Device only" will still allow GPS to be used, which I believe is sufficient for Android Device Manager. This setting should actually be fine to have selected whenever the phone is idle, provided that there are no rogue apps running in the background requesting GPS fixes. Ironically, as long as that doesn't happen, "Device only" should provide better battery life than "Battery saving," since anonymous data will no longer be collected and sent to Google at random intervals.

Turning off location completely in Settings (Location -> Off) or in Secure Settings (System+ Actions -> Location Mode -> Off) will disable GPS. If this is what you're doing, then I don't believe that Android Device Manager will be able to locate your phone. I'm sure there are a few apps out there that let you remotely control your phone in various ways, but I've never used any myself. Maybe someone else could give you some suggestions.

FYI: Some anti-theft systems like Cerberus can auto-enable GPS.

Correct. I actually just tested this, and it works fine.
[Xposed Framework Modules] tylerdurden83:
Awsome!! Thanks!
[Xposed Framework Modules] hanschke:
nice to get an update but it dont work for me :(
[Xposed Framework Modules] ArdW:
is there is a way how to DISAGREE with the consent? I don't want to agree and I hate this message. Thanks
[Xposed Framework Modules] MohammadAG:
[MENTION=5059324]Extrinsic[/MENTION]'s changes have been merged and are available in 1.1 on the repo. Thanks!
[Xposed Framework Modules] Markox89:
I was really waiting for this! :victory:

Thank you guys, both [MENTION=2011359]MohammadAG[/MENTION] and [MENTION=5059324]Extrinsic[/MENTION]! :highfive:

Finally I can reinstall this module :cool:

EDIT:

I've just installed it through Xposed Installer. You should try again ;)
[Xposed Framework Modules] themadproducer:
[MENTION=2011359]MohammadAG[/MENTION]

Apk might be bad.

Tried manually from repository and through xposed but can't install.
[Xposed Framework Modules] Christiancs1969:
Installed fine here...and thanks
[Xposed Framework Modules] shoukanju:
Hi.

Just updated your app, and though it works as before, but now network location FCs on boot.

Using N7100 Note 2 on touchwiz 4.3
[Xposed Framework Modules] themadproducer:
Tried again, with multiple browsers and through xposed, but still can't install latest version. File size seems right. ICS 4.0.4 Stock.
[Xposed Framework Modules] defim:
Maybe a higher android api is required...
[Xposed Framework Modules] themadproducer:
That's what I thought.

Possibly the installation script needs updating. Either way, I can stay with v1.0 if need be since it works fine for me.
[Xposed Framework Modules] kotey:
Liked the change from 128kb to 12kb but...

Have to report that v1.1 doesn't work on JB 4.1.2 (v1.0 worked, samsung touchwiz stock)

NLC pops up when ticked.

[MENTION=2011359]MohammadAG[/MENTION]

Do you need catlog or xposed log for now?
[Xposed Framework Modules] Extrinsic:
Thanks for merging, [MENTION=2011359]MohammadAG[/MENTION].

Yes, you can disagree by not enabling location services. :)

There might be some way of completely disabling the anonymous data from being sent, but that would require further research.

I wasn't able to test it on ICS, so I set the minimum SDK version to 16 (JB). AndroidManifest.xml just needs changing to support a minimum SDK version of 14 (ICS). However, even if you did that, you would still have the same problem that [MENTION=1954283]kotey[/MENTION] has.

The method name I'm hooking in NetworkLocation.apk changed starting with 4.2, so this should be a simple fix. If both of you wouldn't mind testing this to see if it works, that would be great (the Xposed version will need to be uninstalled first, though, and then this will need to be installed manually): github.com/zenzizenzic/Xposed-Disable-Location-Consent/releases/tag/v1.2

I'll send another pull request if it works, and then it can be updated on the Xposed module repo.
[Xposed Framework Modules] themadproducer:
[MENTION=5059324]Extrinsic[/MENTION]

Installed and working perfect.

Thanks very much. :good::good::good:

(ICS 4.0.4 Stock S3)
[Xposed Framework Modules] triathlete66:
Update from 1.0 to 1.1 on PAC ROM 4.3 with error message.

How can I fix it?
[Xposed Framework Modules] defim:
Same for android 4.2.2 :(
[Xposed Framework Modules] AsaMyth:
May I ask that if ICS support would be available?

Anyway, thanks for your work:thumbup:
[Xposed Framework Modules] ktm_91:
Same here, 4.3 TW :(

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Xposed Framework Modules] Extrinsic:
Thanks for testing, [MENTION=1989457]themadproducer[/MENTION].

People above: That problem should be fixed in v1.2, but I'll go ahead and send the pull request now.
[Xposed Framework Modules] jacknicholson:
And so we embark on an incredible journey three posts above yours.
[Xposed Framework Modules] gcgspain:
Same problem here, v1.1 causes location to fc on Xperia z stock 4.3

_________________

« Sony Xperia Z »
[Xposed Framework Modules] triathlete66:
V1.2 is working now. Thank you :good:
[Xposed Framework Modules] cableghost:
V1.2 not working for me

Droid RAZR M

Stock ROM

4.1.2 / 98.30.1.XT907
[Xposed Framework Modules] defim:
FC is gone after update, thanks!
[Xposed Framework Modules] giorgis91:
Does it work on carbon ROM 4.4.2?

Inviato dal mio Galaxy Nexus utilizzando Tapatalk
[Xposed Framework Modules] saumar:
For me,it's working flawlessly on carbon rom,but as you see below,I've a different phone mate

Inviato dal mio GT-I9070 utilizzando Tapatalk
[Xposed Framework Modules] Epikarus:
Hi guys. After using this I have noticed that after a while I cannot get a location lock until I reboot. I do not have this problem using extrinsics 1.1 version.
[Xposed Framework Modules] MattKneale:
Can't get this to work on any custom 4.4.2 rom :( It will hide the consent window, but it doesn't appear to actually activate GPS. The icon says it's active, but Maps will just wait for location forever.
[Xposed Framework Modules] SilentException:
This seems to be AOSP 4.4.2 bug. I have reproduced this with stock Nexus images.

Network location wont work if you disable it and re-enable. Device GPS still works fine but WiFi location will never locate you.
[Xposed Framework Modules] tylerdurden83:
I have opened a ticket about it and google officially said that it's fixed with the next google play services push!
[Xposed Framework Modules] jvandenbroek:
Ah thanks for looking into this, I thought it was some weird Samsung bug which would probably be solved next year or so ;) This is much better news!
[Xposed Framework Modules] momomok:
is there a link to the ticket / issue tracking page for reference? :D
[Xposed Framework Modules] pemell:
Would like this too. :)

---------- Post added at 06:43 PM ---------- Previous post was at 06:37 PM ----------

Here is a ticket. No responses though

https://code.google.com/p/android/issues/detail?id=67138&colspec=ID Type Status Owner Summary Stars
[Xposed Framework Modules] tylerdurden83:
Sure, here it is: https://code.google.com/p/android/issues/detail?id=63739&can=5&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
[Xposed Framework Modules] momomok:
Thanks! :D

Now have to wait Google to release new Play Service update
[Xposed Framework Modules] momomok:
The Play Service 4.3 update seems to have fixed the issue :D (i have sideloaded the apk)
[Xposed Framework Modules] tylerdurden83:
That is GREAT news!
[Xposed Framework Modules] SilentException:
Awesome. I will soft reboot less now :)

//via mobile
[Xposed Framework Modules] flaxfrogfriend:
I tried 4.3.23 since yesterday. Maps bug still persist.

I already tried re-enable module and reboots.
[Xposed Framework Modules] kotey:
Thank you so much. It works flawlessly now.

I mean the released update, didn't test the 'test version', I was offline.

Sorry for not able to do the earlier test.
[Xposed Framework Modules] Leraeniesh:
Love for mod for my JB device

Hope to see 4.4+ support soon :D
[Xposed Framework Modules] dimm0k:
wow, this is indeed a great mod in conjunction with Tasker to cut down on unnecessary wakelocks... reading through this thread was pretty informative. For one I learned that there's an insane amount of lazy people who don't like to read or don't know how to because answers to their very question was one or two posts above! Anyway, the more informative lesson learned was using Tasker, as well as what versions work with this mod and who were involved in making this mod. To those, thank you!
[Xposed Framework Modules] kotey:
Code optimization...

[MENTION=2011359]MohammadAG[/MENTION] & [MENTION=5059324]Extrinsic[/MENTION]

About what happened to Disable Network Consent...

I'm glad you two guys have the idea to create and another to optimize.

Seems like MohammadAG always come up with bright ideas, and Extrinsic seems very good at polishing codes.

I have a suggestion, if both of you are not opposed to it of course;

Why not polish most, if not all other modules like Disable Default Dialog, Disable NFC Tag etc. Seems like most of it are in the range of 200-300k so i'd really like to see another 12k polished, cleaned up code. Afterall, i think maybe the other modules might share the same characteristics like doesnt need supportv4, etc.

I wish i could have the capacity of some devs here, hopefully one day.
[Xposed Framework Modules] flaxfrogfriend:
workaround if u receive Waiting for Location on Maps

Just sharing a workaround if u receive "waiting for location" on Google Maps

It appears to be a consequence of a bug in Google Play Services [here using G.Play Services 4.3.24], so

On Tasker:

Change location setting multiple times, like this

Without that = bug
[Xposed Framework Modules] tylerdurden83:
Many people claimed that that Google Play Services update fixed the location bug...

So you confirm that it didn't?.. :(
[Xposed Framework Modules] Epikarus:
Im useing extrinsic 1.1 and I don't get this problem anymore
[Xposed Framework Modules] flaxfrogfriend:
Unfortunately, yes.

Without that workaround, Maps only works on GPS. Wifi location hangs.

Here:

0-day Gapps

Updated Google Play Services 4.3.24

Asylum Omni Kitkat

Galaxy Note N7000

Disable Location Consent 1.2
[Xposed Framework Modules] samman:
I just need 3 rows to get rid of the bug, although I added a 5-second wait before the 2nd action
[Xposed Framework Modules] eresac:
Hope I'll excuse me, I'm feeling a bit stupid asking this since I guess I'm missing something, but ...

If I diasgree when prompted, I still can use location setting via GPS only, thus the choise to "disagree" could be an option.

Thanks
[Xposed Framework Modules] Epikarus:
Yes if you disagree GPS will still be enabled. Although I would suggest only turning on GPS if you are not going to use network location.
[Xposed Framework Modules] eresac:
That's my intention. And having also the option to disagree vould be nice I think.
[Xposed Framework Modules] Collserra:
Tiny bug/side effect?

When toggling this option via quick settings tiles (on most aosp ROMs now) regardless whether or not I set status bar to slide back up after toggling an option, location always does this, I'm guessing because android expects the consent notification to pop up and reacts to that. Can this be fixed to act more Luke other tiles when tapped, like WiFi or Bluetooth?
[Xposed Framework Modules] Netuser:
Sorry for Offtopic but as I saw your message wondering if you can clarify how tasker do it with multiple tasks

I am having issue only at work where location is not obtained and so tasker is not setting up the Silent mode and Wifi off. The GPS keep blinking. But if i open google map it show correct location. So why tasker cant get the location at work But at home it work perfectly. I am using secure settings. Will adding several task can help and in which order should i add tasks ?

Also an other issue, I have only GPS mode activated but I set up in tasker that on Google map it should use Higher accuracy, but it do nothing and stay on only GPS :S Is it conflicting with my GPS only mode when at home ? How to fix it ?

Sorry again for offtopic :(

Thanks
[Xposed Framework Modules] jfriend33:
Will this ever work for kit kat?

Sent from my unlocked consumer edition Motorola Droid Maxx xt1080m.
[Xposed Framework Modules] tylerdurden83:
It does, I use it since months
[Xposed Framework Modules] jfriend33:
I still have to click agree / accept when turning on gps from anywhere. Even in settings.

Sent from my unlocked consumer edition Motorola Droid Maxx xt1080m.
[Xposed Framework Modules] tylerdurden83:
I dont...which version are you using?
[Xposed Framework Modules] jfriend33:
Latest version

Sent from my unlocked consumer edition Motorola Droid Maxx xt1080m.
[Xposed Framework Modules] tylerdurden83:
No idea then, on my stock rom 4.4.2 nexus 5 it works just fine...
[Xposed Framework Modules] Surfinette:
It worked on my Nexus 5 on 4.4.2 until yesterday when It stopped working after the new version of Google Play Services (v 4.4.52) was pushed (automatically) onto my phone. I restored the previous version of GPS and the module worked again....

[MENTION=2011359]MohammadAG[/MENTION]

We need a fix, to make this great module compatible with Google Play Services v4.4.52
[Xposed Framework Modules] tonyp:
It still works great for me with the Google Play Services v4.4.52.

For some reason you need to double and triple change it as suggested here in the thread.

I'm using a Tasker profile which automatically disables location access when I turn off the screen and enables it when I turn it on. Works like a charm with the following task:

Enviado desde mi Nexus 5 mediante Tapatalk
[Xposed Framework Modules] Surfinette:
Thanks I didn't know about the double and triple change. And regarding Tasker, I have a similar setting but a bit different : instead of toggling location based on screen on/off, I do it based on Maps (and a couple of other apps) being launched.

EDIT --------------------------

Still doesn't work for me ...

I've tried as you suggested in tasker but I still have the pop-up .... If I downgrade back to the previous version of Google Play services, it works (no more annoying pop-up)...
[Xposed Framework Modules] RotorBalls:
I was kinda hoping this would have an option perm disallow and stop asking me for consent every time
[Xposed Framework Modules] brianray14:
Working great here on galaxy s3 running google play services 4.4.52
[Xposed Framework Modules] tylerdurden83:
Same here, Nexus 5, stock rom/kernel + gravitybox + last google play services.

My Tasker profile (open Maps -> switch from battery saving to high accuracy, close Maps -> switch back) works just as well as it did before the play services update.

PS: i'm not doing any Tasker looping swapping settings multiple times, just once from battery saving to high accuracy when i open maps, and just once in the other way around when i close maps.
[Xposed Framework Modules] brianray14:
Does tasker switch you back to battery saving after closing maps? My process sounds a little different than yours.. I set up tasker with maps, secure settings, gps on. However whenever I exited maps, my mode would stay in high accuracy and not switch back to battery save. I set automateit pro to disable GPS when exiting maps and it worked that way
[Xposed Framework Modules] tylerdurden83:
Yes, it does switch back to battery saving...I'll try to post a screenrecord for you
[Xposed Framework Modules] Hirishiolo:
Yes, I use Cerberus and it would be very nice this module with the option to disagree, because I don't want network location, but I don't want the message when Cerberus webboard send commands to my phone...
[Xposed Framework Modules] jeozme:
It didn't work for me (Android 4.4.3). What I did now is that I use Tasker for switching to high accuracy when I open maps. Then when I switch off the display it will switch off location service. When I switch on the display it will turn on the location display and in addition switch location accuracy to battery saving mode. That way is perfekt for my needs.

Thanks for the great location consent disable module!
[Xposed Framework Modules] eugentes:
disable by disagreeing ?

Is there any chance to have a similar xposed module which would disagree to the location consent? Thanks!