Connecting Nokia Phone via Virtualbox running Windows 7 guest


As you know(See Quick Updates), I have installed Windows 7 in my Virtualbox on my Chakra ArchLinux box. I did this because I did not want to reboot my machine just to install stuff on mobile or to do some Windows specific stuff. Of course Wine is an option but not for complex stuff like running Nokia PC Suite or say running iTunes or maybe some more complex stuff requiring windows kernel drivers etc. So the best alternative I had was to install Win7 on my Virtualbox setup. Here is the teaser screenshot first 🙂

Nokia N70 in Win7 running on Virtualbox with ArchLinux Host

Ok, now what I wanted to do, for which I installed Windows7 and to some extent Virtualbox in the first place-Nokia PC Suite. After some trouble trying to use an old copy of Nokia PC Suite, I downloaded latest Nokia PC Suite 7.1 for my Nokia N70 and copied it into virtualbox shared folder so that is can be accessed from my Win7 drive. Installed it. No problem till here. But now when I connect my N70 to the USB cord originally running on Linux, how to tell Win7 running inside Virtualbox about it for Win7 was not detecting it automatically.

I religiously followed instructions given on Arch Wiki Virtualbox but it did not work. So some more googling gave me the solution.

First create file

sudo nano /etc/udev/rules.d/11-vboxdrv.rules

Inside the editor, type the following

KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
SUBSYSTEM=="usb_device", GROUP="vboxusers", MODE="0664"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="VirtualBox/$env{BUSNUM}/$env{DEVNUM}", GROUP="vboxusers", MODE="0664"

Now reboot your machine(real one) or run

sudo udevadm trigger

which will reload the udev rules etc.

Now connect your Nokia phone and notice the output from dmesg or tail -f /var/log/messages, it should print nokia phone is connected via usb along with a lot of blah blah. Nevermind.

Now start Virtualbox, Poweron your Win7 installation. Now second crucial aspect, in your Win7 Virtual Machine, Select Devices>USB devices><<Your Nokia Phone must be listed here>>. Select it once Win7 is *completely started and logged on*. If this is the first time you installed Nokia PC Suite, it will now start to install its drivers and within few second, you have your Nokia connected to Win7 running on Linux!!

Enjoy!

7 Responses to “Connecting Nokia Phone via Virtualbox running Windows 7 guest”

  1. Connecting Nokia Phone via Virtualbox running Windows 7 guest … | Linux Affinity Says:

    […] rest is here: Connecting Nokia Phone via Virtualbox running Windows 7 guest … Posted in: How To's ADD […]

  2. Stig Brandt Says:

    Hi

    I was wondering if you are able to use the nokia phone as the interface device, running a windows 7 application, using the usb port on the phone

  3. brahmalok Says:

    Not sure what u meant, but I think it should be fine as the guest is not aware of virtualization and so it is possible.

    • Stig Brandt Says:

      Hi Again

      Assume your “guest” is fetching data via the USB on the mobile phone

      The only way the application can run is in windows

      therefore you need a icon at the phone starting
      – a virutal machine with windows 7
      – start the application from the phone
      – and the application you run from the phone is communicating with the USB on the phone

      hope this is more clear

      • brahmalok Says:

        Yes like I mentioned previously, this is possible. Application is running in Win7 guest-ok, app on nokia is some symbian app-ok. both communicate via usb-common interface and so it is fine.

  4. Lily Walker Says:

    I am very thankful to this topic because it really gives useful information “”`

  5. Kimbrell Says:

    Excellent blog, this article is just great, especially for beginners. I never comment on those blogs, even when the content is great


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: