Results 1 to 2 of 2

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


Thread: Accessing sms.db

  1. #1
    Question Accessing sms.db
    Hello all,
    My iPhone is jailbroken and I'm trying to access sms.db. I'm having trouble reading the SMS directory. The following call returns false:

    Code:
    [fileManager fileExistsAtPath:@"/private/var/mobile/Library/SMS"]
    While the the following call returns true:

    Code:
    [fileManager fileExistsAtPath:@"/private/var/mobile/Library"]
    Also the following call gives a Cocoa 257 error which has to do with read file permissions (I think):

    Code:
    [fileManager contentsOfDirectoryAtPath:@"/private/var/mobile/Library/SMS" error:&error]
    I've tried changing the SMS directory to chmod 0777, but that doesn't seem to help. Is there anything I'm doing wrong? Thanks!

  2. #2
    i am on a mac and i use Transmit or cyberduck to ssh into the phone u can also use idsk i then copy the sms.db to my comp and access it using SQLite Database Browser 2.0 b1 to view the messages. you can also use phone view to view your sms messages or you can use SMS2mailto email yourself the sms to yourself. good luck

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