20 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 ...
Aditya S's user avatar
  • 301
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 ...
mattm's user avatar
  • 4,231
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 ...
Parth Naik's user avatar
6 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, ...
Fauxcuss's user avatar
  • 211
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 ...
mattm's user avatar
  • 4,231
5 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 ...
anotherdave's user avatar
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 ...
Andrew T.'s user avatar
  • 16k
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 ...
Zanna's user avatar
  • 257
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 ...
CoolMind's user avatar
  • 141
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 ...
jomo's user avatar
  • 143
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 ...
beeshyams's user avatar
  • 40.7k
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 ...
Brian Reinhold's user avatar
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's user avatar
  • 91.2k
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 ...
Nathan's user avatar
  • 317
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 ...
Coder Steve's user avatar
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 ...
tanius's user avatar
  • 293
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 ...
acejavelin's user avatar
  • 6,207
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 ...
Dan Hulme's user avatar
  • 35k
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 ...
EHH's user avatar
  • 431
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 ...
Luis A. Florit's user avatar
2 votes

Why do I need to turn on location services to pair with a Bluetooth device?

Apps no longer need your location to scan for nearby Bluetooth devices on Android 12 Android 12 adds new permissions specific for Bluetooth scanning and tracking, without needing apps to access the ...
mixalbl4's user avatar
  • 203
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 ...
user1056265's user avatar
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. ...
Wrichik Basu's user avatar
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 ...
Matthew Read's user avatar
  • 50.6k
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 ...
Ted Eriksson's user avatar
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 ...
CodeMonkey's user avatar
2 votes
Accepted

Can a android device really connects to Satellite using when LocationMethod set to "Phone Only"?

Many smartphones have a built-in Global Positioning Satellite (GPS) receiver. This receiver picks up signals from GPS satellites orbiting about 12,500 miles above the earth's surface. If it receives ...
DJohnM's user avatar
  • 136
2 votes
Accepted

How can I put location in "Battery Saving" mode in Android Pie?

Google has removed all of the UI from the OS to change this setting, but it's still changeable in other ways. If an app has the WRITE_SECURE_SETTINGS permission, it can do this by calling Settings....
Joseph Sible-Reinstate Monica's user avatar
2 votes

Why I cannot grant "Allow all the time" location permission to WhatsApp?

So here is the problem: the latest (non-beta) WhatsApp is set up with a target platform of Android 10, but the developers failed to include a request for ACCESS_BACKGROUND_LOCATION in the manifest.xml ...
Bob's user avatar
  • 31
2 votes
Accepted

How to let Gmail only send notifications and not allow the features like Find My Phone?

Couple of ways of using a Gmail account on your phone without linking it to your device (avoiding contacts sync, device manager concerns etc) : Configure Gmail as IMAP. See How to add Gmail account ...
beeshyams's user avatar
  • 40.7k

Only top scored, non community-wiki answers of a minimum length are eligible