imobiledevice iPhone iPad tools for Fatdog 64

Miscellaneous tools
Post Reply
Message
Author
paulski
Posts: 130
Joined: Fri 06 Oct 2006, 15:30
Location: Cologne, Germany &/or Perth, Australia

imobiledevice iPhone iPad tools for Fatdog 64

#1 Post by paulski »

I got given an old iPhone 3Gs
Hated the idea of getting into Win to do itunes and the like.
Distros like ubuntu have libimobiledevice built in.
Lean and fast distros like puppy and derivatives don't, but it is still possible to connect your i device.

Here is how I did it.

I compiled the needed libraries direct from source.
The following are rough and ready pets built in Fatdog 621
NOT thoroughly tested -feel free to note problems
Note - full bloatware with all the usual manuals docs etc.
UNTRIMMED

Disclaimer: Apple don't officially support anything along the lines of Linux connections to iOs devices
Do all this at your own risk.

Pets
fuse 2.9.3...64bit
https://app.box.com/s/zdxf9dax6ahdqsj0n1mr7axahjz2w1mm

libideviceactivation-1.0.0 64 bit
https://app.box.com/s/8wxptg90o5gm094typ3icbl81p6775tf

libimobiledevice-1.2.0 64 bit
https://app.box.com/s/4pddm190mqz33bjzntfxvfs1zijk615l

libplist-1.12 64 bit
https://app.box.com/s/kfvqjoyfbjdh91cbt1eg2ktzr2csqxdp

libtasn1-4.4 64 bit (not sure but slackware needs it, perhaps we do too)
https://app.box.com/s/mmgqg7qcsqec807vjy121pb7zuoh1rip

libxml2-2.9.0 64 bit (a dependency for something)
https://app.box.com/s/tcvxyonwgwfjksc4jiyh

usbmuxd-1.1.0 64 bit
https://app.box.com/s/mzlt4k2gtf1nn9tfigd87ya3bdvt6vk3


ifuse-1.13 64bit
https://app.box.com/s/1ak7ida4ecccwlrrfx1e5q1z95gduixy

How I got my iPhone 3GS to connect


First install the pets
Reboot just incase one of the scripts needs initialization

Plug in with usb cable
iphone beeps

in console type:

Code: Select all

modprobe fuse
usbmuxd
(iPhone will beep again)

Code: Select all

idevice_id -l
I will look something like:

Code: Select all

# idevice_id -l
9044034168c02317770c42##########f3ff4fbf
This is your UDID number
grab it (for this a copy and paste terminal like roxterm is a great help)

make a directory as a mountpoint

Code: Select all

mkdir /mnt/iphone
then mount it with ifuse

Code: Select all

ifuse /mnt/iphone -u ###YOUR-UDID-HERE####

then you should be in. Time to go a browsing your iPhone

Note:
Copying from your computer to the idevice won't be visible to the idevice user although the file is present, because its not registered in the complicated i-databases and the like that underly the entire i-world where users have little to think about in terms of file structure. To upload to your idevice you need something a program that speaks "fruiteese".

to unmount

Code: Select all

fusermount -u /mnt/iphone
(make sure you are in the right directory- one level above the mount point)

I don't think you need ifuse for this one to back up the iphone to a folder

Code: Select all

idevicebackup2 backup /yourbackupdirectory/
There are heaps more tools in there to use to unlock the mess of files you get by a backup, and of course restoring from a backup and more.

This link was helpful
https://santoku-linux.com/howto/mobile- ... toku-linux

I'm sure there is a neater way to work with all this but hopefully you have a start here.

Edit: A few more tips -no need for itunes
I'm still fighting to get amarok, clementine or rhythmbox running in a recent puppy to get multimedia files transferred. Nevertheless there is a workaround

This link gave me some great clues:
http://blog.xenodesystems.com/2014/03/h ... evice.html

On your idevice get the free app Oplayer lite
On your puppy enable samba
(e.g. on Fatdog - control panel - manage servers and services - both ticks on samba -then reboot)
Once this is enabled there should be a samba share somewhere.
Have both the iphone and your puppy computer in the same Wifi network.

In Oplayer under file servers and auto discovery my fatdog computer appears:
eg:
"fatdog64-myfatdog-SMB"
(you may be prompted for a password - I didn't need one as I was using a non-root area of my fatdog install)

click on it then you get
"data"

doing well, click again
now you have a listing of /root/spot/downloads or /mnt/home/downloads/ (or similar samba shared folder) from your computer (should you recognize it)

Great! From here you can place your media files and get them from your computer onto the iPhone without itunes.

I've also found certain file explorer apps work well with Samba shares
e.g. "FileExplorer"


....
Should it help here are some working GtkPod and Libgpod pets for handling your audio files.

(not the latest versions as they require GTK3. Gtkpod 1.0 uses GTK2 and I need it to work with my 2g ipod nano too, hence the libgpod 0.7.90)

gtkpod-1.0-x86_64.pet
(Compiled and built using libgpod-0.7.90 - best compatibility with some older Apple ipods and other i devices)
Link:
https://app.box.com/s/g98aqv4j46i22k0x8lo3as51419j79ip
libgpod-0.7.90-x86_64.pet
Link:
https://app.box.com/s/w0zz008wlumkn5lfx9vr40kdrldwd9pq

Post Reply