iPhone 4 Won't Mount

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

iPhone 4 Won't Mount

Postby resuni on Thu Jan 06, 2011 11:09 pm

I just installed Linux Mint Debian Edition on my friend's laptop. He's new to Linux, so I've been helping him out. The biggest problem is getting his iPhone 4 to mount. On [url="http://libimobiledevice.org"]libimobiledevice.org[/url] it shows a cool video of a guy managing his iPhone with Linux thanks to libimobiledevice. libimobiledevice.org also says libimobiledevice supports the iPhone 4. But when he plugs it in, he gets an error:
Unable to mount location: Unhandled Lockdown error (-5)


It's a serious issue and needs to be resolved ASAP.
Image
User avatar
resuni
Level 1
Level 1
 
Posts: 40
Joined: Tue Dec 28, 2010 11:58 pm
Location: CO, USA

Linux Mint is funded by ads and donations.
 

Re: iPhone 4 Won't Mount [solved]

Postby resuni on Sat Jan 08, 2011 8:34 pm

LINK REMOVED
Last edited by resuni on Mon Jan 10, 2011 6:59 pm, edited 2 times in total.
Image
User avatar
resuni
Level 1
Level 1
 
Posts: 40
Joined: Tue Dec 28, 2010 11:58 pm
Location: CO, USA

Re: iPhone 4 Won't Mount

Postby Brazcan on Mon Jan 10, 2011 2:06 pm

The solution to the problem is not explained in thread provided above. Could anybody help?
Brazcan
Level 1
Level 1
 
Posts: 3
Joined: Tue Jan 04, 2011 6:31 pm

Re: iPhone 4 Won't Mount

Postby MaDxCrEaM on Mon Jan 10, 2011 4:35 pm

Get the same error with my Ipod Touch 2G. I messaged Bradj47 from the link that was posted above that has gotten it to work to see how he did it. Hopefully I'll hear something soon and will post here if I do.
MaDxCrEaM
Level 1
Level 1
 
Posts: 7
Joined: Mon Dec 27, 2010 9:27 pm

Re: iPhone 4 Won't Mount

Postby resuni on Mon Jan 10, 2011 5:32 pm

I'll post what I sent this guy above me. It is assumed that you are logged into a root Terminal. (su)

add-apt-repository Script
You will have to add a PPA repository. The normal way to do this is to use the command add-apt-repository but that command only comes with Ubuntu-like distros. So you will have to add a script to /usr/bin/. The forum would not allow me to attach an sh or even a txt file so here's the original source. http://blog.anantshri.info/wp-content/uploads/2010/09/add-apt-repository.sh.txt. Be sure to take off the .txt extension when you finish downloading it. Make the script executable by running
Code: Select all
chmod o+x /usr/bin/add-apt-repository.sh

Then change the ownership to root's by running
Code: Select all
chown root:root /usr/bin/add-apt-repository.sh


Adding the PPA Repository and Installing Packages From It
Now that you are able to add a PPA repository, add ppa:pmcenery/ppa by running
Code: Select all
add-apt-repository ppa:pmcenery/ppa

Then update the source list by running
Code: Select all
apt-get update

When this finishes, make sure no package installation processes are running and check the update manager. Install all the updates. This should update libimobiledevice1 and other libraries needed for your iPod. Then install more required packages by running
Code: Select all
apt-get install gvfs gvfs-backends gvfs-bin gvfs-fuse libgvfscommon0 ifuse libgpod-dev libgpod-common libiphone-utils libiphone0 python-iphone libplist++1 libplist-utils python-plist libusb-1.0-0 libusb-1.0-0-dev libusbmuxd1 usbmuxd

You will be told that some of the packages have been replaced by others but that didn't seem to be a problem for me. If you run into problems try adding the packages it said replaced the other ones. After this you should be able to mount the iPod and open the pictures in F-Spot.

iFuse
iFuse is one of the packages you installed that allows you to read the music off of the iPod with Rhythmbox (and some other music players, I assume). But by default only root is allowed to use iFuse so you must change this. Open /etc/fuse.conf with the text editor of your choice (I prefer vim)
Code: Select all
vim /etc/fuse.conf

Uncomment the line that says #user_allow_other. So change it from
Code: Select all
#user_allow_other

to
Code: Select all
user_allow_other

Now we need to add your user to the fuse group. I assume you have the default mintMenu setup so go to mintMenu -> Control Center -> System (section) -> Users and Groups. If you're using the GNOME menu bar like I am, go to System -> Administration -> Users and Groups. Click "Manage Groups". Scroll through the list until you find the "fuse" group. Double-click it and check the box next to your name. You may be prompted for your password. Close all dialogs. You should now be in the "fuse" group.

The End
Reboot the computer and the iPod should show up in Rhythmbox. It did for me, at least.

Remember, always unmount your iPod and any other portable storage device by right-clicking on its desktop icon and clicking "Safely Remove Drive". And NEVER unplug the iPod while it's busy syncing its media.

I'll try to get around to making an official HOWTO thread about this in the near future, so please provide feedback saying if anything went wrong or how I can improve this.
Last edited by resuni on Mon Jan 10, 2011 7:04 pm, edited 3 times in total.
Image
User avatar
resuni
Level 1
Level 1
 
Posts: 40
Joined: Tue Dec 28, 2010 11:58 pm
Location: CO, USA

Re: iPhone 4 Won't Mount

Postby MaDxCrEaM on Mon Jan 10, 2011 5:58 pm

Having problems doing the apt-get update says

Code: Select all
GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EA3A911D48B8E25


Anyone else getting the error?
MaDxCrEaM
Level 1
Level 1
 
Posts: 7
Joined: Mon Dec 27, 2010 9:27 pm

Re: iPhone 4 Won't Mount

Postby resuni on Mon Jan 10, 2011 6:18 pm

MaDxCrEaM wrote:Having problems doing the apt-get update says

Code: Select all
GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EA3A911D48B8E25


Anyone else getting the error?


Ok, I finally figured it out. Download this file http://ppa.launchpad.net/pmcenery/ppa/ubuntu/dists/maverick/Release.gpg, save it to your home directory, open your Software Sources window, click on the Authentication tab, click Import Key File, open the Release.gpg file you just downloaded.
Last edited by resuni on Tue Jan 11, 2011 7:37 pm, edited 5 times in total.
Image
User avatar
resuni
Level 1
Level 1
 
Posts: 40
Joined: Tue Dec 28, 2010 11:58 pm
Location: CO, USA

Re: iPhone 4 Won't Mount

Postby MaDxCrEaM on Mon Jan 10, 2011 7:46 pm

Well, actually got my Ipod Touch 2g mounting now and rhythm box can read the songs. I do still get the public key error, but most files installed fine. Only thing is I couldn't find and install some of the iphone packages like python-iphone, libiphone0, libiphone-utils packages, so I don't have them installed, but my ipod touch is still working. Thanks for the help!!!!
MaDxCrEaM
Level 1
Level 1
 
Posts: 7
Joined: Mon Dec 27, 2010 9:27 pm

Re: iPhone 4 Won't Mount

Postby resuni on Mon Jan 10, 2011 8:52 pm

MaDxCrEaM wrote:Well, actually got my Ipod Touch 2g mounting now and rhythm box can read the songs. I do still get the public key error, but most files installed fine. Only thing is I couldn't find and install some of the iphone packages like python-iphone, libiphone0, libiphone-utils packages, so I don't have them installed, but my ipod touch is still working. Thanks for the help!!!!

Great glad I can help.
Image
User avatar
resuni
Level 1
Level 1
 
Posts: 40
Joined: Tue Dec 28, 2010 11:58 pm
Location: CO, USA

Re: iPhone 4 Won't Mount

Postby robertgarrigos on Tue Mar 22, 2011 12:28 pm

I try to add this key (http://ppa.launchpad.net/pmcenery/ppa/u ... elease.gpg) but the apt-key add says it cannot find OpenGPG valid data. Some of the packages didn't installed but my iphone is mounting anyway. Thanks.
robertgarrigos
Level 1
Level 1
 
Posts: 1
Joined: Tue Mar 22, 2011 12:24 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 5 guests