Page 1 of 3 123 LastLast
Results 1 to 10 of 22
Discuss How to backup and restore txt message to iphone outside of itunes? at the General - Hackint0sh.org; Is there a way of backing up text messages then restoring them to the iphone ...
  1. #1
    Rookie Array

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

    Default How to backup and restore txt message to iphone outside of itunes?

    Is there a way of backing up text messages then restoring them to the iphone outside of itunes and on a PC?

    The reason being, is I am having problems with some software, and I need to try reverting my phone to factory defaults, however doing this I will lose all my text messages.

    I know I can restore from a backup, but I belive there is somthing corrupt on my phone somewhere hence I want to go to a default state.

    So any ideas?

    Kimbie



  2. #2
    Professional Array thedp's Avatar

    Join Date
    Sep 2008
    Posts
    62
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    By text messages you mean SMS, right?

    If you have a jailbreak iPhone you can simply save the SMS database file and after you restore you can simply return it like nothing happened

    Here is the database location: /private/var/mobile/Library/SMS/sms.db.

    Before you restore your iPhone, write down the file's current permission settings, you will have to set the same permissions after you return the file.

    Make sure you return the file using the mobile user and not root!
    (mobile's password: alpine)

    This process was tested on iPhone firmware versions: 2.0.2 and 2.2.1

    Goodluck.

    iPhone 4G, 16GB, JailBreak.
    (and an old iPhone 2G with broken glass )
    Black iPod 5gen, 30GB.

  3. #3
    Speedy Administrator Array n350z's Avatar

    Join Date
    Nov 2007
    Location
    United Kingdom
    Posts
    3,021
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    As well as SSH you could also use something like DiskAid to grab the .db file

    DiskAid - Transfer Files betwen your Computer and your iPhone or iPod Touch. Disk Mode for your iPhone and iPod Touch.
    -
    Read the stickies and search the forum before posting!
    Did we solve your problem? +1 us above
    If you want to become a Hackint0sh supporter click here
    ----------
    Follow Hackint0sh Follow Me

  4. #4
    Rookie Array

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

    Default

    Quote Originally Posted by thedp View Post
    By text messages you mean SMS, right?

    If you have a jailbreak iPhone you can simply save the SMS database file and after you restore you can simply return it like nothing happened

    Here is the database location: /private/var/mobile/Library/SMS/sms.db.

    Before you restore your iPhone, write down the file's current permission settings, you will have to set the same permissions after you return the file.

    Make sure you return the file using the mobile user and not root!
    (mobile's password: alpine)

    This process was tested on iPhone firmware versions: 2.0.2 and 2.2.1

    Goodluck.
    Hi,

    I can jailbreak my iphone, that is no problem for me.

    So if I have a jailbroken iphone, what do I need to do? I have never used SSH before so while your steps make sense, I do not know how to put them into place

    So if you could help me with that, it would be much appricated

    Thanks

    Kimbie

  5. #5
    Professional Array thedp's Avatar

    Join Date
    Sep 2008
    Posts
    62
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    If you're planning to jailbreak your iPhone, you will have to go through a restore process... In other words you will lose all you data, and that includes the SMS database.

    So, before your jailbreak you iPhone for future use, I suggest you try n350z's recommended program: DiskAid.
    Never used it myself, but it says there: No jailbreak needed.

    As for the future, if you do jailbreak your iPhone:
    Using Cydia, install the OpenSSH server, and install on your PC/Mac some sort of an SSH client to transfer files through the WiFi connection. (On Windows I recommend WinSCP)

    Also see: iClarified - iPhone - How to SSH Into Your iPhone Using WinSCP (Windows)

    If you have more question, don't be a stranger

    Quote Originally Posted by n350z View Post
    n350z, as I said to Kimbie, I've never used DiskAid. Does it support file transfer to the iPhone and permission settings?

    From my personal experience, sms.db's permissions are critical!
    With the wrong permissions the mobile user (the regular iPhone user) won't be able write to the database, in other words, he will not be able to received any text messages, all incoming text messages will be silently dropped.

    iPhone 4G, 16GB, JailBreak.
    (and an old iPhone 2G with broken glass )
    Black iPod 5gen, 30GB.


  6. #6
    Rookie Array

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

    Default

    Thanks for getting back to me.

    So my plan is this.

    1. Take a backup in tunes.
    2. Jailbreak and put on SSHServer
    3. Use it to export the SMS database and check the permissions. I take it I can do this within SSH?
    4. Restore iphone to 2.2.1 firmware, and setup as new iphone.
    5. Jailbreak then install SSH
    6. Load on my contacts
    7. Restore the sms database and check security settings
    8. Check can send and recive and see old text messages

    That about right? Or have I missed out anything?

    Kimbie

  7. #7
    Speedy Administrator Array n350z's Avatar

    Join Date
    Nov 2007
    Location
    United Kingdom
    Posts
    3,021
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by thedp View Post
    If you're planning to jailbreak your iPhone, you will have to go through a restore process... In other words you will lose all you data, and that includes the SMS database.

    So, before your jailbreak you iPhone for future use, I suggest you try n350z's recommended program: DiskAid.
    Never used it myself, but it says there: No jailbreak needed.

    As for the future, if you do jailbreak your iPhone:
    Using Cydia, install the OpenSSH server, and install on your PC/Mac some sort of an SSH client to transfer files through the WiFi connection. (On Windows I recommend WinSCP)

    Also see: iClarified - iPhone - How to SSH Into Your iPhone Using WinSCP (Windows)

    If you have more question, don't be a stranger


    n350z, as I said to Kimbie, I've never used DiskAid. Does it support file transfer to the iPhone and permission settings?

    From my personal experience, sms.db's permissions are critical!
    With the wrong permissions the mobile user (the regular iPhone user) won't be able write to the database, in other words, he will not be able to received any text messages, all incoming text messages will be silently dropped.
    Hi bud

    No DiskAid doesn't allow permissions setting but personally I never had issues with simply dragging & dropping .db file on my Mac.

    I know from some experience that trying to open/read .db files with say notepad does screw things up sometimes.

    Still your advice is the best way for the OP
    -
    Read the stickies and search the forum before posting!
    Did we solve your problem? +1 us above
    If you want to become a Hackint0sh supporter click here
    ----------
    Follow Hackint0sh Follow Me

  8. #8
    Professional Array thedp's Avatar

    Join Date
    Sep 2008
    Posts
    62
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    Quote Originally Posted by Kimbie View Post
    Thanks for getting back to me.

    So my plan is this.

    1. Take a backup in tunes.
    2. Jailbreak and put on SSHServer
    3. Use it to export the SMS database and check the permissions. I take it I can do this within SSH?
    4. Restore iphone to 2.2.1 firmware, and setup as new iphone.
    5. Jailbreak then install SSH
    6. Load on my contacts
    7. Restore the sms database and check security settings
    8. Check can send and recive and see old text messages

    That about right? Or have I missed out anything?

    Kimbie
    1. Use DiskAid to backup the sms.db.
    2. Jailbreak the iPhone with the version you want (2.2.1).
    3. Using Cydia, install OpenSSH server.
    4. Connect the SSH server via WiFi, using the user: mobile Password: alpine
    5. Locate empty sms.db on the newly restored iPhone (after the jailbreak).
      If you can't find it, send an SMS and it will create it.
    6. Write down the current sms.db permissions on the iPhone.
    7. Now replace the empty sms.db with the backup.
    8. Set the permissions.
    9. Reboot the iPhone.

    And you're done.

    I suggest you read more about jailbreak before you attempt it.
    From what you wrote it sounds like you have no idea what is the jailbreak process.

    IMPORTANT NOTE:
    Restore erases everything.
    Last edited by thedp; 04-29-2009 at 05:16 PM.

    iPhone 4G, 16GB, JailBreak.
    (and an old iPhone 2G with broken glass )
    Black iPod 5gen, 30GB.

  9. #9
    Rookie Array

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

    Default

    Quote Originally Posted by thedp View Post
    I suggest you read more about jailbreak before you attempt it.
    From what you wrote it sounds like you have no idea what is the jailbreak process.
    Thanks for clarifying the procedure. I have jailbroken many an iphone, so I am aware of how to do it.

    Kimbie

  10. #10
    Professional Array thedp's Avatar

    Join Date
    Sep 2008
    Posts
    62
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    2. Jailbreak and put on SSHServer
    3. Use it to export the SMS database and check the permissions. I take it I can do this within SSH?
    4. Restore iphone to 2.2.1 firmware, and setup as new iphone.
    Can you please explain what did you mean by #4?

    iPhone 4G, 16GB, JailBreak.
    (and an old iPhone 2G with broken glass )
    Black iPod 5gen, 30GB.


 

 
Page 1 of 3 123 LastLast

LinkBacks (?)

  1. 02-25-2010, 06:10 AM

Similar Threads

  1. Replies: 8
    Last Post: 07-13-2009, 04:25 PM
  2. Replies: 37
    Last Post: 08-11-2008, 03:15 PM
  3. Replies: 6
    Last Post: 03-05-2008, 10:21 AM
  4. restore iphone backup via itunes?
    By asma123 in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 02-13-2008, 08:51 AM
  5. Replies: 2
    Last Post: 11-02-2007, 03:33 PM

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 03:13 PM.
twitter, follow us!