Contact Us

Require Technical Writing services?

Want us to write a guide?

Have feedback

Have equipment to donate?

Looking to advertise on our site?

email

webcontact@enduserguides.com

phone

866.882.0697 (Toll-Free)

Using the BlackBerry Javaloader

Home » Mobile & Cellphone » BlackBerry Guides » Using the BlackBerry Javaloader
Published: Andreas Wiebe, 19 January 2010 - 04:06

You can use the JavaLoader.exe file to perform low-level, debugging, or loading operations on a BlackBerry. JavaLoader.exe is a powerful tool that can be used for various administrative tasks on the BlackBerry, however most users (and admins too) find it difficult to use.

This guide is relevant for all USB java models (in theory serial/com port models are the same, but you must specify the port the device is attached to rather than USB)

Notes:

  • If you are looking for information on setting a BlackBerry back to factory settings (to remove security policies for example), please see Resetting a BlackBerry to Factory Settings
  • This guide only covers those JavaLoader utilities which we have experience with, if you have experience with the other utilities we'd be glad to add the use here (contact us please).
  • We use output redirection to save some of JavaLoader's output to a text file, to display on the screen rather than save to a file remove the "> file.txt" portion of the command.
  • These commands must be run from a Command shell (Win9x: Start --> Run --> command, Win2000+: Start --> Run --> cmd) and in the directory (folder) where javaloader.exe exists (typically: C:\Program Files\Research In Motion\BlackBerry JDE 4.0bin).
  • WARNING: The Javaloader.exe tool should be handled with extreme care, particularly when used for wiping devices, loading modules, or removing modules. EndUserGuides.com, BlackBerryGuide.com, drewiebe.ca, and its affiliates take no responsibility in the use of this tool, use at your own risk. Please read our disclaimer for more information.

 

Details:

Obtaining JavaLoader.exe

JavaLoader.exe comes with the BlackBerry JDE, you can download it here: www.blackberry.com/developers/na/java/tools/index.shtml

You can also find JavaLoader.exe bundled with JL_Cmder, blackberryfreaks.com has this available here: http://www.blackberryfreaks.com/JL_Cmder.html

Description:

Usage: JavaLoader [-usb] [-p] [-b] [-d0|-d1] [-w] [-i] [-q]

 

  • dir [-d] [-s]
  • deviceinfo
  • load ...
  • save ...
  • info [-d] ...
  • wipe [-f | -a]
  • erase [-f] ...
  • debugmode
  • eventlog
  • settime
  • radio on|off
  • enum
  • siblinginfo ...

Examples:

Load a .cod file to the device:
javaloader -usb load
(Note on dependencies: If you are loading many modules, load the child-modules first)

Erase a module from the device (caution is urged):
javaloader -usb erase

Erase a module from the device (force if in use, extreme caution is urged):
javaloader -usb erase -f

Wipe the device (considered a low-level format, caution is urged):
javaloader -usb wipe

Save the device info to a text file (device.txt):
javaloader -usb deviceinfo > device.txt

Save the eventlog to a text file (event.txt):
javaloader -usb eventlog > event.txt

Save a listing of all modules on the device to a text file (dir.txt):
javaloader -usb dir > dir.txt

Save a listing of all modules & Dependencies on the device to a text file (dir.txt):
javaloader -usb dir -d > dir.txt

Save a listing of all modules & sub-modules on the device to a text file (dir.txt):
javaloader -usb dir -s > dir.txt

Turn the device radio on:
javaloader -usb radio on

Turn the device radio off:
javaloader -usb radio off