mount iphone

Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

mount iphone

Postby sk8harddiefast » 14 May 2010, 00:35

Hi. is it possible to mount my iphone (jailbroken) on my freebsd/amd64 ?
how to do that?
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby cmanns » 14 May 2010, 01:29

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.
cmanns
Junior Member
 
Posts: 21
Joined: 10 Dec 2008, 17:55

Postby Carpetsmoker » 14 May 2010, 01:33

My iPod nano can just be mounted as a FAT32 filesystem. Not sure how things work for the iPhone.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
User avatar
Carpetsmoker
Member
 
Posts: 904
Joined: 16 Nov 2008, 19:07
Location: Eindhoven, Netherlands

Postby sk8harddiefast » 14 May 2010, 01:45

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!
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby cmanns » 14 May 2010, 01:47

Plug in iPhone, check output of dmesg should show ya some info, let us know :-)
-cmanns Powered By FreeBSD
xenserv.com evilpuma.com
cmanns
Junior Member
 
Posts: 21
Joined: 10 Dec 2008, 17:55

Postby sk8harddiefast » 14 May 2010, 01:51

usbconfig
Code: Select all
ugen3.3: <iPhone Apple Inc.> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

dmesg give the same output
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby oliverh » 14 May 2010, 18:43

It's not possible, at least it's not as simple as "mount ..."

http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux/
http://marcansoft.com/blog/2009/10/iphone-syncing-on-linux-part-2/

So it seems it's rather impossible in FreeBSD. I'm using my touch together with a Mac.
What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations., Bill Joy
User avatar
oliverh
Member
 
Posts: 557
Joined: 16 Nov 2008, 19:21
Location: 127.0.0.1

Postby sk8harddiefast » 14 May 2010, 19:28

Ok. Just i wanted to put on my iphone some songs. Never mind. No problem. It's ok
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby phoenix » 14 May 2010, 20:56

Install [port]audio/libgpod[/port]. And then a music manager like [port]audio/amarok[/port] or [port]audio/gtkpod[/port]. Then you'll be able to transfer music to/from the iPod.
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby sk8harddiefast » 14 May 2010, 21:23

this work with iphone or only with ipod?
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby phoenix » 14 May 2010, 21:43

Should work with iPhone. It's the same protocol for all the i-products.
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby sk8harddiefast » 14 May 2010, 21:49

is only for music or also for images,photos etc?
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby phoenix » 15 May 2010, 13:27

Don't know. I don't have any i-devices (or any Apple hardware of any kind).
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby sk8harddiefast » 15 May 2010, 13:33

is not loading my iphone :(
====================================
| -------> [color="Blue"]UNIX[/color]. Live Free Or Die! <-------- |
====================================
[color="RoyalBlue"]You can say:[/color] I can't do something because is difficult.
[color="RoyalBlue"]You must say:[/color] I tried a lot before say that I can't.
Never Give up.
[color="Green"]http://unixsystems.dyndns.org/[/color]
[color="Sienna"]I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!
[/color]
Nice wallpapers to make your desktop more hardcore :) ---> [color="DarkOliveGreen"]http://forums.freebsd.org/showthread.php?t=13416[/color]
User avatar
sk8harddiefast
Senior Member
 
Posts: 1977
Joined: 01 Mar 2010, 00:47
Location: Athens, Greece

Postby oliverh » 15 May 2010, 14:26

phoenix wrote:Should work with iPhone. It's the same protocol for all the i-products.


It's similar, but it's not the same protocol, nor does it work via umass.

http://gtkpod.wikispaces.com/Hooking+Up+the+iPod

You can try it, but usually the newest firmware won't work.
What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations., Bill Joy
User avatar
oliverh
Member
 
Posts: 557
Joined: 16 Nov 2008, 19:21
Location: 127.0.0.1

Postby kenorb » 06 Dec 2010, 10:56

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 wrote:SVN rev 211104 on 2010-08-09 17:27:27Z by
Add entries for some devices I have locally.

Me too.

Code: Select all
> 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:)
> uname -a
FreeBSD kenorb 8.1-STABLE FreeBSD 8.1-STABLE #0: Tue Oct 19 15:28:55 BST 2010 root@kenorb:/usr/obj/usr/src/sys/BRO amd64
kenorb
Member
 
Posts: 330
Joined: 20 Oct 2010, 11:32
Location: London

Postby Pjoter » 06 Dec 2010, 15:15

kenorb wrote:NetBSD? That's why doesn't work! Lazy people:)


grrrrrrrrrrrrrr :)
Pjoter
Junior Member
 
Posts: 40
Joined: 15 Aug 2010, 12:36

Postby kenorb » 06 Dec 2010, 16:11

Tried this library:
http://www.libimobiledevice.org/

Step by step installation instruction:

Install usbmuxd library:
Code: Select all
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: Select all
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: Select all
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: Select all
> 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.
> uname -a
FreeBSD kenorb 8.1-STABLE FreeBSD 8.1-STABLE #0: Tue Oct 19 15:28:55 BST 2010 root@kenorb:/usr/obj/usr/src/sys/BRO amd64
kenorb
Member
 
Posts: 330
Joined: 20 Oct 2010, 11:32
Location: London

Postby devsebsd » 22 Aug 2011, 12:50

Is it possible for my iphone 4?
devsebsd
Junior Member
 
Posts: 1
Joined: 13 Jun 2011, 04:32

Postby draco003 » 02 Nov 2011, 00:30

I just downloaded all my Photos from my iPhone 3G

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

this command will list all the photos:
[CMD="#"]gphoto2 --camera 'Apple iPhone (PTP Mode)' -L[/CMD]

or use 3G instead:
[CMD="#"]gphoto2 --camera 'Apple iPhone 3G (PTP Mode)' -L[/CMD]

to download the photos:

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


reference: http://blog.brixandersen.dk/?p=72
OpenSource » OpenMind
ProjectAware.Org » Protecting our Ocean Planet - One Dive at a Time.
draco003.github.io » My FreeBSD, Web Dev, and Electronics Weblog.
Practice Practice Practice ...
User avatar
draco003
Junior Member
 
Posts: 58
Joined: 14 Sep 2011, 18:49
Location: District 7, Saturn

Postby mky » 24 Nov 2011, 20:01

Yesterday a new port was added to the ports tree, that may be interesting for this thread: [port]sysutils/fusefs-ifuse[/port]
mky
Junior Member
 
Posts: 32
Joined: 17 Nov 2008, 07:17
Location: Warsaw, Poland

Postby iamjapanesester » 30 Jan 2012, 13:36

I have to experiment with iPhone4s.
The result has been tried in my blog post.
As I also wrote earlier, and photo capture by usbmuxd PTP connection was possible. However, incorporation of music files I is not gotta like JB.

http://lists.freebsd.org/pipermail/freebsd-questions/2008-June/175902.html
iamjapanesester
Junior Member
 
Posts: 1
Joined: 30 Jan 2012, 13:28


Return to Peripheral Hardware

Who is online

Users browsing this forum: Google [Bot] and 0 guests