iOS 7 Locked Bug via Ubuntu 13.10

17,398

Solution 1

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.

Solution 2

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.

Share:
17,398

Related videos on Youtube

justinpage
Author by

justinpage

Motor Trend Group | Software and Systems

Updated on September 18, 2022

Comments

  • justinpage
    justinpage almost 2 years

    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!

    • Admin
      Admin over 10 years
      Just had the same issue with you. There is a bug report here, but it seems no one actually fixed it. Anyway I think the bug is about ios7, rather than ubuntu.
    • Admin
      Admin over 10 years
      I would note that the solution must not include jail breaking. This goes against my original question of connecting iOS7 with ubuntu --within a pure state.
    • Admin
      Admin about 10 years
      Just wanted to mention that the bug pointed out by Dong Hao is a duplicate of bugs.launchpad.net/ubuntu/+source/libimobiledevice/+bug/1207‌​812 , which is now fixed. A clean install or update to Ubuntu 14.04 should let you use your phone flawlessly.
  • justinpage
    justinpage over 10 years
    Unfortunately, this does not work. I've tried all permutations that you have offered, and none work. However, I would like to thank you for the suggestion.
  • justinpage
    justinpage over 10 years
    You sir are a winner. It worked! ;) Congratulations and enjoy the recognition.