15

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 permissions.

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!

4 Answers4

11

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.

bleeves
  • 713
1

I've gotten it to work by running those commands with sudo at the beginning. Try plugging your iPhone in first and unlock it. When it asks to trust or not, don't tap anything and type:

sudo idevicepair pair

If that doesn't work at first run:

sudo idevicepair unpair
sudo idevicepair pair

If that fails, tap trust or don't trust (try with both) and try the above again. If that fails, then you might have to wait for libimobiledevice to fully update its iOS 7 support.

0

As a work-around to this issue, I found that doing the following would allow me to browse the phone freely with nautilus:

  1. Power cycle phone but do not unlock it
  2. Logout of Ubuntu desktop
  3. Connect the phone to the PC
  4. Log back in to Ubuntu desktop

At this point it seems I can freely browse the phone in nautilus.

Flyk
  • 1,480
  • 3
  • 18
  • 24
0

Same problem, different solution?

With 12.04 running I plug in the locked iPhone 5s (ios7), answer "trust" or "don't trust" (choice doesn't seem to matter), then ignore subsequent trust questions. It soon stops asking. The iPhone charges, and I can access/download my photos from "home folder".

Not sure what other functions can be done from that point. Not sure this even qualifies as a solution as I don't really do anything technical! Just seems to work if I let it beep a couple of times. I came here searching for the answer, before I found this post it quit asking the trust question and all was good. ASKUBUNTU magic in action!

PS: while iPhone is accessible I unlocked it, the trust question came up again, I answered "don't trust", no changes, still have access, still charging.

B. Fife
  • 49