(Translated by https://www.hiragana.jp/)
TuxMobil: Nokryptia - Linux MP3 to LSE Conversion Tool for the Nokia 5510 Mobile Phone
The Wayback Machine - https://web.archive.org/web/20061202190511/http://tuxmobil.org:80/nokryptia.html
 TuxMobil: Linux with Laptops, Notebooks, PDAs, Mobile Phones and Portable Computers
site map · index a-z · search   

Nokryptia - Linux MP3 to LSE Conversion Tool for the Nokia 5510 Mobile Phone



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.

Requirements

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

  • The linux Linux Kernel version 2.4.x source code (maybe also older kernels, but it is reported that it doesn't work with 2.2.x kernels). Version 2.4.22 or higher is highly recomended.
  • An installed id3lib. You can download this from id3lib.
  • The utility on this page.

Installing

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 .

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.

Download

nokryptia version 1.3 can be downloaded here.

FAQ

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.

Links

Wishlist

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 :

  • REL-files decryption/encryption algorithm (these files are created when you record something on the phone itself).
  • LSE-files decryption/encryption algorithm.
  • Pictograms for X. Both an unmounted icon as a mounted icon is desired, because linux sees a removable harddisk by default and chooses a completely wrong icon.

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.






[ -> back to top ]

print · i-mode · WAP · PDA
contact · imprint · privacy (P3P) · sponsors · RSS

© Werner Heuser 1997-2006 · http://tuxmobil.org/nokryptia.html · last change Fri Nov 4 2005