Command line tools are provided for extracting information such as device event logs and screen shots from BlackBerry® smartphones.
- BlackBerry® Desktop Manager 4.7 to 6.0
- BlackBerry® Desktop Software 1.0 to 2.1
- BlackBerry® smartphones
- Macintosh OS
- Windows®
- Open a command prompt. (Run As Administrator maybe required on some configurations).
- For computers using a 32-bit version of Windows®, type: cd C:\Program Files\Common Files\Research in Motion\Apploader\.
- For computers using a 64-bit version of Windows, type: cd C:\Program Files (x86)\Common Files\Research In Motion\Apploader\.
- Run the loader.exe command as needed to extract the required information from the BlackBerry smartphone.
loader.exe /<command>
eventlog [<output filename>]
screenshot [active|primary|auxiliary] [<output filename>]
dir [<output filename>]
deviceinfo [<output filename>]
radio [on|off]
resettofactory
dump [<output filename>]
- Do not include angled or square brackets when entering the command.
- If the BlackBerry smartphone has a password, there will be a prompt to enter the password within the command prompt.
- If open, close the BlackBerry® Desktop Software on the Mac computer.
- Open the terminal.
- Type: cd /Applications/BlackBerry\ Desktop\ Software.app/Contents/MacOS/
- Once in this directory, the command ./bbdm is used with the appropriate switches.
./bbdm [-password <password>] <command>
eventlog [<output filename>]
screenshot [active|primary|auxiliary] [<output filename>]
dir [<output filename>]
deviceinfo [<output filename>]
radio [on|off]
resettofactory
dump [<output filename>]
-
-password <password> connects using the password set on the smartphone.
Note
- Do not include angled or square brackets when entering the command.
-
If the BlackBerry smartphone has a password, it must be entered within the command line parameters.
-
If the password is not specified the Terminal window will prompt for the password to be entered.
Example: ./bbdm -password 12345 eventlog ~/Desktop/event.log where 12345 is the smartphone password
For computers using a 32-bit version of Windows®, this would export to:
C:\Program Files\Common Files\Research in Motion\Apploader\
C:\Program Files (x86)\Common Files\Research in Motion\Apploader\
Capture a screen shot from the BlackBerry smartphone.
loader.exe /screenshot active screenshot.bmp
Lists a device directory of all installed modules.
loader.exe /dir dir.log
For computers using a 32-bit version of Windows, this would export to:
C:\Program Files\Common Files\Research in Motion\Apploader\
C:\Program Files (x86)\Common Files\Research in Motion\Apploader\
Lists BlackBerry smartphone general information.
loader.exe /deviceinfo info.txt
For computers using a 32-bit version of Windows, this would export to:
C:\Program Files\Common Files\Research in Motion\Apploader\
C:\Program Files (x86)\Common Files\Research in Motion\Apploader\
• Hardware Id: (0x84000e07)
• PIN: (0x12A24B56)
• OS Version: (0x0)
• VM Version:(0x40600b9)
• Radio ID: (0x0)
• Vendor ID: (102)
• Active WAFs: (0x0)
Turns the device mobile radio on or off.
loader.exe /radio on
loader.exe /radio off
The smartphone must be running BlackBerry® Device Software 4.3 to 6.0.
Deletes all user data, including passwords and IT policy, from the smartphone.
loader.exe /resettofactory
The smartphone must be running BlackBerry Device Software 4.3 to 6.0.
Exports a file system dump of the BlackBerry device.
loader.exe /dump device.dmp
For computers using a 32-bit version of Windows®, this would export to:
C:\Program Files\Common Files\Research in Motion\Apploader\
C:\Program Files (x86)\Common Files\Research in Motion\Apploader\
URL: www.blackberry.com/go/nalogs
Saves the device event log to a specified file.
./bbdm eventlog ~/Desktop/event.log
This will export the event log to the users Desktop.
Capture a screen shot from the BlackBerry smartphone.
./bbdm screenshot active ~/Desktop/screenshot.png
This will export the screen shot to the users Desktop.
Lists a device directory of all installed modules.
./bbdm dir ~/Desktop/dir.log
This will export a the directory listing to the users Desktop.
Lists BlackBerry smartphone general information.
./bbdm deviceinfo ~/Desktop/info.txt
This will export the device info to the users Desktop.
• Hardware Id: (0x84000e07)
• PIN: (0x12A24B56)
• OS Version: (0x0)
• VM Version:(0x40600b9)
• Radio ID: (0x0)
• Vendor ID: (102)
• Active WAFs: (0x0)
Turns the device mobile radio on or off.
./bbdm radio on
./bbdm radio off
The smartphone must be running BlackBerry Device Software 4.3 to 6.0.
Deletes all user data, including passwords and IT policy, from the smartphone.
./bbdm resettofactory
The smartphone must be running BlackBerry Device Software 4.3 to 6.0.
Exports a file system dump of the BlackBerry device.
./bbdm dump ~/Desktop/device.dump
URL: www.blackberry.com/go/nalogs
Disclaimer
By downloading, accessing or otherwise using the Knowledge Base documents you agree:
(a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and
(b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.
Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.

