[BB] Javaloaderをそのまま使ってみる

BBSAK や BBH Tool はバックエンドに Javaloader.exe を使っています。

Javaloader.exe はBlackBerryを操作するためのツールです。
フォント削除を行うバッチファイルも Javaloader.exe を使っています。

以下は、BBH Tool に同梱されている Javaloader.exe のオプションです。

BBHTool-pub>javaloader
Usage: JavaLoader [-p<pin>] [-d0|-d1] [-w<password>] [-q] <command>

-p<pin> Specifies the handheld PIN (hex pin prefix '0x')
-d0 Disables VM debug mode
-d1 Enables VM debug mode
-w<password> Connects using the specified password
-q Quiet mode

<command> is one of

dir [-d] [-a] [-s] [-1]
Lists modules on the handheld
-d Display dependency information
-a Display alias information
-s Display siblings
-1 Single column output

deviceinfo
Provides information on the handheld

load <.cod file> ...
Loads modules onto the handheld

load <.jad file>
Load modules described by JAD onto the handheld

load @<manifest> ...
Loads all modules named in <manifest> onto the handheld

save { <module> ... | -g <group> }
Retrieves modules from the handheld
-g Retrieves all modules in a specified group

info [-d] [-a] [-s] [-v] <.cod file> ...
Provides information on the specified modules
-d Display dependency information
-a Display alias information
-s Display sibling information
-v Display verbose module information

wipe [-a|-f]
Wipes the handheld
-a Wipe applications only
-f Wipe filesystem only

erase [-f] { <module> ... | -g <group> }
Erases modules on the handheld
-f Force erase of in-use modules
-g Erases all modules in a specified group

debugmode
Enables VM debug mode

eventlog
Retrieves the handheld event log

cleareventlog
Clears 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 [active|primary|auxiliary] <.bmp file>
Retrieves the current contents of the specified screen
and saves it as a BMP file. If the screen is not
specified, the default is "active".

logstacktraces
Dumps the stack traces for all threads to the event log

resettofactory
Reset IT policy to factory settings
(Wipes all user data)

recoverflash <size in bytes>
Attempts to recover the specified amount of flash

backupgroups
Backs up application groups for third party applications - JAD files and cod files are saved in the current folder

restoregroups
Restores application groups for third party applications - looks for all JAD files in the current folder

wait4device
waits until a device is connected & ready to run JavaLoader commands, no password needed for this command.

langid
displays list of all supported language ids with description and corresponding locale id

良く使うのは、load, save ですね。
wipeで デバイスの初期化、resettofactory で、IT Policy の 初期化が出来ます。

BBSAKを使っていてうまく BlackBerry デバイスに接続出来ない場合は、Javaloader.exe を直接操作することで接続出来る場合があります。
緊急時に覚えておくと便利です。

コメントは受け付けていません。

%d人のブロガーが「いいね」をつけました。