Usage: flash_tool OPTION...
Run FlashTool in console mode.
Argument instructions:
-i, --config console mode configuration file, mandatory with config.xml.
flash_tool -i config.xml
-s, --scatter scatter file path, mandatory without config.xml.
flash_tool -c download -s MT6575_Anroid_scatter.txt
-c, --operation flash tool features, mandatory without config.xml, just support:
format
download
format-download
firmware-upgrade
cert-download
efuse
dram-repair
flash_tool -c download -s MT6575_Anroid_scatter.txt
-d, --da_agent download agent file path.
flash_tool -d MTK_AllInOne_DA.bin -s MT6575_Anroid_scatter.txt -c download
-e, --cert_file certification file path.
flash_tool -e cert_file.cert -s MT6575_Anroid_scatter.txt -c cert-download
-p, --com_port com port, format is as COM4+COM6 (BROM download), COM5 (preloader download) on Windows and format is as 5-2+1-6(BROM download), 5-1(preloader download) on Linux.
flash_tool -p COM4+COM6 -i config.xml
flash_tool -p COM4+COM6 -s MT6575_Anroid_scatter.txt -c download
-r, --redirect redirect debug log to parent process.
flash_tool -r -i config.xml
-t, --battery_mode Specify battery mode. with, without and auto are available. if no specify the -t argument, the auto mode used. Only valid without config.xml.
flash_tool -d MTK_AllInOne_DA.bin -s MT6575_Anroid_scatter.txt -c download -t without
-b, --reboot reboot the device.
flash_tool -b -i config.xml
-o, --efuse_read_only efuse read only, ONLY on windows.
flash_tool -o -i config.xml
--disable_storage_life_cycle_check disable storage life cycle check feature.
flash_tool -s MT6575_Anroid_scatter.txt -c download --disable_storage_life_cycle_check
-a, --auth_file authentication file path.
flash_tool -a auth_file.auth -s MT6575_Anroid_scatter.txt -c download
-h, --help display help infomation and exit.