JL_Cmder *Updated 10/10/2008* -
11-09-2005, 11:28 AM
What is JL_Cmder?
JL_Cmder stands for JavaLoader Commander. JavaLoader is a command line tool provided by BlackBerry. JL_Cmder simplifies accessing the most commonly used JavaLoader commands.
Are there any system requirements?
Yes. You must install BlackBerry Desktop Manager or BlackBerry USB and Modem Drivers. Both are available from the BlackBerry website.
What can JL_Cmder do?
Below is a brief overview of the available commands.
deviceinfo - Displays information about the handheld.
eventlog - Retrives and displays the handheld event log.
screenshot - Takes a picture of the handheld screen. (OS 4.0.2+ required)
wipe - Erases the handheld OS. Not really, but that is the simpliest way to explain it.
resettofactory - Removes the IT Policy from the device. (OS 4.3+ required).
NOTE: If you want to use an unlisted JavaLoader command select Command-Line Usage from the menu. This will display JavaLoader help information including syntax and all available commands.
Installation Instructions
Download JL_Cmder.
Extract executable.
Double-click on executable. Vista Users: Right-click on executable and select Run As Administrator.
NOTE: Do NOT use JL_Cmder to wipe your device if your device is working fine and are simply attempting to upgrade your OS and you can't get the OS to load. Doing so will most likely render your device useless until you find the root cause of why the OS will not load to the device. Generally, this is caused by not deleting the vendor.xml file(s)
The JavaLoader switches it uses are: deviceinfo, eventlog, radio, screenshot, and wipe. For commands that list information from the device JL_Cmder will automatically expor the data into text file for easier reading/modifying. When using the screenshot command all you have to do is type in the name you want to give to the picture. Since the wipe command is a little more dangerous (nukes the device), I added a number of confirmations.
Nothing really fancy, but it gets the job done for me.
I uploaded a new attachment. JL_Cmder does the same thing as before, I just reworded a few things and made it a bit more modular. I also uploaded a screenshot for those who are interested.
Reply to PIN msg from Hannah -
11-25-2005, 05:22 PM
Hannah - The screenshot function does not work except for the 7100 and 8700 (guessing) series BlackBerries. This is not a issue with JL_Cmder, but rather with javaloader.exe itself. JavaLoader was not able to capture the screenshot and save it to disk. JL_Cmder does not currently look for the existance of the screenshot, so you see an error when attempting to open a non-exsistent file.
As a work around, you can download the BlackBerry JDE Kit. This will install a number of BB simulators which you can capture screenshots from the simulator itself.
I know many of us on this forum have to support BlackBerries in one way or another. I really like using the JavaLoader utility, from the BlackBerry JDE, during my troubleshooting. So I made myself a little batch script called JL_Cmder to manipulate JavaLoader for me. I figured I would share it with everyone else on the site. To install JL_Cmder just extract the files and run Install.cmd.
I am not a programmer, so no laughing at my fancy interface. If anyone has any suggestions you can leave a note in this message thread or send me a PIN message. Keep in mind that due to my company’s policy, I can receive PIN message but not send them. So don’t expect a reply to a PIN message.
Enjoy,
Doug
PIN: 202D61CD
Thank you for your application, I finally got it to work, great neat little app, I had been looking for this for a long time.
Uploaded a new version of JL_Cmder. The primary change is the addition of an uninstall option (see thumbnail above). An empty directory is left behind at %ProgramFiles%\JL_Cmder.
Do you have the handheld software installed on your computer? IS your USb connected directly to the port and not a Hub? It will sometimes not find it on a Hub.
It work perfect on my 7105t, just one suggestion, when capture screenshot, can it be change to jpeg instead of bmp.
Edit" I mean default save as jpeg instead of bmp"
Unfortunatlly no. JavaLoader saves files in BMP format. JL_Cmder is is simply executing the commands built it to JavaLoader. After the screenshot is saved it is automatically opened in whatever application is set to open BMP files. Right now, all you can do is save as into JPG format. I will see if I can come up with something to make this automatic.
Doug
Last edited by d_fisher : 01-23-2006 at 10:27 PM.
Reason: Corrected incorrect statement
Do you have the handheld software installed on your computer? IS your USb connected directly to the port and not a Hub? It will sometimes not find it on a Hub.
Got it figured out. Bad USB cable. Kept losing connectivity. Replaced cable and all is well. Able to wipe and do the 4.1 install without a hitch.
it keeps crashing on my windows xp machine whats wrong?
Honestly, I don't have any idea what the problem might be. JL_Cmder is a simple batch file that executes JavaLoader command-line options.
I would suggest trying to execute JavaLoader.exe directly (C:\Program Files\JL_Cmder) and see if the problem continues. If it does, then its not my batch file causing the problem. You might want to make sure that your computer is set so that it does not automatically reboot on BSOD. If you get the error message from the BSOD it may help determine the problem.
When I try to execute it shows your program and after i press any key, it crashes and this message pops up:
" 16 bit MS-DOS Subsystem
jl_cmder v 1.8.1
c:\windows\system32\autoexec.nt. The system file is not suitable for running MS-DOS and microsoft windows applications. chose "close" to terminate the application."
What I should do? I run windows xp with sp2
Thanks
PS I just loaded from MS DOS prompt javaloader.exe
I type this command c:\bberaser\javaloader.exe [-u] [-w<mypassword>] <wipe [-f]>
When I try to execute it shows your program and after i press any key, it crashes and this message pops up:
" 16 bit MS-DOS Subsystem
jl_cmder v 1.8.1
c:\windows\system32\autoexec.nt. The system file is not suitable for running MS-DOS and microsoft windows applications. chose "close" to terminate the application."
PS I just loaded from MS DOS prompt javaloader.exe
I type this command c:\bberaser\javaloader.exe [-u] [-w<mypassword>] <wipe [-f]>
where I type wrong?
Let me know please
Thanks
Start > Run > CMD (not command) to launch a command window. Try C:\bberaser\javaloader.exe -u wipe. Personally, I never use the password switch. It you need to enter a password, you will be prompted for it. Hope this helps
Thanks for your answer, it finally wiped OS from my Blackberry 7290 and now it has an icon with this image of some circle and inside looks like a desktop and all over its crossed bellow it has number 507.
Now please excusse me for my ignorance. I went to Cingular and downloaded 4.1 application loader. How I install 4.1 OS on my blackberry?
I connected USB to my blackberry and application loader connected to blackberry without any problem and this message shows:
"No system software was found for your device.
Contact your system administrator or service provider
for information on obtaining device system software."
Install Desktop Manager and the OS software -
01-28-2006, 01:28 PM
Install the desktop first. Then install the OS for the HH. Plug the BB back in, and it should recognize it and ask you if you want to install the OS. You need both the DM and the OS to make this work.
Quote:
Originally Posted by cooler
Thanks for your answer, it finally wiped OS from my Blackberry 7290 and now it has an icon with this image of some circle and inside looks like a desktop and all over its crossed bellow it has number 507.
Now please excusse me for my ignorance. I went to Cingular and downloaded 4.1 application loader. How I install 4.1 OS on my blackberry?
I connected USB to my blackberry and application loader connected to blackberry without any problem and this message shows:
"No system software was found for your device.
Contact your system administrator or service provider
for information on obtaining device system software."
I downloaded application manager from cingular version 4.1 and where I can get OS?? What is DM?
I think that after you answer this question I will be done! Also is it possible to load OS 4.0 designed for T-Mobile since my blackberry is unlocked and I am using T-Mobile sim card and their data service.
You gave me link to another thread, but it does not answer my question, I re-read all over again.
I installed application manager then OS for my blackberry. when I connect blackberry the application manager does not load OS on it. whats wrong? on other blackberries it does without problem.
You are trying to load the T-Mobile OS on a Cingular Blackberry. For this to work, you have to delete the vendor.xml file from your PC. Not sure where it exists on your PC exactly, search for it and either delete it or rename it. Then try to reload the OS again.
Thanks for a great utility. Can you publish the known/complete command line switches for javaloader or are they all in JL_Cmder. I looked around for docs on this but no could find.
Option 6 will list all the command-line switches for JavaLoader. Same results as doing JavaLoader /?.
Code:
Usage: JavaLoader [-u] [-p<port>|<pin>] [-b<baud>] [-d0|-d1] [-w<password>] [-q] <command>
-u Connect to USB handheld (default is serial)
-p<port> Specifies the serial port (serial handhelds only)
-p<pin> Specifies the handheld PIN (USB handhelds only)
-b<baud> Specifies the baud rate (serial handhelds only)
-d0 Disables VM debug mode
-d1 Enables VM debug mode
-w<password> Connects using the specified password
-q Quiet mode
<command> is of
dir [-d] [-s]
Lists modules on the handheld
-d Display dependency information
-s Display siblings
deviceinfo
Provides information on the handheld
load <.cod file> ...
Loads modules onto the handheld
save <module> ...
Retrieves modules from the handheld
info [-d] <.cod file> ...
Provides information on the specified modules
-d Display dependency information
wipe [-a|-f]
Wipes the handheld
-a Wipe applications only
-f Wipe filesystem only
erase [-f] <module> ...
Erases modules on the handheld
-f Force erase of in-use modules
debugmode
Enables VM debug mode
eventlog
Retrives the handheld event log
settime
Sets the time on the handheld to the current time
radio on|off
Turns the handheld's radio on or off
enum
Enumerates all USB handhelds
siblinginfo <.cod file> ...
Provides sibling information on the specified modules
screenshot <.bmp file>
Retrives the current screen contents and saves it as a BMP file
are there any known issues with this app locking up the BB device (8700c) when taking screenshots? It seems like every 3rd or so screenshot I take, my device locks up.
are there any known issues with this app locking up the BB device (8700c) when taking screenshots? It seems like every 3rd or so screenshot I take, my device locks up.
None that I am aware of. I can personally claim over 60 screenshots, in a row, without any problems during my testing. My guesses, not in any particular order, would be 1) third party software on the BB, 2) custom themes on the BB, and 3) faulty or failing USB cable.
are there any known issues with this app locking up the BB device (8700c) when taking screenshots? It seems like every 3rd or so screenshot I take, my device locks up.
Hi,
I've got a 7100V, I've installed the JL_Cmder on my PC but when I select the option 4) ScreenShot, the PC open the file manager and I can't use the blackberry screenshot to create some documentations.
Could you please help me ???
Thanks a lot
What BlackBerry OS is installed on your 7100v? It must be 4.0.2 or higher to work. Double-check by going to Settings > About.
Do you have BlackBerry Desktop Manager or BlackBerry Device Manager installed on your computer? Was your BlackBerry connect to the PC during the install of either? If so, uninstall and reinstall with the BlackBerry disconnected.
Are you getting a popup message stating the file or path can not be found? Is your USB cable damaged? Try using a different one if possible.
Try opening a BMP file directly, right-click any BMP > Edit. What application did the BMP open in? This should duplicate the action taken immediatly following the screen capture.
Hi,
about your first check, do you mean the Desktop Manager ? If yes, I've got this version: 4.0.0.30 and for the component: Blackberry Handheld Manager this 4.0.0.32. That's why it doesn't work !!!
I received the 7100V yesterday from Vodafone ...
Thanks a lot
Ciao
about your first check, do you mean the Desktop Manager ?
No, the Desktop Manager version shouldnt matter. When you connect your BlackBerry to the computer, is it detected as a BlackBerry device, or does it ask for drivers? You need to determine the OS installed on the BlackBerry itself. From the main screen, select Settings > About. The third line on this screen should list the OS version.
Do any of the other JL_Cmder options work? Try option 1 (deviceinfo) or 2 (eventlog). Both of these should open a text document populated with the requested info from the BlackBerry.