How does android use the software method disable JTAG and androidjtag?
The method is as follows: (1) Enable_SW_JTAG_CON bit as follows:
[Security control]
; If Enable_SW_JTAG_CON = 1, enable sw control to jtag
Enable_SW_JTAG_CON = 1
(2) In the alps \ mediatek \ custom \ $ (project) \ securit \ chip_config \ s \ cfg \ SECRE_JTAG_CONFIG.ini File
SECURE_JTAG_ENABLE is set to FALSE, and the image is re-built.
Notes:
(1) The above method is not permanently disable JTAG. If you want to restore the JTAG function in the future, set SECURE_JTAG_ENABLE to TRUE;
(2) If you want to permanently disable the JTAG function, you need to set the H/W control bit of the JTAG in efuse register.
Disable attribute in android initrc
Disable indicates that the system service is not started. You need to modify the attributes, for example, property_set ("ctl. start", "bootanim"); to play the startup animation.
How can we call the button disable function on android?
The disable you mentioned is invisible or not clickable...
If you can't click it, It's setEnable... you don't know if you can't see it... It seems that there is no setVisable method in android...