Binary build date: Jun 25 2019 @ 03:16:15
QSAHARASERVER CALLED LIKE THIS: 'QSaharaServer.ex'Binary build date: Jun 25 2019 @ 03:16:15
Built Jun 25 2019 03:16:15
Sahara mappings:
Search paths:
Usage options:
-h --help Brings up this help message
-p <port name> --port <port name> COM Port / TTY device to use. Example /dev/ttyUSB0 or \\.\COM5
-v <numeric level> --verbose <numeric level> Print verbose messages
-c <command_id> --command Force Sahara command mode
-m --memdump Force Sahara memory debug mode
-i --image Force Sahara image transfer mode
-s <img_id:file_name> --sahara <img_id:file_name> Specify Sahara protocol file mapping
-g <prefix> --prefix <prefix> Specify prefix to use on files received from target
-w <path> --where <path> Path to store files received from target
-r <image ID> --ramdumpimage <image ID> Image ID which must be transferred before forcing Sahara memory dump mode
-l --efssyncloop At the end of the Sahara state machine loop back to the beginning
-t <timeout> --rxtimeout <timeout> Timeout for which to wait for data from the port
-j <# bytes> --maxwrite <# bytes> Max bytes to write in a single shot to the port
-b <path> --addsearchpath <path> Where to look for files
-k --sendclearstate Send command to target to reset the Sahara State Machine. Does not work on all targets.
-u <port number> --portnumber <port number> Specify the port number instead of port file. the string \\.\COM will be added as the port.
-x --switchimagetx Forcefully put the target into image transfer mode after command execution
-o --nomodereset After downloading ram dumps, do not switch to any mode, just return. If enabled returns error after downloading dumps.
-a <cmd_id:file_path> --cmdrespfilepath <cmd_id:path> File name with path to save response received for executed command, cmd
NOTE: Only use -s option if you need to overwrite the default file mappings above
Example usage:
QSaharaServer.exe -p \\.\COM19 -s 13:ENPRG9x25.mbn
QSaharaServer.exe -p \\.\COM19 -s 13:prog_emmc_firehose_8994_lite.mbn -b \\harv-ahughes\dropbox\Kevin_Builds\RICK_BOOT.BF.2.3-00181-M8994AAAAANAAB-1_Next\boot_images\build\ms\bin\8994\
sudo QSaharaServer.exe -p /dev/ttyUSB0 -s 11:my_osbl.mbn -s 2:testamss.mbn
To retrieve serial number
QSaharaServer.exe -r 21 -c 1 -w c:\temp\PATHFORMDMUPLOADS\ -p \\.\COM19 -s 16:efs1.bin -s 17:efs2.bin -s 20:efs3.bin -b c:\temp\PATHFORMDMUPLOADS\ -b c:\fusiononpc\9x15_images\
For image transfer
QSaharaServer.exe -r 21 -w c:\temp\PATHFORMDMUPLOADS\2d966200\ -p \\.\COM19 -s 16:m9kefs1 -s 17:m9kefs2 -s 20:efs3.bin -b c:\temp\PATHFORMDMUPLOADS\2d966200\ -b c:\fusiononpc\9x15_images\
For EFS sync
QSaharaServer.exe -l -m -v 1 -w c:\temp\PATHFORMDMUPLOADS\2d966200\ -p \\.\COM21 -g m9k1_