Bootstrap

android 12 解决不能oem unlcok的问题

diff --git a/alps/kernel-4.14/drivers/misc/mediatek/dws/mt6768/tt01.dws b/alps/kernel-4.14/drivers/misc/mediatek/dws/mt6768/tt01.dws
index 8a16fab2182…7ea7e9b14f7 100755
— a/alps/kernel-4.14/drivers/misc/mediatek/dws/mt6768/tt01.dws
+++ b/alps/kernel-4.14/drivers/misc/mediatek/dws/mt6768/tt01.dws
@@ -1,5 +1,5 @@

<?xml version="1.0" encoding="UTF-8"?>

-
+
<dct_cfg>

MT6768 Phone
@@ -2038,8 +2038,8 @@
NC NC NC NC NC KTE_KEY4 NC NC NC
NC NC NC NC NC NC NC NC NC
<keyMatrix_ext></keyMatrix_ext>

  •        <downloadKey>NC NC POWER</downloadKey>
    
  •        <modeKey>POWER NC NC</modeKey>
    
  •        <downloadKey>VOLUMEUP VOLUMEDOWN POWER</downloadKey>
    
  •        <modeKey>POWER VOLUMEUP VOLUMEDOWN</modeKey>
           <pwrKeyEint_gpioNum>0</pwrKeyEint_gpioNum>
           <pwrKeyUtility>POWER</pwrKeyUtility>
           <home_key>HOME</home_key>
    

diff --git a/alps/vendor/mediatek/proprietary/bootable/bootloader/lk/target/tt01/dct/dct/codegen.dws b/alps/vendor/mediatek/proprietary/bootable/bootloader/lk/target/tt01/dct/dct/codegen.dws
index 8a16fab2182…7ea7e9b14f7 100755
— a/alps/vendor/mediatek/proprietary/bootable/bootloader/lk/target/tt01/dct/dct/codegen.dws
+++ b/alps/vendor/mediatek/proprietary/bootable/bootloader/lk/target/tt01/dct/dct/codegen.dws
@@ -1,5 +1,5 @@

<?xml version="1.0" encoding="UTF-8"?>

-
+
<dct_cfg>

MT6768 Phone
@@ -2038,8 +2038,8 @@
NC NC NC NC NC KTE_KEY4 NC NC NC
NC NC NC NC NC NC NC NC NC
<keyMatrix_ext></keyMatrix_ext>

  •        <downloadKey>NC NC POWER</downloadKey>
    
  •        <modeKey>POWER NC NC</modeKey>
    
  •        <downloadKey>VOLUMEUP VOLUMEDOWN POWER</downloadKey>
    
  •        <modeKey>POWER VOLUMEUP VOLUMEDOWN</modeKey>
           <pwrKeyEint_gpioNum>0</pwrKeyEint_gpioNum>
           <pwrKeyUtility>POWER</pwrKeyUtility>
           <home_key>HOME</home_key>
    

diff --git a/alps/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tt01/dct/dct/codegen.dws b/alps/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tt01/dct/dct/codegen.dws
index 8a16fab2182…7ea7e9b14f7 100755
— a/alps/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tt01/dct/dct/codegen.dws
+++ b/alps/vendor/mediatek/proprietary/bootable/bootloader/preloader/custom/tt01/dct/dct/codegen.dws
@@ -1,5 +1,5 @@

<?xml version="1.0" encoding="UTF-8"?>

-
+
<dct_cfg>

MT6768 Phone
@@ -2038,8 +2038,8 @@
NC NC NC NC NC KTE_KEY4 NC NC NC
NC NC NC NC NC NC NC NC NC
<keyMatrix_ext></keyMatrix_ext>

  •        <downloadKey>NC NC POWER</downloadKey>
    
  •        <modeKey>POWER NC NC</modeKey>
    
  •        <downloadKey>VOLUMEUP VOLUMEDOWN POWER</downloadKey>
    
  •        <modeKey>POWER VOLUMEUP VOLUMEDOWN</modeKey>
           <pwrKeyEint_gpioNum>0</pwrKeyEint_gpioNum>
           <pwrKeyUtility>POWER</pwrKeyUtility>
           <home_key>HOME</home_key>
    

diff --git a/alps/vendor/mediatek/proprietary/custom/tt01/kernel/dct/dct/codegen.dws b/alps/vendor/mediatek/proprietary/custom/tt01/kernel/dct/dct/codegen.dws
index 8a16fab2182…7ea7e9b14f7 100755
— a/alps/vendor/mediatek/proprietary/custom/tt01/kernel/dct/dct/codegen.dws
+++ b/alps/vendor/mediatek/proprietary/custom/tt01/kernel/dct/dct/codegen.dws
@@ -1,5 +1,5 @@

<?xml version="1.0" encoding="UTF-8"?>

-
+
<dct_cfg>

MT6768 Phone
@@ -2038,8 +2038,8 @@
NC NC NC NC NC KTE_KEY4 NC NC NC
NC NC NC NC NC NC NC NC NC
<keyMatrix_ext></keyMatrix_ext>

  •        <downloadKey>NC NC POWER</downloadKey>
    
  •        <modeKey>POWER NC NC</modeKey>
    
  •        <downloadKey>VOLUMEUP VOLUMEDOWN POWER</downloadKey>
    
  •        <modeKey>POWER VOLUMEUP VOLUMEDOWN</modeKey>
           <pwrKeyEint_gpioNum>0</pwrKeyEint_gpioNum>
           <pwrKeyUtility>POWER</pwrKeyUtility>
           <home_key>HOME</home_key>
    
;