WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ifuse and mounting documents for individual apps  (Read 18567 times)

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
ifuse and mounting documents for individual apps
« on: March 09, 2013, 06:33:18 PM »
So I'm trying to use tinycore to manage content on my ipad. Specifically, I want to be able to mount an app's Documents folder so that I can copy stuff to the particular app. According to the wisdom of google, this should work:
Code: [Select]
tc@box:/tmp$ mkdir ipad
tc@box:/tmp$ ideviceinstaller -l | grep -i avplayer
AVPlayerHD.eplayworks.com - AVPlayerHD 1628
tc@box:/tmp$ ifuse ipad/ --appid AVPlayerHD.eplayworks.com
ERROR: the mount point specified does not exist
tc@box:/tmp$ sudo ifuse ipad/ --appid AVPlayerHD.eplayworks.com
ERROR: the mount point specified does not exist
tc@box:/tmp$

One thing that looks a little odd to me:
Code: [Select]
tc@box:~/Downloads/iThing$ ifuse --help
Usage: ifuse <mount_point> [OPTIONS]
Mount filesystem of an iPhone, iPod Touch, iPad or Apple TV.

  -o opt,[opt...] mount options
  -u, --udid UDID mount specific device by its 40-digit device UDID
  -h, --help print usage information
  -V, --version print version
  --root mount root file system (jailbroken device required)
  --debug enable libimobiledevice communication debugging

Example:

  $ ifuse /media/iPhone --root

  This mounts the root filesystem of the first attached device on
  this computer in the directory /media/iPhone.
This doesn't mention the appid option at all, whereas on ubuntu it does.

Not sure where to go from here.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11028
Re: ifuse and mounting documents for individual apps
« Reply #1 on: March 10, 2013, 04:48:31 AM »
Either an old version, or ubuntu carries a patched one?
The only barriers that can stop you are the ones you create yourself.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: ifuse and mounting documents for individual apps
« Reply #2 on: March 10, 2013, 06:01:04 AM »
Hi Curaga,

After reading your post I took a closer look at the versions we have in the repository (I originally thought we had the latest versions).

We need at least libimobiledevice 1.1, and ifuse rebuilt against it. I can't seem to get them to build and don't have the time to solve it myself, so I'll make another topic asking for updates.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: ifuse and mounting documents for individual apps
« Reply #3 on: March 11, 2013, 08:20:00 AM »
Is this the kind of thing you were expecting:
Code: [Select]
$ sudo usbmuxd

$ sudo mkdir /mnt/iphone
$ sudo ifuse /mnt/iphone
$ sudo ls /mnt/iphone
AirFair              ApplicationArchives  DCIM                 PhotoData            Purchases            Safari
Airlock              Books                Downloads            Photos               Recordings           iTunes_Control

$ sudo mkdir /mnt/iphone_test
$ ideviceinstaller -l | grep -i adobe
com.adobe.Adobe-Reader - Adobe Reader 73075

$ sudo ifuse /mnt/iphone_test --appid com.adobe.Adobe-Reader
$ sudo ls /mnt/iphone_test
Getting Started.pdf

iphone 3gs - ios-6.1.2
« Last Edit: March 11, 2013, 08:22:00 AM by Juanito »

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: ifuse and mounting documents for individual apps
« Reply #4 on: March 11, 2013, 02:40:46 PM »
Yes, that's what I was hoping for

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: ifuse and mounting documents for individual apps
« Reply #5 on: March 13, 2013, 01:52:01 AM »
updated extensions posted, now you can try for yourself  :)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: ifuse and mounting documents for individual apps
« Reply #6 on: January 25, 2014, 07:34:18 AM »
hi friends,

i noticed that these tools don't work with os7 anymore.
did someone find a solution?

thank you for all hints and suggestions.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: ifuse and mounting documents for individual apps
« Reply #7 on: January 25, 2014, 07:57:18 AM »
which version of tc? x86 or x86_64 repo?

Edit: with corepure64 v5.2 I get:
Code: [Select]
$ sudo ls /mnt/iphone
AirFair              Books                PhotoData            Radio                iTunes_Control
Airlock              DCIM                 Photos               Recordings
ApplicationArchives  Downloads            Purchases            Safari

..but mounting the device (iOS7.04) was not very straightforward - apparently linux has been placed on some kind of "not trusted" list for iOS7 and I had to make several tries at "do you trust this device - yes/no?" before it would mount.

Edit 2: What exactly do you want to do?
« Last Edit: January 25, 2014, 09:14:24 AM by Juanito »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: ifuse and mounting documents for individual apps
« Reply #8 on: January 25, 2014, 10:05:02 AM »
hi juanito,

i use x86 in the versions 4.7.7 and 5.2.
although i tried the mount-process many times, i had no success.

Quote
Edit 2: What exactly do you want to do?
i just want to get access to my photos without itunes :(

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: ifuse and mounting documents for individual apps
« Reply #9 on: January 25, 2014, 10:23:18 AM »
OK - I confirm I can access my photos on the iPhone.

The issue is going to be that this requires a more recent version of libimobiledevice, etc than those in the x86 repo, which might break other extensions - let me have a look...

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: ifuse and mounting documents for individual apps
« Reply #10 on: January 25, 2014, 03:27:49 PM »
hi juanito,

that would be really great!

thank you for your help and commitment.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: ifuse and mounting documents for individual apps
« Reply #11 on: January 26, 2014, 07:20:58 AM »
The issue is that ifuse and libimobiledevice would need to be updated the latest stable versions and/or git, which would break the libgpod and gtkpod extensions.

As far as I can see, gtkpod/libgpod are unlikely to catch up to ios7 any time soon, which means I would not be able to test the recompiled versions as I only have access to one iPhone, which is ios7.04.

Is anybody using libgpod/gtkpod that could test updated versions?

« Last Edit: January 26, 2014, 08:12:57 AM by Juanito »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: ifuse and mounting documents for individual apps
« Reply #12 on: January 26, 2014, 11:46:09 AM »
The issue is that ifuse and libimobiledevice would need to be updated the latest stable versions and/or git, which would break the libgpod and gtkpod extensions.
As far as I can see, gtkpod/libgpod are unlikely to catch up to ios7 any time soon, which means I would not be able to test the recompiled versions as I only have access to one iPhone, which is ios7.04.
Is anybody using libgpod/gtkpod that could test updated versions?
hi juanito,

i don't use libgpod/gtkpod, so i can't test for you.
sorry, but i only want to get my photos,
i only have access to one iphone, which is also ios7.04 :(

thank you for your help.
« Last Edit: January 26, 2014, 11:47:58 AM by netnomad »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14756
Re: ifuse and mounting documents for individual apps
« Reply #13 on: January 27, 2014, 05:00:03 AM »
updated versions posted - note that ifuse, libimobiledevice, libplist, libusbmuxd and usbmuxd all had to be compiled from git to be able to access ios7, whereas the usual preference is to use the latest stable versions.

Things seem to work best when you first load the extensions, unlock your iPad/iPhone/iPod and then connect it to the usb port (you should then get a "trust" message to which you need to answer "yes") - usbmuxd should start automatically and you just have to create a mount point and mount it with ifuse.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: ifuse and mounting documents for individual apps
« Reply #14 on: January 27, 2014, 01:58:14 PM »
hi juanito,

i succeeded with your help!!!

thank you for your contribution.