2017年3月4日土曜日

fastboot (version 0e9850346394-android)

usage: fastboot [ <option> ] <command>

commands:
update <filename>
Reflash device from update.zip. Sets the flashed slot as active.
update.zipからデバイスを再書き込みする。書き込みされたスロットをアクティブに設定する。
flashall
Flash boot, system, vendor, and -- if found -- recovery. If the device supports slots, the slot that has been flashed to is set as active. Secondary images may be flashed to an inactive slot.
boot、system、vendor、(みつかった場合は recovery も)を書き込みする。デバイスがスロットをサポートしている場合、書き込みされたスロットはアクティブに設定。セカンダリイメージは、非アクティブなスロットに書き込みされることがある。
flash <partition> [ <filename> ]
Write a file to a flash partition.
フラッシュパーティションにファイルを書き込む。
flashing lock
Locks the device. Prevents flashing.
デバイスをロックする。書き込みを防止する。
flashing unlock
Unlocks the device. Allows flashing any partition except bootloader-related partitions.
デバイスのロックを解除する。ブートローダ関連のパーティションを除くすべてのパーティションを書き込みできる。
flashing lock_critical
Prevents flashing bootloader-related partitions.
ブートローダ関連のパーティションを書き込みさせないようにする。
flashing unlock_critical
Enables flashing bootloader-related partitions.
ブートローダー関連のパーティションを書き込み可能にする。
flashing get_unlock_ability
Queries bootloader to see if the device is unlocked.
ブートローダに問い合わせて、デバイスがロックされていないか確認する。
flashing get_unlock_bootloader_nonce
Queries the bootloader to get the unlock nonce.
ブートローダに問い合わせてロック解除ナンスを取得する。
flashing unlock_bootloader <request>
Issue unlock bootloader using request.
<request>を使用してブートローダのロックを解除する。
flashing lock_bootloader
Locks the bootloader to prevent bootloader version rollback.
ブートローダーのロールバックを防ぐためにブートローダをロックする。
erase <partition>
Erase a flash partition.
フラッシュパーティションを消去する。
format[:[<fs type>][:[<size>]] <partition>
Format a flash partition. Can override the fs type and/or size the bootloader reports.
フラッシュパーティションをフォーマットする。ブートローダーが報告する fs type や size も無効にできる。
getvar <variable>
Display a bootloader variable.
ブートローダー変数を表示。
set_active <slot>
Sets the active slot. If slots are not supported, this does nothing.
アクティブなスロットを設定する。スロットがサポートされていない場合は、何もしない。
boot <kernel> [ <ramdisk> [ <second> ] ]
Download and boot kernel.
カーネルをダウンロードして起動する。
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ]
Create bootimage and flash it.
起動イメージを作成して書き込みする。
devices [-l]
List all connected devices [with device paths].
接続されたすべてのデバイス[デバイスパス付き]を一覧表示。
continue
Continue with autoboot.
自動ブートを続行する。
reboot [bootloader]
Reboot device [into bootloader].
[ブートローダーの中の]デバイスを再起動。
reboot-bootloader
Reboot device into bootloader.
ブートローダの中のデバイスを再起動。
help
Show this help message.
このヘルプメッセージを表示。

options:
-w
Erase userdata and cache (and format if supported by partition type).
ユーザーデータとキャッシュを消去する(パーティション形式でサポートされている場合はフォーマットする)。
-u
Do not erase partition before formatting.
フォーマットする前にパーティションを消去しない。
-s <specific device>
Specify a device. For USB, provide either a serial number or path to device port. For ethernet, provide an address in the form <protocol>:<hostname>[:port] where <protocol> is either tcp or udp.
デバイスを指定する。USBの場合は、シリアル番号またはデバイスポートへのパスを入力する。イーサネットの場合、<protocol>:<hostname> [:port]の形式でアドレスを指定する。<protocol>はtcpまたはudpのいずれかである。
-p <product>
Specify product name.
製品名を指定する。
-c <cmdline>
Override kernel commandline.
カーネルのコマンドラインをオーバーライドする。
-i <vendor id>
Specify a custom USB vendor id.
カスタムUSBベンダーIDを指定する。
-b, --base <base_addr>
Specify a custom kernel base address (default: 0x10000000).
カスタムカーネルベースアドレスを指定する(初期値:0x10000000)。
--kernel-offset
Specify a custom kernel offset. (default: 0x00008000)
カスタムカーネルオフセットを指定する。(初期値:0x00008000)
--ramdisk-offset
Specify a custom ramdisk offset. (default: 0x01000000)
カスタムRAMディスクオフセットを指定する。(初期値:0x01000000)
--tags-offset
Specify a custom tags offset. (default: 0x00000100)
カスタムタグのオフセットを指定する。(初期値:0x00000100)
-n, --page-size <page size>
Specify the nand page size (default: 2048).
ナンバーページのサイズを指定する(初期値:2048)。
-S <size>[K|M|G]
Automatically sparse files greater than 'size'. 0 to disable.
「サイズ」よりも大きいファイルを自動的にスパースする。無効にするには0を入力する。
--slot <slot>
Specify slot name to be used if the device supports slots.
All operations on partitions that support slots will be done on the slot specified.
'all' can be given to refer to all slots.
'other' can be given to refer to a non-current slot.
If this flag is not used, slotted partitions will default to the current active slot.
デバイスがスロットをサポートする場合に使用するスロット名を指定する。
スロットをサポートするパーティションのすべての操作は、指定されたスロットで実行される。
all … すべてのスロット
other … 現在アクティブなスロット以外
このフラグなし … 現在アクティブなスロット

-a, --set-active[=<slot>]
Sets the active slot. If no slot is provided, this will default to the value given by --slot. If slots are not supported, this sets the current slot to be active. This will run after all non-reboot commands.
アクティブなスロットを設定する。スロットがない場合、デフォルトでは--slotで指定された値になる。スロットがサポートされていない場合、これは現在のスロットをアクティブに設定する。これは再起動しないすべてのコマンドの後に実行される。
--skip-secondary
Will not flash secondary slots when performing a flashall or update. This will preserve data on other slots.
flashall または update を実行する際にセカンダリスロットに書き込みしない。これにより、他のスロットのデータが保持される。
--unbuffered
Do not buffer input or output.
入力または出力をバッファしない。
--version
Display version.
バージョンを表示。
-h, --help
show this message.
このメッセージを表示。