Skip to Content

Free TUAW iPhone app -- try it now!
AOL Tech

notes.db posts

Filed under: How-tos, Software Update, iPhone

HowTo: Restoring your iPhone Notes from a Mac

If your notes got wiped during a recent firmware upgrade, here are some steps that may help you recover them. Warning: Hacking expertise for this exercise is rated "high" to "severe".
  1. Install Apple Dev tools if they're not already on your computer.
  2. Copy this to your Mac, name it dbextract, make it executable, and add it to your path somewhere.
  3. Navigate to ~/Library/Application Support/MobileSync/Backup.
  4. List all folders chronologically, i.e. ls -lt
  5. Go into the newest folder and run dbextract against the mdbackup files in that folder: i.e. dbextract *.mdbackup
  6. Examine the extracted database files. Open them if needed in sqlite3 and .dump their contents. If they have your content, great. If not, go to the next folder in chronological order and repeat.
  7. Once you find the notes.db file you're looking for, scp or sftp it over to your iPhone and place it into /var/root/Library/Notes.

Tip of the Day

To get an instant map to any address, just go to your Address Book and right click on the address field of any one of your contacts and select "Map Of." The address will then be revealed in Google Maps on Safari. You can do the same if a data detector determines there is an address in an e-mail in Mail.


Follow us on Twitter!
 TUAW [Cafepress]

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

More Apple Analysis

AOL Radio TUAW on Stitcher