[Q] Fake location services (GPS) for FTV? - Fire TV Q&A, Help & Troubleshooting

I have an application that is looking for a GPS (location services) to be enabled in order to watch/stream from that site. Is there a way a rooted FTV can be fooled into thinking it has a GPS since it clearly doesn't?
I'm not sure a location spoofer would work since the app (NHL GameCenter) is looking for the "location services" first, and probably the location 2nd.
Thanks in advance for any suggestion.

DaveTO said:
I have an application that is looking for a GPS (location services) to be enabled in order to watch/stream from that site. Is there a way a rooted FTV can be fooled into thinking it has a GPS since it clearly doesn't?
I'm not sure a location spoofer would work since the app (NHL GameCenter) is looking for the "location services" first, and probably the location 2nd.
Thanks in advance for any suggestion.
Click to expand...
Click to collapse
http://forum.xda-developers.com/fire-tv/help/how-to-enable-location-services-fire-tv-t2908270
That will turn the stuff on, as for spoofing it I have no idea, sure there is ways. I'd google it since that wouldn't necessary be AFTV specific.

Related

[Q] Mock locations (Fake GPS) not working on Captivate Glide - what to do?

Hi all,
Fake GPS applications do not seem to be working properly on Samsung Captivate Glide. Even with "MOCK LOCATIONS" checked, and a fake location set, the phone does not recognise the mock location.
Something is strange, as most Fake GPS apps are not working now. "Location Spoofer" is the only one working for me perfectly, but only when I also click the "Spoof GPS location too". It seems something is wrong in the way some apps talk to the phone's GPS.
What may be causing this? I really like "Fake GPS" the best and as I paid for the donate version so I can store my GPS coordinates, I would prefer to use it.
Any ideas?
Thanks! :good::good::good:
Try out "Fake GPS Pro" from the play store. It is the best available for android at the moment

Google Play Services, Location active - battery eater LG G3

