Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot mount iBooks and Files app contents on Linux #58

Open
technusm1 opened this issue Nov 28, 2019 · 8 comments
Open

Cannot mount iBooks and Files app contents on Linux #58

technusm1 opened this issue Nov 28, 2019 · 8 comments

Comments

@technusm1
Copy link

Hi,
I followed this guide for connecting to my iPad from Linux: https://wiki.archlinux.org/index.php/IOS

Installed all the required packages, and I'm able to mount VLC app documents folder using the command:
ifuse --documents org.videolan.vlc-ios ~/vlc_mnt
Unmounting works fine as well.
I looked up the package names using the following command:
ideviceinstaller -l -o list_all
And, tried to do the same for iBooks app:
ifuse --documents com.apple.iBooks ~/ibooks_mnt
This command yields an error: ERROR: InstallationLookupFailed
I get the same error, if I try mounting the Files App (com.apple.DocumentsApp).

Am I doing something wrong here? Is there a different process to be followed for system apps?

I'm using iPadOS 13.2.2 and using the 10.5" iPad Pro 2017. Please do tell if any more information is needed.

Thanks

@igo95862
Copy link

Arch Wiki page was outdated. I updated it. See if following new steps will resolve the issue. (worked for me)

@anotherbugmaster
Copy link

Same issue here, can't mount iBooks. Also, ls in mounted vlc-ios gives me Input/Output error.

@zefr0x
Copy link

zefr0x commented Nov 16, 2021

Same issue here, it seems to happen when i'm opining Dolphin. I tried to close Dolphin and every thing goes will with the Konsole, but as soon as I open Dolphin both of them freeze and after a while i will get Input/Output error when using ls.

I thugh it is a bug in Dolphin but i tried with Thunar and it produces the same issue and it gave me an Input/Output error massage.

I expect thet it's a bug in gvfs-afc it self or when it interact with ifuse. I don't know any thing about it other than what is mentioned in the arck wiki.

@nsklaus
Copy link

nsklaus commented Feb 2, 2022

same problem here. in my usecase i wanted to be able to mount ios files.app space on linux to transfer documents there so that could access them from files.app later on.
i get the 'Input/Output error as well as the 'InstallationLookupFailed too

[ klaus ]
$ ifuse --list-apps                               
"CFBundleIdentifier","CFBundleVersion","CFBundleDisplayName"
"org.videolan.vlc-ios","375","VLC"
[ klaus ]
$ ifuse --container  org.videolan.vlc-ios ~/iphone
ERROR: InstallationLookupFailed
The App 'org.videolan.vlc-ios' is either not present on the device, or the 'UIFileSharingEnabled' key is not set in its Info.plist. Starting with iOS 8.3 this key is mandatory to allow access to an app's Documents folder.
[ klaus ]
$ ifuse --documents  org.videolan.vlc-ios ~/iphone
[ klaus ]
$ ls -l 
total 68K
drwxr-xr-x  2 klaus klaus 4,0K 24 nov.   2020 Desktop
drwxr-xr-x  5 klaus klaus 4,0K 28 oct.  20:12 Documents
drwxr-xr-x  2 klaus klaus   64 30 janv. 20:24 iphone
drwxr-xr-x  2 klaus klaus 4,0K 28 oct.  22:02 Pictures
[ klaus ]
$ cp ~/Pictures/cpu_cook.gif iphone 
cp: cannot stat 'iphone/cpu_cook.gif': Input/output error
[ klaus ]
$ ls -l                            
ls: cannot access 'iphone': Input/output error
total 68K
drwxr-xr-x  2 klaus klaus 4,0K 24 nov.   2020 Desktop
drwxr-xr-x  5 klaus klaus 4,0K 28 oct.  20:12 Documents
d?????????  ? ?     ?        ?              ? iphone
drwxr-xr-x  2 klaus klaus 4,0K 28 oct.  22:02 Pictures
[ klaus ]
$

it would be nice if ifuse --list-apps could show files.app too instead of just vlc

@nsklaus
Copy link

nsklaus commented Feb 2, 2022

update: it works if all stack is built from git instead of using packaged version.
but i still think ifuse --list-apps should list files.app instead of just vlc

@nikias
Copy link
Member

nikias commented Feb 2, 2022

I will look into it. It's a system app so it is not listed as user app, and that must be why it's not listed.

@nsklaus
Copy link

nsklaus commented Feb 3, 2022

@nikias
that would be nice, many thanks for looking into it.
since files.app became apple's official solution for managing files on ios, that would be more logical this way.
it would also remove the need for a third party app to finaly be able to put stuffs in files.app.
should be standard this way imho. even apple should do it and allow mounting files.app space in finder when user plug ios device on their mac. unfortunately, logic has left the building at apple these last years.

@domguard
Copy link

domguard commented Mar 22, 2022

I have the same problem on Ubuntu 21.10 with an iPad 2 using IOS 9.3.1
No more iBooks icon, and calling ifuse --documents com.apple.iBooks /ipadmnt says :

Failed to start AFC service 'com.apple.mobile.house_arrest' on the device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants