17 votes
Accepted

Any way to have Location services turn itself off after a time limit?

That might be solved using one of the many automation apps. I myself prefer tasker here, but YMMV (and Tasker doesn't come for free) – llama might be capable of the same. What I do here is creating a ...
user avatar
  • 89.1k
17 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 ...
user avatar
  • 171
11 votes

How to use GPS without using Google Location Services

Not exactly matching your description (using the "last known" position if not GPS available), but still a good alternative: On two of my devices, I completely got rid of all proprietary Google ...
user avatar
  • 89.1k
10 votes
Accepted

How to use GPS without using Google Location Services

You could try this app: GPS Aids. It tries to provide a quicker and more stable fix by providing a couple of GPS aids (GPS Aiding Data like LTO Long Term Orbits, gpsOneXTRA and AGPS), and it caches ...
user avatar
  • 276
10 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 ...
user avatar
  • 4,150
7 votes

Any way to have Location services turn itself off after a time limit?

As Izzy said in the answer, Tasker is a great choice but it's not free for anyone. I tried AutomateIt(Free) and it gets the job done. Edit: This answer is successfully tested on Android 4.2.1, ...
user avatar
  • 23.5k
6 votes

How fake gps works?

You can't fake GPS. What you can do is tell your Android to tell apps that you're in a different location than you really are. This is useful for development. If I need to test that my app can tell ...
user avatar
  • 511
6 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 ...
user avatar
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 ...
user avatar
  • 346
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' ...
user avatar
  • 23.5k
5 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 ...
user avatar
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 ...
user avatar
  • 4,150
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, ...
user avatar
  • 191
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 ...
user avatar
  • 12.4k
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 ...
user avatar
  • 275
4 votes
Accepted

Disable Location History in Android

Summing up all the comments: Will Google save the locations? Definitely. As soon as you want to use the more battery-friendly “network based location” you have to agree that Google collects your ...
user avatar
  • 89.1k
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 ...
user avatar
  • 141
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 ...
user avatar
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 ...
user avatar
  • 143
3 votes

Location Consent & undo Remeber This Setting

If you have root access, edit this file: data > data > com.google.android.gms > shared_prefs > nlp-prefs.xml Change the value of confirmNlp to true. <boolean name="confirmNlp" value="...
user avatar
  • 17.2k
3 votes
Accepted

Prevent or Mute "Device Location Shared" notification from showing

To disable application notifications for versions prior to 5.1: Open "settings". In the device section of the settings menu, choose "apps" from the list. Choose "all" from the menu to show a list of ...
user avatar
3 votes

Smart lock not working anymore with trusted places

It might have something to do with this issue: Issue #79735: Smart lock feature (trusted face/device) not working when screen is turned off using software screen off command (DevicePolicyManager....
user avatar
3 votes

How to use Mozilla Location Service as network location provider?

The MLS wiki has a list of community-provided Android software that utilizes MLS. There, you find a link to Ichnaea NLP Backend. And that is exactly the piece of software you are looking for. Because ...
user avatar
  • 273
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 ...
user avatar
  • 89.1k
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 ...
user avatar
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 ...
user avatar
  • 267
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 ...
user avatar
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 ...
user avatar
2 votes

What is Mozilla Location Based Services?

It's a Network Positioning Service, it locates your position based on a database of Wi-Fi hotspots, mobile cell towers, and possibly in the future other sensor data. This database is collected through ...
user avatar
  • 19k

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