+ Reply
Page 2 of 2 FirstFirst 12
Results 21 to 30 of 30
  1. #21
    iPhone? More like MyPhone DaMan05's Avatar
    Join Date
    Apr 2008
    Location
    Home of the HABS
    Posts
    147
    Thanks
    16
    Thanked 8 Times in 8 Posts

    Quote Originally Posted by codvisp View Post
    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 the file by any...
    To clarify further, all saves or changes (as an example of a save game file) has to be set as mobile to have access to the read & write...
    Do your received iMessages have a timestamp of the year 2042, by any chance?

  2. #22
    What's Jailbreak? anhvinhbeo's Avatar
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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

  3. #23
    What's Jailbreak?
    Join Date
    Aug 2010
    Location
    BAY AREA....
    Posts
    12
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by gusutabo View Post
    Hi,

    Yesterday I just tried to update my iPhone 4 4.3.3 (jailbroken with Jailbreakme) to iOS 5 but had some problems with corrupt iTunes backup and couldn't restore my old data back into iOS 5. Thankfully I had a manual backup of some of the most important files I had on the phone (address book and sms data) which I'm trying restore to iOS 5 now.

    When I migrated from iPhone 3G 3.1.2 to iPhone 4 4.1 I had a similar problem and just cutting and pasting the old files to the new OS (on /var/root/library/addressbook and /sms respectively) worked just fine.

    However, address book data used to consist of only two files: AddressBook.sqlitedb and AddressBookImages.sqlitedb. And SMS had only sms.db. However on iOS 5 there are three "versions" for each of those file (AddressBook.sqlitedb, AddressBook.sqlitedb-shm, AddressBook.sqlitedb-wal, AddressBookImages.sqlitedb, AddressBookImages.sqlitedb-shm, AddressBookImages.sqlitedb-wal, sms.sqlitedb, sms.sqlitedb-shm, sms.sqlitedb-wal)
    It seems the actual contacts/sms are storred on the .sqlitedb-wal files and not the .sqlitedb ones.

    Trying to replace the .sqlitedb files or renaming them to sqlitedb-wal and replacing doesn't work.

    Does anyone have any clues on how to proceed on this?
    Thanks!
    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.

  4. #24
    What's Jailbreak?
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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

  5. #25
    iPhone? More like MyPhone DaMan05's Avatar
    Join Date
    Apr 2008
    Location
    Home of the HABS
    Posts
    147
    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.

  6. #26
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    26
    Thanks
    8
    Thanked 5 Times in 1 Post
    Quote Originally Posted by DaMan05 View Post
    Do your received iMessages have a timestamp of the year 2042, by any chance?
    Nope all is well & 100% working with a correct date...

  7. #27
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    26
    Thanks
    8
    Thanked 5 Times in 1 Post
    Quote Originally Posted by benkapel View Post
    Can i just add a couple things

    - If you are stuck in the cycle where it keeps respringing automatically. Just delete the contents of SMS/ and then start the above process once booted AND BEFORE ANY APPS ARE LOADED

    - In my particular situation, i could restore the SMS database fine, and see all the messages, but when i tried to send one, or receive one, the phone would crash and wipe the database again. There is a point above that rebooting fixed this. However, my situation is also this, once restored, if i re-boot, the phone hangs on the lock screen, and then refreshes, with no SMS. So rebooting in my case, no matter what sequence i tried, with all the correct permissions, my database just wanted to wipe!

    If you find yourself in my situation, i used this free tool at iPhone SMS Database Merger for iOS 3.x and 4.x to merge my database to itself (i.e. used the same file for both). There were no duplicates, and it essentially re-wrote the database from scratch. As mentioned, group messages no longer appear as groups but as individual items, but ONLY for the group messages in the file. If you send a group message AFTER this process, it still does it, just the re-write merge process splits them up into individual conversations. (i can't see this being even a minute problem for anyone...can you??)

    Once the process was complete, i immediately backed up to iTunes, and now I can now restore from iTunes to any iPhone (4.x and 5.x JB or non JB) and it's perfectly fine.

    Obviously some people are having success with just dropping the old sms.db in, and that's good, but for anyone who's just, won't, work. Try the merger. I'm very happy that 4 years of SMS are still accessible by the phone.
    No need to man, if you're having this problem, just turn off iCloud! :P

  8. #28
    What's Jailbreak?
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by codvisp View Post

    1.Upon rebooting your iOS, don't open any app, especially the phone or contacts apps.
    2. Copy into /var/mobile/addressbook your AddressBook.sqlitedb and AddressBookImages.sqlitedb using iFile (since your using it...) and set the permissions of "Owner" for both of the copied files to "mobile" if it's set as "root".
    3. Respring
    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.

  9. #29
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    26
    Thanks
    8
    Thanked 5 Times in 1 Post
    Quote Originally Posted by Pr0ph3ts2 View Post
    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 Lincomatic's Blog | electronics, hacking, etc, 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!!


    The correct address is /Var/Mobile/Library/Addressbook and before you replace the files don't forget to TURN OFF iCloud...

  10. #30
    LHW
    LHW is offline
    What's Jailbreak?
    Join Date
    Apr 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by codvisp View Post
    No need to man, if you're having this problem, just turn off iCloud! :P
    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

+ Reply
Page 2 of 2 FirstFirst 12

LinkBacks (?)

  1. Today, 01:59 AM
  2. Yesterday, 12:29 PM
  3. 05-01-2012, 06:47 PM
  4. 04-19-2012, 06:56 PM
  5. 03-12-2012, 12:24 AM
  6. 02-20-2012, 01:25 AM
  7. 01-31-2012, 12:56 PM
  8. 01-24-2012, 06:17 AM
  9. 01-22-2012, 04:23 PM
  10. 01-21-2012, 04:55 PM
  11. 01-05-2012, 11:13 AM
  12. 01-05-2012, 10:47 AM
  13. 01-05-2012, 07:23 AM
  14. 12-30-2011, 03:06 AM

Posting Permissions

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