MTTY刷机指令命令

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

MTTY刷机指令命令(修复砖头用)大全-最详细的指令介绍

2009-11-08 20:41

MTTY 命令,详细参考下面英文内容:

本指令适用于刷机成砖头的,一般正常的就免试了,只作为一种修复方法

task 28 命令,此命令能修复一部分刷机失败,死机再启动画面的机器,此命令可以代替硬启按键。

task 28 55aa 命令,此命令能修复一部分刷机USB升级后ROM的文件储存方式。(刷机写入不成功的,首先可试一下这个指令)

format BINFS 升级降级OS版本必须命令,在2003和wm5之间互刷必须先执行此命令,此命令是格式化doc芯片,此法也同样能修复一部分刷坏的机器。

info 8 察看flash检查返回结果,如果有坏块,里面会有提示

info 2 检测机器CID号

task 32检测机器CID号

task 2a 命令修复坏块

另附:info 3

info 7

info 4

doctest 格式化,只保留IPL SPL。(一般不用)

下面是mtty大部分spl命令(你的机子不一定全部命令都能用,因为智能机子的cpu分TI的和intel的等等,机情不同)以及命令参数形式和命令执行后的部分样本

Bootloader commands:

Some of this info has been taken from the help available in older HTC Devices and may not be the same in the Hermes Bootloader; see the Hermes specific notes below each command.

-------------------------------------------------------------------------

第一个:

set

Usage:

set [Type [Value]]

Set control flags.

Type(hex) : Control function types.

Value(hex) : Setting values for types.

If value is not given, default is 0.

Type 0(Echo on/off): 1(on) and 0(off).

cEchoFlag: Wether to echo all input. 1 to show what you type, 0 to stay quiet

Type 1(Operation mode): 1(auto) and 0(user).

cOpModeFlag: Set to 0 for friendly return values, 1 for easy-to-parse return values (0 for users, 1 for programs)

Type 2(Back color on/off): 1(on) and 0(off).

cBackColorShowFlag: Wether to draw a background with text.

Type 3(Inverse on/off): 1(on) and 0(off).

cShowInverseFlag: Wether to inverse fore and background colors (1 = yes, 0 = no)

Type 4(Front color value): 16 bits data

g_wFColor: Foreground color, 16-bit number, 5-6-5 bit compression Type 5(Background color value): 16 bits data

g_wBColor: Background color, 16-bit number, 5-6-5 bit compression Type 6(Set color of screen): Fill color to whole screen one time. Type 8(COMM queue flag): 0(TX_RX disable),1(RX enable),2(TX enable) and 3(TX_RX enable).

g_cCommQueueFlag: Unknown

Type 14(action after reset): What to do after a reset. Set to 1 to go to bootloader after reset, set to 0 to start OS.

Type 16(RUU Flag): setting it to 0 if your machine starts in bootloader mode may help to solve this problem.

Type 1E(RUU command read/write flag): 1(unlock) and 0(lock).

Current flag settings:

Type 0(Echo flag): cEchoFlag=(0x1).

Type 1(Operation mode flag): cOpModeFlag=(0x0).

Type 2(Back color flag): cBackColorShowFlag=(0x1).

Type 3(Inverse flag): cShowInverseFlag=(0x0).

Type 4(Front color): g_wFColor=(0x0).

Type 5(Background color): g_wBColor=(0xFFFF).

Type 6(Set color of screen): None.

Type 8(COMM queue flag): g_cCommQueueFlag=(0x0).

Type 1E(RUU command read/write flag): g_cRUUCommandRWFlag=(0x0).Example commands issued by ROMUpgradeUt:

set 14 0 - start OS after a reset

set 5 7777 - change bg color

set 2 1 - change back color on

set 6 FFFF - screen color FFFF

set 1 0 - operation mode user

---------------------------------------------------------------------

相关文档
最新文档