BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-03-2007, 10:17 AM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Location: SE England
Model: 8900
PIN: N/A
Carrier: Vodafone UK
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default fyi: changes to device.xml to support 8310 - also need some help here.

Please Login to Remove!

Hi Guys, I quickly figured out I couldn't deploy apps OTA to the new 8310's I have recieved this morning. I rang RIM to ask if there was a new device.xml, no no, not yet. ah great.
Well basically I've copied the line for the 8300 for now and just replaced the hardware ID which is "0x8d000f03" sure this may have some additional parameters specified when RIM pull their finger out, but it works well enough for now.

Next up I realised that the .alx file for google maps doesn't specifiy the file that should be used for an 8310 device, so I created a line to point the 8310 at the package for the 8300.

Great it works! However, because the 8300 doesn't have GPS, the GPS option doesn't even appear in the 8300 version.
However if you install by via browser on the 8310, you get the correct GPS enabled version.

So do I just need to wait patiently for google to update their BES zip? or is there some way to extract the file I need from the device if I install via a browser?

By the way 1st post here, self taught domino BES admin, I also self installed as vodafone wanted to much money. So I'd just like to say a big thanks to you all as I wouldn't have a working BES implementation up and running so quickly if it wasn't for this forum
Offline  
Old 09-03-2007, 12:24 PM   #2 (permalink)
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

If a device is released after a BES major or service pack release, then it won't be updated until the next service pack is released. There may be an off-chance they are updated in hotfix or maintenance releases, but I've never paid much attention.

As a workaround, you can download the device software from the carrier (Vodafone UK or Germany in this case) and copy the information from there to your current Device.xml file. With that said, it appears some of the newer devices (both the 8820 and 8310) have the information listed in the Platform.alx file (which is the legacy placeholder for this information, oddly enough). You would need to replace GPRS/rim8310g.sfi with 0x8D000F03.

Anyhow, here's the modified entry:

Code:
                <os radio="GPRS" series="8300" Colour="True" Theme="Normal" JVMLevel="1.0" Camera="True" VoiceNotes="True" pttApp="True" Memory="Large" KeyboardType="Qwerty" Sound="Tunes8700g" SystemSize="normal" Bluetooth="True" MMS="True" GPS="True" ThemeSupport="Enhanced" VAD="True" JPN_Input="False">0x8D000F03</os>
As for the Google Maps and GPS, if you did not add in the GPS tag in the Device.xml entry, that may be the reason it did not load the GPS option.

Test this theory. If it doesn't work, then you can look on one of those devices that does have Google Maps with GPS and use javaloader to extract the COD modules associated to it.
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.
Offline  
Old 09-03-2007, 01:04 PM   #3 (permalink)
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,679
Post Thanks: 4
Thanked 96 Times in 71 Posts
Default

And that's why they call Jibi, "The internet."
Offline  
Old 09-04-2007, 09:46 AM   #4 (permalink)
New Member
 
Join Date: Aug 2007
Location: SE England
Model: 8900
PIN: N/A
Carrier: Vodafone UK
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sadly, having the gps tag present in the device.xml (thanks to your updated file) has no impact on the application. Javaloader seems beyond my understanding for now so I'll be patient and wait for google to update the package.
Offline  
Old 09-04-2007, 10:03 AM   #5 (permalink)
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

Here are the COD files:
http://www.google.com/gmm/apps/v1.6....10_v4_2_L1.cod
http://www.google.com/gmm/apps/v1.6...._v4_2_L1-1.cod
http://www.google.com/gmm/apps/v1.6...._v4_2_L1-2.cod

*Note: If you have Winzip installed, you will need to verify you save these as .cod extensions, as they will default to .zip.

*Second Note: You can change the model number in the links above to grab the latest versions of GMM for each device (then update the ALX below to 1.6.1). These are split into 3 ease-of-download COD files rather than a single larger container file (which has the three files in it).

And an example ALX mod that *should* work (although I'm using the 1.6.1 version of GMM, but that shouldn't matter):

