NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home / News / Linux / Ubuntu Tips and Tricks

Ubuntu Tips and Tricks


Transfer Files to and from Your Nokia Phone

...through the Pop-Port.

By Marius Nestor, Linux Editor

19th of August 2007, 10:23 GMT

Adjust text size:


ObexFTP Front-end
Enlarge picture
Lately, mobile phones have evolved extremely fast, and whether you need them to access the Internet, record videos, send/receive MMS and SMS messages or e-mails, listen to music or radio stations, cellular phones are the most indispensable devices these days. But today's guide will teach you a very easy way to connect and transfer files to/from your mobile phone using an USB cable through the Pop-Port interface. Many Nokia phones come with this Pop-Port and I just happen to be the proud owner of such a mobile device (Nokia N70).

The problem with the phones that use the Pop-Port is that when you connect the USB cable to your Linux PC, nothing happens. I bet you are (like me) probably used to see an "Open with..." window a few seconds after you connect some multimedia device (camera, phone, hard drive, ipod) in the USB port, but this will not happen with these phones. Don't panic, I have the solution! You just have to follow the next steps:

NOTE:: The following guide was tested with a Nokia N70 phone and Ubuntu 7.04.

Step 1 - Install required software

Fire up Synaptic Package Manager (System -> Administration -> Synaptic Package Manager) and search for obex.

opening Synaptic...
Enlarge picture
...search for obex
Enlarge picture


Mark for installation the following packages:

- obexftp
- openobex-apps

Some other packages, that depend on these ones, will also be installed, so click "Mark" when you'll be asked if you want to install those too. Now click the "Apply" button to install all the required packages. When the installation is over, close Synaptic.

All the above software consists of console-based tools, so we need to install a nice GUI (graphical user interface) for the obexftp package. The ObexFTP Front-end software happens to be a very nice and easy to use obexftp GUI, which requires no installation. Download it from Softpedia, use the "Binary mirror 1 (zip) (1.7 MB)" package and extract it in your home directory.

Step 2 - Advanced Configurations

It is time to connect your phone to the PC using the USB cable. Open a terminal (Applications -> Accessories -> Terminal) and type:

CODE
lsusb

which should output some lines with USB devices connected to your PC. I've easily spotted my Nokia phone:

CODE
Bus 003 Device 003: ID 0421:043a Nokia Mobile Phones

This line shows the VendorID and ProductID of the phone, for my Nokia N70:

VendorID = 0421
ProductID = 043a

Now copy/paste the following line in the Terminal:

CODE
sudo gedit /etc/udev/rules.d/040-permissions.rules

and add the next line to the end of the text file:

CODE
BUS=="usb", SYSFS{idVendor}=="VendorID", SYSFS{idProduct}=="ProductID", GROUP="plugdev", USER="yourUserNname"

Replace VendorID and ProductID with the numbers from the lsusb result and yourUserNname with your username.

Example:

CODE
BUS=="usb", SYSFS{idVendor}=="0421", SYSFS{idProduct}=="043a", GROUP="plugdev", USER="marius"

Save the file and close it. This little trick will give you rights to access and use the USB port where the mobile device is connected.

Step 3 - Final adjustments

Right click on your desktop and select the 'Create Launcher...' option.

create launcher
Enlarge picture


In the 'Create Launcher' window select a nice icon, fill up the Name field with the desired name for the launcher, and on the Command field type:

CODE
java -jar /home/YOURUSERNAME/obexftp-frontend-0.6.1-bin/OBEXFTPFrontend.jar

Replace YOURUSERNAME with your username.

Create Launcher example
Enlarge picture


All you have to do now is to double click the launcher you've just created and the ObexFTP Front-end will pop-up asking you to configure it. Follow the next steps:

1. Enter /usr/bin/obexftp in the ObexFTP path field.
2. Select USB on the Transport option and set the Value filed to 1.

ObexFTP Front-end configuration window
Enlarge picture


To close the configuration window, Click OK when you're done, and then click the first icon on the main window. The C: drive and the memory card of the phone will be listed and you can transfer files to and from your phone. Watch the next video for a quick demonstration where I'm going to upload a wallpaper to my phone's drive:

TAGS:

Nokia | Linux | ObexFTP | USB | Connectivity
Read by 34,569 user(s) | Add comment | Link to this article TWEET THIS


Article rating:
Good (3.7/5) 12 vote(s)    

Subscribe to news | Print article | Send to friend

© Copyright 2001-2009 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Nokia 2630 and Nokia 2760 Announced

Two More from Nokia: Nokia 1650 and Nokia 2660

Software Updates for Nokia Devices Available for Download

Nokia Phones with SIM Cards at Special Prices

Nokia Phones Are Now for Sale at Dell Shops Too

