IOS 10 and libimobiledevice won't work
Try to update to libimobiledevice 1.2 so I can access my files on my Iphone but I received lockdow error ( -1,-20, -16, -256)
sharing networks works can see the phone in filemanager but no access to the file so how do I update my libimobiledevice?
found a ppa for that but didn’t work ;-( runing Ubuntu 14.04 and 16,04 same result
Please write it step by step / Per
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
What is the output of:
lsb_release -a; uname -a; apt-cache policy libimobiledevice
When you last unplugged the device from a PC, did you use the safe remove feature in the OS before unplugging it physically?
Thanks
Revision history for this message
|
#2 |
Thank you
I think a use safe remove her are the results from 3 computer 16.04 is a new upgrade
tv@tv:~$ lsb_release -a; uname -a; apt-cache policy libimobiledevice
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Linux tv 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:41:41 UTC 2016 i686 i686 i686 GNU/Linux
N: Kunde inte hitta paketet libimobiledevice
Her from 14.04 that I try to upgrade the libimobiledevice on
per@lap12:~$ lsb_release -a; uname -a; apt-cache policy libimobiledevice
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Linux lap12 3.13.0-96-generic #143-Ubuntu SMP Mon Aug 29 20:15:47 UTC 2016 i686 i686 i686 GNU/Linux
N: Kunde inte hitta paketet libimobiledevice
Her are form LinuxMint ( I know this is only for Ubuntu sorry )
licy libimobiledevice
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 17.3 Rosa
Release: 17.3
Codename: rosa
Linux test-HP-
N: Kunde inte hitta paketet libimobiledevice
Hope this will say you someting
Per
Revision history for this message
|
#3 |
What is the output of:
apt-cache policy libmobiledevice
Looks like you have a typo. We don't support Mint here.
Revision history for this message
|
#4 |
Here are the output from Ubuntu 14.04
N: Kunde inte hitta paketet libmobiledevice (but in Swedish) = N:can't found the package
I just try to it on iOS 9.35 and it was no problem, but can't read iOS 10.02
Revision history for this message
|
#5 |
Maybe it's a new "feature" in Apple's software to lock their users down to Windows or Mac.
All I can suggest is report a bug.
Revision history for this message
|
#6 |
I think the cause for not getting output in the previous commands is wrong usage of the package names.
The source package is named libimobiledevice, but the binary packages are libimobiledevic
libimobiledevice6, python-
What is the output of
dpkg -l | grep libimobiledevice
apt-cache policy libimobiledevice6
Revision history for this message
|
#7 |
On 14.04 that I try to updated to 1.2
ii libimobiledevic
ii libimobiledevic
ii libimobiledevic
N: Kunde inte hitta paketet libimobiledevice6
And on the 16.04 thats a new installation and not touch.
tv@tv:~$ dpkg -l | grep libimobiledevice
rc libimobiledevic
ii libimobiledevic
tv@tv:~$ apt-cache policy libimobiledevice6
libimobiledevice6:
Installerad: 1.2.0+dfsg-
Kandidat: 1.2.0+dfsg-
Versionstabell:
*** 1.2.0+dfsg-
500 http://
500 http://
100 /var/lib/
1.
500 http://
tv@tv:~$
Revision history for this message
|
#8 |
Could try:
sudo dpkg -P libimobiledevic
Remove the old config for this package
Revision history for this message
|
#10 |
I try to removed this on the 14.04 but received
sudo dpkg -P libimobiledevic
libimobiledevi
dpkg: beroendeproblem förhindrar borttagning av libimobiledevic
upower är beroende av libimobiledevice4 (>= 0.9.7).
libimobiledevi
python-
libimobiledevi
gvfs-backends är beroende av libimobiledevice4 (>= 1.1.5).
libgpod4:i386 är beroende av libimobiledevice4 (>= 0.9.7).
libgpod-common är beroende av libimobiledevice4 (>= 0.9.7).
dpkg: fel vid hantering av paketet libimobiledevic
beroendeproblem - tar inte bort
Fel uppstod vid hantering:
libimobiledevi
Revision history for this message
|
#11 |
To clarify,
the version contained in Ubuntu trusty (1.1.5...) has a binary libimobiledevice4, and only version 1.2... (e.g. available in yakkety) has libimobiledevice6.
There is a PPA https:/
But before you start installing that version, it should be made clear why the 1.2 version for yakkety does not work for you.
What error messages do you get when you try accessing your iphone?
Revision history for this message
|
#12 |
I received lockdown error different every time( -1,-20, -16, -256) but this only happens with iOS 10 but with iOS 9.. than everything works fine. That's why I try It with other computers with different distribution to (LinuxMint) also 32bit and 64bit ver but all with the same result.
Revision history for this message
|
#13 |
PS but when I try the phone with win10 than every thing works fine, so it's not the phone.
Revision history for this message
|
#14 |
On the bug tracker of libimobiledevice https:/
Some of them reported that access was working when compiling the newest 1.2 source.
Do you see a possibility to try compiling the package from the original github source?
Revision history for this message
|
#15 |
I know that you write make than make install but with some help I can give it a try.
Shall I remove the old package first? in that case how?
Revision history for this message
|
#17 |
Actually the root cause of the issue is with GnuTLS. The Ubuntu package should be rebuilt linking to OpenSSL instead of GnuTLS and the issue will be resolved.
I created a bug report with details and a solution. https:/
Revision history for this message
|
#18 |
Ok, so someone claims to have posted a patch to this:
https:/
but I don't have a clue how to install such a patch, assuming it even exists and works. All I saw at the link was undecipherable code. I am attempting to use 16.04 LTS with iOS 10.1 and this is still broken in the current libimobiledevice6
GnuTLS error: Error in the pull function.
ERROR: Could not connect to lockdownd, error code -5
Any idea when this will be resolved? In the interim, can someone help me figure out how to apply a patch to fix this in the interim if there is one available?
Revision history for this message
|
#19 |
I have use this ppa https:/
works with 16.04.
Martin say
"The xenial version is a bit tricky because all errors from device go to
no-where-land (thanks to systemd). But most of the time a reboot of the
ios device helps (was unplugged without disconnect....)"
I try it also on lower ver of Ubuntu but haven’t been able access the phone.
Hope this will help
Revision history for this message
|
#20 |
per - thanks. The ppa solved the problem on 16.04 with iOS 10.1. I just did a successful file transfer from an iPhone 5c for the first time in a couple of months.
Revision history for this message
|
#21 |
ppa also works for Mint18
Revision history for this message
|
#22 |
I use 14.04 and stumbled over this discussion because I also would like a solution to connect my iPhone (iOS 10.3.x). The ppa from Martin (martin-salbaba) mentioned in comment #19 looks promising.
But I am a bit shocked that it wants to install so many packages:
libgcrypt20
libgpod-common
libimobildevice6
libplist3
libgpod4
libusbmuxd4
libusbmuxd
gvfs-common
gvfs-backends
gvfs-bin
gvfs-fuse
gvfs-libs
gvfs-daemons
gvfs
Even brings in a new crypto library! So two questions:
* Do I really need to install them all? (meaning "everything that appears as updates when I include this ppa", as in the list above)
* Some packages replace an existing version, like for gvfs-common, where it installs 1.20.3-
I do not distrust Martin here, and I am very grateful that he made the fix accessible to those who - as J McDonald put it - "don't have a clue how to install such a patch"! But I just try to be careful, as I said I still like security updates, and I do not want too many "untrusted" things on my system. Ubuntu is my main OS, but I also use some other computers sometimes, so I can live without the connection from iOS to Ubuntu. Therefore I'm trying to assess the risks here...
Revision history for this message
|
#23 |
It's a PPA. Ask the maintener why there are so many dependancies. It's their package intended for their own purposes.
Revision history for this message
|
#24 |
Dear Edith,
sorry all this dependencies are required. linimolbiledevie is accessed
via gvfs backend daemons, so the must be changed/rebuild on library
interface changes.
The ppa is tested but I havent the time to support security updates.
Martin
Am Sonntag, den 02.07.2017, 06:18 +0000 schrieb Edith:
> Question #402748 on libimobiledevice in Ubuntu changed:
> https:/
>
> Edith requested more information:
> I use 14.04 and stumbled over this discussion because I also would like a solution to connect my iPhone (iOS 10.3.x). The ppa from Martin (martin-salbaba) mentioned in comment #19 looks promising.
> But I am a bit shocked that it wants to install so many packages:
>
> libgcrypt20
> libgpod-common
> libimobildevice6
> libplist3
> libgpod4
> libusbmuxd4
> libusbmuxd
> gvfs-common
> gvfs-backends
> gvfs-bin
> gvfs-fuse
> gvfs-libs
> gvfs-daemons
> gvfs
>
> Even brings in a new crypto library! So two questions:
>
> * Do I really need to install them all? (meaning "everything that
> appears as updates when I include this ppa", as in the list above)
>
> * Some packages replace an existing version, like for gvfs-common, where
> it installs 1.20.3-
> Usually for "untrusted" ppas, I disable them after installing what I
> want. But this would mean I never get an update of gvfs-common in the
> future? Or would a newer package from the "normal" Ubuntu package
> sources be installed? I'm asking because I still like to get security
> updates etc.
>
> I do not distrust Martin here, and I am very grateful that he made the
> fix accessible to those who - as J McDonald put it - "don't have a clue
> how to install such a patch"! But I just try to be careful, as I said I
> still like security updates, and I do not want too many "untrusted"
> things on my system. Ubuntu is my main OS, but I also use some other
> computers sometimes, so I can live without the connection from iOS to
> Ubuntu. Therefore I'm trying to assess the risks here...
>
Can you help with this problem?
Provide an answer of your own, or ask per for more information if necessary.