iTouch

Last-modified: 2010-10-09 (土) 09:02:36

package handling

These are similar to Ubuntu.

  • Install
    # dpkg -i /usr/local/src/パッケージ名
  • Package list
    -l [Package Name]
  • Show installed package contents
    -L Package Name
  • Show contents
    -c Package File
  • In order to show packages list correctly
    # export COLUMNS=150

I can use apt-get commands.
Downloaded packages are cached in '/var/cache/apt/archives'

Installed Applications()

  • Cydia
  • Installious
  • iComic
  • iFile
  • PreferenceLoader
  • SBSettings
    • SBSettings_Autolock
  • (Calc)
  • Console
  • RotationInhibitor
  • BigBoss Recommended Tools
  • OpenSSH(Newest!)
  • iKeyEx,5qwerty
  • iBunko
    • Zip files should be in ~/Applications/<GUID>/Documents/download/

Settings

  • Google Calender/Contacts
  • gMail

File positions

  • Safari bookmarks

    /Library/Safari/Bookmarks.plist

File Mechanism- Example of PList

Actual file is binary plist. Following file is converted by Mac plist editor.
&ref(): File not found: "Bookmark.xml" at page "iTouch";

Safari Bookmarklets

fileBookmarklets.xml

Safari Bookmark Generator

This php script converts URL list to Bookmarks.plist. This plist is NOT byte-coded.

<?php
$base = "<dict>\n<key>URIDictionary</key>\n<dict>\n<key></key>\n<string>%s</string>\n<key>title</key>\n<string>%s</string>\n</dict>\n<key>URLString</key>\n<string>%s</string>\n<key>WebBookmarkType</key>\n<string>WebBookmarkTypeLeaf</string>\n<key>WebBookmarkUUID</key>\n<string>%s</string>\n</dict>\n\n";
while(!feof(STDIN)){
 $line = fgets(STDIN,65536);
 $line = trim($line);
 if($line == '')
   continue;
 list($url,$title) = explode("\t",$line,2);
 printf($base,$url,$title,$url,uniqid());
}
?>

Usage:

Save above code with name "bookmark_conv.php" and type the following command.

php bookmark_conv.php < input.txt > Bookmarks.plist

Input:

URI[tab]title

Use unofficial (old) firmware packages

  • Press [restore] button on iTunes with Option button.

iPhoneDrive on Mac

iphonedisk - Project Hosting on Google Code
This program uses MacFuse. In order to access iPhone root dir("/"),

  1. Add to "/System/Library/Lockdown/Services.plist" (on iphone) following key.
    <key>com.apple.afc2</key>
    <dict>
     <key>Label</key>
     <string>com.apple.afc2</string>
     <key>ProgramArguments</key>
     <array>
      <string>/usr/libexec/afcd</string>
      <string>--lockdown</string>
      <string>-d</string>
      <string>/<string>
     </array>
    <dict>
    afc2add (iphone application) does the same thing.
  2. Rewrite "/Library/LaunchAgents/org.thebends.iphonedisk.mobile_fs_util.plist" (on Mac).
    Rewrite "com.apple.afc" to "com.apple.afc2" and restart your computer.

Install openiboot

  • $ git clone git://github.com/planetbeing/iphonelinux.git
  • # toolchain/build-toolchain.sh make
  • $ PLATFORM=IPOD make openiboot.img3
    (If errors related to radio or als occurs, delete programs between #ifndef CONFIG_IPOD ... #endif)
  • $ cd openiboot/client && make
    (At this point, some packages are required. Please see Makefile and apt-get them.)
  • Connect your iPod touch in recovery mode.
  • # client/loadibec openiboot.img3
    (It is said that if selection isnt shown, try to crack with blackra1n. To do so, at first, downgrade itouch to 3.1.2)

参考:http://wiki.github.com/planetbeing/iphonelinux/openiboot-installation