Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu 14.04 + iOS 8.0.2 unhandled lockdown error

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?

like image 243
Coldstar Avatar asked Oct 02 '14 17:10

Coldstar


2 Answers

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

like image 81
Pandikunta Anand Reddy Avatar answered Oct 26 '22 17:10

Pandikunta Anand Reddy


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
like image 41
newmintguy Avatar answered Oct 26 '22 17:10

newmintguy