Code:
<loader version="1.0">
 <application id="Google Maps">
  <name> Google Maps </name>
  <version> 1.6.0 </version>
  <vendor> Google </vendor>
  <copyright> Copyright (c) 2005-2006 Google, Inc </copyright>
   <fileset Java="1.5" series="8100">
    <files>
      gmaps8100_v4_0_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="8700">
    <files>
      gmaps8700_v4_0_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="7520">
    <files>
      gmaps7520_v4_0_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="7500">
    <files>
      gmaps7510_v4_0_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="8800">
    <files>
      gmaps8800_v4_2_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="8300">
    <files>
      gmaps8300_v4_2_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" GPS="True" series="8300">
    <files>
      gmaps8310_v4_2_L1.cod
      gmaps8310_v4_2_L1-1.cod
      gmaps8310_v4_2_L1-2.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="7200">
    <files>
      gmaps7290_v4_0_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="7100">
    <files>
      gmaps7100_v4_0_L1.cod
     </files>
    </fileset>
   <fileset Java="1.5" series="7700">
    <files>
      gmaps7730_v4_0_L1.cod
     </files>
    </fileset>
  </application>
</loader>
__________________
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 : 09-04-2007 at 10:05 AM.
Offline  
Old 09-04-2007, 10:16 AM   #6 (permalink)
New Member
 
Join Date: Aug 2007
Location: SE England
Model: 8900
PIN: N/A
Carrier: Vodafone UK
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
<fileset Java="1.5" GPS="True" series="8300">
<files>
gmaps8310_v4_2_L1.cod
gmaps8310_v4_2_L1-1.cod
gmaps8310_v4_2_L1-2.cod
</files>
I guess series should equal "8310" just thought I'd point that out so you can correct it for the sake of others.

Also could I ask, is there something more suitable to edit .alx files with than notepad? I am a bit concerned about what appear to be unix style carriage returns inside the file, so I have been using copy and paste for CR's, would the file not be readable if I was to not include the correct CR codes?

Many thanks jibi

Last edited by DannyC : 09-04-2007 at 10:17 AM.
Offline  
Old 09-10-2007, 04:38 AM   #7 (permalink)
New Member
 
Join Date: Aug 2007
Location: SE England
Model: 8900
PIN: N/A
Carrier: Vodafone UK
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sadly I can't get 1.6.1 onto our 8310s OTA using the files and alx above.
Is there a log written anywhere that might give a clue what the problem is?
Offline  
Old 09-10-2007, 10:27 AM   #8 (permalink)
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

Did you change the series to 8310? If so and didn't try it with 8300 as the series, then that will be the problem. Any text editor will be more than sufficient, so TextPad, etc. Usually these come at a price, although there are decent free Unix-compliant text editors out there (I just prefer TextPad myself).

Just to clarify, the series in the XML should be 8300 not 8310. It is differentiated by both the device ID (hex code) and the GPS="true" attribute. This is the same for most device series (8700 GSM, 8800 GSM, etc).
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.
Offline  
Old 09-10-2007, 11:18 AM   #9 (permalink)
New Member
 
Join Date: Aug 2007
Location: SE England
Model: 8900
PIN: N/A
Carrier: Vodafone UK
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

My bad, yes I used the 8310 as the series thinking I was clever.

Many thanks jibi
Offline  
Old 09-10-2007, 11:23 AM   #10 (permalink)
New Member
 
Join Date: Aug 2007
Location: SE England
Model: 8900
PIN: N/A
Carrier: Vodafone UK
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Seems I have a little problem. Using the alx below, I am getting both the 8300 modules and the 8310 modules deployed, I now have two icons and instances of GMM on my 8310.
Code:
<loader version="1.0">
 <application id="Google Maps">
  <name> Google Maps </name>
  <version> 1.6.1 </version>
  <vendor> Google </vendor>
  <copyright> Copyright (c) 2005-2006 Google, Inc </copyright>
   <fileset Java="1.5" series="8300">
    <files>
      gmaps8300_v4_2_L1.cod
      gmaps8300_v4_2_L1-1.cod
      gmaps8300_v4_2_L1-2.cod
     </files>
    </fileset>
   <fileset Java="1.5" GPS="True" series="8300">
    <files>
      gmaps8310_v4_2_L1.cod
      gmaps8310_v4_2_L1-1.cod
      gmaps8310_v4_2_L1-2.cod
     </files>
    </fileset>
  </application>
</loader>
Offline  
Old 09-10-2007, 01:56 PM   #11 (permalink)
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

Add GPS="false" to the first one. Sorry about that.
__________________
In the beginning the Universe was created. This has made a lot of people very angry and is widely regarded as a bad move.
Offline  
Old 09-11-2007, 09:39 AM   #12 (permalink)
New Member
 
Join Date: Aug 2007
Location: SE England
Model: 8900
PIN: N/A
Carrier: Vodafone UK
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Excellent thanks
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.