View Single Post
Old 07-04-2005, 04:43 PM   #1 (permalink)
jibi
BlackBerry God
 
jibi's Avatar
 
Join Date: Oct 2004
Location: Jibi's Secret Place
Model: 8900
OS: 4.6.1.174
Carrier: AT&T
Posts: 11,310
Post Thanks: 0
Thanked 1 Time in 1 Post
Default Themes - New Method of Installation

Please Login to Remove!

Thanks to jnelson2000 on this thread, I went and had a look at the extra theme files included with the 4.0.2.32 version of the handheld software. It makes sense, now.

Anyhow, this is a work in progress, so others may want to chime in when they can on what vendors are which. This, for now, will only pertain to 7100 series handhelds for T-Mobile (7100t), Vodafone (7100v), and O2 (7100x), although the rest can be added when available (such as Cingular's 7100g (as well as the other APAC vendors that use it) and Rogers' 7100r).

The available theme files with 4.0.2.32 handheld software are:

Default (List): net_rim_theme_blackberry_240x260.cod
T-Mobile: net_rim_theme_100_240x260.cod
Vodafone: net_rim_theme_120_240x260.cod
O2: net_rim_theme_125_240x260.cod

That leaves us with the knowledge that T-Mobile is vendorID 100, Vodafone is vendorID 120, and O2 is vendorID 125.

These are installed as (in themes):
Default (List)
O2
T-Mobile
Vodafone

These are installed as part of the BlackBerry 4.0.2 Core Applications.

Now, with the T-Mobile handheld software, you will need to find the following lines in BlackBerry.alx (open with Notepad):

Code:
                <!-- T-Mobile filesets -->
                <fileset Colour="True" KeyboardType="Reduced" Java="1.0" _vendorID="100">
                        <files>
                                net_rim_theme_100_240x260.cod
                        </files>
                </fileset>
Code:
                <fileset Colour="True" KeyboardType="Reduced" Java="1.0" _vendorID="118|120|124|130|132|133|137|138|139|140|143|148|152|153|161|166|167|168|176|188|192|193|194|195|196|197|198|199|200">
                        <files>
                                net_rim_theme_120_240x260.cod
                        </files>
                </fileset>
Code:
                <!-- O2 filesets -->
                <fileset Colour="True" KeyboardType="Reduced" Java="1.0" _vendorID="111|125">
                        <files>
                                net_rim_theme_125_240x260.cod
                        </files>
                </fileset>
Each of these have a _vendorID="" listing for each install, which will allow you to manipulate which handheld gets which themes. Simply remove _vendorID and all of the various vendor IDs that are listed as its value from the XML tag.

For example, if I wanted to install the O2 theme to my 7100t (T-Mobile), I would simply remove _vendorID so that the line would read fileset Colour="True" KeyboardType="Reduced" Java="1.0".

The final XML code for each would be:

Code:
                <!-- T-Mobile filesets -->
                <fileset Colour="True" KeyboardType="Reduced" Java="1.0">
                        <files>
                                net_rim_theme_100_240x260.cod
                        </files>
                </fileset>
Code:
                <fileset Colour="True" KeyboardType="Reduced" Java="1.0">
                        <files>
                                net_rim_theme_120_240x260.cod
                        </files>
                </fileset>
Code:
                <!-- O2 filesets -->
                <fileset Colour="True" KeyboardType="Reduced" Java="1.0">
                        <files>
                                net_rim_theme_125_240x260.cod
                        </files>
                </fileset>
What is the value of this, you may ask...?
It removes the permanent need for extra ALX/COD files on your machine that you may or may not want to delete after the initial theme installation. It lessens the risk of you uninstalling a theme when simply trying to install an application or upgrade your handheld. You no longer have to rely on searching through a 10 page thread to find a working link for the themes.

Installation:
For those who have an ALX file and COD theme files on your PC:
I had a Themes.alx file (in the 7100- directory), accompanied with the various net_rim_theme_<vendorname>_240x260.cod vendor theme files (in the Java directory) on my machine - I deleted all of these (the ALX file and the COD files). I then edited the BlackBerry.alx file to add 100 for the O2 and Vodafone themes (its already added for the T-Mobile theme, obviously) and saved the ALX file. I removed these files (I did leave the net_rim_theme_blackberry_240x260.cod file, though - it is installed by default). I opened Desktop Manager and it prompted me to update the BlackBerry 4.0.2 Core Applications. I typically choose cancel here and run through the Application Loader (althoug it doesn't matter - I just always want to make sure everything is checked that I want checked). My listing for 'Additional Themes' is now gone, and there is an Update for the action next to the Core Applications. I click Next and I am shown that its going to update the Core Applications and remove unrecognizeable modules, net_rim_theme_o2_240x260, net_rim_theme_tmobile_240x260, and net_rim_theme_vodafone_240x260.

For those who installed themes via Javaloder:
Edit the BlackBerry.alx file as prescribed above. Application Loader should take care of the rest (it will remove the unknown modules).\

For those who installed via ALX/COD and deleted those files already:
See above steps. Edit BlackBerry.alx, open Desktop Manager and let Application Loader do its magic.

I hope this makes things a bit easier.

For more information on how to manipulate the BlackBerry.alx file to install the 72xx and 77xx themes (eight total between the three models), I have created this thread:

Orange France theme on 7100 handheld

__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.

Last edited by jibi : 08-22-2005 at 02:09 PM.
Offline