diff options
author | Nikias Bassen | 2013-09-17 12:08:35 +0200 |
---|---|---|
committer | Nikias Bassen | 2013-09-17 12:08:35 +0200 |
commit | 2041ade72025c05d6d1d2f39c948a8442ea7ee61 (patch) | |
tree | c52fbac3ab62bb24353c5d036c164669fd3f7fe8 /stuff/README | |
parent | 48e18c703071170af8f0723ab24426eec0a39251 (diff) | |
download | libusbmuxd-2041ade72025c05d6d1d2f39c948a8442ea7ee61.tar.gz libusbmuxd-2041ade72025c05d6d1d2f39c948a8442ea7ee61.tar.bz2 |
added stuff directory from usbmuxd repo
Diffstat (limited to 'stuff/README')
-rw-r--r-- | stuff/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/stuff/README b/stuff/README new file mode 100644 index 0000000..290285d --- /dev/null +++ b/stuff/README @@ -0,0 +1,25 @@ +*** NOTE: +*** Doing this is mostly obsolete. The preferred method to sync music to an +*** iPhone now is to use ifuse or some other afc-based client, which does not +*** require jailbreaking or adding this service. Please take a look at the +*** libiphone, ifuse, and libgpod projects. + +com.openssh.sft.plist is a launchd configuration to set up a bare SFTP server +on TCP port 2299 localhost-only for USB use. It's nice for relatively fast music +syncing and file transfer under Linux (and it avoids encryption). Con: it gives +anyone with usb access root FS access on the phone, as well as anything running +on the phone itself. + +Use it with a command like this: + +IPATH=/var/mobile/Media +MOUNTPOINT=$HOME/media/iphone +$ sshfs localhost:$IPATH $MOUNTPOINT -o workaround=rename -o directport=2299 \ + -o kernel_cache -o entry_timeout=30 -o attr_timeout=30 + +Make sure you run tcprelay.py: +$ python tcprelay.py -t 2299 + +Remember that to bypass the stupid new iTunesDB hash you need to edit +/System/Library/Lockdown/Checkpoint.xml and change DBVersion to 2. + |