Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Addressbook.sqlitedb and sms.db on iOS 5. Upgrading problems.
is a discussion within theGeneral
forums, a part of theJailbreak / Downgrading / Upgrading
section;Originally Posted by codvisp When the owner is root, effectively you prevent any (but root) from changing the file. Naturally, when you set it to mobile, changes are allowed to
...-
12-27-2011, 11:12 PM #21iPhone? More like MyPhone
- Join Date
- Apr 2008
- Location
- Home of the HABS
- Posts
- 150
- Thanks
- 16
- Thanked 8 Times in 8 Posts
-
12-28-2011, 01:59 PM #22
Just did with my 4.3.3 ==> 5.0.1
how to do it:
1. Delete everything from Addressbook/SMS
2. Copy over the old database
3. Change owner from "root" to "mobile"
4. Respring or reboot
-
12-28-2011, 06:04 PM #23What's Jailbreak?
- Join Date
- Aug 2010
- Location
- BAY AREA....
- Posts
- 12
- Thanks
- 6
- Thanked 0 Times in 0 Posts
You should check out a tool called iPhone Backup Extractor, it's incredibly useful if you're having trouble restoring your iPhone content (like contacts, sms, photos, etc) using an Itunes backup. It will simply extract all of the files for all those things, which you can then take and manually install into your newly updated iphone using winscp or iphonebrowser. Unfortunately, it costs money, though I believe they offer a free trial as well.
Another tool I'd suggest for people to checkout if they are looking for a good iphone explorer is a program called iSpirit. iSpirit accesses iDevices via USB, and has all the caveats that are available to WinSCP users. It's not a very widely known tool, but it is probably the best one i have used thus far.
It's a shame there still isn't a viable backup/restore tool to use when updating iOS firmware.
-
12-29-2011, 07:00 AM #24
Address Book database iOS 5.0.1
Hey guys,
I tried the same way you said and I still can't import my backup of address book, at least I managed Notes, SMS, calendar and photos
Please help me as the contacts are the most important
Thanks
-
12-29-2011, 09:34 PM #25iPhone? More like MyPhone
- Join Date
- Apr 2008
- Location
- Home of the HABS
- Posts
- 150
- Thanks
- 16
- Thanked 8 Times in 8 Posts
I can't help you with your problem, but in the future, wouldn't it just be easier to use iCloud, sync with your desktop, an Exchange server, Gmail or any of the other billion services there are that can backup your contacts?
Personally, I use my school's exchange server for syncing contacts, calendars and tasks/Reminders. I dunno what I would do if my laptop and phone didn't stay in sync constantly... especially the tasks.
-
12-30-2011, 01:11 PM #26
-
12-30-2011, 02:55 PM #27
-
01-16-2012, 05:20 AM #28
Hi codvisp,
I've followed carefully and exactly what you've mention. still no luck.
I'm running on ios 5. last updated from ios 4.3.3.
extracted AddressBook.sqlitedb from ios 4.3.3
jailbroken using redsn0w_win_0.9.10b3.
ssh into folders using ifunbox.
permission all set to "mobile"
tried a few permutations as follows:
1) as I do not have the folder "/var/mobile/addressbook", hence I created /addressbook folder and added in the 2 files. but alas, no sign of my old contacts.
2) tried copying AddressBook.sqlitedb and AddressBookImages.sqlitedb into addressbook that is found in /var/mobile/library/addressbook, respring, with apple loading screen, apparently, rebuilding the original files that have been overwritten.
3) tried deleting everything inside /var/mobile/library/addressbook, then copy the 2 old files into this folder, respring, no sign of my contacts.
4) using search, locate whatever /addressbook folder inside iphone, copy and paste the 2 old files into all the folders. still no sign of my contacts!!
I even went crazily googling and found this advise http://blog.lincomatic.com/?p=384, is it valid? as the date of the post seemed outdated given the fact that the current version of ios was released in november.
Should i do a clean restore and jailbreak, start all over again?
please help!!Last edited by Pr0ph3ts2; 01-16-2012 at 05:32 AM.
-
02-01-2012, 02:19 AM #29
-
04-14-2012, 12:34 PM #30
Hi codvisp,
I've been trying to solve the problem of missing SMSes using the methods you posted, but none of them helped.
I have an iPhone 3GS on iOS 5.0.0, jailbroken.
The problem started when i was trying to edit the sms.db using iFile, but I didn't save it though, I cancelled the changes. When I went back to the Messages app, all the messages disappeared.
I have tried your methods, other ppl's method but they all did not work. However, despite the fact that the messages are "missing" from the messages app, they can still be found when I used spotlight search.
btw, I have already turned off iCloud.
Do you know of any methods to help fix this problem?
Thx
-
06-22-2012, 11:37 AM #31
-
07-04-2012, 01:40 AM #32
-
07-04-2012, 02:24 AM #33
That's what I would like to achieve
Isn't it enough to just copy all subfolders from /var/mobile/Library/SMS (Attachments, Drafts, Parts)? I thought that SMS and iMessage data is is one place? Also I'm on 5.0.1 and would like to do a clean restore to 5.1.1 - do you think this may cause issues?
-
07-04-2012, 03:35 AM #34
yes in one place, but u have to set the right permissions for iMessage in order to function properly:
Using iFile or any other app go to /var/mobile/Library/SMS:
1. As always, for the 3 files sms.db, sms.db-shm and sms.db-wal:
Set the "Ownership" of Owner to mobile and Group to mobile. Also, "Access Permissions" of User: Read, Write - Group: Read and World: Read.
2. For the Attachments folder: Set the "Ownership" of Owner to mobile and Group to mobile. Also, "Access Permissions" of User: Read, Write, Execute - Group: Read, Execute and World: Read, Execute.
3. Go to /var/mobile/Library/SMS/Attachments, you will see plenty of folders and in each folder 2 image files, so apply the following for each and every file:
a. the named IMG_xxxx.jpg (which is the actual image): set the "Ownership" of Group to wheel
b. the named IMG_xxxx-preview-left.jpg (which is the thumbnail) should not be changed as it has to be mobile,mobile - Read, Write - Read - Read.
Hope this helps,
if you need any further help contact me directly through my twitter account: @codvispLast edited by codvisp; 07-09-2012 at 01:05 AM.
-
08-06-2012, 02:46 PM #35
I really need some help, and I apologize for hi-jacking a thread but it relates to this and seeing as you are offering. I hope you can help me. I have followed instructions to the T in backing up and restoring my SMS via SSH. I have set the correct permissions for all the files via iFile. Yet I am still running into issues. Everything works with the SMS app as it should, aside from one major issue. I cannot send or receive pictures since restoring my SMS via SSH.
Any help would be greatly appreciated, this is a huge problem for me. haha
-
03-20-2013, 12:33 AM #36
I wish I had known this earlier. I just updated from 4.2.3 on my 3GS to 6.1.2 and the evasi0n jailbreak worked perfectly. That was, of course, until I deleted the 6 empty Address Book files that come with iOS 6 and replaced them with the 2 Address Book files from iOS 4 and didn't change the permissions to "Mobile" before I opened the Address Book app.
Now, no matter what I do, I'm getting a black screen with the Apple logo and a progress bar that goes to 90% and gets stuck. Then, once it boots up, it flickers, and I can see the normal home screen in the background, and I can get into apps if I tap on it in a certain way, but's crazy annoying and time consuming.
I tried deleting the files and rebooting it to see if it would just populate the default Address Book files for iOS 6, but to no avail. It still gave me the same crazy screen.
I then tried to restore via the same 6.1.2 IPSW that I successfully restored it with the first time, but the fix that I used to fix the error I got when I tried to restore it the first time did not work the second time.
Here was the fix that worked for me the first time when I got the error: "This Device Isn't Eligible For The Requested Build":
Fix iTunes Error "This Device Isn't Eligible For The Requested Build" Restoring iPhone 3G, 3GS, 4 - YouTube
I can't upgrade to 6.1.3 for obvious reasons (evasi0n does not work on 6.1.3), and that's what is coming up for me in iTunes as of this afternoon.
Any ideas?
-
03-24-2013, 09:40 PM #37
I was able to upgrade to successfully to 6.1.2 via Sn0wbreeze in expert mode (NOT using hactivation) and iTunes.
Now I just need to get the raw iOS 4 files for Contacts/Address Book, Notes, SMS, Call History and Calendar converted to iOS 6. Does the above method that worked for iOS 5 also work for iOS 6?
If not, what method would you suggest for doing this? Please explain it in a step-by-step process.
Thanks!
-
04-07-2013, 04:02 PM #38
Weird: Auto-Recurring Resprings and Reboot result in Contacts AddressBook lost blank gone - Help!
This was the only thread that had something relevant to what I am looking for.
This weird thing happened:
- I was at a cafe working on something and since my iPhone 4 iOS 5.1.1b + Jailbreak was working a little slow I did a RESPRING.
- The damn thing kept on respringing and would not stop
i.e. I'd get the slide to open screen and once I'd slide it in a short time it would respring
- All attempts to shut it down etc or REBOOT failed
Then I remembered the way to hard boot using both Buttons (Home + Power) - Now when it came back up it was without SBSettings etc.
- I did a respring in hopes of having the SBSettings etc back and it it went back into respring loop
- Another hard reboot and I have it running
- Now when I open my Phone | Contacts they are all gone!
- The messages, Favorites, Recent calls with the numbers are all there - But the corresponding NAMES to those numbers are gone.
DAMN!!!
So next thing I did a Manual Backup - From the AddressBook folder using iFunbox
PS: But this AddressBook DB is SMALL - Possibly the empty one - Where can I find the other locations where my "PREVIOUS" BIG ADDRESS BOOK with all CONTACTS might be sitting? Some kind of INTERNAL BACKUP on the iPhone?Code:AddressBook.sqlitedb [4 KB] AddressBook.sqlitedb-shm AddressBook.sqlitedb-wal [262 KB] AddressBookImages.sqlitedb [38,352 KB] AddressBookImages.sqlitedb-shm AddressBookImages.sqlitedb-wal [3868 KB]
So in such a desperate space I tried to use similar tools -
- DiskAid - After a long wait, opened the Messages A
- After selecting CONTACTS it another long wait - It showed all the contacts - Damn! I was happy.. But when I did an export of ALL CONTACTS from DiskAid it crashed at some point.
So, apparently it was on the phone somewhere? Where?
How do I FIND and get that SQL DB copy for RESTORING my Contacts and AddressBook
??
Thoughts and ideas?
PS:
Other Facilities:
iCloud - I dont really use it - i.e. The only thing enabled on my iCloud account is "FindMyIphone"
iTunes Backup - I use this regularly but my last Backup is 34 days old and I'd like try and get back the AddressBook SQL DB before trying a Sync/ Restore from the iTunes Backup. (PS: If/ when I do go there, what steps should I take to sync)Last edited by crashnburn_in; 04-07-2013 at 04:19 PM.
LinkBacks (?)
-
06-03-2013, 09:41 AM
-
Solved: Problems importing manually backed up AddressBook and SMS folders - Tech Support Guy Forums
Refback This thread04-13-2013, 09:33 AM -
04-01-2013, 04:12 PM
-
Problems importing manually backed up AddressBook and SMS folders - Tech Support Guy Forums
Refback This thread04-01-2013, 03:49 PM -
iOS 6.1.3 just came out...can I still get my ATT approved factory unlock via 6.1.2?
Refback This thread03-29-2013, 09:38 AM -
Should I use Sn0wbreeze, Redsn0w, or Tiny Umbrella to re-restore my 3GS to 6.1.2 JB?
Refback This thread03-24-2013, 07:23 PM -
Untitled document
Refback This thread03-07-2013, 05:55 AM -
Untitled document
Refback This thread02-05-2013, 01:02 PM -
Untitled document
Refback This thread02-05-2013, 11:54 AM -
Come trasferire SMS e iMessage tra due dispositivi iOS | Guida | Beiphone - News, Recensioni e Guide su iPhone, iPad, iPodTouch, Mac, Cydia e jailbreak
Refback This thread02-01-2013, 01:40 AM -
How to transfer SMS and iMessage history between iOS devices — www.idownloadblog.com — Readability
Refback This thread01-30-2013, 10:06 PM -
01-30-2013, 09:24 AM
-
01-03-2013, 09:22 PM
-
08-07-2012, 11:16 AM
-
[iPhone] Is there any Cydia app to backup/restore SMS/voicemail? - MacRumors Forums
Refback This thread07-21-2012, 07:51 AM -
06-03-2012, 05:39 PM
-
05-26-2012, 01:59 AM
-
05-25-2012, 12:29 PM
-
05-01-2012, 06:47 PM
-
04-19-2012, 06:56 PM
-
03-12-2012, 12:24 AM
-
02-20-2012, 01:25 AM
-
Untitled document
Refback This thread01-31-2012, 12:56 PM -
01-24-2012, 06:17 AM
-
iOS 4.3.3 auf 5.0.1 - SMS Datenbank sichern und wiederherstellen funktioniert nicht - Druckversion
Refback This thread01-22-2012, 04:23 PM -
01-21-2012, 04:55 PM
-
iOS 4.3.3 auf 5.0.1 - SMS Datenbank sichern und wiederherstellen funktioniert nicht
Refback This thread01-05-2012, 11:13 AM -
iOS 4.3.3 auf 5.0.1 - SMS Datenbank sichern und wiederherstellen funktioniert nicht
Refback This thread01-05-2012, 10:47 AM -
Untitled document
Refback This thread01-05-2012, 07:23 AM -
Untitled document
Refback This thread12-30-2011, 03:06 AM




LinkBack URL
About LinkBacks
Reply With Quote