karan singh rajpoot
karan singh rajpoot

Reputation: 5411

How to access iPhone SMS db?

I am beginner in iPhone technology so i don't have much idea how to access iPhone SMS db?

Upvotes: 0

Views: 5790

Answers (4)

thundercats_nz
thundercats_nz

Reputation: 31

The easiest way is to make a backup of the iPhone in iTunes, then access the backup file location, explained here: https://support.apple.com/en-gb/HT204215

Once you are in the backup folder, you can search for the sms.db file by its hashed filename - 3d0d7e5fb2ce288813306e4d4636395e047a3d28 for sms.db

When you find the file, copy and paste the file somewhere else - you can rename the new copy sms.db if you want. It's a SQLite db so open in the editor of your choice. In theory you can edit the db, replace the original file in the backup and then restore it to your iPhone.

A list of other interesting files in the iTunes backup can be found here: https://www.iphonebackupextractor.com/blog/iphone-backup-location-all-files-extension/

Upvotes: 3

Ramu Pasupuleti
Ramu Pasupuleti

Reputation: 886

You can't access SMS db programmatically. There is no public API Provided by Apple.

Upvotes: 0

MVijayvargia
MVijayvargia

Reputation: 349

If you are working in JailBreak Phone,you can access the SMS by using this path :-

/private/var/mobile/Library/SMS/sms.db

Upvotes: 3

user2234547
user2234547

Reputation:

You can access iPhone database to access mobile library path and appending SMS.db file with that path you will get the access to iPhone SMS.

Upvotes: 3

Related Questions