Results 1 to 3 of 3

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: write to preference file

  1. #1
    iPhone? More like MyPhone BoneCrif's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    111
    Thanks
    10
    Thanked 9 Times in 8 Posts

    Default write to preference file
    I can't figure out how to save the files in "/System/Library/PrivateFrameworks/Celestial.framework/".
    I can save files in "/var/mobile/Library/Preferences", but I can't save files to "/System/Library/PrivateFrameworks/Celestial.framework/" programatically.

    Is there any way where I can save a file to that directory without changing the permissions/owner/group of the file that I'm writing to. If there's no way to save to the file without changing those attributes, what must I do in order to save to files within that directory?
    Thanks

    8GB iPhone 2G
    3.1.2 - Unlocked and Jailbroken

    AMD Athlon 5000 Dual-Core 2.2GHz with 4.00 GB RAM
    Windows 7 Ultimate 64 bit

  2. #2
    What's Jailbreak?
    Join Date
    Feb 2009
    Location
    Viet
    Posts
    17
    Thanks
    5
    Thanked 0 Times in 0 Posts

    why don't you modify it on your computer, then use winscp to drag it to your directory on iPhone?

  3. #3
    iPhone? More like MyPhone BoneCrif's Avatar
    Join Date
    Apr 2008
    Location
    Utah
    Posts
    111
    Thanks
    10
    Thanked 9 Times in 8 Posts

    haha I know how to do that.
    But I need to modify a file that is in "/System/Library/PrivateFrameworks/Celestial.framework/" programatically. That means use an application to modify it and save it, instead of manually modifying it and then uploading it back.

    8GB iPhone 2G
    3.1.2 - Unlocked and Jailbroken

    AMD Athlon 5000 Dual-Core 2.2GHz with 4.00 GB RAM
    Windows 7 Ultimate 64 bit

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