Hi,
I've disabled my Location and Google Play Services battery consumption reduced.
I've noticed that every time when I unlocked the phone, the system tries to access GPS - I can see for 1 second the the location symbol appears in the notification toolbar.
Previously I owned a G2 and didn't have the issue, with G2 you unlock of the phone and G2 doesn't try to start GPS, the location symbol doesn't appear in the notification toolbar! simple and battery efficient. Not the case with G3. Don't know what stupidity they did or what they've modified.
I don't know if is a Lollipop issue or a bug in LG G3 software.
It is stupid and drains battery fast.
I want to keep the Location active because of geotagging photo information or for using googlemasps. But it is annoying to start manually the location when using this.
I hope there is a workaround to this issue.
Tks
I'm using
5.0
SW
V20f-226-01
only to my phone happens this? or is a global issue?
did anyone experience this issue or I'm the only one?
did someone see this until now?
Use Disable Services and disable that service under Google Play Services
DelBoy said:
Use Disable Services and disable that service under Google Play Services
Click to expand...
Click to collapse
Not only that you must be root to use the application, but it is not ok in my opinion to have this functionality on the phone.
I get 2-3 days of full battery with location turned off!
With location turned on only 1 maybe 2 days!!! big difference !!!
Still my question remains...
Is this a bug in LG software or it happens only on my phone? and what's the workaround for this?
If you dont have root, have in the world you have figured that Google Play Services is trying to access GPS for one second?
Google playServices accesses GPS and drains battery
DelBoy said:
If you dont have root, have in the world you have figured that Google Play Services is trying to access GPS for one second?
Click to expand...
Click to collapse
With Location ON it can be seen in the Settings->General->Battery->Battery Usage , that GooglePlayServices eats up to 20% battery when location is on.(daily usage) and as I've said previously the GPS is accessed every time you unlock the phone and go to home screen. You can see it in the notification toolbar the symbol of the GPS is ON for 1 second. I think that is the reason why it eats up so much battery.
When Location is OFF the Goolge Play Services (that includes also the Location Manager) eats up only 4% battery consumption and you don't see the GPS active each time you unlock the phone
From this I figured it out that GooglePlayServices has a bug or the sofware phone has a bug.
Is this happen to others?
how location is working on your side?
Hello...
are you experiencing the same issue? or I'm the only one?
You are the only one.
Make factory reset and see will it solve.
DelBoy said:
You are the only one.
Make factory reset and see will it solve.
Click to expand...
Click to collapse
youp, tks , that solved the problem! I did a previous factory reset but after the new update I have to do it again.
This is not ok. Every time you get an update you must do a factory reset... not so ok.
My battery lasts now about 3 days. Google Play Services eats about only 2-3% of battery.
This is awesome!
dantandi said:
youp, tks , that solved the problem! I did a previous factory reset but after the new update I have to do it again.
This is not ok. Every time you get an update you must do a factory reset... not so ok.
My battery lasts now about 3 days. Google Play Services eats about only 2-3% of battery.
This is awesome!
Click to expand...
Click to collapse
I unchecked precise location (gps and network) and checked battery saving mode (wifi network based location) only in Location and this saved my batterylife.
fixed
gee2012 said:
I unchecked precise location (gps and network) and checked battery saving mode (wifi network based location) only in Location and this saved my batterylife.
Click to expand...
Click to collapse
I like the geo tag posision to use with the camera application so... I like the location to stay ON. the only bug that I had was it was accessing gps every time I unlock the screen.
Now works ok
service type name from GooglePlay
DelBoy said:
Use Disable Services and disable that service under Google Play Services
Click to expand...
Click to collapse
Dow you know what is the name of the service?
I've disabled
LoctionWearableListnerService and
LocationHistoryInjectorService
and bug is fixed!
but after some time ... even with this services disabled ... the problem reappears.
It is like some other service is reEnable them again even though in DisableService they are off(red).
Does anyone know what's the service name that should be killed?
It's not Play Services, it's some app that uses its API. For me it was LG Weather app.
I fixed it by setting my location manually in its settings.
is not the weather widget
YaDr said:
It's not Play Services, it's some app that uses its API. For me it was LG Weather app.
I fixed it by setting my location manually in its settings.
Click to expand...
Click to collapse
is this a service or the widget weather?
I've removed the widget from the screen. The same!
Even placed the location manually in the settings of the widget.
Is there other place that I should be looking?
After all it shouldn't be the widget weather app. It refreshes the location in 3h interval.
I've tried also with the ROM fresh installed, with no new app installed still the same. GPS pups up!
Really stupid!
Has anyone fixed this by now ?or at least identified the cause?
Problem SOLVED
Come on guys!
Just go And turn SmartLock (Google) OFF in trust agents in security settings
As easy as pie!
Playing around with DisableService, I've stopped other services that were in use by GooglePlay.
Android system pointed out that GooglePlay has an error and needs to be updated from PlayStore.
I've updated GooglePlay from PlayStore and I don't have this issue anymore!!!
I leave my location ON all the time, I don't have battery drain anymore!!!
I think is a bug in GooglePlay version application that the ROM is coming with.
As soon as you get(update) GooglePlay form playstore, the phone behaves normally.
This way worked for me.
@Mo3ein - I had already SmartLock OFF. It's not from SmartLock

[Discussion] Location Mocking For 5.1.1

Hi,
I've noticed simply mocking GPS location on apps like Fake GPS or Xposed Module like XPrivacy no longer works for modern Android apps including Google Map, Uber, or Baidu Map etc. This is because they all have access to approximate location via network (in short, it detects your IP address or your nearest cellphone tower and use them to determine your location). I have tried to restrict these apps to access my network via XPrivacy and it fails to work... I don't know why... I have also cleared my Google location history.
I like to know if anyone figured our how to mock locations with modern apps on 5.1.1?
aeroxy said:
Hi,
I'am developing a similar application and i can't hook Google Maps location my application start search my location and never stops searching. I've a database with gps fake locations and mobile networks towers locations. You find a solution?
Best Regards
aeroxy said:
Hi,
I've noticed simply mocking GPS location on apps like Fake GPS or Xposed Module like XPrivacy no longer works for modern Android apps including Google Map, Uber, or Baidu Map etc. This is because they all have access to approximate location via network (in short, it detects your IP address or your nearest cellphone tower and use them to determine your location). I have tried to restrict these apps to access my network via XPrivacy and it fails to work... I don't know why... I have also cleared my Google location history.
I like to know if anyone figured our how to mock locations with modern apps on 5.1.1?
Click to expand...
Click to collapse
Click to expand...
Click to collapse

