Modding the Motorola RAZR V3xx

[Disclaimer: Modding your phone probably voids all kinds of warranties, and is not recommended for anyone.]

Update: I found a better program for RAZR hacking!

This is a quick-start guide for anyone who wants to start hacking away at the RAZR V3xx. For some reason, other guides that I’ve found on the web either don’t apply to this particular model, or often contradict themselves and drove me into further confusion.

I recently “upgraded” my cell phone to a V3xx, with AT&T as my provider. Naturally I wanted to see what kind of features I could access within the phone, and to what extent I could customize its skin, sounds and interface.

Here is the exact sequence of steps I took to get my phone connected to my PC and start modifying its filesystem:

  • Go to hacktherazr.com, which is a site with plenty of loosely-knit resources for hacking the RAZR. The only drawback of the site is that it doesn’t contain any information specific to the V3xx, and all of their “get-started” guides only pertain to earlier models.
  • From the site’s “Start here” guide (not from their “Downloads” section), download the Motorola USB Driver Installer, install the drivers, and follow the rest of the “Start here” guide.
  • From their “Downloads” section, download and install “PST 7.2.5,” which is a utility from Motorola to facilitate communication with your phone. Make sure you apply the “patch” included in the Zip file! Installing this tool will probably require you to restart your computer.
  • The last tool that you’ll need is called P2K Commander. But do not use the version that they have on their site — it’s outdated and will not communicate with the V3xx! To get the latest version of P2K Commander, go to the author’s website and download it from there. As of this writing, the latest version is 4.9.D. The author requires you to register in his forums to download the files, but registration is free.
  • To prepare your phone for communicating with your PC, you must set its USB mode to “data connection.” To do this, go to Main Menu → Settings → Connection → USB Settings, and set the Default Connection to “Data Connection.”
  • On your PC, launch the PST Phone Programmer before you plug in your phone! Let PST load completely before plugging in.
  • Now plug in your phone, and give your PC a few seconds to recognize it. Then give PST a few more seconds to configure the phone for communication. You should hear the phone’s “charging” sound two or three times as it’s being configured, as well as the PC’s USB plug/unplug sound.
  • Now you’re ready to launch P2K Commander, so launch it. P2K Commander is a gateway to the phone’s internal filesystem. But, before doing anything in this tool, click on its “Options” menu, and check the “Use P2k05” check box! This is the critical step, since the V3xx uses the P2k05 command set, unlike its predecessors.
  • Finally, you’re ready to use P2K Commander to your heart’s content. From this point on, you’re welcome to follow the other guides outlined at hacktherazr.com, since most of them still apply.

Here is a very simple example of what could be done with P2K Commander and the RAZR V3xx:

Changing the secondary display image

When the phone is opened, its secondary display (the smaller display on the outside) only displays the AT&T logo. But suppose you wanted it to display something that was meaningful to you, such as this:
To change this graphic, use P2K Commander to navigate to the phone’s file system (“/a”) and go to the “mobile” directory.

In this directory, there is a file called cl.gif. That’s the file that gets displayed in the secondary display! This means that you can replace this file with whatever you want (as long as it’s called cl.gif), and it will be shown! Of course, keep in mind that this file must be a GIF file with dimensions of 96 x 80. Et voilà :
Short of reprogramming the phone’s firmware, there’s no end to the customizations you can make to your V3xx by simply editing or replacing certain files in the phone’s filesystem using P2K Commander. As always, don’t forget to back up any files you edit or replace. Enjoy!

Bible Code Finder

At long last, I’ve recovered the source code for my Bible Code Finder application. It’s covered in more detail in this article. The program takes a plain text file (preferably a large one), and allows you to scan it for occurrences of words with equidistant letter spacing. Download the program and, if you’d like, the source code repository. To download the full text of the Bible (or a great number of other texts), visit Project Gutenberg.

Example Bible CodeIt works like this: start the program and open the text file that you want to search (the program automatically strips punctuation and whitespace). Then enter up to seven words to look for, and click the Start button! The program will find the first occurrence of all words within a certain range, unless you select “Find All” instead of “Find One.” The result(s) will be shown in the Results tab.

The “Frame Size” parameter is the range (in letters) within which all words must be found. “Min Delta” and “Max Delta” are the minimum and maximum letter spacing of words to search.

Obviously, longer words will take longer to search for. Generally it’s highly improbable to find combinations with words longer than 8 letters. On the other hand, don’t search for words shorter than three letters, since too many results will be found. As a rule, try to enter longer words first, then shorter words. This will result in a quicker search.

Getting NTFS to Work in Linux

This is really not that difficult, but I thought I’d document it here for my own reference later on. First, download the kernel module RPM from the official linux-ntfs site. Install the RPM:

su
rpm -ivh kernel-module-ntfs*

Then load the kernel module:

/sbin/modprobe ntfs

And that’s it. If you want to permanently mount an NTFS partition at a certain directory, add a line to /etc/fstab:

/dev/sda1    /home/username/mydir    ntfs    ro,umask=0222    0    0

It’s best to mount NTFS partitions as read-only, since NTFS support in Linux is still incomplete, and we don’t want to risk damaging the partition.

Open-Source Tools for Everything

I thought I’d post a list of the best open-source utilities (at the present time) for performing various tasks. This isn’t necessarily a list of the “best” tools, but just tools that have worked the best for me.

  • OpenOffice.org – Word processing, spreadsheet, presentations, etc.
  • Firefox – Web browser.
  • Xine and/or MPlayer – Play DVDs and various video formats. (Linux only)
  • VideoLAN – Play videos, DVDs, and streams.
  • XMMS – Audio player (Linux only). Requires a special plugin to play MP3 and WMA files.
  • The GIMP – Drawing and image processing
  • The Paint.NET – Simple yet very powerful image editor.
  • dvd::rip – DVD ripping and transcoding (Linux only)
  • CDEx – CD ripping (Windows only)
  • Audacity – Audio track recorder and editor
  • VirtualDub – Video capture/processing utility
  • FileZilla – FTP client and server (Windows only)
  • WinMerge – File and directory compare (Windows only)
  • 7-Zip – Archive utility (Windows only)
  • gaim – Instant messaging client
  • Wireshark – Ethernet packet analyzer (formerly Ethereal)
  • Metasploit – Framework for testing exploits
  • HxD – Hex editor

Miscellaneous open-source (or otherwise free) things that are nice to have:

Upgrade Your Mouse Cursor, Free!

For a while now I’ve been unhappy with my mouse cursor; specifically, the cursor that appears when you’re hovering over a link on a web page, like this. So I went ahead and created my own. It looks almost the same as the original, but with one subtle difference. Want the cursor for yourself? Download it, copy it to your Windows\Cursors directory, and select it from the Mouse Properties in your Control Panel.