I am looking for a way to be able to mock location without needing to use ACCESS_MOCK_LOCATION. My app works but requires "allow mock location" setting to work. When "allow mock location" setting is disabled, the app just crashes when it's about to spoof location. Just moving it to the system partition doesn't help..
I'd be glad for tips for Lilipop and Marshmallow (as far as I learned, they work differently...)
Related
Install your applock app then go to phone settings > Security > Apps with usage access > Enable your applock there.
Try locking apps now
Sorry for this 3 liner post but it might be helpful
nilanko said:
Install your applock app then go to phone settings > Security > Apps with usage access > Enable your applock there.
Try locking apps now
Sorry for this 3 liner post but it might be helpful
Click to expand...
Click to collapse
tried..not working.. the applock app is not shown in that tab.. only google play services shown.
tried different app. only that worked. thanks anyhow.
My app lock is not showing there
also lock settings
I want to prevent my kids from turning off the location feature.
Was hoping to be able to write protect a settings file somewhere in the app /os..
Thanks.
So, I've just updated to the latest Pure Nexus - did a wipe and clean install - and I'm trying to get my apps set up again, but I can't grant permissions through system settings. If an app actually pops up and requests a permission, I can allow it; but for some apps, this doesn't happen. Home Remote Control, for example, won't request the storage permission it needs to access my ssh key. So I go into settings->apps, find the app, tap permissions, try to enable the storage permission, and..."screen overlay detected". Except there is no screen overlay active. I have disabled every app's "draw over other apps" permission. I even found the "show system" option in the list and disabled all system apps' ability to draw over other apps. At this point, SYSTEMUI can't draw over anything else! And I'm still getting "screen overlay detected" when I try to change permissions. Any advice? Is there another way to manage permissions in Marshmallow (like maybe an xposed module)?
EDIT: Thought I should also mention, the issue persists in Safe Mode.
tardis_42 said:
So, I've just updated to the latest Pure Nexus - did a wipe and clean install - and I'm trying to get my apps set up again, but I can't grant permissions through system settings. If an app actually pops up and requests a permission, I can allow it; but for some apps, this doesn't happen. Home Remote Control, for example, won't request the storage permission it needs to access my ssh key. So I go into settings->apps, find the app, tap permissions, try to enable the storage permission, and..."screen overlay detected". Except there is no screen overlay active. I have disabled every app's "draw over other apps" permission. I even found the "show system" option in the list and disabled all system apps' ability to draw over other apps. At this point, SYSTEMUI can't draw over anything else! And I'm still getting "screen overlay detected" when I try to change permissions. Any advice? Is there another way to manage permissions in Marshmallow (like maybe an xposed module)?
EDIT: Thought I should also mention, the issue persists in Safe Mode.
Click to expand...
Click to collapse
Do you have twilight or lux installed?
The reason it's warning you is BECAUSE they're disabled. Enable all the toggles and the prompts will go away. You can then choose to disable one by one until you figure which app is throwing the error.
Sent from my Nexus 6P using Tapatalk
Turned out to be because GravityBox pie controls were enabled. Doesn't show up in the "draw over" list, but trips the overlay detection regardless. Disabling pie controls in the GravityBox app let me change permissions.
Hi,
Try to flash this by Custom Recovery.
http://www.mediafire.com/?ouxua6rkkagi3g9
tardis_42 said:
Turned out to be because GravityBox pie controls were enabled. Doesn't show up in the "draw over" list, but trips the overlay detection regardless. Disabling pie controls in the GravityBox app let me change permissions.
Click to expand...
Click to collapse
Thanks man. I have been going crazy for the past few days trying to figure this out lol. Just posted asking for help as well. Such a random and rare issue, that i couldnt find anything on it.
Hi!
Just flashed the new Open Beta 22 based on Android 9.0. A bit surprised and disappointed to see that there does not seem to have any way to disable the GPS while keeping other location method (Wifi+cellular) activated. All we seem to be able to do is either:
- completely disable location services;
- enable location and enable 'Google Location Accuracy' -- akin to the previous "High accuracy" option from Android 8.1 and previous;
- enable location and disable 'Google Location Accuracy' -- akin to the previous "Device only" option from Android 8.1 and previous.
Is there any way to enable the equivalent of the previous-8.1 "Battery saving" option in Location options, which would allow apps to access location using only wifi+cellular information?
It seems not
Thank you GOOGLE
Anyone found a fix?
Only if you're rooted.. Tasker + secure settings, can still do the trick.
Enable/disable GPS only is possible. For example using a Macrodroid application after enable permission settings via ADB command:
"pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS". Personally tested and operated.
After successfully spoofing my position I can't make my GPS to work normally again; the GPS icon appears in the status bar but it doesn't detect my location, doesn't matter how long I wait.
A-GPS, WLAN/Bluetooth scanning and Google location accuracy are all disabled before, during and after the spoofing.
I'm on MIUI by xiaomi.eu 11.0.6 stable (QFJCNXM).
Go to developer options, turn off gps spoofing
yaro666 said:
Go to developer options, turn off gps spoofing
Click to expand...
Click to collapse
On this miui version there isn't an option for turning GPS spoofing off, closest thing is just selecting "nothing" in the "Select mock location app" section, which I had already done.
The fastest way is to reset, if you tried everything
I've actually installed another rom (pixel experience, whose thread is the most viewed for this phone on this forum), so I had to wipe everything and also format data but gps still can't find my position, without wireless/network scanning lol... What the hell... Before spoofing it worked perfectly and quickly
Try gps fixer click