[Guide] Enable working GPS Change no Rubber banding

This guide is for fixing a GPS Problem when attempting to use spoofing apps, in particular games that require your actual location.
For Example Pokemon GO among others, over time the original exploit to mock location was patched by certain companies when playing their games so now the only reliable way to do this is with root (for several reasons).
So Even with apps like GPS Joystick I found at times the real location was still getting acquired, I attempted to manually disable location services, using the built in features like "AGPS-Reset" still the actual GPS would lock on (obviously not as much in larger buildings) still I wanted to go outside and only mocking location be seen by the apps/games with no actual location working
I figured it out and thought I would share
First things first, You MUST be rooted. If you do not have root and own a V30 variant their are guides to convert and root.
It doesn't work without it, don't ask
For other phone models your mileage may vary (we are looking for a file "gps.conf")
Second, MAKE A BACKUP of the files that will be changed later, if you do not. Then you will most likely have to re-flash or have non-functional GPS and if you do need it you would be boned.
Third, You will need a few tools Ex. ( Terminal Emulator, Systemize [Masgik Module] , GPS Spoofing app I personally use the GPS Joystick Pokemon GO, Root file Explorer of some sort, the game of choice, and a system app or service disabler, like Titanium backup etc)
Now to the fun stuff
Make a backup of /vendor/etc/gps.conf
Install spoofing app (if equipped generate new name for GPS app and then delete the original)
After backing up gps.conf to SD or through adb, delete the original gps.conf in a root file manager then create a blank file in the same location (/vendor/etc) named gps.conf
In effect you just replaced the original with a blank copy, you could manually delete the contents as well but that's more work.
use the appropriate app disabler and disable anything with GNSS, location services, Qualcomm IZAT, Fused Location and anything else that is location service related
Open Terminal Emulator
type in "su"
grant su permissions if asked, make sure you have a # in the prompt
type in "systemize" (Gotten from magisk module download)
convert GPS spoofing app or generated app to a priv-app in the system (It cant be just /system/app)
then exit the systemize app and type "exit" a few times to close the terminal
Make sure when you do change the GPS settings in the actual android menu that you choose GPS only and that WiFi and Bluetooth settings are unchecked, obviously ensure the main GPS switch is enabled but that the rest aside from GPS only is not checked and or enabled
Then reboot your phone THIS IS A REQUIREMENT, for several reasons, it actually disables the location related services as well as the GPS via the gps.conf file and will also make your new spoofing app a priv-system app and it will appear
By now you should have location services aforementioned disabled, gps.conf blank, settings to GPS only with no other location "extras", a systemized gps spoof app. From here i disabled indirect mocking in the spoofing app, make sure System mode IS enabled AGPS-reset isn't needed and being we disabled location services manually, I suppose you could un-check that too but i left it checked
I modified the walk speed to the limits of the game I play, rebooted one more and its a safe idea to double check everything is set correctly
You DO NOT need to add the said mocking app to Developer Mock locations as it is a system app and some spoofer(s) offer that mode after making it an system app
At the end of the day you will now have a GPS Mocking app running where you can set your location and play without ever having the real location ping and rubber-banding you or otherwise messing up the whole concept of spoofing the GPS
As a disclaimer the GPS is a safety feature but some would rather not be tracked so this can technically work this way too
Some may ask well if you are just turning off GPS can't you just turn off the switch in Location Settings, that does not work as GPS technically has to be on for the spoofing app to function. Deleting gps.conf vs making a blank file causes the spoofing app to state the GPS isn't on (even if the on/off switch is toggled under the Phone Settings)
To reverse simply restore the original gps.conf to "/vendor/etc" (You did make a backup? Right)
re-enable the previously disabled location related services
reboot the phone
and if you'd like you can tick the gps and networks, WiFi, Bluetooth scanning and qualcomm IZAT option
or go with just GPS
either case this should enable the real location, I always test with a weather app
If you play Pokemon GO,Adventure Sync doesn't work (while location services disabled/frozen) I suspect because one of the "Location Services" Google Fit Depends on, however being you can walk as much as you want its a mute point, if you want Adventure sync back you have to reverse the process
Anyway this is what I have come up with, it works for me, after its tested by others, I am planning on writing a app that does this all in one shot. For now here is the manual way
Have Fun, Hope it works
If you have any questions or modifications to the post I am open to suggestions
If their is an easier way or something I missed or could Improve on, again comments are welcome
Last thing This technically violates TOS for some games and is increasingly hard to successfully pull off, so try your best to use every tool available to hide both the GPS spoofer and root from said games, don't teleport to far without waiting the proper amount of time before running the game , read up on the walking limits or how the game works if needed to fine tune everything
Just quick question. Do we still need to downgrade google play service boss? Something like 12.6.85 version.
thank u so much i was having this issue for a long time and i was planning to buy a gps jammer just so i can fix this issue , this is worked very well thank u again ^^
Thanks man you're the best!
I'm about to try this guide on my V30 with Oreo... did you ever make the app you mentioned that would do all this automatically??
teknomedic said:
I'm about to try this guide on my V30 with Oreo... did you ever make the app you mentioned that would do all this automatically??
Click to expand...
Click to collapse
No unfortunatly i got busy with life, for the time still have to do things manually
fxsuprapto said:
Just quick question. Do we still need to downgrade google play service boss? Something like 12.6.85 version.
Click to expand...
Click to collapse
I just tried a month ago and i never downgraded google services, in fact I read the newer updates to pokemon look for that, my origional instructions stated to disable fuse locations etc, now you don't need to do that just two things, well maby 3, make sure your using magisk and hide root from pokrmon go, under gps locations settings set to use gps only and change the gps.conf file as instructed, if poke gives OS incompstable warnings know that it will browse both your sd and internal card looking for files folders and even some other apps thats known to utalize root, i commented on this to another user on the last page of the thread, also someone else make another guide based on my findings, ive commented there as well, you can also look at reddit as i found at least a partial lidt of things the game looks for, being they update all the time like with anything else its a cat and mouse game, the only reason this works is because were changing a file in android that prevents the gps from working without totally disabling it, doing the latter flags in pokemon, the eevs of the game cant patch this as gps comes from android itself and not a app or utility but it would be just as easy for them to look for a 0 k (size) gps file and if thst matched well then it would be game over for this fix, luckly tho this fix isnt super popular so its stayed under their radar
Hey, Doesn't smali patcher achieve the same outcome with a shorter process?
In reguard to the smali patcher, to be honest I have no idea, ive seen several references to it sinse folks started commenting on my idea, things get developed all the time, i dont recall having that as an option when I wrote all this or id have gone for a quick fix myself, if the patcher somehow disables the gps itself then its likely it works in a similar fashion, as the heart of my fix really depends on the gos file, and of course some spoofing app and root, all id say is try and see, if the patch works and its less leg work for you then go for it, I would, i just didnt have anything else when i wrote the steps out
Great, just what i was searching for!
That is really great, i've spent today searching for a way to deactivate the gps, i have a sony xperia z3c which is used just for pokemon. I found that gps.conf file shortly after i started having a nose around the filesystem. The only think i actually tried so far was disable the location service & the fused locations, after which the GPS joystick (as a system app) seemed to stop functioning. Incidentally, my gps.conf is in > system > etc
So thanks for this info, you have saved me from a lot of messing about.
Just to update, the gps.conf was in 2 location on the xperia z3c, the top etc folder and in system/etc. so did both.
Again the gps joystick would not work after i froze the location service and the fused locations, as it turns out they both have to be present for it to work.
Despite that, it looks to be working ok.
No, a while later it did start doing it again, much less though.
Think ive sorted it now though. using an app called System2, i found the other services that are related to the location service, then froze 4 of them. I also deleted this one file that was somewhere within the in the dev folder in another folder called qmux_gps. it wouldnt let me copy it, but i did manage to delete it (wreckless i know). Since then everything is working great, for about 5 hours so far

