iPhone Lock – iOS 7 Locked Bug via Ubuntu 13.10: How to Resolve


I wanted to bring up an issue with the latest Ubuntu release that I hope can be solved. Although I will agree with the community that iOS 7 is not the most open platform release, it still is my desire to be able to grab Photos, Music, and Files off my Phone similar to what I would do to any other device.

Every time I connect my device to Ubuntu, I receive the following notification:

The device "Justin's iPhone" is locked. Enter the passcode on the device and click "Try again".

On my iPhone, I select the following

Unfortunately, this is where problems start to arise. It appears that Ubuntu either does not recognize the permissions from my iPhone or the iPhone is not allowing itself to truly be unlocked. As we can see the permissions are denied.

Browsing askubuntu, I encountered the following suggestion.

After running the code, I receive the following error:

justin@justin-CT15:~$ idevicepair unpair && idevicepair pairERROR: Device d1fea2c56e51199f901eb34020a1581ea31a2a50 is not paired with this host

If I call the command again, i receive another error:

justin@justin-CT15:~$ idevicepair pair
ERROR: Could not pair with the device because a passcode is set. Please enter the passcode on the device and retry.

Ultimately, I am stuck to experiment with solutions that end up not working. I am troubled by the lack of information and support for the iOS 7 platform on Ubuntu's latest release. If anyone has a workable solution or experiment for a workaround, I am happy to try

Thanks for reading and have a wonderful day!

Best Answer

This issue is an attempt by Apple to stop the use of fake charging cables. You can solve the trust-loop error with IOS7 mobile devices by installing the latest release of libimobiledevice.

For 12.04:

sudo apt-add-repository ppa:ingo/ios7support
sudo apt-get update
sudo apt-get upgrade

If you get “lock down error”, try using the following commands:

sudo mkdir /var/lib/lockdown
sudo chmod 777 /var/lib/lockdown

For 13.10 you can download the .deb package from the launchpad site here.

For Ipad users that are seeing the 'Not Charging' message on their device when plugged in via usb:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ipad-charge

Reboot, and enjoy.

Related Question