Page 1 of 2 12 LastLast
Results 1 to 10 of 13
Discuss [2.1]Restore SMS at the Quickpwn - Hackint0sh.org; I recently QuickPwned my iPhone as there was a lot of space being taken up ...
  1. #1
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    243
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    21

    Default [2.1]Restore SMS

    I recently QuickPwned my iPhone as there was a lot of space being taken up by "Other" due to me restoring a previous profile. Before Pwning I saved a copy of the sms.db file on my harddisk using WinSCP. Now when I try to copy it back and open it on my iPhone, it simply crashes and returns to Springboard. It creates a new blank sms.db file where I just put mine. What is going on?



  2. #2
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by Kasakato View Post
    I recently QuickPwned my iPhone as there was a lot of space being taken up by "Other" due to me restoring a previous profile. Before Pwning I saved a copy of the sms.db file on my harddisk using WinSCP. Now when I try to copy it back and open it on my iPhone, it simply crashes and returns to Springboard. It creates a new blank sms.db file where I just put mine. What is going on?
    SFTP into the iPhone, goto
    /private/var/mobile/Library/
    and delete the complete directory SMS. Start the SMS app on the iPhone then and send one sms. SFTP into the iPhone then, goto
    /private/var/mobile/Library/SMS/
    and replace the sms.db in there with the one you have on your PC. Once done immediately restart the iPhone (holding start/sleep -> red slider to shut off -> restart). Will work then.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2

  3. #3
    Senior Professional Array

    Join Date
    Sep 2007
    Posts
    243
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    21

    Default

    Quote Originally Posted by volkspost View Post
    SFTP into the iPhone, goto
    /private/var/mobile/Library/
    and delete the complete directory SMS. Start the SMS app on the iPhone then and send one sms. SFTP into the iPhone then, goto
    /private/var/mobile/Library/SMS/
    and replace the sms.db in there with the one you have on your PC. Once done immediately restart the iPhone (holding start/sleep -> red slider to shut off -> restart). Will work then.
    Followed exactly to the word, however upon reboot it returns me to no SMSs.

  4. #4
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by Kasakato View Post
    Followed exactly to the word, however upon reboot it returns me to no SMSs.
    It should. Did you check the file sms.db, does it contain sms? If you have Firefox running there is an add-on called SQLite Manager, install it and you can open, edit the database.
    If data is in I would give it one more try. I have done this so many times it always worked for me.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2

  5. #5
    Newbie Array eric1122's Avatar

    Join Date
    Nov 2008
    Location
    Hertfordshire, U.K
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    After you have deleted the sms folder in /private/var/mobile/Library you need to restart your iphone the normal way (holding start/sleep -> red slider to shut off -> restart). then send the text. then go back into /private/var/mobile/Library/SMS/ and rename the sms.db file to sms.db.backup or sms.db.original incase anything goes wrong, you have that file there. then copy & paste the backed up sms.db file to the same location. Viola!


  6. #6
    Senior Professional Array

    Join Date
    Feb 2008
    Posts
    290
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    21

    Default

    I am on 2.2 and cant find the SMS DB in the location being disused ?

  7. #7
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default

    Quote Originally Posted by wnjunkie View Post
    I am on 2.2 and cant find the SMS DB in the location being disused ?
    If it had been after a fresh install or restore, you wont find the file. Just send one sms and all will be created by the iPhone.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2

  8. #8
    Newbie Array

    Join Date
    Apr 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hi there!

    Ive got exactly the same problem:

    1. I connect via ssh to my iPhone and overwrite my sms.db with my sms.db backup.
    2. I restart my iPhone.
    3. No sms at all. My sms.db backup has been overwritten with an empty sms.db.

    Firmware 2.2.1.

    Any ideas?

  9. #9
    Newbie Array

    Join Date
    Apr 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Ive just found the problem.

    My backed up sms.db has been created with the iPhone FW 3.0 beta 3. And thats the problem. FW 2.2.1 or older doesnt seem to be able to read an sms.db made with FW 3.0.

    Cheers

  10. #10
    Rookie Array

    Join Date
    Apr 2008
    Posts
    21
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by davedave View Post
    Ive just found the problem.

    My backed up sms.db has been created with the iPhone FW 3.0 beta 3. And thats the problem. FW 2.2.1 or older doesnt seem to be able to read an sms.db made with FW 3.0.

    Cheers
    THERE WE GO!!

    I feel like such an idiot now, i was trying for the past hour and was wondering why it wouldnt work!


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Unable to exit restore (TinyUmbrella) or restore from ipsw
    By druid11 in forum iOS 4.x (iPhone OS 4.x)
    Replies: 1
    Last Post: 10-20-2011, 04:06 AM
  2. Replies: 11
    Last Post: 10-27-2010, 11:45 PM
  3. Replies: 8
    Last Post: 10-20-2009, 04:30 PM
  4. Replies: 0
    Last Post: 07-20-2008, 03:20 PM
  5. [Problem][Restore Mode] iPhone wont restore
    By ipicazo08 in forum General
    Replies: 7
    Last Post: 05-08-2008, 01:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 11:54 AM.
twitter, follow us!