19
votes
Enable location services via ADB or shell
On Android 6.0,
To enable:
GPS: adb shell settings put secure location_providers_allowed +gps
Network: adb shell settings put secure location_providers_allowed +network
To disable:
GPS: adb shell ...
12
votes
Why do I need to turn on location services to pair with a Bluetooth device?
My understanding of Bluetooth is that applications using Bluetooth have direct access to the device MAC address for the purpose of pairing. I will assume this for this answer.
If you can read MAC ...
7
votes
Enable location services via ADB or shell
Android location service comes with different options:
High accuracy: gps, network
Enable: adb shell settings put secure location_providers_allowed +gps,network
Disable: adb shell settings put ...
6
votes
Still can't change Google Play country
I had a similar issue moving from Germany to the UK and spent over an hour on the phone with Google support.
In addition to what others already wrote above, I had to do two things:
Cancel any Google ...
6
votes
Accepted
Still can't change Google Play country
Method 1 (Requires 2 Phones signed in with same google account):
Phone 1:
Open Google Play Store and Download HotSpot Shield or Zenmate. Once
you have downloaded.
Clear cache and data of Google ...
5
votes
Location Consent & undo Remeber This Setting
geffchang's answer is correct. That said, it is meant for a rooted Android so users of non-rooted Android devices may not find it of much use.
Those users, if willing to sacrifice third-part apps' ...
5
votes
Accepted
Is "high accuracy" mode in location setting, is what is known otherwise as A-GPS?
Here are the basic technologies for location on an Android device:
GPS (Global positioning system) - uses satellite signals to determine location without external request, high accuracy (~5 m), high ...
5
votes
How do I turn off the notification sound for when apps request the current location
Go to Settings > Sounds and Notifications > Advanced > Notifications.
Click on the three dots up in the right corner and tap Show System.
Scroll down to System UI.
Under Categories, tap on VZW, ...
5
votes
Accepted
Enable vibration and location services while on battery saver
Vibration and GPS are considered as system services, not apps. Thus, it cannot be exempted on the usual setting when Battery Saver is enabled. However, since Android 8.0 Oreo, it is possible to tweak ...
4
votes
How to use GPS without using Google Location Services
Using Fairphone 2 and Fairphone Open OS and following this guide to living without Google, I set up location services using location middleware provider µg UnifiedNlp (no GAPPS)
It is easy to do this ...
4
votes
Enable location services via ADB or shell
Enable: adb shell settings put secure location_mode 3
Disable: adb shell settings put secure location_mode 0
See Stack Overflow - How to enable/disable GPS location services on Android 9 via ADB ...
4
votes
Enable location services via ADB or shell
location_providers_allowed no longer works for Android 10 (API level 29).
Instead, you can set the location_mode to LOCATION_MODE_HIGH_ACCURACY with a value of 3:
adb shell settings put secure ...
4
votes
Why do I need to turn on location services to pair with a Bluetooth device?
The vendor is correct, you need to enable location services to scan for WiFi or Bluetooth LE devices.
See bug #185370 for details. Google said they have fixed it in a 'future release' but according ...
4
votes
How can I view which app has the permission to turn on and off the location services in Android?
As an answer to your comment, you can use PermissionManagerX. If your device isn't rooted, you can grant elevated privileges using ADB (instructions in app help). But elevated privileges are not ...
3
votes
Why do I need to turn on location services to pair with a Bluetooth device?
The OP asked about Pairing (the original, privacy-safe Bluetooth method to define a new, trusted relationship by confirming a code sent from the other device). For pairing, an app DOES NOT need:
Scan ...
3
votes
Why do I need to turn on location services to pair with a Bluetooth device?
I will need to add my two cents to this -- being an app developer who needs to scan for Bluetooth LE health devices. I also need to do this in the background so the app can re-connect to the device ...
3
votes
Prevent "Location Found" Notification
Using an app such as Automate, one can write a very simple flow which waits for notifications from com.android.systemui with the text of Location found and then cancel the notification as soon as it ...
3
votes
Accepted
How to use Mozilla Location Service as network location provider?
The MLS wiki has a list of community-provided software using MLS. There, you find a link to Ichnaea NLP Backend.
And that is exactly the piece of software you are looking for. Because it is an ...
3
votes
Still can't change Google Play country
I had the same problem as I moved from US to India a week back. Here are the steps I used to resolve this issue.
Go to google payments and create a new profile for UK
Go to payments.google.com and ...
3
votes
Let my friend check my locations while I am taking a stranger's car?
As there's no on-board feature covering your needs, I'd recommend taking a look at Glympse. With this app you can decide when to start or stop sharing your location, you could even set a timeout. Only ...

Izzy♦
- 90.8k
2
votes
Accepted
Set longitude & latitude manually
Yes. This is called "Mock Location" in Android and it is designed for developers to test location services in their apps for development purposes. You need to enable it in Developer Options, then use ...
2
votes
Why is my mobile trying to hide that GPS is getting used?
Several features in Google Play Services need to check your location in the background, maybe even when you're not using the phone otherwise. These features include geofences, which let apps react to ...
2
votes
Still can't change Google Play country
Step 1- Go to google payments and create a new profile. Enter new country and other details. (you can go to google payments by clicking payment methods in the menu in play store. Then choose more ...
2
votes
Why do I need to turn on location services to pair with a Bluetooth device?
For making a Bluetooth connection, the dependency on location can be related as below -
If an App can scans for known Bluetooth beacons, then it can also figure out the location from the available ...
2
votes
com.google.android.gms destroying my battery
Thanks to the logs, I found the culprit: the bad (maybe even illegal?) practices of Google Maps.
Since I hate spam and hate to be tracked for advertising by Google, I always opt out for all those ...
2
votes
GPS when roaming with no data
All current GPS chips can work in one of two modes: GPS Standalone or AGPS (either MS-Based or MS-Assisted), where AGPS is the abbreviation of Assisted-GPS. The latter requires internet connection to ...
2
votes
How to reverse acceptance in Android Device Manager?
Google has a weird mix of app settings, device settings, and a website to manage location permissions. I've found that the easiest way to access most of it is through Settings → Personal content ...
2
votes
How do I stop my device from sending my location to Google every second, even when the location setting is off?
Even I had read that article, but possibly could do nothing to stop Google. Our lives are so very dependent on Google. We use lots of Google apps like Gmail, Gdrive, YouTube, Chrome, Maps and others. ...
2
votes
Accepted
App doesn't access GPS location directly
Android Engineer at Citymapper here!
The issue you're describing sounds quite similar to one we fixed recently.
So I would recommend updating to the latest version of the app.
The current version in ...
2
votes
Does my stepdaughter have a way to tell I'm using Find My Device?
Yes, there is a notification that will appear when you locate the device.
WARNING: This could prevent other notifications from appearing.
To disable the notification, navigate to (Version 8.1.0, may ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
location-services × 126geolocation × 39
gps × 24
privacy × 7
gps-tracking × 7
google-location-history × 7
applications × 6
samsung × 6
6.0-marshmallow × 6
5.0-lollipop × 6
settings × 6
battery-life × 6
permissions × 6
google-maps × 6
adb × 4
wi-fi × 4
cyanogenmod × 4
bluetooth × 4
google-play-services × 4
android-10 × 4
google-play-store × 3
lineageos × 3
9.0-pie × 3
lost-phone × 3
find-my-device × 3