Every smartphone on Android records your location dozens of times a day - even when you donโt know about it you suspect. This data is used for navigation, targeted advertising, route recovery and even litigation. But where exactly is this information stored? Is it possible to view, download or delete it without a trace? In this article, we will look at all the ways to access geolocation history - from built-in tools Google to hidden system logs, which only advanced users know about.
It is important to understand: the history of movements is collected not only Google Maps. It is recorded by system services Android, fitness applications, social networks and even some instant messengers. In this case, some of the data is stored locally on the device, and some is stored in the cloud. We'll show you how to find and manage each of these categories, and also explain why simply deleting history in Google Timeline does not guarantee complete anonymity.
How geodata collection works on Android: main sources
The geolocation system on Android is a complex mechanism that involves several components at once. The main sources of data about your location:
- ๐ GPS module: the most accurate source, but requires direct visibility of satellites and consumes a lot of energy. Used for navigation in Google Maps or Yandex.Navigator.
- ๐ถ Cell towers: determines the location using the nearest operator base stations. Accuracy - from 500 meters to several kilometers in rural areas.
- ๐ถ Wi-Fi networks: even if you are not connected to the network, Android scans nearby access points and compares them with the base Google to determine coordinates with an accuracy of 20โ50 meters.
- ๐ Motion sensors: accelerometer, gyroscope and compass help clarify the trajectory of movement between fixation points (for example, in pedestrian navigation).
All this data is processed by the service Google Location Services (or analogues from other manufacturers, for example Huawei Mobile Services). Information can:
- ๐ Cached locally in files
/data/data/com.google.android.gms/files/(available only with root access). - โ๏ธ Synchronize with the cloud via your account Google (even if you have disabled "Location History").
- ๐ฑ Transfer to applicationsthat have permission to access geodata (the list of such applications can be checked in the settings).
Interesting fact: starting from Android 10, the system allows applications to request access to location only while they are in use ("Allow only while using the application"). However, many apps get around this restriction by requesting access to ACCESS_BACKGROUND_LOCATION โpermission to work in the background.
Official method: Google Timeline (Location History)
Google Timeline (formerly "Location History") - this is the most obvious and accessible tool for viewing your movements. It automatically records routes if:
- ๐ The "Location chronicle" option is enabled in your account Google.
- ๐ฑ Geolocation services are active on the device (
Settings โ Security and location โ Location). - ๐ The device is connected to the Internet (for data synchronization).
To open your timeline:
- Follow the link https://www.google.com/maps/timeline (will open in the browser).
- Login using the same account Google, which is used on a smartphone.
- Select the desired date in the calendar on the left. The system will show routes, stops and even methods of transportation (on foot, by car, by bicycle).
In the mobile application Google Maps the chronicle is available through:
- Open the application and tap on the profile avatar in the upper right corner.
- Select "Your chronicle".
- A calendar will appear on the screen with the dates where movements were recorded.
What to do if the chronicle is empty?
If there is no data in Google Timeline, check:
1. Whether tracking is enabled in your Google account settings (section "Manage data and personalization โ Location history").
2. Whether you used the device in Incognito mode or with geolocation services disabled.
3. Have you manually deleted the history before (data is stored for up to 18 months if automatic cleaning is not configured).
Important: even if you turn off โLocation History,โ Google will continue to collect geodata through other services (for example, search or Google Photos), but they will not will be displayed in the Timeline. You can completely prohibit collection only through deep account settings.
โ ๏ธ Attention: If you are using a corporate account Google Workspace, the administrator can limit access to the timeline or configure its automatic deletion. In this case, some functions may not be available.
Hidden system logs: where Android stores geodata. locally
In addition to the cloud chronicle, Android keeps local geolocation logs, which are not displayed in Google Timeline. This data is used to:
- ๐ Accelerate location determination when GPS is turned on.
- ๐ฑ Optimizing the operation of network services (for example, automatically switching between 4G and Wi-Fi).
- ๐ ๏ธ Diagnosing problems with geolocation (if you contact support).
The main files with geodata are stored in the following paths (available only from root access or via ADB):
| File path | Data type | Format | How to read |
|---|---|---|---|
/data/data/com.google.android.gms/files/ |
Google services cache (including geolocation) | Binary files .db |
Through SQLite Browser after extraction |
/data/data/com.google.android.location.history/ |
Local history of movements | location_history.json |
Any text editor |
/data/misc/location/ |
GPS and network geolocation system logs | .log and .conf |
Specialized utilities (for example, CatLog) |
/sdcard/Android/data/com.google.android.apps.maps/ |
Offline cache of maps and routes | .dat, .db |
Partially readable via Maps Me |
To view these files without root access, you can use ADB (Android Debug Bridge). For example, to download history from location_history.json, run:
adb pull /data/data/com.google.android.location.history/location_history.json C:\temp\
adb shell "cat /data/misc/location/gps.conf"
Please note: the files in /data/data/ are protected. rights SELinux, and copying them may require additional commands, such as:
adb shell "su -c 'cp /data/data/com.google.android.gms/files/* /sdcard/'"
โ ๏ธ Attention: Changing or deleting files in/data/without understanding their structure can lead to malfunctions of geolocation services. For example, damagegps.confwill make it impossible to determine coordinates via GPS.
If you need to transfer geolocation history for analysis (for example, to judicial authorities), export the data via Google Takeout (https://takeout.google.com). This service allows you to download an archive with a complete location history in KML format, which can be opened in Google Earth.
How to export geolocation history for analysis
If you need to save your movement history for personal use, litigation or research, there are several export methods:
Method 1: Google Takeout (full archive)
This method allows you to download all the data associated with your account, including geolocation:
- Go to https://takeout.google.com.
- Uncheck all the boxes except "Location chronicle".
- Select the archive format (
.zipor.tgz) and the maximum file size (up to 50 GB). - Click "Create archive". The process can take from several minutes to a day.
As a result, you will receive files in the following formats:
- ๐
.jsonโ raw data with coordinates and time stamps. - ๐
.kmlโ file to open in Google Earth or QGIS. - ๐
.csvโa table with data that can be analyzed in Excel.
Method 2: Export from Google Timeline
If you need history for a specific period:
- Open Google Timeline.
- Select a date or date range in calendar.
- Click on the icon โฎ (three dots) โ "Export this page".
- Save the file in the format
.htmlor.kml.
Method 3: Applications for geodata analysis
To visualize history, you can use:
- ๐ Google Earth Pro โ import
.kmlfor 3D viewing of routes. - ๐ QGIS โa professional tool for working with geodata (supports layers, analytics and export to various formats).
- ๐ฑ GPS Visualizer (https://www.gpsvisualizer.com/) - an online service for converting and visualizing tracks.
Make sure that the history is synchronized with the cloud|Check the availability of free space on the device (the archive can weigh several GB)|Use a reliable Wi-Fi connection|Save the archive to an external drive or to the cloud|Check the integrity of the downloaded files-->
How to completely delete geolocation history (including hidden data)
If you want to erase all traces of your movements, it is not enough just to clear Google TimelineYou need to act in several directions:
Step 1: Clearing Google Timeline
- Open Google Timeline.
- Click on the icon โฎ โ "Settings and privacy".
- Select "Delete location history data".
- Specify the date range (you can select "All time").
- Confirm deletion.
Step 2: Disabling geodata collection
To prevent further collection:
- Go to Google Account Settings โ Manage Data and Personalization.
- Find the section "Location History" and disable it.
- In settings Android go to
Security and location โ Location โ Google location historyand deactivate the option.
Step 3: Delete local logs (root required)
For complete cleaning, run through ADB or a file manager with root access:
adb shell "su -c 'rm -rf /data/data/com.google.android.location.history/*'"
adb shell "su -c 'rm -rf /data/data/com.google.android.gms/files/location/*'"
Step 4: Reset the advertising ID and restrict application access
Many applications continue to collect geodata even after disconnection Google Timeline. To minimize leaks:
- Go to
Settings โ Google โ Advertisingand reset Advertising ID. - B section
Settings โ Applications โ Permissions โ Locationdisable access for unnecessary apps. - Install the application App Ops (requires
ADBto block background access to geolocation.
โ ๏ธ Attention: Even after all these steps, some data may be stored in backup copies Google Drive or operating system logs. For complete confidence in anonymity, consider using alternative firmware (for example, LineageOS without services Google).
Deleting geolocation history does not guarantee that the data is gone forever. Google can store backups for up to 18 months, and some applications can cache coordinates locally.
Alternative ways to track: what else does your Android know
In addition to standard tools, your location can record:
- ๐ธ Google Photos: if georeferencing is enabled, each photo contains the coordinates of the shooting (you can view it through the file properties).
- ๐ Fitness trackers (Google Fit, Samsung Health, Mi Fit): record routes of jogging, cycling and even daily activity.
- ๐ฌ Social networks (Facebook, Instagram, VK): can save geotags of publications and browsing history (even if you do not specify them explicitly).
- ๐ Navigation applications (Yandex.Navigator, Waze, 2GIS): store route history and favorite places.
- ๐ฑ Communications operator: by law, providers are required to store data on the location of subscribers (in Russia - up to 6 months).
To check which applications have access to your geolocation:
- Go to
Settings โ Privacy โ Permission Manager โ Location. - View the list of apps and disable access for those that do not have it needed.
- For a detailed analysis, use tools like Exodus Privacy (https://exodus-privacy.eu.org), which shows which trackers are built into applications.
Example: an application Facebook even with disabled access to geolocation can determine your location by:
- ๐ถ IP address (accuracy - up to the city).
- ๐ Data about connected Wi-Fi networks (if you have given permission to access the network).
- ๐ฑ Information from the metadata of uploaded photos.
How to protect your privacy: expert advice
If you are concerned about geodata collection, follow these recommendations:
- ๐ Turn off Location History in your account Google and delete old ones data.
- ๐ฑ Use alternative firmware without services Google (for example, LineageOS for MicroG or GrapheneOS).
- ๐ก๏ธ Install a VPN with a tracker blocking function (for example, ProtonVPN or IVPN).
- ๐ Check application permissions regularly via
Settings โ Applications. - ๐ด Disable geolocation in settingswhen it is not needed (for example, through the quick settings panel).
- ๐ Use open source applications for navigation (for example, OsmAnd instead of Google Maps).
For advanced users:
- ๐ ๏ธ Block tracker domains via
hostsfile or DNS filters (for example, NextDNS). - ๐ง Disable services Google Play via
ADB:
Attention: this may disrupt the operation of some applications!adb shell pm disable-user --user 0 com.google.android.gms - ๐ฑ Use "airplane mode" + Wi-Fi to minimize data leaks through cellular networks.
Remember: complete anonymity on a smartphone is impossible, but proper settings will significantly reduce the amount of data collected.
If you need to temporarily hide your location (for example, from tracking applications), use applications like Fake GPS Location (requires enabling developer mode) However, some services (for example, banking applications) may block operation when a substitution is detected. coordinates.
FAQ: Frequently asked questions about geolocation history on Android
Is it possible to recover deleted geolocation history?
If you have deleted data from Google Timeline, it is impossible to restore it - Google does not provide such functions. However:
- If the history was deleted recently (within 30 days), you can try contacting support Google with a justified reason (for example, for legal proceedings).
- Local logs on the device may be saved until flashing or resetting the settings.
- If you have enabled synchronization with Google Drive, check the backups in the "Backups section".
Why does Google show my location if geolocation is disabled?
Even with geolocation disabled Google can approximately determine your location by:
- ๐ถ IP address (accuracy - city or region).
- ๐ Data about connected Wi-Fi networks (if you previously gave permission to access the network).
- ๐ฑ Activities in other services (for example, if you logged in Google Search or YouTube from another device on the same network).
To completely prohibit location detection:
- Disable "Application and web search history" in your account settings Google.
- Use VPN for masking IP addresses.
- Delete saved Wi-Fi networks in the device settings.
Can someone else see my geolocation history?
Your history in Google Timeline is private by default, but there are nuances:
- ๐ If you shared access to your chronicle (for example, with your family via Google Family Link), these users will be able to view it.
- ๐ฑ If your device stolen or hacked, an attacker can extract local geolocation logs.
- ๐๏ธ Software request from law enforcement agencies Google can provide history (in most countries this is required court decision).
- ๐ If you logged into your account on other people's devices, the data could be saved in the browser cache.
To minimize risks:
- Use two-factor authentication for your account Google.
- Do not share access to your chronicle unless necessary.
- Regularly check active sessions in your account (Security settings).
How to check which applications are tracking my location?
To see the full list of applications with access to geodata:
- Go to
Settings โ Privacy โ Permission Manager โ Location. - View the list of apps. Click on any application to see the last time it used your location.
- For detailed analysis, install App Ops (requires
ADB) or Exodus Privacy.
Pay attention to applications with permission ACCESS_BACKGROUND_LOCATION โthey can track you even when not running. To disable background access:
- Go to
Settings โ Applications โ [Select an application] โ Permissions. - Find "Location" and select "Allow only while in use".
Is it possible to disable geolocation only for specific applications?
Yes, Android there are flexible permission settings:
- Go to
Settings โ Applications. - Select the desired application (for example, Facebook or Instagram).
- Tap "Permissions" โ "Location".
- Select one of the options:
- ๐ซ "Deny" - completely disable access.
- ๐ "Allow only during use" - access only when the application is open.
- ๐ "Allow all the time" - access at any time (including in the background).
For mass disabling:
- Go to
Settings โ Privacy โ Permission Manager โ Location. - Sort applications by permission status and disable access for unnecessary ones.
Starting from Android 12, the system also shows how many times the application has requested a location in the last 24 hours.