A few days ago, a topic was opened in Donanimhaber forums, stating that a first generation iPhone was able to locate its position without being connected to the internet. While investigating to see if this was possible, I realized that the Maps application was storing some information within cells.plist file which resides in "/var/root/Library/Caches/locationd" folder.

Necessity of Internet for the Fake GPS
First of all, I must state that unless an extra operation is made, it is impossible to find your location with a first generation iPhone which is not connected to the internet. In fact, you would get an error if you try this with a firmware before 2.0 and no location (even a wrong one) would be shown. But with the 2.0.0 and later firmwares, not only you might not receive an error but also you might see a location fix on the map which can be true or false.

To test this situation, I tried to locate my self while I was in a moving vehicle, with and without internet connection and I saw that when I was offline, although sometimes I was getting my last valid fix, sometimes the shown location was not the last one but a previous one. Thus, it was not possible to say "It shows the last location fix, nothing else". After realizing this, I started to look into the folders of my iPhone hoping to find the file which was being used as the cache for this information. My first assumption was the MapTiles.sqlitedb file which is under /var/mobile/Library/Caches folder, however I saw that it did not contain much information except the picture files used in the Maps application.

An interesting folder: /var/root/Library/Caches/locationd
I found a folder named "locationd" under "/var/root/Library/Caches". It contained three files (cache.plist, clients-b.plist and cells.plist) and a folder (wifi). The information stored in the file "cache.plist" was the last location fix together with WifiGUID value and the internet address https://iphone-services.apple.com/clbl/unauthorizedApps which is assumed to keep the list of the unauthorized/black listed applications. Interestingly, the contents of the "cache.plist" file was the same with the contents of this address. In one of his articles, Zdziarski had stated that after making some DNS spoofing, he was able to shut down some applications by faking this address. A similar test might be applied to see if the clients-b.plist file is also changed after such an operation.
(Meanwhile, there were no files in the wifi folder. I assume that some information is stored within that folder if you were near a wifi hotspot which is defined in Skyhook database).

Caching locations within cells.plist file
Now lets move to the file which attracted my attention, "cells.plist". When I first examined the contents of this file, it was like this:

It is obvious that the <string> tag includes the lattitude and longtitue information. After checking these coordinates with Google Maps, I saw that they were the locations of my last two location fixes. To make a better decision about the contents of the file, I turned on EDGE and active location finder in the Maps application and observed the changes in the contents of the file while I was returning home from work. It seems that the Maps application was adding coordinate and the information of the cell towers used during the process after each successful location fix. After a trip of 45 minutes, there were already 39 coordinates within the file. Then, how was this information used?

The next morning, while I was going to work, I opened the Maps application without activating internet connection and I started waiting to get a location fix. Although I was on the same route on which I collected the coordinate information on the previous day, the Maps application was not showing any location. When I opened the cells.plist file, I saw that its contents were erased. Fortunately, I already had a backup and restored it. I thought that the ".lastpurge" value in the file might be a time tag which is being used to validate the file so I changed the leftmost 2 to 5. I restarted the Maps application and Voila! :), my location was approximately shown. Moreover, it continued to show my location until I arrived my destination.

So, is it possible to fix a location using the Fake GPs without being connected to the internet?
Yes, if you fill the cells.plist file with coordinate and cell tower information by finding your location when you are online and can manage to keep the contents and you roam around the same places when you collected this information, you can get an approximate location when you are offline too. "How practical is this method?", "how can it be further improved?" well, these will be the contents of another article :)

Wow! Same thing happened to me, after geittng a new MBPro and using Time Machine to copy everything like it was on my old iMac (so I thought). I finally realized it must have been from that because nothing else had changed on my system. Interesting Of course, the Audible people hit a wall and were like, Hmmm well call Apple. I ended up just unintalling iTunes app and helper and a few prefs, and re-downloading and installing. That did the trick. No more reauthorizing and having 17 hours of books

Marek, 03.05.14 tarihinde saat 22:31 itibari ile demiş ki:

I'm doing well.Job is taking up most of my time, but I've been kepenig time to make sure I stay fit.I really intended to at least post an update about my diet, which I finished a few months back. But, just so you know, I've lost over 30kg's and weigh a good ~68kg's. As for TheWorldRF. Not mine. It looks good. Unity is an interesting choice too. But it looks like he's using the original textures from the game? Something I wanted to make sure I didn't do (i.e. make my own). Primarily since it give

Rika, 03.05.14 tarihinde saat 13:04 itibari ile demiş ki:

Alas no, ..unfortunately the license is on a mnhicae by mnhicae basis, and this is a limitation from Panic, and yes, it is true, I am only these days using a single mnhicae so for me it is more of a backup effect, having said that if I was using multiple mnhicaes and entering my license each time I opened Coda in order to have my sites synced, rather than not having them synced, I would pay this price.I guess the other option is to give in and buy the AppStore version which will do this via the

and the somewhat uneven silver rim,I emailed PowerBee about my problem to make a return. Steve says she was eventually offered a loan higher than her monthly salary, bigger loan, It says that theres now a much stronger case for an orderly sovereign bankruptcy regime today than ten years ago,) Obviously,Spare cashSpare savings?In addition,The team of scientists studied mayenite,Paving the way for concrete computers: Researchers reveal they can turn the building material into metal - and could

Coach Small Bags, 06.03.14 tarihinde saat 04:19 itibari ile demiş ki:

They will also be heading to Canada in early July for their first official overseas trip as husband and wife. Before flying home, they will make a brief visit to California.(CBS/AP) MIAMI - On Wednesday, 58-year-old William Van Poyck is scheduled to be executed at a Florida State Prison for the 1987 murder of guard Fred Griffis.Coach Small Bags http://www.preysfruitbarn.com/newsite/canada.asp?article_id= 28

Dr Liam Fox denies he sacked Air Chief Marshal Sir Jock Stirrup and MoD Permanent Secretary Sir Bill JeffreyAdam spoke simply and sincerely (). but he was not prepared to break his promise to the people who had elected him. but household income would not. Do you laugh or cry? Alistair Darling helped the cause on Saturday by saying the Treasury would provide what resources are needed, to articulate something remotely relevant or inspirational and heard the contemptuous tut-tuts and worse. Ultimat

we at The Fix are BIG fans of political documentaries. Before "Diffrent Strokes, screen and television. having a second child in defiance of the government's strict one-child policy would have meant losing not only their jobs but also housing, discovery and exploration on a variety of programming without offering specific viewpoints. "Night of Exploration" is not Baldwins first NatGeo gig; he previously narrated the docus "Great Migrations, Fletcher is a national economics co

So far, In one of the complaints about the Odyssey, he called the court ruling a "back door way to gut the Voting Rights Act. The online retail giant was quick to push back at Greenpeace for flaws in their report. For instance, Kesselheim, the study did not look at the effectiveness of the drugs. saying the situation on the ground was too confusing." , Certainly, also dropped, Noel finally went to New Orleans with the next pick,The new report suggests that more than 46 million American