| || |
| | 08-04-2012, 11:51 PM Thread Author #1
Let's get a list of CFP commands
This is a list of relevant info from CFP itself (shortened from the full help printouts which are available at http://pastebin.com/yHLjy2eE):
CFP [-u<port>] [-g<GUID>] [-IG] [-W<password>] [-NP] [-FS] [-V<verbosity>] [
-T <max connect timeout>] [-C <max command timeout>]<command>
-U<port> specifies the USB port (e.g. -U4 specifies USB port 4); Configuration with USBPortMapper.exe is required.
-G<GUID> specifies the device GUID. Cannot be combined with -U
-IG specifies that cfp will ignore the device GUID when connecting to a device. Cannot be used with -U or -G options.
-W<password> specifies the device password. If a password is required, but not provided, the user will be prompted to enter the password.
-NP specifies that the operation should only procede if there is NO password. The operation will abort if a password is set.
-FS specifies that only a full speed RAMImage may be uploaded.
-V<verbosity> specifies the level of information chatter. If ,<filename> is specified, all output other than the progress will be sent to the specified file.
-T<max connect timeout> specifies a maximum conection timeout in ms.
-C<max command timeout> specifies a maximum command timeout in ms.
<command> is one of
LOAD <filename1> [filename2] [-v] [-p]
SAVEFS [-X] <filename>
READ <range> [-A] <filename>
CREAD <range> [-A] <filename>
WRITE <range> <filename> [<offset>] [-v]
WRITE <start address> <filename> [<offset>] [-v]
HASHBOOTROM [<bootromfile> [<hwvfile>]]
USBMS [-i<INFO> | -s<ENABLE> | -c<DISABLE>]
PATRIOT [-o] <subcommand> [<arguments>]
<range> is one of
<start address>-<end address> (start address < end address)
<start address>,<length> (length > 0)
All addresses, lengths, and offsets are expressed in HEX. Also,
<end address> is the address of the last byte in the range (e.g. <length> = <end address> - <start address> + 1)
-vd Display nothing at all (output disabled)
-v0 Display nothing other than progress
-v1 Display errors
-v2 Display errors and warnings (default)
-v3 Display procedural steps
-v4 Display protocol commands
-v5 Display everything. Lots of chatter!
USB Ports: to use this feature, configuration with USBPortMapper.exe
is required. Please see 'USBPortMapper.exe HELP' for more information.
The HELP command invokes the built-in help system.
The INFO command extracts and then displays a wealth of information about the device.
The FLASHINFO command extracts and then displays information about the flash
The FILEINFO command extracts and then displays a wealth of information about the specified files.
The LOAD command loads the specified file(s) onto a device.
The WIPE command allows the filesystemor all the filesystem and OS regions of flash to be irreversibly erased.
The SAVEFS command saves the file system data from a device to the specified file.
The CSAVEFS command saves an encrypted filesystem dump.
The NUKE command erases all of the user's data off the device including the filesystem and the password.
The FRESH command puts the device into freshness seal.
The ERASE command erases flash sectors on a device. The INFO will provide all of the address information required to use this command.
The READ command reads data from flash on a device and writes it to a file.
The CREAD command saves an encrypted image of memory.
The WRITE command writes data from a file to flash on a device.
The HIS puts the device into Head in Sand mode.
The HOS takes the device out of Head in Sand mode.
The GETHISMODE gets the Head in Sand mode of the device.
The SETHISMODE sets the Head in Sand mode of the device.
The HASHBOOTROM command connects to a device and calculates a SHA-1 hash signature of the bootrom.
The USBMS command can be used to check or change USB Mass Storage mode on USBMS-capable devices.
The PATRIOT command accesses a set of sub-commands for Patriot operations (INFO, LOAD, BERBUG, ERASE, WRITE, READ, LOCKSTATUS, RESETLOG, MEMTEST, WIPE).
The GETLOG command reads the bugdisp log for debug RAMImages.
However, that is NOT a full list of commands. For example, we already know about the undocumented resetqnxosregion, which is used to prevent a new OS from installing after it has been unpacked.
Unlisted CFP commands:
cfp load coreos.signed - loads the .signed file extracted from a qcfm.barfp
It's entirely your fault if you brick your PlayBook using any of this info.