Apple's iPhone is probably the most-hyped gadget ever created but it is not problem free. Hopefully you don't need to look for free iPhone data recovery solutions, but if you would like to know how to bail out of a situation where your iPhone need to recover lost data after iOS 8/7.1/7update, jailbreak, factory reset, etc. then read on.
To recover iPhone, we have to use iPhone backup which was created when we backed up iPhone or synced iPhone with iTunes. Then we should get some knowledge as to where to look for it. Still we could free trial iPhone Data Recovery, which gives another data recovery choice.
Where iPhone backup stores depends on what OS you are running. Here's a table for your reference.
|OS||iPhone Backup Location|
|Windows XP||C:\Documents and Settings\user\Application Data\Apple Computer\MobileSync\Backup|
Obviously if your main drive is not C: then you'll have to change that, same goes for "user".
|Mac OS||~/Library/Application Support/MobileSync/Backup/|
For Mac OS the (~) symbol signifies your home directory, which is the same place all your other documents and information are stored.
Under the backup directory, you will see a directory which looks like a unique ID. Find files with the *.mdbackup extension. The .mdbackup files are the actual backups of all the applications and settings of your iPhone.
You can't view these files, because they are what Apple calls Binary plists. And to decrypt them, you ideally need a Mac and the utility called iphone-backup-decoder. Below are the steps for the command line version of this utility.
1. First make a copy of all the *.mdbackup files to the Mac and ran the following command to zero in on the files that actually had any useful data. Here is a search for the contact data.
AddressBook is the application that stores address book data on an iPhone. It is only named Contacts in the interface. When searched for that string in the backup files, you'll get three files as a result. Open the first file using a text editor. The word AddressBook is in the beginning of this binary file and it also mentions the database name, where all the data is stored.
So, we've got our database file. The decode iPhone utility will put it in the following folder structure:
We could open the database with the command: sqlite3 AddressBook.sqlite
The ABMultiValue tables lists all the phone numbers and a quick "select * from ABMultiValue" gave me the answer I was looking for. Now we finally know where all the data is. To collect all the data in a single place, I used the following SQL query.
Next use the following command on the sqlite prompt .output backup.txt Which could make the sqlite put all output into the backup.txt text file rather than the console. Ran the above select statement once again and I had all the phone numbers in a nice text file.
The above solution is quite helpful and interesting; however it does require some time and basic knowledge on SQL. We can't help wondering: Is there other ways to recover iPhone data? iPhone Data Recovery could be our second choice. Free download iPhone Data Recovery to see how it works to recover iPhone contacts, photos, text messages, notes, call history and other iPhone contents.
Additionally, iPhone Data Recovery supports to recover data from iPhone 5S, iPhone 5C, iPhone 5, iPhone 4S, iPhone 4 and other iPhone models. And we could just have it work on our Windows OS. No need to copy the backup to Mac. If you are looking for freeware data recovery on iPhone, have a try on it.comments powered by Disqus