Results 1 to 7 of 7

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: "import" sms.db and notes.db on FW3.0?

  1. #1
    Default "import" sms.db and notes.db on FW3.0?
    When I upgraded from FW2.2 to FW3.0 I ended up wiping my iPhone completely, and also reinstalling iTunes (and thus wiping all the backups).

    I have the original sms.db and notes.db from my 2.2 iPhone.

    Does anyone know how to get those databases back on my FW 3.0?

    I tried copying the files, no go.
    Tried opening the files in a SQLite editor, adding whatever information was missing from the old to the new db, but that didn't work either

  2. #2
    yeah i cant get notes to work either they wont save

  3. #3
    - After upgrading make a new note
    - Overwrite the notes.db file with your old notes.db
    - Set owner to "mobile"

    Tried it on 2 iPhones (2G and 3G) and it works 100%


  4. #4
    Livin the iPhone Life
    Join Date
    May 2008
    Posts
    8,021
    Thanks
    102
    Thanked 789 Times in 731 Posts

    Yea, the problem is most likely permission and/or ownership issues. The best way to be sure, it to add a note and contact, then check their permissions/owner. Replace with your backups and set the same.

  5. #5
    iPhone? More like MyPhone DaMan05's Avatar
    Join Date
    Apr 2008
    Location
    Home of the HABS
    Posts
    150
    Thanks
    16
    Thanked 8 Times in 8 Posts

    I don't care too much for my notes, but can anyone confirm a 2.x sms.db working on 3.0???

  6. #6
    yes, i can confirm.

    SSH in to your iPhone, delete the /private/var/mobile/Library/SMS/sms.db and sms-legacy.db files.
    Upload your 'backup' sms.db and set owner to mobile (via WinSCP, command, open in terminal; or use putty).
    Use the following command:

    Code:
    chown mobile: sms*
    Reboot your iPhone and send an sms. It'll fail and give the option to re-send. It'll work after that.
    the sms-legacy.db file is re-created after that.

  7. The Following User Says Thank You to selder For This Useful Post:

    DaMan05 (2009-06-26)

  8. #7
    iPhone? More like MyPhone DaMan05's Avatar
    Join Date
    Apr 2008
    Location
    Home of the HABS
    Posts
    150
    Thanks
    16
    Thanked 8 Times in 8 Posts

    i will try this when i upgrade soon and post back. thanks so much

    have you tried the notes.db or the call_history.db?

    If this doesnt work, I plan on backing up with itunes,
    restoring to 3.0
    trying this method and if it doesnt work,
    restoring the backup
    and copying the new 3.0 .db's out and re-restoring to 3.0 if i want to

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •