Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

GPS stays on continously #2105

Closed
xtrepx opened this issue Jan 4, 2015 · 11 comments
Closed

GPS stays on continously #2105

xtrepx opened this issue Jan 4, 2015 · 11 comments
Labels

Comments

@xtrepx
Copy link

xtrepx commented Jan 4, 2015

When denying the location through XPrivacy the GPS stays on continously, showing always the GPS icon and making the battery drain. The only solution is to close the application (remove it from background) but that's not a real solution. If I allow the location, then after 4-5 seconds the GPS is no longer used and the icon is gone.
Attached you have the logcat debug. The 1st one is when Location is allowed, while the 2nd one is with the problem - location denied, GPS always on.
Device: Samung G901F, ROM is G901FXXU1ANH6_G901FORL1ANH1_ORL
Application ID to look for 10070
Attached also a screenshot of about window.
screenshot_2015-01-04-18-39-27

https://mega.co.nz/#!8oxF0JLJ!CgRhaRwwsJye6ntachnMWWQvlL8gQoAue_l8-AyXny4

@M66B
Copy link
Owner

M66B commented Jan 4, 2015

Please post a screenshot of the XPrivacy about too.

@M66B M66B added the question label Jan 4, 2015
@xtrepx
Copy link
Author

xtrepx commented Jan 4, 2015

Done

M66B added a commit that referenced this issue Jan 4, 2015
@M66B
Copy link
Owner

M66B commented Jan 4, 2015

Could you please install this version of XPrivacy:
https://crowd.xprivacy.eu/XPrivacy_3.5.9proxy.apk

and capture two new logcats using this command:

adb logcat | grep proxy.*uid=10070

Also, please post a link to the application you are testing with.

Example output:

adb logcat | grep proxy.*uid=10070
I/XPrivacy/XLocationManager(  832): proxyLocationListener uid=10070
I/XPrivacy/XLocationManager(  832): proxyLocationListener uid=10070
I/XPrivacy/XLocationManager(  832): proxyLocationListener uid=10070
I/XPrivacy/XLocationManager(  832): unproxyLocationListener uid=10070

I like to know if unproxyLocationListener is missing in different scenarios.
Also try to close the application (both in a normal way or forced, for example using the XPrivacy kill menu)

@xtrepx
Copy link
Author

xtrepx commented Jan 5, 2015

With Location allowed:

05212: proxyLocationListener uid=10070
06538: proxyLocationListener uid=10070
07164: proxyLocationListener uid=10070
06538: unproxyLocationListener uid=10070
07164: unproxyLocationListener uid=10070

With Location denied:

14640: proxyLocationListener uid=10070
15966: proxyLocationListener uid=10070
16592: proxyLocationListener uid=10070
15966: unproxyLocationListener uid=10070
16592: unproxyLocationListener uid=10070

Application closed normally and forced. However, behavior is the same as before the update. Application link: https://play.google.com/store/apps/details?id=com.shazam.android

@M66B
Copy link
Owner

M66B commented Jan 5, 2015

After unproxyLocationListener the GPS should go off, isn't that the case?

@xtrepx
Copy link
Author

xtrepx commented Jan 5, 2015

Unfortunately no. I'll try to record so that you can see the behavior.

@xtrepx
Copy link
Author

xtrepx commented Jan 5, 2015

@M66B M66B added bug and removed question labels Jan 6, 2015
M66B added a commit that referenced this issue Jan 6, 2015
M66B added a commit that referenced this issue Jan 6, 2015
@M66B
Copy link
Owner

M66B commented Jan 6, 2015

I could reproduce this issue in compatibility mode (only).
After several hours of debugging I found a solution.
Could you please check if this version solves the problem and if fake locations are still working?
https://crowd.xprivacy.eu/XPrivacy_3.5.9altproxy.apk

@xtrepx
Copy link
Author

xtrepx commented Jan 6, 2015

I really appreciate your help. Indeed with this version the bug is fixed. Also the fake location is working fine.

@M66B
Copy link
Owner

M66B commented Jan 6, 2015

Thanks for reporting back.

I will release this version as a new beta release to make sure there are no side effects.

You can always show your appreciation by donating something:
http://www.xprivacy.eu/

@M66B M66B closed this as completed Jan 6, 2015
@xtrepx
Copy link
Author

xtrepx commented Jan 6, 2015

Already donated a while ago, but haven't installed yet the PRO license file. Thank you Marcel

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants