Where I went yesterday, via my Android phone

You know what? I’m glad this whole phones keeping track of everywhere you go thing happened, because, pushing all those pesky, minor concerns about privacy away, it’s really kind of cool!

Hot on the heels of the iPhone tool that showed us the smorgasbord of data that’s being stored, someone decided to see what Google / Android does. It turns out they store location information as well, just, no way near as much as Apple

After a period of time, 12 hours for cellular data and 48 hours for WiFi data, has passed, the location data is renewed by a new request from Google. It is also limited to a maximum number of entries so that the database doesn’t grow too large. 

Swindon says that the location file pulled from his phone contained roughly 13,000 entries related to cellular network tracking. By contrast the Android file is limited to only 50 entries in the cellular location database.

via The Next Web

Maybe it is just a bug, or lazy programming or whatever on Apple’s part, but it makes sense, especially in Google’s case, where they delete / refresh the data, and you can see it being useful for location-based services.

This same someone that decided to see what Google do, created a Python script that you can feed the Wi-Fi and Cell cache files into, and then output into a .gpx format, to eventually visualise on Google Maps, so I just went ahead and tried it out, purely with my Cell cache file.





So yeh, I walked around Melbourne for a while during the day, eventually went to the airport, flew to Sydney [I’ve omitted that because obviously there was no data between Melbourne and Sydney while flying], and then went home. As it’s just the Cell cache, there are a few erroneous data points, but overall, that is pretty darn accurate, awesome, and creepy!

If you’re feeling adventurous or curious, and a little geeky, here’s how you can do it…

Note: You need root access to your Android phone to get to the file

  1. Download and install Python [and set that damn PATH variable]
  2. Download the Python script [the next few steps are included in this link as well, i.e. location of the file on your phone, etc]
  3. Run the script and output to gpx [detailed in packetlss’ instructions [the step 1 link]]
  4. Download and install GPSBabel [this takes the gpx file and turns into kml, adding in waypoints, etc]
  5. Go to GPS Visualizer and upload your kml file

That should get you a map. I’ve possibly taken a very cumbersome approach to all of this, and there might be some shortcuts, but I just googled a few things and, well, it worked.

Now, you can get your own Google Maps API key and then embed the map onto your website, and customise the crap out of it, but I can’t be bothered, so I just took a couple of screen captures.

I thought it was pretty cool, and who knows how it can be used, especially with the iPhone’s “feature”, keeping weeks / months of data at a time.


And a day or so later, there’s a one-click app that does the same thing!



2 thoughts on “Where I went yesterday, via my Android phone

  1. John Doe says:

    It’s amazing how easy you can be stalked by an ex who is more than familiar with api keys and tweaking maps it would be nice to not be hacked so easy through iPhone and Google

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s