Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed

Outline · [ Standard ] · Linear+

 Pwnagetool/Quickpwn & "yellowsn0w" 3G Unlock, »2G/3G Fw 2.2.1 Unlocking&Jailbreaking«

views
     
sabahan62
post Dec 29 2008, 09:15 AM

Getting Started
**
Junior Member
58 posts

Joined: Jul 2006


Hi Sifus,

I need your help and I can't seem to find it anywhere here. I even tried google.

I recently upgraded my 2G FW1.1.4 to FW2.2. Before I Quickpwn, I backup all my data using SSH & WINSCP as mentioned on the 1st page of this thread:

<Before you proceed to JailBreak, please do a full backup with iTunes or manually backup your files with iPhone File Manager. (Only for Jailbroken iPhones)
Refer here for iPhone File manager recommendation: http://forum.lowyat.net/topic/779930
a) Contacts- var/mobile/Library/AddressBook/AddressBook.sqlitedb (contain the numbers) and AddressBookImages.sqlitedb (contain the contact pics)
b) SMS - var/Mobile/Library/SMS/SMS.db
c) Calender - var/mobile/Library/Calendar/Calendar.sqlitedb
d) Notes - var/mobile/Library/Notes/Notes.db
- Reboot your phone after SSH.
e) Photo Library - http://forum.lowyat.net/topic/687108/+360#entry21110268
f) Maps - var/mobile/Library/Maps (Bookmarks.plist, History.plist and Route.plist)>

The FW2.2 worked well and I transferred back all data.

All work well EXCEPT my contacts. When I copy the old contacts, the "owner" will change from "mobile" to "root" but the "rights" remains the same and after I restart my iphone, the old contacts is deleted and there is no contacts at all (the contacts remain like it was after I JB).

I have tried the following and failed: 1)I have tried giving permission to root thru BossPrefs (Fix User Dir Permission), 2) I have tried adding 1 new contact to the iphone before SSH to create a directory.

I don't know if this is relevant, I noticed that the file for me is "/private/var/mobile/Library/AddressBook/AddressBook.sqlitedb" with a "private" after root.

Appreciate if anyone can give me any useful advise. Thanks in advance.
sabahan62
post Dec 29 2008, 02:56 PM

Getting Started
**
Junior Member
58 posts

Joined: Jul 2006



Thank you forzzbyte to the rescue.

May I know how to set to 0700 (rights), mobile in owner and group? I checked under properties, all the options to change owner and group to mobile is gray out. Same for "AddressBook.sqlitedb" and "AddressBookImages.sqlitedb", also gray out.

This post has been edited by sabahan62: Dec 29 2008, 02:57 PM
sabahan62
post Dec 29 2008, 06:10 PM

Getting Started
**
Junior Member
58 posts

Joined: Jul 2006


QUOTE(frozzbyte @ Dec 29 2008, 03:18 PM)
Use Terminal/PuTTY and type this

chmod 0700 /private/var/mobile/Library/AddressBook
chown mobile:mobile /private/var/mobile/Library/AddressBook

chmod is used to change the rights while chown will change group and owner.

Do the same with "AddressBook.sqlitedb" and "AddressBookImages.sqlitedb" but substitute 0700 with 0644.
*
I tried your advise and it worked. It sure save a lot of time rebuilding my contacts.

Thanks a million to frozzbyte.

Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0418sec    0.32    7 queries    GZIP Disabled
Time is now: 7th December 2025 - 04:15 AM