Mobile Content Gets Highest Rating from Nokia Users

Nokia N95 - The Chinese Version

Nokia N75 and Nokia N76 Hit the US

User opinions:


Comment #1 by: TriTonE on 19 Sep 2007, 23:17 GMT reply to this comment

Hello Marius!

I would like to thank you for writing us this great tutorial! It's very nice to see that my project - ObexFTP front-end - is helping so many people! When I started coding it I never imagined that it would happen. :-)

Cheers,
Daniel.

Comment #1.1 by: marius.nestor on 20 Sep 2007, 08:02 GMT

Hello Daniel!

You're welcome! ObexFTP front-end is wonderful and easy to use!

Kind regards,
Marius


Comment #2 by: Jack on 14 Jan 2008, 07:11 GMT reply to this comment

Thank you for a very informative tutorial Marius!
I have followed every step of yours but after clicking on the first icon in the main window in OBEX ftp, i get the following error message

'The Following Command has failed: Listing files under the / folder'

I am unsure how to fix this. I am using Ubuntu 7.10 and a Nokia N70

Comment #2.1 by: ashlakim on 31 Jan 2008, 14:53 GMT

At the very last written step by the author, try manipulate the numbers as in instead of 1 as suggested by author, try 001.

If not try 000 or 002.

If all three doesnt apply change your cable to another usb port and do as above again. To know whether you succeed or not, simply test for each trial.

Keep transport as USB if you are using cable connection (do not change).

I amusing DKU2 cable for my Nokia 7600. I was able to connect after manipulating the numbers.

To the author, GREAT tutoring!


Comment #3 by: Luca on 08 Feb 2008, 09:03 GMT reply to this comment

I've got the same problem as Jack:
'The Following Command has failed: Listing files under the / folder'

I think it is a permissions issue (probably file /etc/udev/rules.d/040-permissions.rules)
I solved the problem launching the gui as root.


Comment #4 by: faraway on 10 Jul 2008, 14:48 GMT reply to this comment

Sorry for the bad English... ;)
I'm using Ubuntu 7.04 and I've got the same problem too:
'The Following Command has failed: Listing files under the / folder'
I tried manipulate the numbers, but it not worked...
I tried using the "Test connection" button on the ObexFTP configuration dialog, and obtained
"Error: Can't connect to the device"
I tried using "lshw" on the terminal, and obtained this:
"...
*-usb:2
description: USB Controller
product: VT82xxxxx UHCI USB 1.1 Controller
vendor: VIA Technologies, Inc.
physical id: 10.1
bus info: pci@00:10.1
version: 81
width: 32 bits
clock: 33MHz
capabilities: uhci bus_master cap_list
configuration: driver=uhci_hcd latency=64
resources: ioport:d880-d89f irq:16
*-usbhost
product: UHCI Host Controller
vendor: Linux 2.6.20-16-generic uhci_hcd
physical id: 1
bus info: usb@2
logical name: usb2
version: 2.06
capabilities: usb-1.10
configuration: driver=hub maxpower=0mA slots=2 speed=12.0MB/s
*-usb UNCLAIMED
description: Generic USB device
product: USB to UART
vendor: ArkMicro
physical id: 1
bus info: usb@2:1
version: 0.01
capabilities: usb-1.10
configuration: maxpower=500mA speed=12.0MB/s
..."
This Generic USB device is my ArkMicro CA-42 cable.
I'm using a Nokia 3220. My cell shows a message confirming the cable connection. I used it on Windows XP SP2 with Nokia PC Suite without problems.
Launch the GUI as root has no effect.
Thanks for the help.


Comment #5 by: ajay on 18 Aug 2008, 15:19 GMT reply to this comment

Hi Marius,
Your tutorial really helped. Thanks!
I faced one problem though, i didn't have Java SDK installed and the front-end wouldn't start at all. Was able to figure by a little googling though :).
~Ajay


Comment #6 by: Por on 07 Sep 2008, 13:57 GMT reply to this comment

Hello Marius
Thank you for sharing the knowledge. I have been trying to figure this out with wammu, gnokii..etc without success.
However,with bluetooth connection, can i use the same procedure?
Thanks again,
Paul


Comment #7 by: Yogi on 21 Oct 2008, 19:11 GMT reply to this comment

Thanks Marius for such a nice post. Now I can say that I can move to linux completely with me being able to connect my nokia N91 to the machine. And also thanks to Luca for pointing that the error can be fixed by sudo'ing. Thanks again and godspeed.


Comment #8 by: vahnderkaum on 30 Oct 2008, 08:08 GMT reply to this comment

thanks for the tut mate.... it helped a lot!!


Comment #9 by: Graham on 05 Nov 2008, 15:00 GMT reply to this comment

Thanks for the tutorial, was hoping for a few more advanced functions than just sending receiving files (like auto sync), but it's a start.

