Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
12-27-2011, 11:12 PM #21
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 #23
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 #24Address Book database iOS 5.0.1
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
12-29-2011, 09:34 PM #25
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
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?
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
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?
06-22-2012, 11:37 AM #31
07-04-2012, 01:40 AM #32
07-04-2012, 02:24 AM #33
07-04-2012, 03:35 AM #34
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: @codvisp
Last 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.
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.
04-07-2013, 04:02 PM #38
Weird: Auto-Recurring Resprings and Reboot result in Contacts AddressBook lost blank gone - Help!
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.
So next thing I did a Manual Backup - From the AddressBook folder using iFunbox
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?
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.
04-02-2014, 03:42 AM #39
Hi, I was redirected to this thread by Apple Community forums. I am looking for a way to back up and if possible restore my iPhone text messages (sms and imessage) from my current jailbroken iphone 4s to a jailbroken iphone 5. I'd not resort to using itunes as this will remove the jailbreak from both devices i understand?
04-04-2014, 09:02 AM #40