Ubuntu 14.04 + iOS 8.0.2 unhandled lockdown error

可紊 提交于 2019-12-03 17:15:07

问题


I have Ubuntu 14.04 on my 4 laptops and IOS 8.0.2 on my 2 apple devices but cannot mount the Iphone Documents drive anymore since the 8.0.2 update on ANY laptop. I have spent 4 hours researching this issue and trying every amalgamation of:

'idevicepair unpair && idevicepair pair'

and

'unplug + unlock + plugin your phone' sequence

all to no avail. When I try to mount it I get the 'unhandled lockdown error (-256)', then a trust this computer prompt, I confirm the trust message, then I get an 'unhandled lockdown error (-3)' error. I am convinced that this is a true bug that there is not straightforward solution to yet. I've noticed from searching around that older distros are not that affected but 14.04 users are getting it the most. Anyone get anymore ideas?


回答1:


I was able to fix it with libimobiledevice-utils & ifuse

Disconnect your device and install packages.

sudo apt-get install libimobiledevice-utils ifuse

Restart your system.

Connect your device to your computer and run this command:

idevicepair unpair && idevicepair pair

If you phone shows "Trust computer" messages, select "Yes". By now it should connect.

If it is still throwing error, check if there is a directory var/lib/lockdown. If it is not there, create directory and change permissions for the directory.

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

Restart your system.

Connect your device and run

idevicepair unpair && idevicepair pair

Now You can access files from your device.

Sources:

http://www.upubuntu.com/2012/02/fix-unhandled-lockdown-error-when.html http://ubuntuforums.org/showthread.php?t=2228772




回答2:


I solved the error -3 by plugin the iphone, selecting "trust computer", and then typing idevicepair pair




回答3:


I searched for 2 hours and tried several solutions, none of them helped until finally I thought to try sudo with the unpair / pair commands and it worked instantly:

sudo idevicepair unpair && sudo idevicepair pair



回答4:


The solution is simple. Use following commands and next time you plug in your iPhone it would be explored properly.

  1. Open terminal
  2. fire command sudo idevicepair pair
  3. get the <name> from message "SUCCESS: Paired with device <name>"
  4. navigate to using cd /var/lib/lockdown
  5. Confirm that ".plist" file exists by listing files using ls command
  6. remove "<name>.plist" file using sudo rm -f <name>.plist
  7. You are done

Let me know in either case for success or failure of solution.



来源:https://stackoverflow.com/questions/26165939/ubuntu-14-04-ios-8-0-2-unhandled-lockdown-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!