An open API service indexing awesome lists of open source software.

https://github.com/zalexanninev15/emmcdl

Console utility for working with device partitions based on the Qualcomm processor for Linux
https://github.com/zalexanninev15/emmcdl

android emmcdl flash linux partition pft qualcomm rom zte

Last synced: 9 months ago
JSON representation

Console utility for working with device partitions based on the Qualcomm processor for Linux

Awesome Lists containing this project

README

          

Version 2.10
Usage: emmcdl
Options:
-l List available mass storage devices
-info List HW information about device attached to COM (eg -p COM8 -info)
-MaxPayloadSizeToTargetInBytes The max bytes in firehose mode (DDR or large IMEM use 16384, default=8192)
-SkipWrite Do not write actual data to disk (use this for UFS provisioning)
-SkipStorageInit Do not initialize storage device (use this for UFS provisioning)
-MemoryName Memory type default to emmc if none is specified
-SetActivePartition Set the specified partition active for booting
-disk_sector_size Dump from start sector to end sector to file
-d Dump from start sector to end sector to file
-d Dump entire partition based on partition name
-d logbuf@ Dump size of logbuf to the console
-e Erase disk from start sector for number of sectors
-e Erase the entire partition specified
-s Number of sectors in disk image
-p Port or disk to program to (eg COM8, for PhysicalDrive1 use 1)
-o Output filename
[<-x <*.xml> [-xd ]>...] Program XML file to output type -o (output) -p (port or disk)
-f Flash programmer to load to IMEM eg MPRG8960.hex
-i Single image to load at offset 0 eg 8960_msimage.mbn
-t Run performance tests
-b Write to GPT
-g GPP1 GPP2 GPP3 GPP4 Create GPP partitions with sizes in MB
-gq Do not prompt when creating GPP (quiet)
-r Reset device
-ffu <*.ffu> Download FFU image to device in emergency download need -o and -p
-splitffu <*.ffu> -o Split FFU into binary chunks and create rawprogram0.xml to output location
-protocol Can be (STREAMING), default is (FIREHOSE)
-gpt Dump the GPT from the connected device
-raw Send and receive RAW data to serial port 0x75 0x25 0x10
-wimei Write IMEI
-v Enable verbose output

Examples:
emmcdl -p ttyUSB0 -info
emmcdl -p ttyUSB0 -gpt
emmcdl -p ttyUSB0 -SkipWrite -SkipStorageInit -MemoryName ufs -f prog_emmc_firehose_8994_lite.mbn -x memory_configure.xml
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -x rawprogram0.xml -SetActivePartition 0
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -x rawprogram0.xml -xd imagedir -SetActivePartition 0
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -ffu wp8.ffu
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -d 0 1000 -o dump_1_1000.bin
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -d SVRawDump -o svrawdump.bin
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -b SBL1 c:\temp\sbl1.mbn
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -e 0 100
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -e MODEM_FSG
emmcdl -p ttyUSB0 -f prog_emmc_firehose_8994_lite.mbn -raw 0x75 0x25 0x10