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 526 forks source link

wechat and location #253

Closed treare closed 11 years ago

treare commented 11 years ago

Hi,

I am unable to set a fake location for the app "wechat". the permissions that it seems to use are:

-removeupdates -requestlocationupdates -requestlocationupdates -sendextracommand -getcelllocation -getneighboringcellinfo I have set up a fake location and played with different combinations. Or it gets the correct location or it cannot get any location. told me one time "cannot get location from getlocation cgi" or something. This error was only shown very shortly.

EDIT: i also found out that when wechat requests (fake) location the gps icon doesn't show up while this is shown when other apps with this restriction ask for a location.

M66B commented 11 years ago

Please make a backup of wechat and clear its data, then setup wechat again to make sure it is not storing the location itself.

treare commented 11 years ago

made a titanium backup and cleared data. the problem ssems to be thesame. correct or no location

M66B commented 11 years ago

Thanks for trying. Another suggestion: try restricting the location for the Google framework services. See the wiki under Google Maps for more info.

treare commented 11 years ago

I tried that already before. also with giving services a fake location the problem stays thesame

(checked maps while i did this. location was fake there)

sorry for not mentioning this before

M66B commented 11 years ago

Thanks for trying! Okay, another try (since I cannot believe there are any more methods to get a location than already restricted). Disable internet for wechat and see if it can still get a location (possibly clearing data again). If so, it uses the external IP to get a location. In that case it shouldn't be very precise.

treare commented 11 years ago

Hi again,

Well, i cannot clear data as it needs internet to be able to log in. I disabled internet connection without clearing data, gave all location permissions back to the app and it was able to determine my exact location. also... when it has all location permissions the gps icon is shown. with blocked location the icon is not shown. i have 3 other apps with location blocked. the gps icon is always shown in these apps. Is that strange?

BUT: maybe this is too time consuming and better to forget, not?

M66B commented 11 years ago

XPrivacy will not block the GPS icon. Everything should appear as normal as possible to the app. No, I don't forget about it. I don't like half finished apps. Do it good or don't do it.

treare commented 11 years ago

ok... so it is strange why the gps icon doesn't show up when location is blocked. lemme know if you need more tests

M66B commented 11 years ago

Do you get an alert saying 'Incompatible ...' when you start XPrivacy?

treare commented 11 years ago

Hi,

No, i never saw that. I suppose you mean right after installing wechat?

(btw... a while ago i asked in the thread if anyone could help me blocking location for whatsapp. i don't use it anymore but when i did i wasn't able to give it a fake location either)

M66B commented 11 years ago

I meant after starting XPrivacy.

M66B commented 11 years ago

Can you try to capture a logcat, so I can look into this problem?

treare commented 11 years ago

I never done that. You know of a manual somewhere?

I never saw a single error "incompatible" when opening XPrivacy. Not on GT-I9300, neither on Yuga.

treare commented 11 years ago

i tried making a logcat for you but this is complete chinese for me. i cannot use that adb thing because i cannot install anything on pc (work). i'm sorry. is there anything else i can do to help?

M66B commented 11 years ago

Duplicate of #233 I am merging all location leaking issues into one, since it is probably the same problem.