Lineage 17 GPS question

Unlike many modern versions of Android, I can find no three-tiered setting for GPS accuracy. I'm looking to set it to "Device Only" but it's either off or on, with a few additional location options but nothing more for GPS.
I'm using lineage 17, the second to last update, on a Samsung Tab 4 and I just want to restrict the device to the system GPS app GPS I've set (but it keeps drifting).
neocortex08 said:
Unlike many modern versions of Android, I can find no three-tiered setting for GPS accuracy. I'm looking to set it to "Device Only" but it's either off or on, with a few additional location options but nothing more for GPS.
I'm using lineage 17, the second to last update, on a Samsung Tab 4 and I just want to restrict the device to the system GPS app GPS I've set (but it keeps drifting).
Click to expand...
Click to collapse
I don't see any android 10 distro with the old settings (high precision/ device only/energy saving)
GApps installed?
kurtn said:
I don't see any android 10 distro with the old settings (high precision/ device only/energy saving)
GApps installed?
Click to expand...
Click to collapse
Yes, Gapps installed and working well (version for Android 10, nano),but I'm not sure google settings would change what would be in the device system settings. I guess I'm just looking for some way to force that missing setting without having to resort to tin foil around the device.
neocortex08 said:
Yes, Gapps installed and working well (version for Android 10, nano),but I'm not sure google settings would change what would be in the device system settings. I guess I'm just looking for some way to force that missing setting without having to reset to tin foil around the device.
Click to expand...
Click to collapse
No matter what settings you change, Google knows your location.
kurtn said:
No matter what settings you change, Google knows your location.
Click to expand...
Click to collapse
I'm not tin-foil-hat-concerned with Google knowing my location; I'm referring to the systemized GPS app I installed to be able to determine the location I set. Which it can currently, and can usually continue to do when I can set the device to take GPS from "device only". In this case it shows me on the map "rubberbanding" between my actual location and the location I've set about 100 feet away. This is because the OS is allowing the device to try and locate its own location.
neocortex08 said:
I'm not tin-foil-hat-concerned with Google knowing my location; I'm referring to the systemized GPS app I installed to be able to determine the location I set. Which it can currently, and can usually continue to do when I can set the device to take GPS from "device only". In this case it shows me on the map "rubberbanding" between my actual location and the location I've set about 100 feet away. This is because the OS is allowing the device to try and locate its own location.
Click to expand...
Click to collapse
Oh, location spoofing
https://f-droid.org/app/com.wesaphzt.privatelocation
GPS drains battery
With previous (before 17) it was possible to set the location service to be switched on, but only use cell data.
When I use the gps device it drains my battery much faster.
Therefore: How can I leave the location service on, but DO NOT USE the gps device in LOS 17 ????
Thanks in advance
Chris
Chris56 said:
How can I leave the location service on, but DO NOT USE the gps device in LOS 17 ????
Click to expand...
Click to collapse
+1
luckysoul777 said:
+1
Click to expand...
Click to collapse
Do you try to spoof your location? And why? What location providers do you have? GApps?
I guess your reply refers to my question.
Maybe I was not clear.
With former LOS versions I was able to explicitly choose whether to use the (battery draining) gps receiver for my location or not.
I have several other sources of location information (gsm cell based and wifi based) usually with less accuracy. But I may prefer theses under certain circumstances because of less power consumption. I Don't use google but microg.
kurtn said:
Do you try to spoof your location? And why? What location providers do you have? GApps?
Click to expand...
Click to collapse
No. I am not trying to spoof anything. I have an automation program called Tasker on my S4. When I was on stock Samsung ROM (5.0.1), I was able to use the "location mode" in Tasker to switch between high accuracy and battery save. If Tasker detected I was running Google Maps, it switched on high accuracy. If not, it switched over to battery save. From what I can tell, high accuracy used GPS + network and battery save used network only.
Now, I'm on LOS 17.1 and battery save would turn on GPS too. It seems the only way to not use GPS is to turn off location mode altogether. This makes me wonder what the differences are between Device Only and Battery Save modes. Since I cannot tell, I am assuming both modes are provided for backward compatibility to Tasker users but the underlining Android 10 doesn't differentiate them.
I am suspecting with Android 10, there are only 3 modes.
* GPS + network
* GPS
* OFF
Thus, if one needs the location service, GPS must be used.
I raised this question elsewhere. Some people actually told me that GPS doesn't consume much power if it's just turned on but not being used, e.g. by Google Maps. I have no way to verify if they are right.
luckysoul777 said:
No. I am not trying to spoof anything. I have an automation program called Tasker on my S4. When I was on stock Samsung ROM (5.0.1), I was able to use the "location mode" in Tasker to switch between high accuracy and battery save. If Tasker detected I was running Google Maps, it switched on high accuracy. If not, it switched over to battery save. From what I can tell, high accuracy used GPS + network and battery save used network only.
Now, I'm on LOS 17.1 and battery save would turn on GPS too. It seems the only way to not use GPS is to turn off location mode altogether. This makes me wonder what the differences are between Device Only and Battery Save modes. Since I cannot tell, I am assuming both modes are provided for backward compatibility to Tasker users but the underlining Android 10 doesn't differentiate them.
I am suspecting with Android 10, there are only 3 modes.
* GPS + network
* GPS
* OFF
Thus, if one needs the location service, GPS must be used.
I raised this question elsewhere. Some people actually told me that GPS doesn't consume much power if it's just turned on but not being used, e.g. by Google Maps. I have no way to verify if they are right.
Click to expand...
Click to collapse
Network location is not part of lineageOS. You can add it with GApps or microG. Have you?
Enabling location does not power the satellite receivers continuously. It really needs battery. The job of your tasker script is done by android 10 automatically. If you suspected apps to drain battery with GPS, disable their location permission!
kurtn said:
Network location is not part of lineageOS. You can add it with GApps or microG. Have you?
!
Click to expand...
Click to collapse
I'm using Gapps, the nano package. Do you know which one comes with network location? I can't tell because this comparison chart doesn't show it for any packages, https://github.com/opengapps/opengapps/wiki/Package-Comparison
kurtn said:
If you suspected apps to drain battery with GPS, disable their location permission!
Click to expand...
Click to collapse
The reason I preferred to keep it on battery save instead of off completely in the old days was that if I ever lost my phone, I wanted to be able to track it. Now with Android 10's mandatory GPS for location service, if I want to disable abusive apps from requesting unnecessary location service, which app should I avoid disabling? Which app is giving out my phone's location if I am tracking it remotely?
Thank you
luckysoul777 said:
I'm using Gapps, the nano package. Do you know which one comes with network location? I can't tell because this comparison chart doesn't show it for any packages, https://github.com/opengapps/opengapps/wiki/Package-Comparison
The reason I preferred to keep it on battery save instead of off completely in the old days was that if I ever lost my phone, I wanted to be able to track it. Now with Android 10's mandatory GPS for location service, if I want to disable abusive apps from requesting unnecessary location service, which app should I avoid disabling? Which app is giving out my phone's location if I am tracking it remotely? Thank you
Click to expand...
Click to collapse
I think the answer to both questions is Google play services. com.google.android.gms It's the mightiest app on your phone. I avoid installing it.
kurtn said:
I think the answer to both questions is Google play services. com.android.google.gms It's the mightiest app on your phone. I avoid installing it.
Click to expand...
Click to collapse
I still see one drawback with very selectively granting apps location service. For example, I do want to grant Chrome location service to facilitate better search. If I'm indoor, wouldn't GPS without a clear view of the sky trying very hard to get a fix and thus burn more power than necessary? With that said, can High Accuracy (GPS + network) actually be more power efficient under Android 10 than Battery Save (GPS only)? This is assuming Chrome would give up on GPS when it can't get a fix and be happy with just network while Battery Save would keep trying to get a fix with GPS. Again, this is just my assumption.

Categories

Resources