Ubuntu MTK FlashTool命令行工具使用方法

51 篇文章 2 订阅
26 篇文章 1 订阅
flash_tool_path=/path/to/SP_Flash_Tool_v5.1944_Linux;
$flash_tool_path/flash_tool -d $flash_tool_path/MTK_AllInOne_DA.bin -s /path/to/MT6580_Android_scatter.txt -c format-download -t auto -b;

-d 指定 DownloadAgent 的路径
-s 指定 Android_scatter.txt 的路径
-c 指定下载方式,我这个使用 format-download 来做格式化下载
-t auto 指定是否上电
-b 下载之后自动开机

各个参数的详细介绍可以使用 flashtool --help命令进行查看

flashtool --help



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
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值