SSHing sms.db in after update/renew on 2G iPhone?

Discussion in 'Jailbreaks and iOS Hacks' started by Gigamaster89, Jan 17, 2010.

  1. Gigamaster89 macrumors member

    Oct 1, 2008
    Will that work?

    I'm planing on restoring my iPhone as new (figure I might as well since I've had it for a while and never cleaned it) AND upgrading from 3.0.1 to 3.1.2. After doing so, can I SSH the old sms.db and have all my old SMS?

  2. apunkrockmonk macrumors 6502a


    Nov 20, 2005
    Rochester, NY
    I tried it once.

    All the messages were there but it wouldn't save new messages or something like that.

    If someone knows how to make it work I'd really like to know too.
  3. scottuf macrumors 6502

    Feb 2, 2009
    NPB, FL
    it works, done it many times. after copying the file in, you need to reset owner and permissions.

    chmod -R 0755 /var/mobile/Library/SMS
    chown -R mobile:mobile /var/mobile/Library/SMS

    same goes for call history, etc.

    problem is that ssh-ing it in makes the owner root, and owner needs to be mobile.
  4. Gigamaster89 thread starter macrumors member

    Oct 1, 2008
    How do I do the above on Windows?

  5. forum user macrumors regular

    Aug 28, 2008
    You don't , you ssh into your iPhone and run the chmod commands there. There is no windows inside your iPhone ;)

Share This Page