mount iphone

I'm sure you can SSH to it and edit files like that.

Mounting to it would require some sort of software on the iPhone I'm sure.
 
my usb see it but how to try to mount something that i don't know what device is on /dev?
i check /dev but nothing helps!
 
usbconfig
Code:
ugen3.3: <iPhone Apple Inc.> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
dmesg give the same output
 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/usbdevs.diff?r1=1.479;r2=1.480;f=h
Added:
product APPLE IPOD_TOUCH 0x1291 iPod Touch
product APPLE IPHONE_3GS 0x1294 iPhone 3GS
product APPLE IPHONE_4 0x1297 iPhone 4
product APPLE IPAD 0x129a iPad

gavin said:
SVN rev 211104 on 2010-08-09 17:27:27Z by
Add entries for some devices I have locally.
Me too.

Code:
> head /usr/src/sys/dev/usb/usbdevs
$FreeBSD: src/sys/dev/usb/usbdevs,v 1.421.2.65 2010/11/29 03:38:40 thompsa Exp $
/* $NetBSD: usbdevs,v 1.392 2004/12/29 08:38:44 imp Exp $ */
...
/*-
 * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
 * All rights reserved.
 *
 * This code is derived from software contributed to The NetBSD Foundation
NetBSD? That's why doesn't work! Lazy people:)
 
Tried this library:
http://www.libimobiledevice.org/

Step by step installation instruction:

Install usbmuxd library:
Code:
wget http://marcansoft.com/uploads/usbmuxd/usbmuxd-1.0.6.tar.bz2
tar xvfj usbmuxd-1.0.6.tar.bz2 && cd usbmuxd-1.0.6/
mkdir build && cd build && cmake .. && sudo make install

Install libplist library:
Code:
wget --no-check-certificate http://github.com/downloads/JonathanBeck/libplist/libplist-1.3.tar.bz2
tar xvfj libplist-1.3.tar.bz2 && cd libplist-1.3
mkdir build && cd build && cmake .. && sudo make install

Install libimobiledevice library:
Code:
wget http://www.libimobiledevice.org/downloads/libimobiledevice-1.0.4.tar.bz2
tar xvfj libimobiledevice-1.0.4.tar.bz2 && cd libimobiledevice-1.0.4
> ./configure LDFLAGS="-L/usr/local/lib/"
> sudo make install

Install ifuse:
Code:
> wget http://www.libimobiledevice.org/downloads/ifuse-1.0.0.tar.bz2
> tar xvfj ifuse-1.0.0.tar.bz2 && cd ifuse-1.0.0
> ./configure
checking for libimobiledevice... configure: error: Package requirements (libimobiledevice-1.0 >= 1.0.0) were not met:
No package 'libimobiledevice-1.0' found
> /usr/local/bin/pkg-config --errors-to-stdout --print-errors 'libimobiledevice-1.0 >= 1.0.0'
Currently stopped here. Maybe another time.
 
I just downloaded all my Photos from my iPhone 3G

connected it as a PTP camera, then used graphics/gphoto2 to download the photos.

this command will list all the photos:
# gphoto2 --camera 'Apple iPhone (PTP Mode)' -L

or use 3G instead:
# gphoto2 --camera 'Apple iPhone 3G (PTP Mode)' -L

to download the photos:

# cd /to/download/path/ && gphoto2 --camera 'Apple iPhone 3G (PTP Mode)' -P


reference: http://blog.brixandersen.dk/?p=72
 
I just downloaded all my Photos from my iPhone 3G

connected it as a PTP camera, then used graphics/gphoto2 to download the photos.

this command will list all the photos:
# gphoto2 --camera 'Apple iPhone (PTP Mode)' -L

or use 3G instead:
# gphoto2 --camera 'Apple iPhone 3G (PTP Mode)' -L

to download the photos:

# cd /to/download/path/ && gphoto2 --camera 'Apple iPhone 3G (PTP Mode)' -P


reference: http://blog.brixandersen.dk/?p=72
Worked perfectly for my iphone 7 and freebsd 11. Finally I can download my photos
 
Described method with gphoto2 works, but causes I\O errors and is not handy. Here is what works much better for me:

# Attach iphone
pkg install fusefs-gphotofs
kldload fuse
gphotofs /mnt
# Make sure you've allowed device access (unlock device and tap)
ls /mnt
# you should see something like: store_00010001
mount -t fusefs
cd /mnt/store_00010001
...
 
Described method with gphoto2 works, but causes I\O errors and is not handy. Here is what works much better for me:

# Attach iphone
pkg install fusefs-gphotofs
kldload fuse
gphotofs /mnt
# Make sure you've allowed device access (unlock device and tap)
ls /mnt
# you should see something like: store_00010001
mount -t fusefs
cd /mnt/store_00010001
...

Thanks for that, the gphoto2 used to work perfectly till very recently, I started having lots of IO errors like you. It is good to keep this thread up todate :)
 
Back
Top