21

Because I do not want to consent to the Google Location Services privacy agreement I have this switched off. By doing so I know some location functionality like cell-based and wifi-based location will not be functional.

However I would expect simple GPS functionality to work in a normal way. Functioning in a normal way to me would be to use GPS data if available, else use the last known location. (Historically this is how GPS receivers work)
The current (I am running Android 5, Lollipop) implementation from Google however seems to not give any location at all when there is no clear fix, throwing me lots of warnings and placing me all over the world instead of in my home location.

My question:
Does anyone know a third party location provider / spoofer which simply caches my last known location if there is no GPS fix? (just giving me back normal functionality)
Additional functionality which would be very welcome is caching Wifi/Cell data so if I have been somewhere it will remember without a GPS fix.

Any suggestions would greatly be appreciated!

Requist
  • 335
  • 1
  • 3
  • 12

4 Answers4

11

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 services, replacing them by alternatives. In detail, I've described this in Android without Google 5: Free your Droid!¹ (update¹). In short, this is what I've done:

  1. Flash a custom ROM that comes without GApps (here: CyanogenMod)
  2. Installing microG (successor of NOGAPPS)
  3. Generating the lacells.db as described at XDA, and pushed it to the device

As a result, I've got a totally offline working location service using cell tower IDs and the lacells.db, Playstore access via BlankStore¹ or YalpStore, and a working Maps API using OpenStreetMap. So with "no GPS active", I still get my location as long as there are cell towers in reach. I can, however, not say whether it's using the "last known position" if there's no GPS and no cell towers.

¹ Disclosure: link go to one of my sites

Izzy
  • 91,536
  • 76
  • 351
  • 968
10

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 your last known GPS data.

It will run without root, but some options require root access.

Stephen S
  • 5,428
  • 6
  • 46
  • 59
Sagie
  • 276
  • 2
  • 3
4

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 using the F-Droid repository

  • Install µg UnifiedNlp (no GAPPS)
  • Install geolocation backends such as LocalGsmNlpBackend
  • Install geocoding backend NominatimeNlp
  • Reboot your phone
  • Start the µg UnifiedNlp app and set up the backends. In LocalGsmNlpBackend select 'create database' and let it generate a database from OpenCellID or Mozilla Location Services (this takes ages and downloads huge amounts of data so make sure you are on WiFi)
  • Enable Location options in Settings

Result: both GPS and network-based location services work with little or no privacy impact.

Zanna
  • 257
  • 1
  • 5
  • 13
1

Accessing location in Google Location service and accessing location in Android are independent from each other.

Apps can use either Android Location Manager (which does not depend on Google Location service) or Google Location service.

Thus, you can still use apps who access location through Android Location Manager. According to my research of the top 5000 apps, most apps still use Android Location Manager. So, you should be good without Google Location Services.

Duling Lai
  • 11
  • 1