I noticed my phone (5610i) only works in pc suite mode, whereas most people for other programs suggest data storage mode.


Comment #10 by: Donal on 16 Dec 2008, 09:36 GMT reply to this comment

Hey, thanks for the tutorial but the GUI didn't work for me either (also N70). Same errors as mentioned previously. With USB "The Following Command has failed: Listing files under the / folder". With Bluetooth, it's "failed to find device".
I tried SUDO launching the GUI. I also tried using Bluetooth as the transport in the Obexftp GUI config. I tested as 1,2 & 3.
(Also with zero's in front, but to honest that makes no sense. Any integer can have as many zero's as you want in front and it makes no difference, obviously).
Anyway, thanks anyway, anyone finding solutions to these issues may end up posting here in the comments.
Regards
Donal


Comment #11 by: ElmoPB on 19 Dec 2008, 15:59 GMT reply to this comment

Thanks for this, really good. One less reason for me to ever have to use Windows.

Nick


Comment #12 by: Junior on 23 Dec 2008, 09:12 GMT reply to this comment

Thank you for the Tutorial it worked with no problem this is the reason I have moved to Linux to learn from the likes of you and all those in the Linux world! My mobile phone is a Nokia6275i.
Thanks again and Best Wishes for Christmas & New Year.

Junior


Comment #13 by: diffid on 03 Jan 2009, 18:26 GMT reply to this comment

Hi

I'm trying this with Ubuntu Intrepid 8.10 and when firing up openftp-frontend all the characters making up the menus are squares only the two tabs are readable.

Thanks


Comment #14 by: tgirookie on 08 Jan 2009, 05:58 GMT reply to this comment

im having trouble with my ubuntu (intrepid) wheen i double click the launcher that i have created it gives me a error message that said "Failed to execute child process "java" (No such file or directory)" can somebody hel please


Comment #15 by: Richard Jones on 08 Jan 2009, 21:49 GMT reply to this comment

Thanks for this tutorial, its saved most of my hair! I had the initial problem with my Nokia N96 of the "Listing under / Files folder" error but changed the connection to PC Suite on my nokia and used 001 instead of 1. Brilliant! 1 million kudos to you!


Comment #16 by: Jose L on 07 Feb 2009, 17:38 GMT reply to this comment

Hello. I put de luncher and nothing happens.
Please upload the instruccion for UBUNTU 8.10 and thanks


Comment #17 by: Mauricio Lorca on 28 Feb 2009, 22:38 GMT reply to this comment

Hi Marius:

Thank you very much for this complete tutorial. All links and applications listed here worked OK in Ubuntu 8.10 Server (Intrepid Ibex).

I was trying to connect my 5200 to my notebook running Intrepid but all other solutions I found in other sites (Wammu, Gammu, etc) didn't work. The solution you provided is the only one I can recommend to other Ubuntu Intrepid users.

I one follow carefully the steps you wrote, the application works at once. There are some little details about permissions for some folders/files we have to research on, but the overall functions do their job as expected.


Comment #18 by: Rizz on 07 Apr 2009, 16:51 GMT reply to this comment

Thank you very much to marius and others! In order for it to work for me I had to run this command. sudo java -jar /home/rizz/obexftp-frontend-0.6.1-bin/OBEXFTPFrontend.jar &
Thanks again.


Comment #19 by: Felipe Conde on 20 May 2009, 20:05 GMT reply to this comment

I was having the same 'The Following Command has failed: Listing files under the / folder' &&
"Error: Can't connect to the device"

to solve this, i just started the connection at Pc Suite mode

connected with nokia E50 :)


Comment #20 by: Gokul Nema on 15 Jul 2009, 12:58 GMT reply to this comment

Thanks a lot, Cheers for the persons loke you.


Comment #21 by: kevin on 09 Aug 2009, 23:58 GMT reply to this comment

BUS=="usb", SYSFS{idVendor}=="VendorID", SYSFS{idProduct}=="ProductID", GROUP="plugdev", USER="yourUserNname"


Comment #22 by: cristi on 06 Oct 2009, 10:22 GMT reply to this comment

salut mariu am facut exact ceea ce ai zis de 3 ori si tot nu imi merge , cand dau dublu clik pe aplicatie nu mi se deschide ca sa o configurez :( , folosesc ubunut 9.04

Comment #22.1 by: Marius Nestor on 13 Oct 2009, 07:57 GMT

Salut, incearca sa deschizi aplicatia direct din terminal... cu comanda:

java -jar OBEXFTPFrontend.jar

Cu conditia sa te afli in folderul unde este executabilul...

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 




Windows tabGames tabDrivers tabMac tabLinux tabScripts tabMobile tabHandheld tabGadgets tabNews tab

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM