TuxMobil: Linux with Laptops, PDAs, Mobile Phones and Portable Computers
PRINT version of "Nokryptia - Linux MP3 to LSE Conversion Tool for the Nokia 5510 Mobile Phone"
    <= Back to SCREEN version <=

Nokryptia is a program to convert music files like MP3 to work on a Nokia 5510 cell phone. The application itself does not know anything about USB, therefore you will need to recompile the kernel. The advantage of this aproach is that you can use your mobile as a "large" disk of 64MB. The utility also does not do any encryption, it uses in fact a bug in the encryption algorithm. Therefore, no actual encryption is done, which makes the program very fast in comparision to the official Microsoft-Windows program from NOKIA(http://www.nokia.com/).


To use the Nokia 5510 under Linux, you will need the following :


Two steps are necessary to use your mobile in Linux. At first, you need to add a line of code in your kernel source. Look for a file called drivers/usb/storage/unusual_devs.h in your kernel source. Add the following line of code:

UNUSUAL_DEV(  0x0421, 0x0404, 0x0000, 0xffff, "Nokia", "5510", US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP),

and recompile the kernel. For those who are not familiar with kernel recompiling, see the README file in the nokryptia package for hints, and consider looking for the Kernel-HOWTO(http://www.tldp.org/) .

Update: This step has become unnecessary in kernel version 2.4.22 and up, as well as in kernel version 2.6.0. If you are running one of these kernels you can safely skip this step. If you are about to recompile a kernel, please consider upgrading to 2.4.22 or higher.

At this point you should be able to mount the nokia device as /dev/sda1. See the README file in the source tree of nokryptia for further details on how to mount this device if you have any troubles.

The second step is installing nokryptia. This is done in the normal old-fashioned way, that means configure - make - make install.


nokryptia version 1.3 can be downloaded here.


Q: Can I use my Nokia HDR-1 together with nokryptia?
A: Probably. I think the program will work, although it's impossible to put the files on this type of device because it doesn't appear as a removable USB-storage. I've never heard reports of people who were able to mount the flashcards used in the HDR-1 in linux.

Q: When I try to compile nokryptia, the configure script says that id3lib isn't found, although I am absolutely sure that it's installed. What am I missing?
A: A bug in the Makefile prevents make clean from working properly. If you encounter this problem, remove the nokryptia-source tree and install id3lib. For RPM-users, install the id3lib-package as well as the id3lib-devel-package. Reinstall the nokryptia source tree and compile again. Everything should work fine.

Q: I like this tool, but I'm not familiar with linux. Are there any good windows ports available?
A: Yes. See the link section for the address of the site. Most people seem to choose for the Nokia Audio Loader found on this page, as it provides a nice graphical user-frontend. Note however that I am not the maintainer of these packages and bugs should be reported to the author of these tools.



This program is still under development, however it is stable (which program is ever finished?). There is some stuff which could be very helpful to maintain my program :

I don't know if I am ever going to publish or implement the encryption algorithm, because it is protected by copyright law I think.

Last update: Friday 5 December 2003 by Roel Derickx.

        /* Adv.    Xtops.DE - Laptops and PDAs with pre-installed Linux   Adv. */        

http://tuxmobil.org/nokryptia.html, copyright © Werner Heuser, 1997-2008