View Full Version : [SOLVED] Virtual box ipod touch / iphone sync
asphixmx
February 7th, 2008, 06:59 PM
Hello everyone. I am trying to sync my iPod Touch with iTunes, using Virtualbox, also with Parallels 2.2 and no luck. WIndows can see the iPod, but when I open iTunes, it says can't sync with iPhone because of an unknown error. I tried to stop the Apple Mobile Device Service, then started again... iTunes says the same.
I have been reading and searching a lot trying to find a solution with no luck. Is there anyone working with Ipod touch / iphone AND iTunes in a virtual machine? VMWare, Wine, Virtual Box, Parallels...anything?
I just don't want to use my windows partition anymore... I am using it just for sync.
Yes, yes... I can sync my songs with Amarok, but since it is wireless, it is sooo slow. Also my contacts and appoinments don't sync. That is why I need iTunes and Outlook.
Any idea? Any one?
Thanks!
azanutta
February 7th, 2008, 11:25 PM
same problem.
no solution jet =((
myusername
February 8th, 2008, 04:27 AM
Exactly my problem...
fdelosrios
February 11th, 2008, 07:34 PM
Mine even crashes when I plug it. I hope someone comes up with a solution because wireless sync is too slow.
AndThenWhat
April 29th, 2008, 10:17 PM
I also have this problem on hardy. While browsing online I saw that someone submitted a ticket on the virtual box website for this exact problem on April 14th. Hopefully, they will be working on this and fix it soon. :(
ajkiwi88
July 5th, 2008, 01:31 AM
hey
sorry to bump an old thread was wondering if their is a solution to this problem yet i am using ubuntu 8.04 and the latest virtual box
asphixmx
July 7th, 2008, 06:50 AM
ajkiwi, I am syncing with gtkpod (music, videos), funambol (contacts) using wireless. At this time, there is not yet a solution with itunes (vbox).
Im_Original
September 24th, 2008, 06:49 PM
Hey everybody,
I just got an iPod touch, so I'm wondering about this too. I found this:
http://docs.info.apple.com/article.html?artnum=61683
Which basically says "you can't use the iPod with iTunes in a VM" and doesn't say why. So, it looks like a problem with iTunes which means . . . it will never be fixed.
Oh well.
asphixmx
September 24th, 2008, 11:46 PM
I can sync now, with VMWARE Workstation 6.04 (instead of Virtual Box), in a virtual machine of Windows XP & iTunes. I activated USB 2.0 support in the Vmware. No problems at all, ipod touch is recognized with no problems, everything runs fine now with VMware. Sorry for VirtualBox, VMWare won this time!
Im_Original
September 25th, 2008, 03:33 AM
well, that's good news. VMWare, here I come!
jack frost
September 26th, 2008, 11:38 PM
well, that's good news. VMWare, here I come!
did it work for you in vmware?
trmentry
September 27th, 2008, 12:20 AM
not to hijack this.. but i had a similar issue with a vpn program for work. it used a usb dongle to auth the software to run. the dongle would be seen in virtualbox, but software in the virtualbox xp vm didn't like it.
changed over to vmware workstation and dongle worked and software was happy.
so there is something about usb2.0 in virtualbox that isn't quite right.
the $ for vmware workstation was worth it in my mind for this functionality.
i'd much prefer free though....
jack frost
September 27th, 2008, 12:52 AM
Isn't there a free version of vmware in ubuntu.. or is that just the 30 day eval? I think I remember installing it in 7.04 with automatix but couln't remember if it was free or not. In virtual box there is a box under usb that says enable usb2 support. that didn't work for you?.. I just bought my iphone today online and have to wait for it to be shipped to me, so i can't test that out.. but my printer any everything else usb works ok in virtual box.. I had to use a fix though.. that I found in the forums:
Lets Install the essential build utilities so the vbox kernel module builds.
sudo apt-get install build-essential linux-headers-`uname -r`
Install i386 VirtualBox without repository:
wget http://www.virtualbox.org/download/1.5.6/virtualbox_1.5.6-28266_Ubuntu_hardy_i386.deb ; sudo dpkg -i virtualbox_1.5.6-28266_Ubuntu_hardy_i386.deb
Install amd64 Virtualbox without repository:
wget http://www.virtualbox.org/download/1.5.6/virtualbox_1.5.6-28266_Ubuntu_hardy_amd64.deb ; sudo dpkg -i virtualbox_1.5.6-28266_Ubuntu_hardy_amd64.deb
Check Here for updated Virtualbox Packages since the repository isnt added yet
Alternate install with Gutsy repository as some people have suggested works fine, just copy/paste these exact commands into the terminal:
sudo sh -c 'echo "# VirtualBox repository for Ubuntu Gutsy
deb http://www.virtualbox.org/debian gutsy non-free" \
> /etc/apt/sources.list.d/gutsy-virtualbox.list'
wget http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install virtualbox
Now you Must add your self to the vboxusers group:
sudo adduser $USER vboxusers
Adding user `ionstorm' to group `vboxusers' ...
Adding user ionstorm to group vboxusers
Done.
Setup VirtualBox USB Support:
USB is disabled by default, so you'll probably want to enable it. Otherwise you'll get an error when you go into the "Settings" of your virtual machine. To correct this, you'll need to edit the mountdevsubfs.sh file:
sudo gedit /etc/init.d/mountdevsubfs.sh
You'll see a block of code that looks like this:
#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb
Now uncomment the last 4 lines above to look like this:
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
Ok now logoff, then log back in so the vbox driver see's you are logged in to the vboxusers group.
If the above doesnt work try rebooting, if that doesnt enable usb you can try this:
Grab the vboxusers group id:
grep vbox /etc/group
vboxusers:x:124:ionstorm
Edit the fstab with the group id # in bold:
sudo gedit /etc/fstab
Append this to the fstab then save/exit:
## usbfs is the USB group in fstab file:
none /proc/bus/usb usbfs devgid=124,devmode=664 0 0
Now lets edit the mountkernfs.sh file with the gid in bold:
sudo gedit /etc/init.d/mountkernfs.sh
Paste the 2 lines below above the line: "# Mount spufs, if Cell Broadband processor is detected"
## Mount the usbfs for use with Virtual Box
domount usbfs usbdevfs /proc/bus/usb -onoexec,nosuid,nodev,devgid=124,devmode=664
You may not need to reboot, try doing:
sudo /etc/init.d/mountkernfs.sh
jack frost
October 9th, 2008, 12:00 AM
well, that's good news. VMWare, here I come!
I was able to get my iPhone to sync. My setup:
Ubuntu 8.04 (Hardy Heron)
VirtualBox 2.0.2 (http://download.virtualbox.org/virtualbox/2.0.2/virtualbox-2.0_2.0.2-36488_Ubuntu_hardy_i386.deb)
iPhone 3G (Software version 2.1)
I followed the steps mentioned in the thread on the virtualbox website
http://www.virtualbox.org/ticket/491#comment:52 (http://www.virtualbox.org/ticket/491#comment:52)
In particular, I did this:
sudo apt-get build-dep linux-source-2.6.24
sudo apt-get install linux-source-2.6.24 build-essential
tar -jxvf /usr/src/linux-source-2.6.24.tar.bz2
cd linux-source-2.6.24/drivers/usb/core
perl -pi.bak -e 's/16384/131072/' devio.c
make -C /lib/modules/`uname -r`/build/ M=`pwd` modules
strip --strip-debug usbcore.ko
sudo install -m644 -b usbcore.ko /lib/modules/`uname -r`/kernel/drivers/usb/core
sudo depmod -ae
sudo update-initramfs -u
sudo reboot
jamesmcq24
October 10th, 2008, 09:24 PM
confirmed this works!! i am very happy to be able to sync my iPhone 3g on Windows XP through virtualbox. AMAZING!!
I was able to get my iPhone to sync. My setup:
Ubuntu 8.04 (Hardy Heron)
VirtualBox 2.0.2 (http://download.virtualbox.org/virtualbox/2.0.2/virtualbox-2.0_2.0.2-36488_Ubuntu_hardy_i386.deb)
iPhone 3G (Software version 2.1)
I followed the steps mentioned in the thread on the virtualbox website
http://www.virtualbox.org/ticket/491#comment:52 (http://www.virtualbox.org/ticket/491#comment:52)
In particular, I did this:
sudo apt-get build-dep linux-source-2.6.24
sudo apt-get install linux-source-2.6.24 build-essential
tar -jxvf /usr/src/linux-source-2.6.24.tar.bz2
cd linux-source-2.6.24/drivers/usb/core
perl -pi.bak -e 's/16384/131072/' devio.c
make -C /lib/modules/`uname -r`/build/ M=`pwd` modules
strip --strip-debug usbcore.ko
sudo install -m644 -b usbcore.ko /lib/modules/`uname -r`/kernel/drivers/usb/core
sudo depmod -ae
sudo update-initramfs -u
sudo reboot
leonardoxiao
October 14th, 2008, 11:22 PM
confirmed this works!! i am very happy to be able to sync my iPhone 3g on Windows XP through virtualbox. AMAZING!!
Just wondering are you guys using virtualbox ose version or non-free version? Or it doesn't matter?
jack frost
October 14th, 2008, 11:51 PM
Just wondering are you guys using virtualbox ose version or non-free version? Or it doesn't matter?
I am using the the debian package version 2.0..I just downloaded it from their site.. free ose... version.. just a reminder .. my kernel updated and I had to recompile the virtual box kernerl and run the iphone fix again after I updated..
Macchia
October 19th, 2008, 01:01 PM
Just as a reminder:
** DON'T TRY UPGRADING OR RESTORING FIRMWARE WITHIN VIRTUALBOX **
as you may think, yes, i ****** up my iphone :D
cisoprogressivo
October 21st, 2008, 06:33 PM
This fix doesn't work for me with Ubuntu Intrepid, VirtualBox 2.0.2 and iPod Touch 1G.
jack frost
October 21st, 2008, 08:52 PM
This fix doesn't work for me with Ubuntu Intrepid, VirtualBox 2.0.2 and iPod Touch 1G.
For me it worked on hardy 8.04 amd64 x2 2g iphone.. latest virtual box
cisoprogressivo
October 21st, 2008, 09:11 PM
May the new kernel (2.6.27) be a problem?
jack frost
October 21st, 2008, 10:47 PM
May the new kernel (2.6.27) be a problem?
it may be.. I noticed Ihad to re-apply the usb fix and the usb iphone fix after i updated my kernel.. but it still worked after..
bruce449
October 23rd, 2008, 03:54 AM
does it work ??
jack frost
October 23rd, 2008, 04:22 AM
does it work ??
is has been for me.. i have been syncing for about a month now with itunes in virtual box..
2g iphone.. firmware 2.1..unlocked/jailbroken.. xp pro virtual machine/itunes.. i am going to try and get my other box as a osx86
gupi-gupi
October 25th, 2008, 01:12 AM
hello, tried on hardy 2.6.24.21.23 virtualbox 2.0.2, guest: xp sp3, did the
sudo apt-get build-dep linux-source-2.6.24
sudo apt-get install linux-source-2.6.24 build-essential
tar -jxvf /usr/src/linux-source-2.6.24.tar.bz2
cd linux-source-2.6.24/drivers/usb/core
perl -pi.bak -e 's/16384/131072/' devio.c
make -C /lib/modules/`uname -r`/build/ M=`pwd` modules
strip --strip-debug usbcore.ko
sudo install -m644 -b usbcore.ko /lib/modules/`uname -r`/kernel/drivers/usb/core
sudo depmod -ae
sudo update-initramfs -u
sudo reboot thing, but itunes 8 complaines about not beeing able to connect iphone (3g jailbreack)
any suggestion? :(
jack frost
October 25th, 2008, 01:45 AM
hello, tried on hardy 2.6.24.21.23 virtualbox 2.0.2, guest: xp sp3, did the thing, but itunes 8 complaines about not beeing able to connect iphone (3g jailbreack)
any suggestion? :(
I will have to check what version of itunes I am running.. I don't think I am running 8.
Did you already do the virtualbox usb fix?
I did that first prior to running the iphone usb syn fix.
If your other usb devices were seen by virtualbox, you don't need to.. also when I want to sync in itunes, I always cancel it when Fspot in ubuntu wants to import pics as soon as I plug it in. Then I just click on devices in virtual box and check box the iphone. I also already have itunes up and running first prior to plugging in the ipone.
I really would prefer to sync straight in ubuntu.. I am sure something will come along soon. I know you can sync with amarok via bluetooth, but I heard it is very slow and does not sync everything.
gupi-gupi
October 25th, 2008, 11:05 AM
hello jack frost, so tried the 7.7 itunes, but the error still the same (itunes error 0xe8000035) has to do with usb port , seams I cannot solve this right now. thanks anyway :)
(i just did the fix I posted, are there any othe fix to do for usb? virtualbox and the guest is mounting correctly usb, and iphone is recognized as a camera by xp who can import pictures with it's defaullt camera prog.?)
jack frost
October 25th, 2008, 06:31 PM
hello jack frost, so tried the 7.7 itunes, but the error still the same (itunes error 0xe8000035) has to do with usb port , seams I cannot solve this right now. thanks anyway :)
(i just did the fix I posted, are there any othe fix to do for usb? virtualbox and the guest is mounting correctly usb, and iphone is recognized as a camera by xp who can import pictures with it's defaullt camera prog.?)
Did you update your kernel? I noticed that my fix did not work after the recent kernel update from ubuntu and had to do my fixes again...plus do a re-compile of the virtualbox kernel with this
/etc/init.d/vboxdrv setup
once I did that it worked again. .not sure if this is your issue or not.. hopefully the pwnplayer that is being developed will work to the point that we do not have to even sync with xp... the iphone is one last thing then I can say by to windows. I also checked.. I am running itunes 8
loveandequality
December 10th, 2008, 02:26 AM
Hello everyone. I am trying to sync my iPod Touch with iTunes, using Virtualbox, also with Parallels 2.2 and no luck. WIndows can see the iPod, but when I open iTunes, it says can't sync with iPhone because of an unknown error. I tried to stop the Apple Mobile Device Service, then started again... iTunes says the same.
I have been reading and searching a lot trying to find a solution with no luck. Is there anyone working with Ipod touch / iphone AND iTunes in a virtual machine? VMWare, Wine, Virtual Box, Parallels...anything?
I just don't want to use my windows partition anymore... I am using it just for sync.
Yes, yes... I can sync my songs with Amarok, but since it is wireless, it is sooo slow. Also my contacts and appoinments don't sync. That is why I need iTunes and Outlook.
Any idea? Any one?
Thanks!
in the newest virtualbox it works its that u need to enable USB 2.0 in the settings.
before all that if you get an USB error just go to my post its solved there.:KS:KS:KS:
loveandequality
December 10th, 2008, 02:43 AM
fix in the new version.
also i got the way how to errase that USB error if any got it is in 1 of the threds.
loveandequality
December 10th, 2008, 02:46 AM
Hello everyone. I am trying to sync my iPod Touch with iTunes, using Virtualbox, also with Parallels 2.2 and no luck. WIndows can see the iPod, but when I open iTunes, it says can't sync with iPhone because of an unknown error. I tried to stop the Apple Mobile Device Service, then started again... iTunes says the same.
I have been reading and searching a lot trying to find a solution with no luck. Is there anyone working with Ipod touch / iphone AND iTunes in a virtual machine? VMWare, Wine, Virtual Box, Parallels...anything?
I just don't want to use my windows partition anymore... I am using it just for sync.
Yes, yes... I can sync my songs with Amarok, but since it is wireless, it is sooo slow. Also my contacts and appoinments don't sync. That is why I need iTunes and Outlook.
Any idea? Any one?
Thanks!
fix in new version. if you get an USB error in the settings i got the awnser in my thred.
jepong
August 24th, 2009, 03:27 AM
any update with iPhone sync using virtualbox 3 and ubuntu jaunty?
soulsurfa
September 8th, 2009, 11:56 AM
Works well with Virtualbox 3 and 8.04 LTS with latest Kernal
http://ubuntuwarrior.blogspot.com/2009/09/iphone-sync-in-ubuntu.html
driven1
September 10th, 2009, 05:45 PM
I just installed virtualbox 3 with a Windows xp guest with iTunes 9, and I can sync to an iPod Touch with 3.0 software. Sometimes it takes a couple of tries for iTunes to see the iPod, but once it does, everything works. My music and video are stored on my Ubuntu home folder and accessed by folder sharing.
Chronon
September 10th, 2009, 11:04 PM
I just got this going too. This is the first time I have synced the device in 3 months. (It is not my favorite audio player, so it doesn't get too much action these days.)
driven1
September 11th, 2009, 02:57 AM
I just got this going too. This is the first time I have synced the device in 3 months. (It is not my favorite audio player, so it doesn't get too much action these days.)
What's your main audio player? Since I am switching to Ubuntu, I want a more Linux-friendly player.
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.