[Q] Mock locations - Android Software/Hacking General [Developers Only]

I have a small question, in android you can turn on Mock location so that you can fake the location where u actualy are.
There are applications that can detect that mock location is turned on in android so it blocks some possibilities becouse they want taht you really are on that place.
Is there a possibility that the application can not detect that mock location is turned on?
I use the samsung galaxy s1 with gingerbread.

Related

Spoof GPS location

I am curious, is it possible to fake your GPS location with mock locations turned off? There is an app I am running that I am trying to make think that I am in Japan however the app will not run properly if mock locations are enabled. If it isn't possible then that's cool I just figured I would ask.

How to mock location on Deodexed Stock Lollipop?

I am using WanamLite Rom for the Galaxy S6 G920F <http://forum.xda-developers.com/galaxy-s6/development/mod-wanamlite-1-0-t3095155>, and I have Xprivacy and some GPS mocking app installed. I have tried both using ROOT access and allowing GPS mocking in developer mode (and use Mock Mock to remove Mocking state detection), and I have tried both turning off location service and using only GPS on location service as well as deleting Google location history. But I failed to mock location on Uber, Google Map, Baidu Map, and every other apps that detects location on my phone...
Is it that 5.1.1 doesn't support location mocking?

Single-app Fake GPS

Hi Guys,
I know of the solution of using Fake GPS apps that employ mock locations in the developer settings. Does anyone know a solution (device is rooted, xposed installed too) to spoof location for a single app only? I want to toggle and use GPS for all other applications independently using my built-in GPS, but for that app to work properly my location needs to stay the same all the time.
Thanks,
mk

allow mock location not switching on

I am trying to use spooging GPS on my old S4. But for some reason when I ticked on Allow Mock Location, as soon as I switch screen it untick itself. Does anyone have an idea why this could be happening? am i missing something in my phone to keep it active?
Wrong threat, I meant to place it under Samsung S4 not S7, which I also have.

Where does Android get its location updates from?

I have installed a fake GPS application (Lockito) and set it up as Mock Location App. It doesn't actually matter which one I use, it's always the same behaviour.
I start a route, but it's jumping to my real location every 4 to 5 seconds, stays there for a similar amount of time and jumps back to my faked location.
My understanding is that this mock locations dev option would overrule ANY location update from somewhere else, but seems it isn't.
What I tried:
- Device administrator: turn off any administrator
- Location set to "GPS only".
- turn off wifi scanning
- smalli patch activated in magisk (with mock location checked)
- fused location on (or off) -- no change in behaviour
- Using the "experimental mode" of Fake GPS routes: no change in behaviour
- Google Play Services 21.2.12-16 (I tried uninstalling the current version, but this leaves my fake gps app not working)
- Installing the app as a system app (restart afterwards): no change compared with the normal
- Google Maps 10.47.1 (reverted this back to 9.26.1)
So, what I'm wondering is: what process is injecting my real location?
And should that even happen when using the mock locations? As far as I know if I would be using mock locations it should just use this info as my gps information... And not use any other data?
Does anyone have any hints on what I can still try?
coder.toolbox said:
I have installed a fake GPS application (Lockito) and set it up as Mock Location App. It doesn't actually matter which one I use, it's always the same behaviour.
I start a route, but it's jumping to my real location every 4 to 5 seconds, stays there for a similar amount of time and jumps back to my faked location.
My understanding is that this mock locations dev option would overrule ANY location update from somewhere else, but seems it isn't.
What I tried:
- Device administrator: turn off any administrator
- Location set to "GPS only".
- turn off wifi scanning
- smalli patch activated in magisk (with mock location checked)
- fused location on (or off) -- no change in behaviour
- Using the "experimental mode" of Fake GPS routes: no change in behaviour
- Google Play Services 21.2.12-16 (I tried uninstalling the current version, but this leaves my fake gps app not working)
- Installing the app as a system app (restart afterwards): no change compared with the normal
- Google Maps 10.47.1 (reverted this back to 9.26.1)
So, what I'm wondering is: what process is injecting my real location?
And should that even happen when using the mock locations? As far as I know if I would be using mock locations it should just use this info as my gps information... And not use any other data?
Does anyone have any hints on what I can still try?
Click to expand...
Click to collapse
Find your location settings on system settings, select your Google account then turn off location accuracy, you want the location setting on, but you don't want the improved accuracy.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Find your location settings on system settings, select your Google account then turn off location accuracy, you want the location setting on, but you don't want the improved accuracy.
Click to expand...
Click to collapse
Thanks. This I knew already. Yesterday night I finally figured it out what was going on & posted it here: forum.xda-developers.com/showpost.php?p=83200513&postcount=6163.

Categories

Resources