M66B / XPrivacy

XPrivacy - The ultimate, yet easy to use, privacy manager
http://forum.xda-developers.com/xposed/modules/xprivacy-ultimate-android-privacy-app-t2320783
GNU General Public License v3.0
2.08k stars 527 forks source link

Global settings - fake data doesn't work #2343

Open timi35 opened 8 years ago

timi35 commented 8 years ago

Hello,

I've set all fake data in global settings, especially fake GPS. If I now check the faked GPS location with an Wheather app, it still get my current location. Only if I set the fake data in the app self, I get the faked location.

I would like to have faked data for more than one app and it is a lot of work to set it in all single app.

That's why my question: is this a bug? For what are the fake data settings in global section and why doesn't work it globally? How can I fake more than one app?

Thanks. Tim

M66B commented 8 years ago

Global settings just work and can be overridden by application specific settings.

Restricting locations is tricky, since many applications acquire a location through Play services. You can restrict locations for Play services, but you will restrict for all applications using this route.

Also take into account caching.

This is more a question, so please use the XDA XPrivacy forum for follow up questions. See also here: https://github.com/M66B/XPrivacy#support

timi35 commented 8 years ago

Hi M66B,

The override function is clear. I'll explain it on an example: App wetteronline is completely restricted except GPS:srv_isProviderenabled. Without this the app show a warn message that the location services are not available.

With this seeting and the global fake data, I get still my actual position. If I now set the fake data in the settings of this single app, the fake location works.

I don't understand this. Why have I to set it separate? Why are globals not enough? It is the same function?

Thanks a lot again. PS: I'm PRO user since a while and the app really is great.

MartinS84 commented 8 years ago

I don't understand this. Why have I to set it separate? Why are globals not enough?

The global settings don't determine whether the item is restricted or not, but what kind of data is returned. Randomize on boot, randomize on access or always return the same value (you can fill it in or generate a random one). This is a bit confusing and took me a while to understand. So if you dont restrict GPS:srv_isProviderenabled it shouldn't be restricted at all. If you restrict it, then the global settings for a random data will be used, unless you have specific settings for the app.

If I now set the fake data in the settings of this single app, the fake location works.

Did you also restrict GPS:srv_isProviderenabled? Because if you didn't, there shouldn't be a fake location. If you did then the global vs specific settings determine what kind of fake location is returned to the app.

Gitoffthelawn commented 8 years ago

@MartinS84 Maybe you can add your info to the FAQ in the README?