Live data from Hacker News

IPhones and 3G iPads log your location in an unencrypted file on the device

radar.oreilly.com

191–196 of 196 posts

Re: IPhones and 3G iPads log your location in an unencrypted file on the device

#191
post #187

Earlier quoted context omitted.

And what's your point pertaining to this discussion? Neither iPad nor iPhone are one of those devices.

Okay. So first, someone asked whether the iPhone triangulates position from cell towers or uses GPS. I responded that it does AGPS, and that in some ways AGPS is inferior to standalone AGPS. You objected to this, saying that AGPS is "actual GPS" which, in fact, it is not. If by "actual GPS" you mean standalone GPS, then you are wrong. I correctly pointed out to you that AGPS is not a standard definition, but a name f…

Ew, mate, you are using the wrong words there. Fair enough, AGPS may be inferior in a few devices but usually it is superior (i.e. has better startup times and is exactly like GPS in every other way).

Re: IPhones and 3G iPads log your location in an unencrypted file on the device

#192
post #191

Earlier quoted context omitted.

Okay. So first, someone asked whether the iPhone triangulates position from cell towers or uses GPS. I responded that it does AGPS, and that in some ways AGPS is inferior to standalone AGPS. You objected to this, saying that AGPS is "actual GPS" which, in fact, it is not. If by "actual GPS" you mean standalone GPS, then you are wrong. I correctly pointed out to you that AGPS is not a standard definition, but a name f…

Ew, mate, you are using the wrong words there. Fair enough, AGPS may be inferior in a few devices but usually it is superior (i.e. has better startup times and is exactly like GPS in every other way).

Apologies if my tone of voice turned you off. I am getting fatigued with this thread. I feel like the distinction being seized here is minor, bordering on pedantic.

Re: IPhones and 3G iPads log your location in an unencrypted file on the device

#193

I assume Apple collects this data to pass back to skyhook so they can update their database of wifi-to-geolocation data. Must be nice to have millions of sensors roaming around collecting data for you.

Other way around. It's a cache for CoreLocation, and the location data comes from Skyhook.

Interesting - Apple's filing says they dropped skyhook in 3.2 and switched to their own database... using this data.

http://arstechnica.com/apple/news/2010/07/apple-responds-to-...

Re: IPhones and 3G iPads log your location in an unencrypted file on the device

#194

For those with jailbroken iPhones and SSH, the data can be accessed or copied directly. The information is stored in this file: /private/var/root/Library/Caches/locationd/consolidated.db The file can be viewed with any ol' SQLite browser, and the location information is stored in the "CellLocation" table. After using an iPhone 4 since release day, I have ~1400 entries.

To make it work with Pete Warden's app, add this block to the bottom of loadLocationDb, before the displayErrorAndQuit: if (!loadWorked) { loadWorked = [self tryToLoadLocationDB: @"/path/to/your/consolidated.db" forDevice: @"iPhone"]; }

I have tried this but i cannot the open the database. i just given the path /private/var/root/Library/Caches/locationd/consolidated.db it is giving the SQLITE error 14. Kindly make a reply.

Re: IPhones and 3G iPads log your location in an unencrypted file on the device

#195
post #94

Created a GPX file generator. Use it to convert the database into a GPX file format. Open it up with Google Earth. https://github.com/serialx/iphonegpx

I'd love to use this data to geotag the photos I've taken on my digital camera over the past year, so I've downloaded this script along with the consolidated.db file into a directory, however, when I execute: python iphonegpx i get the below error, could you provide some more detailed usage instructions?: C:\Users\\Desktop\serialx-iphonegpx-a124079\serialx-iphonegpx-a124079>pyth on iphonegpx.py File "iphonegpx.py", line 24 """ + data[0][0].isoformat() + """ ^ SyntaxError: invalid syntax

Re: IPhones and 3G iPads log your location in an unencrypted file on the device

#196
post #94

Created a GPX file generator. Use it to convert the database into a GPX file format. Open it up with Google Earth. https://github.com/serialx/iphonegpx

I'd love to use this data to geotag the photos I've taken on my digital camera over the past year, so I've downloaded this script along with the consolidated.db file into a directory, however, when I execute: python iphonegpx i get the below error, could you provide some more detailed usage instructions?: C:\Users\ \Desktop\serialx-iphonegpx-a124079\serialx-iphonegpx-a124079>pyth on iphonegpx.py File "iphonegpx.py",…

Maybe you are using Python 3?

make print statement to print() function.

Post reply on HN