 [10 25 15:32:25][ERR]<trustkernel::Config::getConfig>: Failed to get config with: Invalid Configuration. VTurkey Enabled but keyboxUuid not configured
 [10 25 15:33:20][INFO]<__kpha_init>: KPH: Begin. 4362
 [10 25 15:33:20][INFO]<__kpha_init>: Load Config from "C:\dev\tools\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\kph_env.ini" OK.
 [10 25 15:33:20][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [10 25 15:33:20][INFO]<__kpha_init>: META Version: 3.4.1
 [10 25 15:33:20][INFO]<get_cert_name>: certname: alps_full_k61v1_64_bsp_mt6761.dat
 [10 25 15:33:20][WARN]<local_read>: fopen(C:\dev\tools\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\alps_full_k61v1_64_bsp_mt6761.dat) failed: No such file or directory
 [10 25 15:33:20][WARN]<__kpha_init>: alps_full_k61v1_64_bsp_mt6761.dat not exist, certname_len : 33
 [10 25 15:33:20][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <ffffffff00000000>] start
 [10 25 15:33:20][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [10 25 15:33:20][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [10 25 15:33:21][INFO]<__kpha_init>: CFG already imported. Done
 [10 25 15:33:21][INFO]<__kpha_init>: Export Device Info. Done
 [10 25 15:33:21][WARN]<trustkernel::Device::ConfigLine::parseLine>: Failed to get value from line. continue though.
 [10 25 15:33:21][WARN]<trustkernel::Device::ConfigLine::parseLine>: Failed to get value from line. continue though.
 [10 25 15:33:21][INFO]<__kpha_init>: Export Key<0>. Done
 [10 25 15:33:21][INFO]<__kpha_init>: Read Output. Done
 [10 25 15:33:21][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <ffffffff00000000>] Complete.
 [10 25 15:33:21][INFO]<__kpha_init>: Certificate programmed before. Done
 [10 25 15:33:21][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt7eM88PHOh7UhcrV2+uZ\nJhJhJOAvITl+/u7bgXeCLFyJa2PUHj9UCW+ieFfG5z25kxUht3uMYVvjXDFjWjp7\nx9QbjGwRsTR58kBUKIBkWV+zEWCfdan6yaUTAEeO5l8B7nhEoqo8/V0MkY/g4223\ncwfChy/JSwVqIKR7YebbamgJQ+qzZN9KbEMTggmM605hrsrgNCVYZuvXpepaf0yO\nkeSyPsMaTUYpe0vpgdWXKkFSqlEjkIF6cBMnVtLTMiiuki2CS1GUsrSJfRcVIG7s\ncMZwiUXIM8YNHKyXjn82iNZy6o3VxeOD+ZEuIWGTCsYhQ/DgQL0tvLZf/kTySEdU\nSwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"e66c4c81e014f155ae7a472d3e6e1706","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-18-g29e1a6d1-mt6765-mt6761-pie-mo-fp","teeUuid":"e66c4c81e014f155ae7a472d3e6e1706"},"turkey":{"digest":"bc33e8bd2ce83929487b92a53074805ebd642c1f1844dc3863d6989dca3b4310","keyId":1,"keyboxUuid":"5446_504f13a321743593d949c07a2bd704fa3c6d2e6053e202c24522ddbef4e55237","nonce":3037664090,"requireKeybox":true}}

 [10 25 15:33:22][ERR]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: post VTurkey secondary cert failed with -2(digest validation failed)
 [10 25 15:33:22][ERR]<trustkernel::VTurkeyLicenser::issueSecondaryLicense>: Upload failed with -1

 [10 25 15:33:22][ERR]<__kpha_init>: Failed to upload/get keybox
 [10 25 15:33:22][ERR]<__kpha_init>: Device production processing failed with -23
 [10 25 15:33:22][ERR]<KPHA_Init2>: __kpha_init failed with kr = -23

 [06 25 11:41:16][INFO]<__kpha_init>: KPH: Begin. 4362
 [06 25 11:41:16][INFO]<__kpha_init>: Load Config from "F:\工具\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\kph_env.ini" OK.
 [06 25 11:41:16][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [06 25 11:41:16][INFO]<__kpha_init>: META Version: 3.4.1
 [06 25 11:41:16][INFO]<get_cert_name>: certname: UMIDIGI_Power 5_mt6765.dat
 [06 25 11:41:16][WARN]<local_read>: fopen(F:\工具\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\UMIDIGI_Power 5_mt6765.dat) failed: No such file or directory
 [06 25 11:41:16][WARN]<__kpha_init>: UMIDIGI_Power 5_mt6765.dat not exist, certname_len : 26
 [06 25 11:41:16][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <bc404a13b6ff3e44f03c09277a98563c>] start
 [06 25 11:41:16][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [06 25 11:41:16][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [06 25 11:41:16][ERR]<kph_verify_config>: Verify config failed with 0x8
 [06 25 11:41:16][INFO]<local_read>: File F:\工具\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\cfg.ini length 194
 [06 25 11:41:17][INFO]<__kpha_init>: Send CFG to phone. Done.
 [06 25 11:41:17][INFO]<__kpha_init>: Import CFG to TEE. Done
 [06 25 11:41:17][INFO]<__kpha_init>: Export Device Info. Done
 [06 25 11:41:17][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [06 25 11:41:20][INFO]<__kpha_init>: EK Generated. Done
 [06 25 11:41:20][INFO]<__kpha_init>: Export Key<0>. Done
 [06 25 11:41:20][INFO]<__kpha_init>: Read Output. Done
 [06 25 11:41:20][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <bc404a13b6ff3e44f03c09277a98563c>] Complete.
 [06 25 11:41:20][INFO]<__kpha_init>: Program Secondary certificate.
 [06 25 11:41:20][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvx1f/Eo1s8DX/jxahJ7u\nPc57zenMuQhXFRz4/IIQAc17v7K9zwMLlnCU2t7fR+7OETezpczoVC6DlJfLuHuE\nqwBmdqUsmek9soInl10oHUZsc6LxaqyH5+reipAPKwD5unKCT0g1LfzyMtTwS8S/\nJGurbaR1ozepiVcmSTXT/tngFfCwSoYx8aatFvHylWFGEfM6+EoAS8xhNQG8/Sm7\nWcBmMIaUELHFwS05qYVpDxWC2NhC8M7DHs8kNybYcd3SDf2tOJhhbg2ROwN3U3Ej\nksQpty1qu5WrtE8qi5c8qjObnMpLdGT4kq3Ig4Ewienp7k8QduXAxDSrjGiGwOHA\nQQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"bc404a13b6ff3e44f03c09277a98563c","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-36-g7b80e1b0-mt6765-pie-mo-kme-fp-hxy-mt6765-r.0-spi1","teeUuid":"b10820728deae35c9e353745d3f3b157"},"turkey":{"digest":"eb6863e053d6b24583f81170dfe8fe4bc4088b2dcaa29f42ab62c4c560cc52db","keyId":1,"keyboxUuid":"5446_504f13a321743593d949c07a2bd704fa3c6d2e6053e202c24522ddbef4e55237","nonce":3075261642,"requireKeybox":true}}

 [06 25 11:41:20][ERR]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: post VTurkey secondary cert failed with -2(digest validation failed)
 [06 25 11:41:20][ERR]<trustkernel::VTurkeyLicenser::issueSecondaryLicense>: Upload failed with -1

 [06 25 11:41:20][ERR]<__kpha_init>: Device production processing failed with -19
 [06 25 11:41:20][ERR]<KPHA_Init2>: __kpha_init failed with kr = -19

 [08 11 15:32:38][ERR]<trustkernel::VTurkeyLicenser::getSecondaryLicenseLeftCount>: Get count failed with -4(Turkey not found)
 [08 11 15:32:38][INFO]<__kpha_init>: KPH: Begin. 4362
 [08 11 15:32:38][INFO]<__kpha_init>: Load Config from "G:\鸿祥源写号工具\BISON PRO\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\kph_env.ini" OK.
 [08 11 15:32:38][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [08 11 15:32:38][INFO]<__kpha_init>: META Version: 3.4.1
 [08 11 15:32:38][INFO]<get_cert_name>: certname: UMIDIGI_BISON Pro_mt6768.dat
 [08 11 15:32:38][WARN]<local_read>: fopen(G:\鸿祥源写号工具\BISON PRO\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\UMIDIGI_BISON Pro_mt6768.dat) failed: No such file or directory
 [08 11 15:32:38][WARN]<__kpha_init>: UMIDIGI_BISON Pro_mt6768.dat not exist, certname_len : 28
 [08 11 15:32:38][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2fd7de39ef1f3b4a42c7b7e76ec748d3>] start
 [08 11 15:32:39][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [08 11 15:32:39][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [08 11 15:32:39][INFO]<__kpha_init>: CFG already imported. Done
 [08 11 15:32:39][INFO]<__kpha_init>: Export Device Info. Done
 [08 11 15:32:39][INFO]<__kpha_init>: Export Key<0>. Done
 [08 11 15:32:39][INFO]<__kpha_init>: Read Output. Done
 [08 11 15:32:39][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2fd7de39ef1f3b4a42c7b7e76ec748d3>] Complete.
 [08 11 15:32:39][INFO]<__kpha_init>: Certificate programmed before. Done
 [08 11 15:32:39][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyNtiTUewJRc2XuP01Ts+\n6Yioe3x7/1VrvYdkeX4DD9Ib33Y65/yoiy2Bu8UF5nHBetHYT+d2qtbcQMPx/Rn/\niuoSCOvvvgnWUwiPj1+QMA2j3JyW/14kGW8rdS6PUHGo7Z2Fh5vTJNaZAao15EQz\nE+CiULuSQ8UBB4M0GElRoY8argIq4i9+dQ/PCtXKgoNkrwfeRBiuIbtWK6q2PYNb\nR/VPZgRd6q1w3CsmGTObKhMuSyJMEBL2YfPIGt8rAGvDLDIjZTUuuxtc3THOT6Jm\nS2Uwp+vjm0gsEGsHqoUMtUkAxHps1wH4uRzkHDRGr7wDCk83LEd/Xlpe+JDqaoZO\nGQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"2fd7de39ef1f3b4a42c7b7e76ec748d3","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"5fbd0666eb806cf282bd42a97d53c3458fcd3f35a03de9e2e897f061152092c8","keyId":1,"keyboxUuid":"5974_3b12987225a62a76bacac427f49b00fe7f49a133576ed9459f109d82b6cc1ff2","nonce":1863046628,"requireKeybox":true}}

 [08 11 15:32:40][ERR]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: post VTurkey secondary cert failed with -2(digest validation failed)
 [08 11 15:32:40][ERR]<trustkernel::VTurkeyLicenser::issueSecondaryLicense>: Upload failed with -1

 [08 11 15:32:40][ERR]<__kpha_init>: Failed to upload/get keybox
 [08 11 15:32:40][ERR]<__kpha_init>: Device production processing failed with -23
 [08 11 15:32:40][ERR]<KPHA_Init2>: __kpha_init failed with kr = -23

 [08 11 15:35:40][INFO]<__kpha_init>: KPH: Begin. 4362
 [08 11 15:35:40][INFO]<__kpha_init>: Load Config from "G:\鸿祥源写号工具\BISON PRO\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\kph_env.ini" OK.
 [08 11 15:35:40][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [08 11 15:35:40][INFO]<__kpha_init>: META Version: 3.4.1
 [08 11 15:35:40][INFO]<get_cert_name>: certname: UMIDIGI_BISON Pro_mt6768.dat
 [08 11 15:35:40][WARN]<local_read>: fopen(G:\鸿祥源写号工具\BISON PRO\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\UMIDIGI_BISON Pro_mt6768.dat) failed: No such file or directory
 [08 11 15:35:40][WARN]<__kpha_init>: UMIDIGI_BISON Pro_mt6768.dat not exist, certname_len : 28
 [08 11 15:35:40][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2fd7de39ef1f3b4a42c7b7e76ec748d3>] start
 [08 11 15:35:40][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [08 11 15:35:40][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [08 11 15:35:40][INFO]<__kpha_init>: CFG already imported. Done
 [08 11 15:35:40][INFO]<__kpha_init>: Export Device Info. Done
 [08 11 15:35:40][INFO]<__kpha_init>: Export Key<0>. Done
 [08 11 15:35:40][INFO]<__kpha_init>: Read Output. Done
 [08 11 15:35:40][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2fd7de39ef1f3b4a42c7b7e76ec748d3>] Complete.
 [08 11 15:35:40][INFO]<__kpha_init>: Certificate programmed before. Done
 [08 11 15:35:40][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyNtiTUewJRc2XuP01Ts+\n6Yioe3x7/1VrvYdkeX4DD9Ib33Y65/yoiy2Bu8UF5nHBetHYT+d2qtbcQMPx/Rn/\niuoSCOvvvgnWUwiPj1+QMA2j3JyW/14kGW8rdS6PUHGo7Z2Fh5vTJNaZAao15EQz\nE+CiULuSQ8UBB4M0GElRoY8argIq4i9+dQ/PCtXKgoNkrwfeRBiuIbtWK6q2PYNb\nR/VPZgRd6q1w3CsmGTObKhMuSyJMEBL2YfPIGt8rAGvDLDIjZTUuuxtc3THOT6Jm\nS2Uwp+vjm0gsEGsHqoUMtUkAxHps1wH4uRzkHDRGr7wDCk83LEd/Xlpe+JDqaoZO\nGQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"2fd7de39ef1f3b4a42c7b7e76ec748d3","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"5fbd0666eb806cf282bd42a97d53c3458fcd3f35a03de9e2e897f061152092c8","keyId":1,"keyboxUuid":"5970_5fa184c7370203ccfec6d5010ff283be147c77c1dff092005815ff3e2aaa7b4d","nonce":1074731679,"requireKeybox":true}}

 [08 11 15:35:40][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 13
 [08 11 15:35:40][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [08 11 15:35:40][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [08 11 15:35:40][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [08 11 15:35:40][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [08 11 15:35:40][INFO]<__kpha_init>: Install keybox success.
 [08 11 15:35:40][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 01 10:29:54][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 01 10:29:54][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 01 10:29:54][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 01 10:29:54][INFO]<__kpha_init>: META Version: 3.4.1
 [03 01 10:29:54][INFO]<get_cert_name>: certname: UMIDIGI_A11 Pro Max_mt6768.dat
 [03 01 10:29:54][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A11 Pro Max_mt6768.dat) failed: No such file or directory
 [03 01 10:29:54][WARN]<__kpha_init>: UMIDIGI_A11 Pro Max_mt6768.dat not exist, certname_len : 30
 [03 01 10:29:54][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <371237adba26f73f4361af2b9f2be2dd>] start
 [03 01 10:29:54][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 01 10:29:54][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 01 10:29:55][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 01 10:29:55][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 01 10:29:55][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 01 10:29:55][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 01 10:29:55][INFO]<__kpha_init>: Export Device Info. Done
 [03 01 10:29:55][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 01 10:29:56][INFO]<__kpha_init>: EK Generated. Done
 [03 01 10:29:56][INFO]<__kpha_init>: Export Key<0>. Done
 [03 01 10:29:56][INFO]<__kpha_init>: Read Output. Done
 [03 01 10:29:56][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <371237adba26f73f4361af2b9f2be2dd>] Complete.
 [03 01 10:29:56][INFO]<__kpha_init>: Program Secondary certificate.
 [03 01 10:29:56][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3fpqCwCP5EZSH1O/Qs+V\niX5Sz4K2ZXDzWCNh+K1Lo2k5lLfRg9pt3T6sRd394fk4OVuiYrsUVWXZ4Yo5mdIn\nSuoV5Fhm3aoiFirJ6cUwnLin5s2YMZ61oTw5WsaH8SFM5OoWMfc/Cqf2B6dIKE8y\nJ0PcHxzCLWYeVx30GKwtVGPNoNaFaAsEE3w706jkvF6PGMUdlC67r8apVxiYsIsF\nE9P7739SOV2tKTHbl6LJG1fBYefZ3mQMTptlOIfqF+WNARJgl2+26kLZ74KD0wA9\ncuVSIx0gAwczlLy+rYbYOi/rq6BwSm69q97YpHRA3oKIk2nsyUiV+0MWUy1dbCtv\neQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"371237adba26f73f4361af2b9f2be2dd","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"1c6de4e559be0991d15a370fb745d10a63ddf251d8df23124ef068cc6cbacabe","keyId":1,"keyboxUuid":"5974_141220abccb7e924cec49aed7e449e55ad60fa15b1d4434756b85bde97f567aa","nonce":2575405471,"requireKeybox":true}}

 [03 01 10:29:56][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 711
 [03 01 10:29:56][INFO]<__kpha_init>: Program certificate. Done
 [03 01 10:29:56][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 01 10:29:56][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 01 10:29:56][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 01 10:29:56][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 01 10:29:56][INFO]<__kpha_init>: Install keybox success.
 [03 02 10:26:44][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 02 10:26:44][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 02 10:26:44][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 02 10:26:44][INFO]<__kpha_init>: META Version: 3.4.1
 [03 02 10:26:44][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [03 02 10:26:44][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [03 02 10:26:44][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [03 02 10:26:44][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <b2bef900c8b4c4563c59010e1fcd61cb>] start
 [03 02 10:26:44][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 02 10:26:44][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 02 10:26:45][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 02 10:26:45][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 02 10:26:45][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 02 10:26:45][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 02 10:26:45][INFO]<__kpha_init>: Export Device Info. Done
 [03 02 10:26:45][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 02 10:26:46][INFO]<__kpha_init>: EK Generated. Done
 [03 02 10:26:46][INFO]<__kpha_init>: Export Key<0>. Done
 [03 02 10:26:46][INFO]<__kpha_init>: Read Output. Done
 [03 02 10:26:46][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <b2bef900c8b4c4563c59010e1fcd61cb>] Complete.
 [03 02 10:26:46][INFO]<__kpha_init>: Program Secondary certificate.
 [03 02 10:26:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv5wg3kKNx3Eh6XrCBZKo\nw0ySlk8jCBHE6uLzap1SGjSL6twuIvFz5wI2Ie6xfWl44Df/3bkEn78JT3sN5kgw\n59/4n9VIvdpZH+Oq4Ng/YVg/XRi2Xc4r6g3G/ohK6qidHMuBEWfCLRhKuItI86/C\nIdwrUZNopn0hiO94AjlBWRi1DvuBcXyjeyvc3ySThNArmSMS9PMUfON2bi+oUuPH\nxxhaET8OlhzEHeW4Gnr4HiATbpUj1m2S7OqPB2Q5rLM+yiqZueYbHFNHWZNrGWvs\n7UQGqXr7eyFvPgXS1l8UEv7jDZnXtALaU3qRgYRLeqSmemjp1IbeOgx9JfRUS8y4\nOwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"b2bef900c8b4c4563c59010e1fcd61cb","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"3dc98c011e791d559417c5531a8468c4"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":4029162135,"requireKeybox":true}}

 [03 02 10:26:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 994
 [03 02 10:26:46][INFO]<__kpha_init>: Program certificate. Done
 [03 02 10:26:46][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 02 10:26:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 02 10:26:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 02 10:26:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 02 10:26:46][INFO]<__kpha_init>: Install keybox success.
 [03 03 10:37: 0][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 03 10:37: 0][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 03 10:37: 0][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 03 10:37: 0][INFO]<__kpha_init>: META Version: 3.4.1
 [03 03 10:37: 0][INFO]<get_cert_name>: certname: UMIDIGI_A11 Pro Max_mt6768.dat
 [03 03 10:37: 0][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A11 Pro Max_mt6768.dat) failed: No such file or directory
 [03 03 10:37: 0][WARN]<__kpha_init>: UMIDIGI_A11 Pro Max_mt6768.dat not exist, certname_len : 30
 [03 03 10:37: 0][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e76df66881d0c6c19e20b3cc28d9d60a>] start
 [03 03 10:37: 0][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 03 10:37: 0][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 03 10:37: 0][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 03 10:37: 0][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 03 10:37: 0][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 03 10:37: 0][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 03 10:37: 0][INFO]<__kpha_init>: Export Device Info. Done
 [03 03 10:37: 0][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 03 10:37: 1][INFO]<__kpha_init>: EK Generated. Done
 [03 03 10:37: 1][INFO]<__kpha_init>: Export Key<0>. Done
 [03 03 10:37: 1][INFO]<__kpha_init>: Read Output. Done
 [03 03 10:37: 1][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e76df66881d0c6c19e20b3cc28d9d60a>] Complete.
 [03 03 10:37: 1][INFO]<__kpha_init>: Program Secondary certificate.
 [03 03 10:37: 1][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv8Vk9acBamijCPGH/soz\nyf6UWwyaHSvNaGGcUhmTFZulI936mkp8hn9g3787rxLGE/KoKKe0UKJGizD3/KXI\nYmuwERmcYC3GMKJpCbvYkkIDVmWSwlz5Z3QLE9fldf3iNW1cJvHaiOlQHbTT4+Sp\nCQ3TqSomagxX6roWVHi8WwVxAFIxqLNNUwKMSUdioN/huA68lepPHexlvT64F0gW\n4xpkhal7Czlfwl2hmM4tGwCDJezm5/a2+Q7Gcl6JtsDva/Q2/WdAfRKTxcSr4Py3\n4uy1mgJr+KfvofVhKfi58i18jxbp+apFFEpF37dcUAr1jllrbNhDUBSWMcacPKyi\naQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"e76df66881d0c6c19e20b3cc28d9d60a","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"1c6de4e559be0991d15a370fb745d10a63ddf251d8df23124ef068cc6cbacabe","keyId":1,"keyboxUuid":"5974_141220abccb7e924cec49aed7e449e55ad60fa15b1d4434756b85bde97f567aa","nonce":835514391,"requireKeybox":true}}

 [03 03 10:37: 1][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 26
 [03 03 10:37: 1][INFO]<__kpha_init>: Program certificate. Done
 [03 03 10:37: 1][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 03 10:37: 1][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 03 10:37: 1][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 03 10:37: 1][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 03 10:37: 2][INFO]<__kpha_init>: Install keybox success.
 [03 04 10:54: 1][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 04 10:54: 1][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 04 10:54: 1][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 04 10:54: 1][INFO]<__kpha_init>: META Version: 3.4.1
 [03 04 10:54: 1][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [03 04 10:54: 1][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [03 04 10:54: 1][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [03 04 10:54: 1][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] start
 [03 04 10:54: 1][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 04 10:54: 1][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 04 10:54: 1][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 04 10:54: 1][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 04 10:54: 1][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 04 10:54: 1][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 04 10:54: 1][INFO]<__kpha_init>: Export Device Info. Done
 [03 04 10:54: 1][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 04 10:54: 2][INFO]<__kpha_init>: EK Generated. Done
 [03 04 10:54: 2][INFO]<__kpha_init>: Export Key<0>. Done
 [03 04 10:54: 2][INFO]<__kpha_init>: Read Output. Done
 [03 04 10:54: 2][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] Complete.
 [03 04 10:54: 2][INFO]<__kpha_init>: Program Secondary certificate.
 [03 04 10:54: 2][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwDJmAaKaQEvKf85tYGN2\nWlf5DHKJWC60xnGBig1nn3j/8csu0Ze0rrANxpDe30lDRU+0yGhGxHeFhj2Id9kr\nS4dyoBgf2quExEruyG9+lrL1AzfRfypvEQ9aSx84NxYMLG9EamrwODU8YCfTAOhi\nYrQCSYULbAdyMdYD6YLYQzAPZfL8Zz8JFB8t9H9tsPArL14LooOEZ1MwE3bqjj1I\nEa+HWReo+eWV600MUcKM5DlhyOnwMVVpaYF1i6ZSZpsPjiJWG8Bgk6QSJygUnL4e\nNr2YVOeS0ySvEkXdIREEEMsOwdcC/M5npaRoziGCGgDErbTT1tOoQQqgXZbI3NM2\n9wIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"69868d16ad7cd7b46d1678f9f0d94d27","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"b9fe4621c8b1495caba53fda782cecda"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":3012281724,"requireKeybox":true}}

 [03 04 10:54: 2][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 971
 [03 04 10:54: 2][INFO]<__kpha_init>: Program certificate. Done
 [03 04 10:54: 2][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 04 10:54: 2][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:54: 2][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:54: 2][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:54: 2][INFO]<__kpha_init>: Install keybox success.
 [03 04 10:55:30][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 04 10:55:30][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 04 10:55:30][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 04 10:55:30][INFO]<__kpha_init>: META Version: 3.4.1
 [03 04 10:55:30][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [03 04 10:55:30][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [03 04 10:55:30][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [03 04 10:55:30][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <838759f1dc0b9ab69e7f1204a21a22ca>] start
 [03 04 10:55:30][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 04 10:55:30][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 04 10:55:30][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 04 10:55:30][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 04 10:55:30][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 04 10:55:30][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 04 10:55:31][INFO]<__kpha_init>: Export Device Info. Done
 [03 04 10:55:31][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 04 10:55:31][INFO]<__kpha_init>: EK Generated. Done
 [03 04 10:55:31][INFO]<__kpha_init>: Export Key<0>. Done
 [03 04 10:55:31][INFO]<__kpha_init>: Read Output. Done
 [03 04 10:55:31][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <838759f1dc0b9ab69e7f1204a21a22ca>] Complete.
 [03 04 10:55:31][INFO]<__kpha_init>: Program Secondary certificate.
 [03 04 10:55:31][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnAoIpC2zybABeoqeAVUf\nrJGu4sRvuVMJQOKgUH0FlC3Hl/dXefCW9NE5xFSUwdJZ2bcb3YXjBBhABdam0aOy\nnGadfjxNWr2Rb8XWlEtJK20RSIyMIyX3AWBOpuTO0VuzgDPLUfdl0nv0xmsC4pwL\nI2q2ZIuSQCK/1hfy4QQcnFPm3ffo3sibdPZ/b7NRvbZkf6+paVBLi7lXczIdzXga\nTdILQMLewXNfzdkyg9MeWKQtOwfTYJ1kz7YmS++exJdybrJVTaK/Ei9tFGpxN8gW\nEVKy4KQO+sACXOisuOJUJHfEAi+jRxlhLmVZAkTIyVvCLq4fo0MUnVM0wDpjtpOE\nYQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"838759f1dc0b9ab69e7f1204a21a22ca","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"8fef6713d3ebdd5a82983515172a18c3"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":1349251411,"requireKeybox":false}}

 [03 04 10:55:31][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 970
 [03 04 10:55:31][INFO]<__kpha_init>: Program certificate. Done
 [03 04 10:55:31][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 04 10:55:31][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:55:31][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:55:31][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:55:32][INFO]<__kpha_init>: Install keybox success.
 [03 04 10:56:24][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 04 10:56:24][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 04 10:56:25][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 04 10:56:25][INFO]<__kpha_init>: META Version: 3.4.1
 [03 04 10:56:25][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [03 04 10:56:25][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [03 04 10:56:25][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [03 04 10:56:25][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2d402c724a38b19d960a2c5856e04879>] start
 [03 04 10:56:25][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 04 10:56:25][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 04 10:56:25][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 04 10:56:25][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 04 10:56:25][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 04 10:56:25][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 04 10:56:25][INFO]<__kpha_init>: Export Device Info. Done
 [03 04 10:56:25][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 04 10:56:26][INFO]<__kpha_init>: EK Generated. Done
 [03 04 10:56:26][INFO]<__kpha_init>: Export Key<0>. Done
 [03 04 10:56:26][INFO]<__kpha_init>: Read Output. Done
 [03 04 10:56:26][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2d402c724a38b19d960a2c5856e04879>] Complete.
 [03 04 10:56:26][INFO]<__kpha_init>: Program Secondary certificate.
 [03 04 10:56:26][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA58hYu4dm/KkxEfK9vZ3d\ng9aO8/Z98sFRC7oLyVcwAlhDfpaXT2zborlopoR+aSyst2nJHpx7nZhBNUq9WANq\nwwzZ4fNHV6BklHTCFga/IUWFtByzGIkEcKdUYcRcNxtxOU7GALy8PmBAcuuTHpC/\nF9hzBamL/ggIk0eNXi77vFXNK0fb7sGftkJmKlLByuT4C+efA8c6Lice3RCuP/zv\nsaGu8AY6RptqIaeFAoD+4yngnVSZaXOR4JtPFznPVC8Xy2hX6sPB+QmmK2KFooVp\n7YWyAVB88wRtzU+F6ee9DaGdFuz0trDMSCmFPcSvCDXfGXCTHOZtHQa6n4/upBKf\nIQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"2d402c724a38b19d960a2c5856e04879","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"e499abdd935eca54b15b55cc67da8fd9"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":3327546212,"requireKeybox":false}}

 [03 04 10:56:26][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 969
 [03 04 10:56:26][INFO]<__kpha_init>: Program certificate. Done
 [03 04 10:56:26][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 04 10:56:26][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:56:26][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:56:26][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:56:26][INFO]<__kpha_init>: Install keybox success.
 [03 04 10:57:40][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 04 10:57:40][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 04 10:57:40][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 04 10:57:40][INFO]<__kpha_init>: META Version: 3.4.1
 [03 04 10:57:40][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [03 04 10:57:40][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [03 04 10:57:40][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [03 04 10:57:40][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <34b34d5a8ab6343bcaf1b0be0fafa2b1>] start
 [03 04 10:57:40][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 04 10:57:40][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 04 10:57:40][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 04 10:57:40][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 04 10:57:40][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 04 10:57:40][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 04 10:57:41][INFO]<__kpha_init>: Export Device Info. Done
 [03 04 10:57:41][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 04 10:57:41][INFO]<__kpha_init>: EK Generated. Done
 [03 04 10:57:41][INFO]<__kpha_init>: Export Key<0>. Done
 [03 04 10:57:41][INFO]<__kpha_init>: Read Output. Done
 [03 04 10:57:41][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <34b34d5a8ab6343bcaf1b0be0fafa2b1>] Complete.
 [03 04 10:57:41][INFO]<__kpha_init>: Program Secondary certificate.
 [03 04 10:57:41][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyniNDq3JqFoI9cqPwCRk\nIH9pyy5E7Pdx4hOMqFV/k32iF2TAqQaNB02ft5Ldk8Qxo4yllazEH9ygS5uPVE1b\noBjHa+9f0MmV1weC8Mwy9lmNbmWh9ELFJbHigxlwq2w9hZIovygeJfDPVZPFFRFi\npOAJO6wUh2CVFwokNsoq3tXOO31vEwe+JM0laeJ3YuFRZF9PkMM/LD7cjFAps3sJ\nPEQpLexIISsHwS3SexH0UOMPrUlGK1yVJhl+0wKc6Ay0YuTMzWTUlgSJl3G+BSQw\no7LazJlTTG5BR8zuMkrwGM+oR63IVSqfD1KL8os4qFwD+6Fj8EvoDf0wFYxvPsFE\nvwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"34b34d5a8ab6343bcaf1b0be0fafa2b1","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"c2e3536c3bac9a5e866304190ef91f0e"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":1636439190,"requireKeybox":false}}

 [03 04 10:57:41][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 968
 [03 04 10:57:41][INFO]<__kpha_init>: Program certificate. Done
 [03 04 10:57:41][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 04 10:57:41][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:57:41][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:57:41][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 04 10:57:41][INFO]<__kpha_init>: Install keybox success.
 [03 10 10:14:18][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 10 10:14:18][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 10 10:14:18][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 10 10:14:18][INFO]<__kpha_init>: META Version: 3.4.1
 [03 10 10:14:18][INFO]<get_cert_name>: certname: UMIDIGI_A11_mt6765.dat
 [03 10 10:14:18][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A11_mt6765.dat) failed: No such file or directory
 [03 10 10:14:18][WARN]<__kpha_init>: UMIDIGI_A11_mt6765.dat not exist, certname_len : 22
 [03 10 10:14:18][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2dbf48fce38f4a91d959e81786b09474>] start
 [03 10 10:14:19][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 10 10:14:19][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 10 10:14:19][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 10 10:14:19][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 10 10:14:19][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 10 10:14:19][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 10 10:14:19][INFO]<__kpha_init>: Export Device Info. Done
 [03 10 10:14:19][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 10 10:14:21][INFO]<__kpha_init>: EK Generated. Done
 [03 10 10:14:21][INFO]<__kpha_init>: Export Key<0>. Done
 [03 10 10:14:21][INFO]<__kpha_init>: Read Output. Done
 [03 10 10:14:21][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2dbf48fce38f4a91d959e81786b09474>] Complete.
 [03 10 10:14:21][INFO]<__kpha_init>: Program Secondary certificate.
 [03 10 10:14:21][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlIPXNjY/sgFJVVtbr8bW\nhawP2/eEvjT4Ai/DJmz8um5Drf99qu6BE4npmyBqOp6DAxweXSYc9RRR0Gn9bWWp\neQdLlgLWksZ+z1dVotGWjx/AkDeY1cKGS6OE4LblQ4cw/viuV/BflJgWoDObNDc4\njUh+siJBwtpuwjZsKZ35Al/GvuoRTi0jitmNYMZEkdZ9hTpJiULVbloAHghEmAjd\ntGJWEd/3DCaOyI68ra8X3So0qHIHVJ8sBtW3KiOeHDYU4LyNxozo0uAK8DwtC8Gq\nnBVOlTHWBlpYTZaLoet6dE9sbRbAJ6dVDuo/D6gy8yMTph+Ss5JN0ZL5GFbAocGo\nDQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"2dbf48fce38f4a91d959e81786b09474","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-36-g7b80e1b0-mt6765-pie-mo-kme-fp-hxy-mt6765-r.0-spi1","teeUuid":"854de17cbeb367529d44746594387437"},"turkey":{"digest":"b33b71cbdb92491ca793673616d7d95aa99d7640d6297ea96ae5625058e50798","keyId":1,"keyboxUuid":"5926_924a49c73b9430e17e260a776709f9c6507129049f5050ce117cd2833dbfc926","nonce":2080308365,"requireKeybox":true}}

 [03 10 10:14:22][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 762
 [03 10 10:14:22][INFO]<__kpha_init>: Program certificate. Done
 [03 10 10:14:22][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 10 10:14:22][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:14:22][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:14:22][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:14:22][INFO]<__kpha_init>: Install keybox success.
 [03 10 10:15: 4][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 10 10:15: 4][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 10 10:15: 4][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 10 10:15: 4][INFO]<__kpha_init>: META Version: 3.4.1
 [03 10 10:15: 4][INFO]<get_cert_name>: certname: UMIDIGI_A11_mt6765.dat
 [03 10 10:15: 4][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A11_mt6765.dat) failed: No such file or directory
 [03 10 10:15: 4][WARN]<__kpha_init>: UMIDIGI_A11_mt6765.dat not exist, certname_len : 22
 [03 10 10:15: 4][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <70c502a3e0d959f3a7159a433cc36ed1>] start
 [03 10 10:15: 5][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 10 10:15: 5][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 10 10:15: 5][INFO]<__kpha_init>: CFG already imported. Done
 [03 10 10:15: 5][INFO]<__kpha_init>: Export Device Info. Done
 [03 10 10:15: 5][INFO]<__kpha_init>: Export Key<0>. Done
 [03 10 10:15: 5][INFO]<__kpha_init>: Read Output. Done
 [03 10 10:15: 5][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <70c502a3e0d959f3a7159a433cc36ed1>] Complete.
 [03 10 10:15: 5][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 10 10:15: 5][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 10 10:15: 5][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:15: 5][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:15: 5][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:15: 5][INFO]<__kpha_init>: Install keybox success.
 [03 10 10:15: 5][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 10 10:16:12][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 10 10:16:12][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 10 10:16:12][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 10 10:16:12][INFO]<__kpha_init>: META Version: 3.4.1
 [03 10 10:16:12][INFO]<get_cert_name>: certname: UMIDIGI_A11_mt6765.dat
 [03 10 10:16:12][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A11_mt6765.dat) failed: No such file or directory
 [03 10 10:16:12][WARN]<__kpha_init>: UMIDIGI_A11_mt6765.dat not exist, certname_len : 22
 [03 10 10:16:12][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f086c889090b4faba59aca19f459ab59>] start
 [03 10 10:16:13][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 10 10:16:13][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 10 10:16:13][INFO]<__kpha_init>: CFG already imported. Done
 [03 10 10:16:13][INFO]<__kpha_init>: Export Device Info. Done
 [03 10 10:16:13][INFO]<__kpha_init>: Export Key<0>. Done
 [03 10 10:16:13][INFO]<__kpha_init>: Read Output. Done
 [03 10 10:16:13][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f086c889090b4faba59aca19f459ab59>] Complete.
 [03 10 10:16:13][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 10 10:16:13][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 10 10:16:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:16:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:16:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 10:16:13][INFO]<__kpha_init>: Install keybox success.
 [03 10 10:16:13][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 10 11:02:18][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 10 11:02:18][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 10 11:02:18][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 10 11:02:18][INFO]<__kpha_init>: META Version: 3.4.1
 [03 10 11:02:18][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [03 10 11:02:18][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [03 10 11:02:18][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [03 10 11:02:18][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa22ee51cbebf6278fbaaa697fb774d1>] start
 [03 10 11:02:18][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 10 11:02:18][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 10 11:02:18][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 10 11:02:18][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 10 11:02:18][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 10 11:02:18][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 10 11:02:19][INFO]<__kpha_init>: Export Device Info. Done
 [03 10 11:02:19][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 10 11:02:19][INFO]<__kpha_init>: EK Generated. Done
 [03 10 11:02:19][INFO]<__kpha_init>: Export Key<0>. Done
 [03 10 11:02:19][INFO]<__kpha_init>: Read Output. Done
 [03 10 11:02:19][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa22ee51cbebf6278fbaaa697fb774d1>] Complete.
 [03 10 11:02:19][INFO]<__kpha_init>: Program Secondary certificate.
 [03 10 11:02:19][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0O33EgYQe0T0M47DZYZA\nnv6vASwtXoltwfpGA7jtaUwiVRhjM87zGY+3YY4iWpR7txHpZHe0MpHcdlaF9bfm\ng42wlNLJfhwxBUmA6vOs4USlfn2dcy1O4UowVbbVp5hFhGicGrRIU5U4DhkBIE2G\nlMI+kt9H5ZrCertVocqCtEHq16ZuZmZnGmRxdeCiQ8B0ZnOkSFHYbuzTUFeMIGVd\nMdRtWTynZtPTVGQLHbchYOF5JjNR1KYkBK5u8xYlvTnkvL8et4Ig7SPbhoI96D0R\nAaWbZW1pjqRcSam5ZtwvcWArI+NZ2xXGEYy+wv1uKocmxd3JDW8wHlYu20w5d3Gp\nOQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"fa22ee51cbebf6278fbaaa697fb774d1","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"0454762a7f7b7b57aecaafa518b23b89"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":1768052742,"requireKeybox":true}}

 [03 10 11:02:19][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 993
 [03 10 11:02:19][INFO]<__kpha_init>: Program certificate. Done
 [03 10 11:02:19][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 10 11:02:19][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 11:02:19][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 11:02:19][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 10 11:02:19][INFO]<__kpha_init>: Install keybox success.
 [03 11 14:43: 5][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 14:43: 5][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 14:43: 5][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [03 11 14:43: 5][INFO]<__kpha_init>: META Version: 3.2.0
 [03 11 14:43: 5][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 11 14:43: 5][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 11 14:43: 5][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 11 14:43: 6][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <60a5c6fed312875f94b98f84130586fa>] start
 [03 11 14:43: 6][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 14:43: 6][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 14:43: 6][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 14:43: 6][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 14:43: 6][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 14:43: 6][INFO]<__kpha_init>: Read Output. Done
 [03 11 14:43: 6][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <60a5c6fed312875f94b98f84130586fa>] Complete.
 [03 11 14:43: 6][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 14:43: 6][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA73AZfKADKVh47LCL2O8R\ngslZM8Hwq3yWm15/4lWtjjabaS6GVnDTEvTIaceti8gW2mrjNqVkbksqIsBWmMPa\nCCowQ+Rmd0UYCuv21jFsAeFTvHzkk+cfhiTxA5zFoHU+NNZSmTSaf6ILXIeiiNmq\ns/vyZWvgnILS52OeaJ17rcJWxKBFggzWpHv1LxUD15jZIGJuotLno5dgmtpwSd2W\ngGLyEqomZJoFC18FH9/3CJJGBIZR+i0ARiGfNIVhYkT86fl7GlYN40hcozO6q1Pf\ntK639IcDENaaubKQY3iRxrCXQOH9cWOBsv2h3M6AIxeXZm2XTsfswbFSztVQhqTr\ngwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"60a5c6fed312875f94b98f84130586fa","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"485745c91016b951a7df9b78cd4b33f3"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_209691b32a6c16f1e490cc8f6c2be246e367db119acc80d0d47702719417acb7","nonce":2087053878,"requireKeybox":true}}

 [03 11 14:43: 6][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 910
 [03 11 14:43: 6][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 14:43: 6][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:43: 6][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:43: 6][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:43: 6][INFO]<__kpha_init>: Install keybox success.
 [03 11 14:43: 6][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 11 14:46:46][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 14:46:46][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 14:46:46][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 11 14:46:46][INFO]<__kpha_init>: META Version: 3.4.1
 [03 11 14:46:46][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 11 14:46:46][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 11 14:46:46][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 11 14:46:46][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c082b334125994a665c297ca87b01e4b>] start
 [03 11 14:46:46][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 14:46:46][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 14:46:46][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 14:46:46][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 14:46:47][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 14:46:47][INFO]<__kpha_init>: Read Output. Done
 [03 11 14:46:47][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c082b334125994a665c297ca87b01e4b>] Complete.
 [03 11 14:46:47][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 14:46:47][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoQ9EIzY/iW+dyEfZa7DI\n6K+T8fNmCLCk+OuUzN46j0m2TsyLgXoMmQLDe/GV2knDv/0nRuns2+kuwPCoHsC5\nkPD/se0LnNx16B8Sq87FVp33zGYNZ/SZQ8DoYatDJRZYVvcw8Ueuhukw60dcYMpH\notSIAiNwYKkBeqdc+K7Wdo8fpGs948iCDn5ClJp8CeOIvF8ri5NWJ0LhOI/0TWIs\ntGromBSbow57/+Q6nTNFnR1xgTaCSizP70Phy/g6pcOQoRN5q1B2WgsHHHyOvgiX\nVjXDH0FhxJ74x6muqXXh+hzBTSew/3WhC9oNgBVYthVzL5xow7dkyJ7eYgppkX6B\n+wIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"c082b334125994a665c297ca87b01e4b","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"e6f9018bcea4f25db76c73d003cb3883"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_b31c05cc990e6354352ab2cfe073abdb1cb736559c49a3c3ddd539646c916c28","nonce":3821649811,"requireKeybox":true}}

 [03 11 14:46:47][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 918
 [03 11 14:46:47][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 14:46:47][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:46:47][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:46:47][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:46:47][INFO]<__kpha_init>: Install keybox success.
 [03 11 14:46:47][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 11 14:49:16][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 14:49:16][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 14:49:16][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 11 14:49:16][INFO]<__kpha_init>: META Version: 3.4.1
 [03 11 14:49:16][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 11 14:49:16][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 11 14:49:16][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 11 14:49:16][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c60c4341fc3d2217fa09753759f3767c>] start
 [03 11 14:49:16][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 14:49:17][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 14:49:17][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 14:49:17][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 14:49:17][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 14:49:17][INFO]<__kpha_init>: Read Output. Done
 [03 11 14:49:17][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c60c4341fc3d2217fa09753759f3767c>] Complete.
 [03 11 14:49:17][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 14:49:17][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyXL/JgzLvKQhoUOzLU+Z\n6FzjRbyQzFkUVLq+w9muNSbIS6OMsixUKEw1yZFsFv45KU/+l3RR0TcPAwHIM+8X\n+xPosKRuzFWTVi+94/Jj2TGdC76jwcEJ1RGJXlmaX+VdO4dUuhf5AMsNpeji6kvZ\nVeHuzSmH3QsjRCt/qTTyBVem2Sw2d99ozqI8blyuKBZSU11jlkW5O/vsDLReFF+k\nhFhVA3ym8p+9YIME6GsCUPY4i5V06kXjh51hqKSgd4cLUg4u4d0OraPlkUDe8Pie\niI8ewv6VhmzeYtToa6BvaK9NbTTeVYSy4sVbXlELbqbzfI35axiFNyU4rrzRcGZZ\niQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"c60c4341fc3d2217fa09753759f3767c","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"f80d258808ceda5da70da032ebae5fce"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_b31c05cc990e6354352ab2cfe073abdb1cb736559c49a3c3ddd539646c916c28","nonce":3467710588,"requireKeybox":true}}

 [03 11 14:49:17][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 918
 [03 11 14:49:17][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 14:49:17][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:49:17][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:49:17][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:49:17][INFO]<__kpha_init>: Install keybox success.
 [03 11 14:49:17][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 11 14:54: 0][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 14:54: 0][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 14:54: 0][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 11 14:54: 0][INFO]<__kpha_init>: META Version: 3.4.1
 [03 11 14:54: 1][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 11 14:54: 1][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 11 14:54: 1][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 11 14:54: 1][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24167ed14015213f039c020bdf578888>] start
 [03 11 14:54: 1][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 14:54: 1][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 14:54: 1][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 14:54: 1][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 14:54: 1][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 14:54: 1][INFO]<__kpha_init>: Read Output. Done
 [03 11 14:54: 1][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24167ed14015213f039c020bdf578888>] Complete.
 [03 11 14:54: 1][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 14:54: 1][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuKf2I1fveErNNuZmwmzo\nHASQjoQdMPfINfvXkWKEe3Fl/8Ul/b56L0SD08xDM6Q2eIceqlYs8Qply+gXGEHE\nn/RM5e7uqZCeEYlcQ5vgm8uxD553bXrgP17WI6gICdiuAUfSWOivaDxqlYXFkz0o\n4E3Q/jELTWiH5MbOlB3bhCKKA68d5N5sQ3zHxHb+bhqDusbCgK5GFX+Y/9w8z5eF\nsucrVKBy4Eq4/HptmAuXr/OHgB0wJfFA6DNfoQtvIvJJaGvez7erCBpljoQYWFTG\npYaKtNXF2LAFDWne/cKspgWdW/sG9OMbbF5GVI9DWWgbcxPzP7Sd5lC9SBvQ6+sD\ndwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"24167ed14015213f039c020bdf578888","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"3f6447e5fd2d195e8ed8fcdd93b1ccf5"},"turkey":{"digest":"7c7e65af3514b33b9920d8107b376c9e46980b6a0f61b826f0bb0ff13d1351a0","keyId":1,"keyboxUuid":"5829_9801d8f4d6878341335c9008d985e1a62571bd0b085b8d06e11c8fd54f12b624","nonce":585548630,"requireKeybox":true}}

 [03 11 14:54: 1][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 995
 [03 11 14:54: 1][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 14:54: 1][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:54: 1][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:54: 1][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:54: 1][INFO]<__kpha_init>: Install keybox success.
 [03 11 14:54: 1][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 11 14:58:21][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 14:58:21][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 14:58:21][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 11 14:58:21][INFO]<__kpha_init>: META Version: 3.4.1
 [03 11 14:58:21][INFO]<get_cert_name>: certname: UMIDIGI_BISON Pro_mt6768.dat
 [03 11 14:58:21][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON Pro_mt6768.dat) failed: No such file or directory
 [03 11 14:58:21][WARN]<__kpha_init>: UMIDIGI_BISON Pro_mt6768.dat not exist, certname_len : 28
 [03 11 14:58:21][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2fd7de39ef1f3b4a42c7b7e76ec748d3>] start
 [03 11 14:58:21][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 14:58:21][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 14:58:21][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 14:58:21][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 14:58:21][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 14:58:21][INFO]<__kpha_init>: Read Output. Done
 [03 11 14:58:21][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2fd7de39ef1f3b4a42c7b7e76ec748d3>] Complete.
 [03 11 14:58:21][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 14:58:21][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3dncmXbaeOtDeepppYM+\nO4k59nYXIFLQF5gUBbi96dd3CI8e//DwF5Hml3fQ3fn1Z5qb8d/5EVsZFqR+25fP\n7yv6ZY8deJRgq6UOm/mBGsXc1cRdjmGFgEZujVhMk/uLwaxgmHoo4/Jt6WPdGGIj\nozhcH85HcEg/gAbedenijfb434zsan5YZWLYfAHswWOxj5OMtTo9bERPIhuLvhqR\nz3zWHvLE7LZhhLnjsYia0baHtKrA1GcHKEL+I+ssVoDPFDqp1cPhn/zzR0SfkghK\nmXz776R5JaVb3ZJx/AGlQ4tW80CGvwxhcR4mqksT7+9GpnkTNYdcpJPSXOjObP+1\n+wIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"2fd7de39ef1f3b4a42c7b7e76ec748d3","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"5fbd0666eb806cf282bd42a97d53c3458fcd3f35a03de9e2e897f061152092c8","keyId":1,"keyboxUuid":"5970_5fa184c7370203ccfec6d5010ff283be147c77c1dff092005815ff3e2aaa7b4d","nonce":3320477894,"requireKeybox":true}}

 [03 11 14:58:21][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 70
 [03 11 14:58:21][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 14:58:21][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:58:21][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:58:21][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 14:58:22][INFO]<__kpha_init>: Install keybox success.
 [03 11 14:58:22][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 11 15:06:29][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 15:06:29][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 15:06:29][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [03 11 15:06:29][INFO]<__kpha_init>: META Version: 3.2.0
 [03 11 15:06:29][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [03 11 15:06:29][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [03 11 15:06:29][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [03 11 15:06:29][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24a5963c6561b0c324e5569f7161f606>] start
 [03 11 15:06:29][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 15:06:29][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 15:06:29][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 15:06:29][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 15:06:29][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 15:06:29][INFO]<__kpha_init>: Read Output. Done
 [03 11 15:06:29][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24a5963c6561b0c324e5569f7161f606>] Complete.
 [03 11 15:06:29][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 15:06:29][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2AonYy9/z7/t0ucNDVpR\nJ5afSa2Pd1kh8M6QMvRHL6t6H8nUqHskT0aYLcT2/04vwbhJWwhrsz/ox7GuNpkH\n4Zv8OmlB+ReCMpW+14Wn2LoGGAEUguY1gZ1xGcsOAHI6tINctVhddDBwzx0uirE8\nwNBzJcVWwoCnv1gHH6xU2RRGHXzxKgtgwUi5+AdD+aD17CBzIW5owKvq5tFupzyO\nlEvMnSkvtnHG96+LJRHUStbum3FzR0uAfE6P34v6LldBt5nrgFprj6hKjx1MKn3d\npZ+jJeHvD8FoYOQfKCSFyr7sR1QldQjwa+oN+COLP3NSBLqi5KRwq7XKB7wzaDqD\nwQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"24a5963c6561b0c324e5569f7161f606","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"5d3ad8f12a99c458891b8dd2a49a382b"},"turkey":{"digest":"4d68e5ffb9151a458fff39630d5d7b896ef3939e70f469fe5005ac51408821cd","keyId":1,"keyboxUuid":"5308_0dcef1f032891d15a7a721ba294fe7f1bf6e1a6773ed1a56144dcffafee83793","nonce":2087053878,"requireKeybox":true}}

 [03 11 15:06:30][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 969
 [03 11 15:06:30][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 15:06:30][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:06:30][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:06:30][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:06:30][INFO]<__kpha_init>: Install keybox success.
 [03 11 15:06:30][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 11 15:08:53][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 15:08:53][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 15:08:54][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 11 15:08:54][INFO]<__kpha_init>: META Version: 3.4.1
 [03 11 15:08:54][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [03 11 15:08:54][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [03 11 15:08:54][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [03 11 15:08:54][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <9748125e5b7f6872b09a77a752280fc5>] start
 [03 11 15:08:54][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 15:08:54][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 15:08:54][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 15:08:54][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 15:08:54][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 15:08:54][INFO]<__kpha_init>: Read Output. Done
 [03 11 15:08:54][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <9748125e5b7f6872b09a77a752280fc5>] Complete.
 [03 11 15:08:54][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 15:08:54][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2PTJIRQaK/bQH4vSgORi\n5JZoE0/k6t48hjCv0GZXTWHNKWGB6veUeDlFT5YTLQP4JEH606jfJNRa7H41FhT4\nI04lEWEpQwZVFnAb0yVCBDOxcMwOtccWmpD6fEwvbHbEZ6k50KidVgvXw0AL1tEV\nQNBOf/tTM+yJ+1vnDJOyl2+D+k8Ec6PHbEUMCG0/FeKqFlBfUfpGhlIbY7x/AKfU\n8yfteRl2rg+qJJOeje3VZzKw2yknDmOc9NtInCW9qc7TTvvt19Jw2qakAD4tKoW2\nJO2rgIBObB3p0fqq5hRxMhdDRc9sxQlUy+Gog2h7zKSNhR8r5TRKRd2FVY06wPdX\n5wIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"9748125e5b7f6872b09a77a752280fc5","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"04ad13a4bd025f539c59bf6ff99443b0"},"turkey":{"digest":"6f3803d36e49aae328507d730aefb9c94cec6c2e8fd4e44fbc8bf288b2886158","keyId":1,"keyboxUuid":"5814_cc4d000087696ab86c673ee0f2a831d14561b1e9845c6204f6803b758db96c2a","nonce":90256237,"requireKeybox":true}}

 [03 11 15:08:54][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 11
 [03 11 15:08:54][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 15:08:54][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:08:54][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:08:54][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:08:54][INFO]<__kpha_init>: Install keybox success.
 [03 11 15:08:54][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 11 15:09:35][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 11 15:09:35][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 11 15:09:35][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 11 15:09:35][INFO]<__kpha_init>: META Version: 3.4.1
 [03 11 15:09:36][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [03 11 15:09:36][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [03 11 15:09:36][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [03 11 15:09:36][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <06dc767988c5bde28a6366db5d8823c8>] start
 [03 11 15:09:36][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 11 15:09:36][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 11 15:09:36][INFO]<__kpha_init>: CFG already imported. Done
 [03 11 15:09:36][INFO]<__kpha_init>: Export Device Info. Done
 [03 11 15:09:36][INFO]<__kpha_init>: Export Key<0>. Done
 [03 11 15:09:36][INFO]<__kpha_init>: Read Output. Done
 [03 11 15:09:36][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <06dc767988c5bde28a6366db5d8823c8>] Complete.
 [03 11 15:09:36][INFO]<__kpha_init>: Certificate programmed before. Done
 [03 11 15:09:36][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 11 15:09:36][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:09:36][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:09:36][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 11 15:09:36][INFO]<__kpha_init>: Install keybox success.
 [03 11 15:09:36][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [03 29 10:54:41][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 29 10:54:41][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 29 10:54:41][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 29 10:54:41][INFO]<__kpha_init>: META Version: 3.4.1
 [03 29 10:54:41][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 29 10:54:41][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 29 10:54:41][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 29 10:54:41][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2c7869cfd9cee447b1381db69789c65c>] start
 [03 29 10:54:41][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 29 10:54:41][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 29 10:54:41][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 29 10:54:41][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 29 10:54:41][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 29 10:54:41][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 29 10:54:41][INFO]<__kpha_init>: Export Device Info. Done
 [03 29 10:54:41][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 29 10:54:42][INFO]<__kpha_init>: EK Generated. Done
 [03 29 10:54:42][INFO]<__kpha_init>: Export Key<0>. Done
 [03 29 10:54:42][INFO]<__kpha_init>: Read Output. Done
 [03 29 10:54:42][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2c7869cfd9cee447b1381db69789c65c>] Complete.
 [03 29 10:54:42][INFO]<__kpha_init>: Program Secondary certificate.
 [03 29 10:54:42][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4fMzfvxoqsTB21LjDS+Y\nL++67gMTOrOPpICNMr1C9+GTfEvdKoMUD2Q/jk1W6INf6mxIhCtR4xS99yE3jYIT\nQLr1j8SnoWs84F1EcVToTLPLOHQkoJcCvU3ojOun7ZgQFloh2aeq33M0h72WqZdY\nAW8r7NOooah1wHMNsDq/MkJFaWeTvT84pAGGq4J1A+1pAaQ1GRDtZ2JPQYYmO0ay\n0/tKMyuEdjksa4eztRPjei71J8ZPvY+mmdyNYqvvIgavwg1QSywrzg2NIYLqcuQH\nkG94pzxPxAucAzy/hF3LHjZulJuFTcdDRLkQ1D1wtU1Dyh9tP7zzCR/4f4H9QzHO\n2QIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"2c7869cfd9cee447b1381db69789c65c","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"f70d0fa6e947a751a52d8605cb88a264"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_b31c05cc990e6354352ab2cfe073abdb1cb736559c49a3c3ddd539646c916c28","nonce":999775034,"requireKeybox":true}}

 [03 29 10:54:42][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 882
 [03 29 10:54:42][INFO]<__kpha_init>: Program certificate. Done
 [03 29 10:54:42][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 29 10:54:42][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:54:42][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:54:42][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:54:42][INFO]<__kpha_init>: Install keybox success.
 [03 29 10:56: 1][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 29 10:56: 1][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 29 10:56: 1][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 29 10:56: 1][INFO]<__kpha_init>: META Version: 3.4.1
 [03 29 10:56: 1][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 29 10:56: 1][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 29 10:56: 1][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 29 10:56: 1][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <863973fbeb1cd617099229449d9c628d>] start
 [03 29 10:56: 1][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 29 10:56: 1][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 29 10:56: 1][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 29 10:56: 1][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 29 10:56: 1][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 29 10:56: 2][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 29 10:56: 2][INFO]<__kpha_init>: Export Device Info. Done
 [03 29 10:56: 2][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 29 10:56: 3][INFO]<__kpha_init>: EK Generated. Done
 [03 29 10:56: 3][INFO]<__kpha_init>: Export Key<0>. Done
 [03 29 10:56: 3][INFO]<__kpha_init>: Read Output. Done
 [03 29 10:56: 3][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <863973fbeb1cd617099229449d9c628d>] Complete.
 [03 29 10:56: 3][INFO]<__kpha_init>: Program Secondary certificate.
 [03 29 10:56: 3][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo4aMLa2XDhMetZ+SbldL\nZpGgnOLgR7uKLGjQAaJDctE/5QyvYQm+svbiCl7GxTAyIuTfVII2GAi45cXs4vd/\nubAKQoAo1Nxi75GcDMk+fmlwmWhyIkfaIbJnaXmKV4jG2C4VZ0TpVfIDohuCPwXe\nlowbDqa3ZGXRbTI9hWTEngc+279KfRDn5HpYbCxaOtKjDd4C6a9Hv1V/QlG2QIsg\nbIwDz00MIcW8W+RTteqV4TKXoyMhrQYUdbQ0sBaJtc2gKiqqxWrQevwaY5PX7RdL\nlG6ECBthZfCCxC6+DASDt4yLNmIzO2cu62HXwsU8k98kaXVB7uQxo3Ee/juHrVUU\n/wIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"863973fbeb1cd617099229449d9c628d","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"cc34cbd2dc147d548d0add9aa80c58b7"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_b31c05cc990e6354352ab2cfe073abdb1cb736559c49a3c3ddd539646c916c28","nonce":2410651896,"requireKeybox":false}}

 [03 29 10:56: 3][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 881
 [03 29 10:56: 3][INFO]<__kpha_init>: Program certificate. Done
 [03 29 10:56: 3][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 29 10:56: 3][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:56: 3][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:56: 3][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:56: 3][INFO]<__kpha_init>: Install keybox success.
 [03 29 10:56:31][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 29 10:56:31][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 29 10:56:31][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 29 10:56:31][INFO]<__kpha_init>: META Version: 3.4.1
 [03 29 10:56:31][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 29 10:56:31][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 29 10:56:31][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 29 10:56:31][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e88a30722651f3968a5b964e6ac862cf>] start
 [03 29 10:56:31][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 29 10:56:31][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 29 10:56:32][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 29 10:56:32][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 29 10:56:32][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 29 10:56:32][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 29 10:56:32][INFO]<__kpha_init>: Export Device Info. Done
 [03 29 10:56:32][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 29 10:56:32][INFO]<__kpha_init>: EK Generated. Done
 [03 29 10:56:33][INFO]<__kpha_init>: Export Key<0>. Done
 [03 29 10:56:33][INFO]<__kpha_init>: Read Output. Done
 [03 29 10:56:33][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e88a30722651f3968a5b964e6ac862cf>] Complete.
 [03 29 10:56:33][INFO]<__kpha_init>: Program Secondary certificate.
 [03 29 10:56:33][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuKwi+/KM3kX3kQmk6M9I\nfy1uQcUwckUYLbwLwaxpSyBu7sKMOeJAxXfavby+4hl/YERcW0pDq6ksqydHMG/k\neVHAOtAsnC2xQY6cqFSDn/VNmXXCCvQ3Fh6pZC6jaRVDJ6by7WrNS77D9+NjsU0e\nQ5Ty2GoVtPY3q21CB6tja+tRuCyP8+ay+NtCr6YGT1zAp0uCE8hRruVZeoId/GtS\nXtlZq/5DXAGrovsAY2N+SW0f4VU7IsxDs0Q6dd/PibQ4+cT2W1VXA9ebX9cojwFr\nomobC/3lJcGG+PIpl9o7F6/+lJiGq6lO9BRJ5VdOHM8uDmY9aW9HkMAau/Jsb9pF\nswIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"e88a30722651f3968a5b964e6ac862cf","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"c3bde10241f56b5486242b20fc5247d2"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_b31c05cc990e6354352ab2cfe073abdb1cb736559c49a3c3ddd539646c916c28","nonce":2542170941,"requireKeybox":false}}

 [03 29 10:56:33][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 880
 [03 29 10:56:33][INFO]<__kpha_init>: Program certificate. Done
 [03 29 10:56:33][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 29 10:56:33][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:56:33][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:56:33][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:56:33][INFO]<__kpha_init>: Install keybox success.
 [03 29 10:57:11][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 29 10:57:11][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 29 10:57:11][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 29 10:57:11][INFO]<__kpha_init>: META Version: 3.4.1
 [03 29 10:57:12][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 29 10:57:12][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 29 10:57:12][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 29 10:57:12][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c082b334125994a665c297ca87b01e4b>] start
 [03 29 10:57:12][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 29 10:57:12][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 29 10:57:12][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 29 10:57:12][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 29 10:57:12][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 29 10:57:12][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 29 10:57:12][INFO]<__kpha_init>: Export Device Info. Done
 [03 29 10:57:12][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 29 10:57:13][INFO]<__kpha_init>: EK Generated. Done
 [03 29 10:57:13][INFO]<__kpha_init>: Export Key<0>. Done
 [03 29 10:57:13][INFO]<__kpha_init>: Read Output. Done
 [03 29 10:57:13][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c082b334125994a665c297ca87b01e4b>] Complete.
 [03 29 10:57:13][INFO]<__kpha_init>: Program Secondary certificate.
 [03 29 10:57:13][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzUH/pPooFBR/VSZQA0IS\nf1VkRJIGyiLwdoRxIXktkD2b5V5BsJmGtdOk4pNfBMEtxKGsPtuFfIZYIEH2eEMV\n265XzJeti8K8tcbVU4gfsatKpEds6LxJAuRzzAoOZGTrBHEOV/p8k67w2dAhoXOn\nP5VAtRlMShh8eqW0uuAApeMbxYZzgMjBnDLS0Ny/d+60PjDTfw1eS5QMcxF2vGZ3\ni2LFv9XNxRZ3kWqOE6P3X22HDlmb8NYqoGLTv3HmXxyG4dFAODILg2C1cB5hdjS+\nDJ2k8CNObjOQyjr7CEJsgmVFhnq5rXlz0Ds0j846hONR/H2NISceP3UF2XoP7ch/\npQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"c082b334125994a665c297ca87b01e4b","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"e6f9018bcea4f25db76c73d003cb3883"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_b31c05cc990e6354352ab2cfe073abdb1cb736559c49a3c3ddd539646c916c28","nonce":426165033,"requireKeybox":false}}

 [03 29 10:57:13][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 879
 [03 29 10:57:13][INFO]<__kpha_init>: Program certificate. Done
 [03 29 10:57:13][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 29 10:57:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:57:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:57:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 10:57:13][INFO]<__kpha_init>: Install keybox success.
 [03 29 14:38:45][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 29 14:38:45][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 29 14:38:45][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 29 14:38:45][INFO]<__kpha_init>: META Version: 3.4.1
 [03 29 14:38:45][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [03 29 14:38:45][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [03 29 14:38:45][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [03 29 14:38:45][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa8d29987b5be0e55bf13313360e3d76>] start
 [03 29 14:38:45][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 29 14:38:45][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 29 14:38:45][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 29 14:38:45][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 29 14:38:45][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 29 14:38:45][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 29 14:38:45][INFO]<__kpha_init>: Export Device Info. Done
 [03 29 14:38:45][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 29 14:38:46][INFO]<__kpha_init>: EK Generated. Done
 [03 29 14:38:46][INFO]<__kpha_init>: Export Key<0>. Done
 [03 29 14:38:46][INFO]<__kpha_init>: Read Output. Done
 [03 29 14:38:46][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa8d29987b5be0e55bf13313360e3d76>] Complete.
 [03 29 14:38:46][INFO]<__kpha_init>: Program Secondary certificate.
 [03 29 14:38:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvBGGyzE0QvL0n2aMlxXO\n7lIJ3iqjOufsNpeSSuZmg82kUkmLKQJclwy0I9edvTArr+oNvDjwyLb3sAjEZaEA\nDlVKXGTuvxHndXnCpxn6hN9QeBtq7XzO0M7QAbZ4f6bqrUKhbS5pF+Co5sshRKis\nPhDEHmnFv79ECBuRV5atrJ8F70L3FQQf9SeWdun4ID7LxMfYUyGaXJZilau5s3sk\nHGtF5T2SnFLplTWj4/G2Aj3yeDWp6kprrKT8v3bDCf9CWR6uTnbuU//AA+Pax6/S\nVRuhgTP8N0lwYKn6Gh9KbktPDQfgz2IF5FjG5pWTqI86RNbhqHonZ+oYB6X0PtU6\nkQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"fa8d29987b5be0e55bf13313360e3d76","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"784dc7a419a7b85da337e05cb2cdcf6d"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":70100859,"requireKeybox":true}}

 [03 29 14:38:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 992
 [03 29 14:38:46][INFO]<__kpha_init>: Program certificate. Done
 [03 29 14:38:46][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 29 14:38:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 14:38:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 14:38:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 29 14:38:46][INFO]<__kpha_init>: Install keybox success.
 [03 31 14:25:53][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 14:25:53][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 14:25:53][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [03 31 14:25:53][INFO]<__kpha_init>: META Version: 3.2.0
 [03 31 14:25:53][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 31 14:25:53][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 31 14:25:53][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 31 14:25:53][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <acae960d3064c71eb52db1c4b8328f55>] start
 [03 31 14:25:53][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 14:25:53][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 14:25:54][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 31 14:25:54][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 31 14:25:54][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 31 14:25:54][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 31 14:25:54][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 14:25:54][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 31 14:25:56][INFO]<__kpha_init>: EK Generated. Done
 [03 31 14:25:56][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 14:25:56][INFO]<__kpha_init>: Read Output. Done
 [03 31 14:25:56][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <acae960d3064c71eb52db1c4b8328f55>] Complete.
 [03 31 14:25:56][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 14:25:56][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqIAmETAXrq0glVwdJBxo\nHYPYAhzMjtfdx3ZJnGZot4/hsyOwN4HBaHFzGGmrgZDkVZh3oBk+TklVty28y954\n2JBq0SiqbTBpB/nH9/vyrNOxLGE7ROEhT2ujAcm6emhL+rBa52smg+F9QaO8b61b\ncBQXYZj69EdAZNgzivOEHhlR5aEuIFrO1HNExlI7b4cqaEb8DuC5Ax8HP+BSsWv9\n0f73qV2t8USRrIy04ShkTvd27RzgOyYq4zVktjGQmmbxW6wqjpJvVQASV0x/xqkE\n2hUESZ4Z+ZS/mf99r+m4qhC0zqO1rT+CSfhEma9JcUd0XvGYBU8tFkV/6Jpm56qU\nLQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"acae960d3064c71eb52db1c4b8328f55","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"35d4248a7ac8025295539d7c4686ea90"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_209691b32a6c16f1e490cc8f6c2be246e367db119acc80d0d47702719417acb7","nonce":2087053878,"requireKeybox":true}}

 [03 31 14:25:56][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 902
 [03 31 14:25:56][INFO]<__kpha_init>: Program certificate. Done
 [03 31 14:25:56][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 31 14:25:56][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:25:56][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:25:56][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:25:56][INFO]<__kpha_init>: Install keybox success.
 [03 31 14:26:37][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 14:26:37][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 14:26:37][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [03 31 14:26:37][INFO]<__kpha_init>: META Version: 3.2.0
 [03 31 14:26:37][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 31 14:26:37][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 31 14:26:37][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 31 14:26:37][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <757a11f46ed7754269ddab4d907dab90>] start
 [03 31 14:26:37][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 14:26:37][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 14:26:37][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 31 14:26:37][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 31 14:26:37][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 31 14:26:37][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 31 14:26:37][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 14:26:38][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 31 14:26:39][INFO]<__kpha_init>: EK Generated. Done
 [03 31 14:26:39][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 14:26:39][INFO]<__kpha_init>: Read Output. Done
 [03 31 14:26:39][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <757a11f46ed7754269ddab4d907dab90>] Complete.
 [03 31 14:26:39][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 14:26:39][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4amTM3NV1B9KUpvywL1P\nXlueMZx19+fv+OX885SmW1c2hIsAnvDyoEIM+SvAzEkajaoCoXojclwfD4sKwpU0\nZX2AOInIPNtH8hn8WIQdWr3HHq6uQZ1SrUX3dGbnZGF0RxCDeRHdX4UBKzaTlM/u\nq7JA1HSB+5WCcd46N53HLKty1GkOf5GqyKATgHySqQF6DzfcsdXXpolAUYtk+iIQ\n7hRPqwEmq7Y4WUnT9MVfs/Er/TpF625Esn268h7vD/wCNU6NLlMnnixzBmTKr8fE\nghg632gzsUMZfyP7r4VR6RzWgZHi4gvhyy7jRKBdixig4eSFDQwb5aP8aG7jjHzQ\nFwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"757a11f46ed7754269ddab4d907dab90","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"5cf76910b71e885bb8f3765c5ddd2687"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_209691b32a6c16f1e490cc8f6c2be246e367db119acc80d0d47702719417acb7","nonce":2087053878,"requireKeybox":false}}

 [03 31 14:26:39][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 901
 [03 31 14:26:39][INFO]<__kpha_init>: Program certificate. Done
 [03 31 14:26:39][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 31 14:26:39][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:26:39][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:26:39][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:26:39][INFO]<__kpha_init>: Install keybox success.
 [03 31 14:27:15][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 14:27:15][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 14:27:15][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [03 31 14:27:15][INFO]<__kpha_init>: META Version: 3.2.0
 [03 31 14:27:15][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 31 14:27:15][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 31 14:27:15][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 31 14:27:15][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <b7fd86211e1552c30e51009db2d10ae6>] start
 [03 31 14:27:15][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 14:27:15][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 14:27:15][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 31 14:27:15][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 31 14:27:15][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 31 14:27:16][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 31 14:27:16][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 14:27:16][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 31 14:27:18][INFO]<__kpha_init>: EK Generated. Done
 [03 31 14:27:18][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 14:27:18][INFO]<__kpha_init>: Read Output. Done
 [03 31 14:27:18][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <b7fd86211e1552c30e51009db2d10ae6>] Complete.
 [03 31 14:27:18][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 14:27:18][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA104bI/rSA+wtmIneEn1i\nZeGXwScxvhoM8hYSE0RgNz5R8K+nDy+0O+vHc99JkMeZ1GVCK1I36Ba9jPWpenG8\nEFnWtrVxncg+kFnr6+7kuVsaOodJiSdhk/ZBNv1j+gZcCpy35cTTh+Xq4qBf0Jua\nr2I+7YrBNdMBvWvHDfMyJPalUOXELAe0+qqLfzw3dRluw9nLOaVnvrlrzPWglONa\nh4STsgAkFWHYTGjxU2K0MnDblJEyIOJdG7nzLmz5Yx5EC7AiJuFW+aSqIFGZQTVt\niwmTzupk37au1fE5zLN+i1rjyhgEvF7sFs3TsebVkaitM6EhQC1/0Qr0yy4pu3ar\nPwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"b7fd86211e1552c30e51009db2d10ae6","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"08d35518239d485281086dcbd75a2fcb"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_209691b32a6c16f1e490cc8f6c2be246e367db119acc80d0d47702719417acb7","nonce":2087053878,"requireKeybox":false}}

 [03 31 14:27:18][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 900
 [03 31 14:27:18][INFO]<__kpha_init>: Program certificate. Done
 [03 31 14:27:18][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 31 14:27:18][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:27:18][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:27:18][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:27:18][INFO]<__kpha_init>: Install keybox success.
 [03 31 14:28: 9][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 14:28: 9][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 14:28: 9][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [03 31 14:28: 9][INFO]<__kpha_init>: META Version: 3.2.0
 [03 31 14:28: 9][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [03 31 14:28: 9][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [03 31 14:28: 9][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [03 31 14:28: 9][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <9e93fabc26ce82a2691f281f690d21e6>] start
 [03 31 14:28: 9][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 14:28: 9][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 14:28: 9][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 31 14:28: 9][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 31 14:28: 9][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 31 14:28: 9][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 31 14:28: 9][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 14:28: 9][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 31 14:28:12][INFO]<__kpha_init>: EK Generated. Done
 [03 31 14:28:12][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 14:28:12][INFO]<__kpha_init>: Read Output. Done
 [03 31 14:28:12][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <9e93fabc26ce82a2691f281f690d21e6>] Complete.
 [03 31 14:28:12][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 14:28:12][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4MPUnqJkdItifqJAFHA8\nCT9booLU+IzHPFCwT8T9Sd6X254ucVBjLHaxVoYYhCy1Ra22MP6Jwl4r8D1Zb9Hd\nIm9dJqRESeZAmEL6vNJkqEDBbj92a5+1xjNZfDH4n0pxfV7TLTxBtUnUkS4V8Dre\neuV04oMj39+2RNkZFTOCLdhHn6fkfN9d3NU+sdJIG5nQhb5nEt5b8v+2b0Btbz4/\nNOmN6eWYNP6+kLD/frMdl4WMiGcm23MazUNvtUs4JHwcW14i7GR8+nwF+ILlj//s\nP8w/qDHhUbnn36O2f10ZSHsSJFz7NHOeNl77lYaWMjJ3wGwwE1Jupdvcx94sX6nM\n2QIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"9e93fabc26ce82a2691f281f690d21e6","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"69e04bb360a1535bb6b7a299fbf67206"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_209691b32a6c16f1e490cc8f6c2be246e367db119acc80d0d47702719417acb7","nonce":2087053878,"requireKeybox":false}}

 [03 31 14:28:12][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 899
 [03 31 14:28:12][INFO]<__kpha_init>: Program certificate. Done
 [03 31 14:28:12][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 31 14:28:12][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:28:12][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:28:12][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 14:28:12][INFO]<__kpha_init>: Install keybox success.
 [03 31 16:22:38][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 16:22:38][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 16:22:38][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 31 16:22:39][INFO]<__kpha_init>: META Version: 3.4.1
 [03 31 16:22:39][INFO]<get_cert_name>: certname: CryptoDATA_Hidr_S1_PRO_mt6768.dat
 [03 31 16:22:39][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\CryptoDATA_Hidr_S1_PRO_mt6768.dat) failed: No such file or directory
 [03 31 16:22:39][WARN]<__kpha_init>: CryptoDATA_Hidr_S1_PRO_mt6768.dat not exist, certname_len : 33
 [03 31 16:22:39][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e76df66881d0c6c19e20b3cc28d9d60a>] start
 [03 31 16:22:39][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 16:22:39][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 16:22:39][INFO]<__kpha_init>: CFG already imported. Done
 [03 31 16:22:39][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 16:22:39][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 16:22:39][INFO]<__kpha_init>: Read Output. Done
 [03 31 16:22:39][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e76df66881d0c6c19e20b3cc28d9d60a>] Complete.
 [03 31 16:22:39][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 16:22:39][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAv8Vk9acBamijCPGH/soz\nyf6UWwyaHSvNaGGcUhmTFZulI936mkp8hn9g3787rxLGE/KoKKe0UKJGizD3/KXI\nYmuwERmcYC3GMKJpCbvYkkIDVmWSwlz5Z3QLE9fldf3iNW1cJvHaiOlQHbTT4+Sp\nCQ3TqSomagxX6roWVHi8WwVxAFIxqLNNUwKMSUdioN/huA68lepPHexlvT64F0gW\n4xpkhal7Czlfwl2hmM4tGwCDJezm5/a2+Q7Gcl6JtsDva/Q2/WdAfRKTxcSr4Py3\n4uy1mgJr+KfvofVhKfi58i18jxbp+apFFEpF37dcUAr1jllrbNhDUBSWMcacPKyi\naQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"e76df66881d0c6c19e20b3cc28d9d60a","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"90106f8e250289e3d8fa607483a7b9b21851c172ec2870593baa7a92d3681f25","keyId":1,"keyboxUuid":"5974_141220abccb7e924cec49aed7e449e55ad60fa15b1d4434756b85bde97f567aa","nonce":3806303135,"requireKeybox":true}}

 [03 31 16:22:39][ERR]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: post VTurkey secondary cert failed with -2(digest validation failed)
 [03 31 16:22:39][ERR]<trustkernel::VTurkeyLicenser::issueSecondaryLicense>: Upload failed with -1

 [03 31 16:22:39][ERR]<__kpha_init>: Device production processing failed with -19
 [03 31 16:22:39][ERR]<KPHA_Init2>: __kpha_init failed with kr = -19

 [03 31 16:58:58][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 16:58:58][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 16:58:58][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 31 16:58:58][INFO]<__kpha_init>: META Version: 3.4.1
 [03 31 16:58:58][INFO]<get_cert_name>: certname: CryptoDATA_Hidr_S1_PRO_mt6768.dat
 [03 31 16:58:58][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\CryptoDATA_Hidr_S1_PRO_mt6768.dat) failed: No such file or directory
 [03 31 16:58:58][WARN]<__kpha_init>: CryptoDATA_Hidr_S1_PRO_mt6768.dat not exist, certname_len : 33
 [03 31 16:58:58][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e76df66881d0c6c19e20b3cc28d9d60a>] start
 [03 31 16:58:58][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 16:58:58][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 16:58:58][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 31 16:58:58][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 31 16:58:58][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 31 16:58:59][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 31 16:58:59][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 16:58:59][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 31 16:59: 0][INFO]<__kpha_init>: EK Generated. Done
 [03 31 16:59: 0][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 16:59: 0][INFO]<__kpha_init>: Read Output. Done
 [03 31 16:59: 0][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e76df66881d0c6c19e20b3cc28d9d60a>] Complete.
 [03 31 16:59: 0][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 16:59: 0][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuxNPJ8DrgdVaiR9fZSBN\nykPNvH0Ayij4AfXxMFGp8jS+LNMB+EKuhXDHfh7kuepilo5EyMjq4wO+Z8yp7XK4\nIBwBWD7tNabd1gu7EDu5X5UIWiqAPLfcCmDozmhM/iLipW7pby7MDHf7J98OdHWF\n6JnNxCvQCHwabjsu0C0peTkV+dzzc1VswYbh/1WWhvr39sWLsNqJ94RAwJpEoG4/\nbUXF2EOXauu1XT4j4xOgc+ICrcmcbqhtQdWf8DJhwAfPpjJnLgydK1BHL3etTthP\nJxnLcAafEneqOvT28F9ImWsX0q1ZtT+PkY2Oqb7tr4R3k4tIDHaCCsMIV9DvR7+o\nKwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"e76df66881d0c6c19e20b3cc28d9d60a","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"90106f8e250289e3d8fa607483a7b9b21851c172ec2870593baa7a92d3681f25","keyId":1,"keyboxUuid":"6502_a67fa47dbbb3bdd5c95a5bc1e77adf492556984da919c0cf2ddb0368540b9bf9","nonce":133831292,"requireKeybox":true}}

 [03 31 16:59: 0][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 87
 [03 31 16:59: 0][INFO]<__kpha_init>: Program certificate. Done
 [03 31 16:59: 0][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 31 16:59: 0][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 16:59: 0][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 16:59: 0][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 16:59: 0][INFO]<__kpha_init>: Install keybox success.
 [03 31 17:19:24][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 17:19:24][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 17:19:24][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 31 17:19:24][INFO]<__kpha_init>: META Version: 3.4.1
 [03 31 17:19:24][INFO]<get_cert_name>: certname: UMIDIGI_A11 Pro Max_mt6768.dat
 [03 31 17:19:24][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A11 Pro Max_mt6768.dat) failed: No such file or directory
 [03 31 17:19:24][WARN]<__kpha_init>: UMIDIGI_A11 Pro Max_mt6768.dat not exist, certname_len : 30
 [03 31 17:19:24][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <0fbf52ae700621d23a7efa57a4ae9958>] start
 [03 31 17:19:24][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 17:19:24][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 17:19:24][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 31 17:19:24][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 31 17:19:24][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 31 17:19:24][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 31 17:19:24][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 17:19:24][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 31 17:19:25][INFO]<__kpha_init>: EK Generated. Done
 [03 31 17:19:25][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 17:19:25][INFO]<__kpha_init>: Read Output. Done
 [03 31 17:19:25][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <0fbf52ae700621d23a7efa57a4ae9958>] Complete.
 [03 31 17:19:25][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 17:19:25][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvqdVsezckzC7Z+l7yNTd\nNrON0HPkF/HxatdhK0peflu0vwnqBa7U+ZKFe30q80ls1K70vcDdkctWdgJScGrX\nq2yXV6kJQ+vi23s3vIjooa+PYiAhDWXhJhnkqlzJMRxtsdCqHqSHhN4GlNoWDQr9\niwmYotMwaXdNLwAFQQFk1eXV+ZYMOCrVQyCDM+JQYMnp+TvywA/1bmx+zHusfdQ/\nca4MosV+azgayHgKTrJ7MpXVIpyQeVbFKWES70ITAa3TwNCfwiDKmsr/mrheRWsb\nDBQIDRFr+hWmnQAtwy1FNL7grbZ2fUlQKobLGLwD2rR8FeHK2/FOFsh0vooXK+0f\nowIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"0fbf52ae700621d23a7efa57a4ae9958","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"1c6de4e559be0991d15a370fb745d10a63ddf251d8df23124ef068cc6cbacabe","keyId":1,"keyboxUuid":"5974_141220abccb7e924cec49aed7e449e55ad60fa15b1d4434756b85bde97f567aa","nonce":3230559649,"requireKeybox":true}}

 [03 31 17:19:26][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 489
 [03 31 17:19:26][INFO]<__kpha_init>: Program certificate. Done
 [03 31 17:19:26][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 31 17:19:26][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 17:19:26][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 17:19:26][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 17:19:26][INFO]<__kpha_init>: Install keybox success.
 [03 31 17:20:26][INFO]<__kpha_init>: KPH: Begin. 4362
 [03 31 17:20:26][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [03 31 17:20:26][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [03 31 17:20:26][INFO]<__kpha_init>: META Version: 3.4.1
 [03 31 17:20:26][INFO]<get_cert_name>: certname: UMIDIGI_A11 Pro Max_mt6768.dat
 [03 31 17:20:26][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_A11 Pro Max_mt6768.dat) failed: No such file or directory
 [03 31 17:20:26][WARN]<__kpha_init>: UMIDIGI_A11 Pro Max_mt6768.dat not exist, certname_len : 30
 [03 31 17:20:26][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <25635ff6cb9afd4ab0460fe1ff416c4e>] start
 [03 31 17:20:26][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [03 31 17:20:26][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [03 31 17:20:26][ERR]<kph_verify_config>: Verify config failed with 0x8
 [03 31 17:20:26][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [03 31 17:20:26][INFO]<__kpha_init>: Send CFG to phone. Done.
 [03 31 17:20:26][INFO]<__kpha_init>: Import CFG to TEE. Done
 [03 31 17:20:26][INFO]<__kpha_init>: Export Device Info. Done
 [03 31 17:20:26][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [03 31 17:20:27][INFO]<__kpha_init>: EK Generated. Done
 [03 31 17:20:27][INFO]<__kpha_init>: Export Key<0>. Done
 [03 31 17:20:27][INFO]<__kpha_init>: Read Output. Done
 [03 31 17:20:27][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <25635ff6cb9afd4ab0460fe1ff416c4e>] Complete.
 [03 31 17:20:27][INFO]<__kpha_init>: Program Secondary certificate.
 [03 31 17:20:27][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvlYfVW6/zGuy3N60ZDth\nubNPvtIGTI/wiIgkKuUtTfl6QiJ9+kvmQ+qYuPaVfJ9Jui18ZU3IXfeMYd/5T9IW\ntpjUwPmm5v6987cIMA2pfFcxd2Eh362emEpfGVVeAEL/cTEjow0CYdGQ0LDHczBd\nydL6rrC5zx/TxoHV05c7jPB4l6KfN5jqJLdHKWabk3/hJT9cvlL+22skj4wDzcJN\nJbw31SGMEdd/LYI9U5UMxsIr17UNCjaIdhbek1pCdWWUNxwo/KydYoU2QG8VuoY0\nSgIsAxAgdX0KajVKf8MWc9TgS7TKBBI/pymnwkHmt1g2YgYLI284XPzEusA7fBDv\nYQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"25635ff6cb9afd4ab0460fe1ff416c4e","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"1c6de4e559be0991d15a370fb745d10a63ddf251d8df23124ef068cc6cbacabe","keyId":1,"keyboxUuid":"5974_141220abccb7e924cec49aed7e449e55ad60fa15b1d4434756b85bde97f567aa","nonce":3143205863,"requireKeybox":false}}

 [03 31 17:20:28][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 488
 [03 31 17:20:28][INFO]<__kpha_init>: Program certificate. Done
 [03 31 17:20:28][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [03 31 17:20:28][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 17:20:28][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 17:20:28][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [03 31 17:20:28][INFO]<__kpha_init>: Install keybox success.
 [04 01 10:06: 1][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 01 10:06: 1][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 01 10:06: 1][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 01 10:06: 1][INFO]<__kpha_init>: META Version: 3.4.1
 [04 01 10:06: 1][INFO]<get_cert_name>: certname: CryptoDATA_Hidr_S1_PRO_mt6768.dat
 [04 01 10:06: 1][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\CryptoDATA_Hidr_S1_PRO_mt6768.dat) failed: No such file or directory
 [04 01 10:06: 1][WARN]<__kpha_init>: CryptoDATA_Hidr_S1_PRO_mt6768.dat not exist, certname_len : 33
 [04 01 10:06: 1][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <371237adba26f73f4361af2b9f2be2dd>] start
 [04 01 10:06: 1][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 01 10:06: 1][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 01 10:06: 1][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 01 10:06: 1][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 01 10:06: 1][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 01 10:06: 1][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 01 10:06: 1][INFO]<__kpha_init>: Export Device Info. Done
 [04 01 10:06: 1][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 01 10:06: 2][INFO]<__kpha_init>: EK Generated. Done
 [04 01 10:06: 2][INFO]<__kpha_init>: Export Key<0>. Done
 [04 01 10:06: 2][INFO]<__kpha_init>: Read Output. Done
 [04 01 10:06: 2][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <371237adba26f73f4361af2b9f2be2dd>] Complete.
 [04 01 10:06: 2][INFO]<__kpha_init>: Program Secondary certificate.
 [04 01 10:06: 2][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwv2L1gUjt0T5shkZmy3l\nvpnFp5v4IBrtTyhfluBUmJbfhMnBjaHUSjRo2c8ZRHUvcm6ekFro7jv/PHyZeULS\nrMd63+wclZR1TNZ4B5BsqtZl2a9saDvrWpI+myv/elaoN6b70jC4e6aN+LMG2I0Y\nzi0DirrUqxmT4Mr+Ow/rVZODMoVTISrEVyDAIdWUQLt3AcMTNevBH9F1+CITuzUE\n21+KANYHFIUL5YTUJ4WtBA2ekPerqxhxYFpHoeZFW+ppL8zKDRo+W6QkdoYzYfwT\nfxgawpL37YYLUmOaBaDF2nzSkjSkr5jiv43Uqq7eT/+9wEwPo1woTNZ/rpsytbSs\niwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"371237adba26f73f4361af2b9f2be2dd","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"90106f8e250289e3d8fa607483a7b9b21851c172ec2870593baa7a92d3681f25","keyId":1,"keyboxUuid":"6502_a67fa47dbbb3bdd5c95a5bc1e77adf492556984da919c0cf2ddb0368540b9bf9","nonce":1920251384,"requireKeybox":true}}

 [04 01 10:06: 2][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 86
 [04 01 10:06: 2][INFO]<__kpha_init>: Program certificate. Done
 [04 01 10:06: 2][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 01 10:06: 2][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 01 10:06: 2][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 01 10:06: 2][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 01 10:06: 3][INFO]<__kpha_init>: Install keybox success.
 [04 02 15:42:41][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 02 15:42:41][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 02 15:42:41][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 02 15:42:42][INFO]<__kpha_init>: META Version: 3.4.1
 [04 02 15:42:42][INFO]<get_cert_name>: certname: CryptoDATA_Hidr_S1_PRO_mt6768.dat
 [04 02 15:42:42][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\CryptoDATA_Hidr_S1_PRO_mt6768.dat) failed: No such file or directory
 [04 02 15:42:42][WARN]<__kpha_init>: CryptoDATA_Hidr_S1_PRO_mt6768.dat not exist, certname_len : 33
 [04 02 15:42:42][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c8b2ba7a2730d0d5abaf1204fbcd78df>] start
 [04 02 15:42:42][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 02 15:42:42][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 02 15:42:42][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 02 15:42:42][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 02 15:42:42][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 02 15:42:42][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 02 15:42:42][INFO]<__kpha_init>: Export Device Info. Done
 [04 02 15:42:42][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 02 15:42:43][INFO]<__kpha_init>: EK Generated. Done
 [04 02 15:42:43][INFO]<__kpha_init>: Export Key<0>. Done
 [04 02 15:42:43][INFO]<__kpha_init>: Read Output. Done
 [04 02 15:42:43][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c8b2ba7a2730d0d5abaf1204fbcd78df>] Complete.
 [04 02 15:42:43][INFO]<__kpha_init>: Program Secondary certificate.
 [04 02 15:42:43][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA341Dlibd28fmtod7CmG5\nt2D6UtyhoNZRpQeBfioivK8jVjSvLdZe2F6LZki2zMfHd5zgM+/V7Z4csoO/9MyX\nePUiIHgFApkoxQrngDlvNGpcBwQOhcvhGxcf1uqFPve3N/n5haquF4SAPXsLnixF\n8dRXOjClsM9Vv3pjqY+OYfFsQg3S3GmAxkz5XkQ5ZSHiECKJfUJMXh6Pkscuy6nz\nPzbC0ENnrWIycFX5EUiuuxdEO7gAmRRrkyfTJQJK2FiBImo7NAPpCfc2MO6Q/8Gv\njBooCrQfSngp6lIJKvz7IAvKJqYnHkBAwLTHtDHKJa/kWaK5v1bCzSce5eI68Shw\n7QIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"c8b2ba7a2730d0d5abaf1204fbcd78df","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"90106f8e250289e3d8fa607483a7b9b21851c172ec2870593baa7a92d3681f25","keyId":1,"keyboxUuid":"6502_a67fa47dbbb3bdd5c95a5bc1e77adf492556984da919c0cf2ddb0368540b9bf9","nonce":3093354088,"requireKeybox":true}}

 [04 02 15:42:43][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 85
 [04 02 15:42:43][INFO]<__kpha_init>: Program certificate. Done
 [04 02 15:42:43][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 02 15:42:43][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 15:42:43][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 15:42:43][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 15:42:43][INFO]<__kpha_init>: Install keybox success.
 [04 02 16:01:49][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 02 16:01:49][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 02 16:01:49][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 02 16:01:49][INFO]<__kpha_init>: META Version: 3.4.1
 [04 02 16:01:49][INFO]<get_cert_name>: certname: CryptoDATA_Hidr_S1_PRO_mt6768.dat
 [04 02 16:01:49][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\CryptoDATA_Hidr_S1_PRO_mt6768.dat) failed: No such file or directory
 [04 02 16:01:49][WARN]<__kpha_init>: CryptoDATA_Hidr_S1_PRO_mt6768.dat not exist, certname_len : 33
 [04 02 16:01:49][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <7bee160092f59cbd14f489679cf0bbfe>] start
 [04 02 16:01:49][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 02 16:01:49][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 02 16:01:49][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 02 16:01:49][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 02 16:01:49][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 02 16:01:49][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 02 16:01:49][INFO]<__kpha_init>: Export Device Info. Done
 [04 02 16:01:50][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 02 16:01:50][INFO]<__kpha_init>: EK Generated. Done
 [04 02 16:01:51][INFO]<__kpha_init>: Export Key<0>. Done
 [04 02 16:01:51][INFO]<__kpha_init>: Read Output. Done
 [04 02 16:01:51][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <7bee160092f59cbd14f489679cf0bbfe>] Complete.
 [04 02 16:01:51][INFO]<__kpha_init>: Program Secondary certificate.
 [04 02 16:01:51][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqrEvHB/fIO4uEu+8eXU0\n9/xfCP4uV8fNN3xJldpU+SdGL9xsoGA0pp2WtvNaC7cR9w5x4tMDvjuZDpph7hdN\n9ZdlhVfHlugt8/RbHqLBeWZKVNHDH/VknBFpRu64Fe8QsnFVmbmUMxVtfi0Be1vR\nXgvLFuDCv2WnWfDXxaJMCgieBYQ01RHTbcHNbCXJzWlLdHcguDRIYqcHaHWwkgiU\nhyc9xjWpnLPMtEI1zLCnyzRx7J3pfsAEUiJK68ef/b3UE8lv5qWY47zqdkaiy84l\nZQ3mg/n4yKwpwImUCdfOf2oEaQt4BhWbNLsS+1IfHzOQQG53pncnjasi4XY6sUGw\nFQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"7bee160092f59cbd14f489679cf0bbfe","teeOsVersion":"v0.10.4","teeOsVersionAll":"v0.10.4-gp-5-gfce32c2d-arm64-mt6768-pie-fp-dev/support_mt6768","teeUuid":"0a74d954e0d3075583943043cbd2d354"},"turkey":{"digest":"90106f8e250289e3d8fa607483a7b9b21851c172ec2870593baa7a92d3681f25","keyId":1,"keyboxUuid":"6502_a67fa47dbbb3bdd5c95a5bc1e77adf492556984da919c0cf2ddb0368540b9bf9","nonce":2537609895,"requireKeybox":true}}

 [04 02 16:01:51][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 84
 [04 02 16:01:51][INFO]<__kpha_init>: Program certificate. Done
 [04 02 16:01:51][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 02 16:01:51][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 16:01:51][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 16:01:51][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 16:01:51][INFO]<__kpha_init>: Install keybox success.
 [04 02 18:14:31][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 02 18:14:31][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 02 18:14:31][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 02 18:14:31][INFO]<__kpha_init>: META Version: 3.4.1
 [04 02 18:14:31][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 02 18:14:31][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 02 18:14:31][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 02 18:14:31][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <34b34d5a8ab6343bcaf1b0be0fafa2b1>] start
 [04 02 18:14:32][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 02 18:14:32][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 02 18:14:32][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 02 18:14:32][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 02 18:14:32][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 02 18:14:32][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 02 18:14:32][INFO]<__kpha_init>: Export Device Info. Done
 [04 02 18:14:32][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 02 18:14:32][INFO]<__kpha_init>: EK Generated. Done
 [04 02 18:14:33][INFO]<__kpha_init>: Export Key<0>. Done
 [04 02 18:14:33][INFO]<__kpha_init>: Read Output. Done
 [04 02 18:14:33][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <34b34d5a8ab6343bcaf1b0be0fafa2b1>] Complete.
 [04 02 18:14:33][INFO]<__kpha_init>: Program Secondary certificate.
 [04 02 18:14:33][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsKG8Lw58LWV0mD6rLozl\nLO9mXe+wG3rdKNd+RW7GWVB3eGXEwrhDGiM3lwXbkN5NzndfLlmkqlDKE0NAr8fG\nH3cliFDXiHQxcvkVwS8rKkjKp3l5L3OgPPUOOzRWuMRYmHVqFw2fZBZDEi25nAJw\nheAMWCYP5EfwrOjoGqxTeEPic0/SFbXdN0Wzaxkv5i1blBmFG0UQf9x1IPWJQfJI\ny0lIO/TWa7je5xqhxenW1HoXdvSQ4gwxwvqEz/mi6GXqLiwDhhlD3gqY2rjrVRh0\nU2ermtlLvxDhRxs4AeGB7TsYC0/s2BkvPleTOWWYe14Rq1RAVt3JvA/+ZF1M4Gon\n9QIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"34b34d5a8ab6343bcaf1b0be0fafa2b1","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"c2e3536c3bac9a5e866304190ef91f0e"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":2172309949,"requireKeybox":true}}

 [04 02 18:14:33][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 991
 [04 02 18:14:33][INFO]<__kpha_init>: Program certificate. Done
 [04 02 18:14:33][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 02 18:14:33][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:14:33][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:14:33][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:14:33][INFO]<__kpha_init>: Install keybox success.
 [04 02 18:15:14][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 02 18:15:14][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 02 18:15:14][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 02 18:15:14][INFO]<__kpha_init>: META Version: 3.4.1
 [04 02 18:15:14][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 02 18:15:14][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 02 18:15:14][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 02 18:15:14][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] start
 [04 02 18:15:14][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 02 18:15:14][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 02 18:15:14][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 02 18:15:14][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 02 18:15:14][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 02 18:15:14][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 02 18:15:14][INFO]<__kpha_init>: Export Device Info. Done
 [04 02 18:15:14][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 02 18:15:15][INFO]<__kpha_init>: EK Generated. Done
 [04 02 18:15:15][INFO]<__kpha_init>: Export Key<0>. Done
 [04 02 18:15:15][INFO]<__kpha_init>: Read Output. Done
 [04 02 18:15:15][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] Complete.
 [04 02 18:15:15][INFO]<__kpha_init>: Program Secondary certificate.
 [04 02 18:15:15][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoj5QZdeExuyeBq9Ms5w8\nK4Y/9YNofMJT1VkzB4sdfqYHRl7+hLGspuFpork4spyOEvU00zD5dxnjCGd8ImmB\nkfM0VMUY95Wzkl/B5lC8WymRGILXddoeo9yX0grlZLWHlHH18gYQKTPpOKq4flUa\nzUkDMySn3W78m1lWFKUrBbXKb2zmkhlOZHPs8xIaMQOE0/yS3B/9PnZCNTvNvl4g\naKM2MOvXWnIYvoqcS/6qSn2q2jQcqCsRxm12mPvFGbR/ajJ14+lbX8CmQEU2Hy/w\no9h1C+Ufq3B+xH5kZRDFstmX5wwsngUAIH8CClYwxViXy+FQTk0ificitamk1C+l\nlQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"69868d16ad7cd7b46d1678f9f0d94d27","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"b9fe4621c8b1495caba53fda782cecda"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":2442805412,"requireKeybox":false}}

 [04 02 18:15:15][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 990
 [04 02 18:15:15][INFO]<__kpha_init>: Program certificate. Done
 [04 02 18:15:15][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 02 18:15:15][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:15:15][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:15:15][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:15:15][INFO]<__kpha_init>: Install keybox success.
 [04 02 18:15:42][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 02 18:15:42][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 02 18:15:42][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 02 18:15:42][INFO]<__kpha_init>: META Version: 3.4.1
 [04 02 18:15:42][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 02 18:15:42][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 02 18:15:42][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 02 18:15:42][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa8d29987b5be0e55bf13313360e3d76>] start
 [04 02 18:15:42][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 02 18:15:42][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 02 18:15:42][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 02 18:15:42][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 02 18:15:42][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 02 18:15:42][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 02 18:15:42][INFO]<__kpha_init>: Export Device Info. Done
 [04 02 18:15:42][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 02 18:15:43][INFO]<__kpha_init>: EK Generated. Done
 [04 02 18:15:43][INFO]<__kpha_init>: Export Key<0>. Done
 [04 02 18:15:43][INFO]<__kpha_init>: Read Output. Done
 [04 02 18:15:43][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa8d29987b5be0e55bf13313360e3d76>] Complete.
 [04 02 18:15:43][INFO]<__kpha_init>: Program Secondary certificate.
 [04 02 18:15:43][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuoUyUwpKHClI81UMyQpX\nsHpn7Vl75brzcJeJ72u4e/vNTAGlssx9BZEPoeFw0v13am0AHvrNNPmT6OctrNpl\nomDC8XD8Q2dJC+qWM355l4dillgUh4Anh2lSK5FRzlqP6YaoeS87XFYM/V0pRDID\n31RnIFDLiynucmgwvJbFzC9k6I67H57nhZrfMlki/aRze4T45j7Fk9DctNuhgKZt\n1PKe1a4Z9QxrXcKguZywy2y9VBp+UoMw2IU7Ecqa4CEd4AnBKzOTLguoedcwUwFO\nwyZDJKvoyZYXGwuN+ePSZHjUTd1nQ3Ps4cN2GQM6/zko54zegaOLtbW8pALrZwO/\nHwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"fa8d29987b5be0e55bf13313360e3d76","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"784dc7a419a7b85da337e05cb2cdcf6d"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":2716818124,"requireKeybox":false}}

 [04 02 18:15:43][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 989
 [04 02 18:15:43][INFO]<__kpha_init>: Program certificate. Done
 [04 02 18:15:43][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 02 18:15:43][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:15:43][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:15:43][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:15:43][INFO]<__kpha_init>: Install keybox success.
 [04 02 18:28:16][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 02 18:28:16][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 02 18:28:16][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 02 18:28:16][INFO]<__kpha_init>: META Version: 3.4.1
 [04 02 18:28:16][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 02 18:28:16][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 02 18:28:16][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 02 18:28:16][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2d402c724a38b19d960a2c5856e04879>] start
 [04 02 18:28:17][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 02 18:28:17][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 02 18:28:17][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 02 18:28:17][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 02 18:28:17][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 02 18:28:17][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 02 18:28:17][INFO]<__kpha_init>: Export Device Info. Done
 [04 02 18:28:17][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 02 18:28:18][INFO]<__kpha_init>: EK Generated. Done
 [04 02 18:28:18][INFO]<__kpha_init>: Export Key<0>. Done
 [04 02 18:28:18][INFO]<__kpha_init>: Read Output. Done
 [04 02 18:28:18][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <2d402c724a38b19d960a2c5856e04879>] Complete.
 [04 02 18:28:18][INFO]<__kpha_init>: Program Secondary certificate.
 [04 02 18:28:18][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAynOV/yPHWk+bvXNkUtGx\n+pg808c+2qFdMlcpvPv7DBXGqW2LZwLwwu9fFDl8yMdR7PuDDVbY3wpp7Cz+jMgC\nHDfbimCO0NlX7AnRlKJ5mVn1BwX3xW3rlR3m7gFuVA2FdUvyY/iu7Z/GkKHGr+WE\npmY63lW7+cdw3ZZa2+u/UfcAWzOEujHkUMMO3/WhfqsG5l5b4eysz2JZ6DQoXeps\nEEX2cqHJrs8pnzDdLHr+0qNinTPjx6zo3fyiC9QnlW3cBnvNGtnqH7C4ZPyb3n7z\nR6lpKs8PX3k6wZdZV9mjyELiv9cNqL+JD8vY/db10mEgsmDFtU6+eYP/vwCT3ry5\njQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"2d402c724a38b19d960a2c5856e04879","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"e499abdd935eca54b15b55cc67da8fd9"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":3197101238,"requireKeybox":true}}

 [04 02 18:28:18][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 988
 [04 02 18:28:18][INFO]<__kpha_init>: Program certificate. Done
 [04 02 18:28:18][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 02 18:28:18][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:28:18][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:28:18][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 02 18:28:18][INFO]<__kpha_init>: Install keybox success.
 [04 03 15:19:57][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 03 15:19:57][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 03 15:19:57][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 03 15:19:57][INFO]<__kpha_init>: META Version: 3.4.1
 [04 03 15:19:57][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 03 15:19:57][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 03 15:19:57][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 03 15:19:57][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <b938c056674d496dafadaa33c4e480ea>] start
 [04 03 15:19:57][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 03 15:19:57][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 03 15:19:57][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 03 15:19:57][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 03 15:19:57][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 03 15:19:58][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 03 15:19:58][INFO]<__kpha_init>: Export Device Info. Done
 [04 03 15:19:58][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 03 15:19:58][INFO]<__kpha_init>: EK Generated. Done
 [04 03 15:19:58][INFO]<__kpha_init>: Export Key<0>. Done
 [04 03 15:19:58][INFO]<__kpha_init>: Read Output. Done
 [04 03 15:19:58][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <b938c056674d496dafadaa33c4e480ea>] Complete.
 [04 03 15:19:58][INFO]<__kpha_init>: Program Secondary certificate.
 [04 03 15:19:58][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8NYJC4hR33fA01ZXvgl+\nN0st7aagS3T/Oi000QdpSejFj9aOjp5Px0ygqxakFnA9ntxlTCKhsGnrIUvfnElO\nQNbZLpCKFLdgXKLqEr/WE5xFXH13bOlTi54eiT4T8LVPPvVR4s2RffxC7hNKImA5\nwYJL2jcB6uQPVWJCD9XeJFnXqCIj3J+oXsO1G5on7ownj6DPtHaRzS7jC7Aw65aJ\n91HgsLl0XAFqgfdZKvrhpq5oAexzto2XzWvVHzuGq/76owoB2ZtrhOj/3YkS1U/d\nrMWeaMvnYj153xs+4ExerbAqlmBcKbjVBLEeEecX+UKX+DdyKsgK+5gTx2pSxJz+\n6wIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"b938c056674d496dafadaa33c4e480ea","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"c5ceee041166bf5997f52671b5b38247"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":3436236873,"requireKeybox":true}}

 [04 03 15:19:58][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 987
 [04 03 15:19:58][INFO]<__kpha_init>: Program certificate. Done
 [04 03 15:19:58][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 03 15:19:58][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 03 15:19:58][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 03 15:19:58][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 03 15:19:59][INFO]<__kpha_init>: Install keybox success.
 [04 06 10:52:24][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 06 10:52:24][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 06 10:52:24][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 06 10:52:24][INFO]<__kpha_init>: META Version: 3.4.1
 [04 06 10:52:24][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 06 10:52:24][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 06 10:52:24][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 06 10:52:24][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <cbb1be4b3feba750a78a14b6fc245a96>] start
 [04 06 10:52:24][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 06 10:52:24][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 06 10:52:25][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 06 10:52:25][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 06 10:52:25][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 06 10:52:25][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 06 10:52:25][INFO]<__kpha_init>: Export Device Info. Done
 [04 06 10:52:25][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 06 10:52:25][INFO]<__kpha_init>: EK Generated. Done
 [04 06 10:52:25][INFO]<__kpha_init>: Export Key<0>. Done
 [04 06 10:52:25][INFO]<__kpha_init>: Read Output. Done
 [04 06 10:52:25][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <cbb1be4b3feba750a78a14b6fc245a96>] Complete.
 [04 06 10:52:25][INFO]<__kpha_init>: Program Secondary certificate.
 [04 06 10:52:25][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsVTRofjf4PZ0wcv2yNx2\nqOIJJFJrjkn7gpGGXQc1L0jfx6iBF1pgBvEOmdCHwHjC/sT8woKf0F2USCUzOfXx\n/Cot0RWj4YGWDjtYDXvaLEPZRsXob84Iyxb7dEOU6s+FhUIeTxMuy0xpZmaFiNTA\nLWg0f4eqirXjxD/O6Sd1W7qPGL6tv0CFSG3MYOXKPkfLmVGmTUphJrZCpms+3icV\ntjprBxT4OR6L+ccUq76X8rs4Zi1UsucLuwoVeUQmO2yKGcYp59/qr3OI9BaZYiPN\nngS4/02ALFG9eQ/CEtZjxmtE6dLgiy6M9s/YTIcOm+6GLQKKBrVCPTjv0PloauE7\ncwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"cbb1be4b3feba750a78a14b6fc245a96","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"6aa8ba1c63a6ee5fa82eadc3fd49dc95"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":2959032092,"requireKeybox":true}}

 [04 06 10:52:25][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 986
 [04 06 10:52:25][INFO]<__kpha_init>: Program certificate. Done
 [04 06 10:52:25][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 06 10:52:25][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 10:52:25][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 10:52:25][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 10:52:26][INFO]<__kpha_init>: Install keybox success.
 [04 06 11:39:11][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 06 11:39:11][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 06 11:39:11][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 06 11:39:11][INFO]<__kpha_init>: META Version: 3.4.1
 [04 06 11:39:11][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 06 11:39:11][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 06 11:39:11][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 06 11:39:11][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f73475e5a52b25650bcd26ea6ce7a6c9>] start
 [04 06 11:39:12][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 06 11:39:12][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 06 11:39:12][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 06 11:39:12][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 06 11:39:12][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 06 11:39:12][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 06 11:39:12][INFO]<__kpha_init>: Export Device Info. Done
 [04 06 11:39:12][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 06 11:39:13][INFO]<__kpha_init>: EK Generated. Done
 [04 06 11:39:13][INFO]<__kpha_init>: Export Key<0>. Done
 [04 06 11:39:13][INFO]<__kpha_init>: Read Output. Done
 [04 06 11:39:13][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f73475e5a52b25650bcd26ea6ce7a6c9>] Complete.
 [04 06 11:39:13][INFO]<__kpha_init>: Program Secondary certificate.
 [04 06 11:39:13][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5FdwsGBzlkVAv+AdDUcq\nuNN4vm5UkNXP79+55lezK6+KRT46lysCTFdtHNxWRbowFShPSdXiq2G9ZmKQrbvH\nJ2pa2MwgUB8FVx0YkOLSKpyEy1ne20Nyj4fJ8kVVluLDvUo3EXJISNoU7TrgiBCq\nBwEivBt3d7UG62dOTr+tPolWXfMI3U9wOIpvG7Cz6Giziv/Bj8h95WTd83ybgcZJ\nfx7huVjeBM2atrK/jt/wmSAh0XG+eSFnlO6d16FRJQWg50kkbwuvHauZ8byqxDe6\nh4Cj5opK1+sqkgmL74xvPlEm3JV5WF6no3x6n6i1tnvzTpsPRp9X/2UND+dp6iWv\nBQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"f73475e5a52b25650bcd26ea6ce7a6c9","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"ec6daf6389c0d654a1400e370766abe1"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":3782468999,"requireKeybox":true}}

 [04 06 11:39:13][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 985
 [04 06 11:39:13][INFO]<__kpha_init>: Program certificate. Done
 [04 06 11:39:13][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 06 11:39:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 11:39:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 11:39:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 11:39:13][INFO]<__kpha_init>: Install keybox success.
 [04 06 13:49:50][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 06 13:49:50][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 06 13:49:50][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 06 13:49:50][INFO]<__kpha_init>: META Version: 3.4.1
 [04 06 13:49:50][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 06 13:49:50][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 06 13:49:50][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 06 13:49:50][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f73475e5a52b25650bcd26ea6ce7a6c9>] start
 [04 06 13:49:50][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 06 13:49:50][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 06 13:49:50][INFO]<__kpha_init>: CFG already imported. Done
 [04 06 13:49:51][INFO]<__kpha_init>: Export Device Info. Done
 [04 06 13:49:51][INFO]<__kpha_init>: Export Key<0>. Done
 [04 06 13:49:51][INFO]<__kpha_init>: Read Output. Done
 [04 06 13:49:51][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f73475e5a52b25650bcd26ea6ce7a6c9>] Complete.
 [04 06 13:49:51][INFO]<__kpha_init>: Certificate programmed before. Done
 [04 06 13:49:51][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5FdwsGBzlkVAv+AdDUcq\nuNN4vm5UkNXP79+55lezK6+KRT46lysCTFdtHNxWRbowFShPSdXiq2G9ZmKQrbvH\nJ2pa2MwgUB8FVx0YkOLSKpyEy1ne20Nyj4fJ8kVVluLDvUo3EXJISNoU7TrgiBCq\nBwEivBt3d7UG62dOTr+tPolWXfMI3U9wOIpvG7Cz6Giziv/Bj8h95WTd83ybgcZJ\nfx7huVjeBM2atrK/jt/wmSAh0XG+eSFnlO6d16FRJQWg50kkbwuvHauZ8byqxDe6\nh4Cj5opK1+sqkgmL74xvPlEm3JV5WF6no3x6n6i1tnvzTpsPRp9X/2UND+dp6iWv\nBQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"f73475e5a52b25650bcd26ea6ce7a6c9","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"ec6daf6389c0d654a1400e370766abe1"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":2492706442,"requireKeybox":true}}

 [04 06 13:49:51][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 985
 [04 06 13:49:51][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 06 13:49:51][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 13:49:51][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 13:49:51][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 06 13:49:51][INFO]<__kpha_init>: Install keybox success.
 [04 06 13:49:51][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [04 08 15:46:52][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 08 15:46:52][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 08 15:46:52][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 08 15:46:52][INFO]<__kpha_init>: META Version: 3.4.1
 [04 08 15:46:52][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 08 15:46:52][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 08 15:46:52][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 08 15:46:52][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <34b34d5a8ab6343bcaf1b0be0fafa2b1>] start
 [04 08 15:46:52][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 08 15:46:53][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 08 15:46:53][INFO]<__kpha_init>: CFG already imported. Done
 [04 08 15:46:53][INFO]<__kpha_init>: Export Device Info. Done
 [04 08 15:46:53][INFO]<__kpha_init>: Export Key<0>. Done
 [04 08 15:46:53][INFO]<__kpha_init>: Read Output. Done
 [04 08 15:46:53][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <34b34d5a8ab6343bcaf1b0be0fafa2b1>] Complete.
 [04 08 15:46:53][INFO]<__kpha_init>: Certificate programmed before. Done
 [04 08 15:46:53][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsKG8Lw58LWV0mD6rLozl\nLO9mXe+wG3rdKNd+RW7GWVB3eGXEwrhDGiM3lwXbkN5NzndfLlmkqlDKE0NAr8fG\nH3cliFDXiHQxcvkVwS8rKkjKp3l5L3OgPPUOOzRWuMRYmHVqFw2fZBZDEi25nAJw\nheAMWCYP5EfwrOjoGqxTeEPic0/SFbXdN0Wzaxkv5i1blBmFG0UQf9x1IPWJQfJI\ny0lIO/TWa7je5xqhxenW1HoXdvSQ4gwxwvqEz/mi6GXqLiwDhhlD3gqY2rjrVRh0\nU2ermtlLvxDhRxs4AeGB7TsYC0/s2BkvPleTOWWYe14Rq1RAVt3JvA/+ZF1M4Gon\n9QIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"34b34d5a8ab6343bcaf1b0be0fafa2b1","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"c2e3536c3bac9a5e866304190ef91f0e"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":1990573659,"requireKeybox":true}}

 [04 08 15:46:53][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 946
 [04 08 15:46:53][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 08 15:46:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 08 15:46:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 08 15:46:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 08 15:46:53][INFO]<__kpha_init>: Install keybox success.
 [04 08 15:46:53][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [04 09 09:44:44][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 09 09:44:44][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 09 09:44:44][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 09 09:44:44][INFO]<__kpha_init>: META Version: 3.4.1
 [04 09 09:44:44][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 09 09:44:44][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 09 09:44:44][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 09 09:44:44][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c5534300d1818d3c5c967dc339b17c5b>] start
 [04 09 09:44:44][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 09 09:44:44][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 09 09:44:44][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 09 09:44:44][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 09 09:44:44][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 09 09:44:44][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 09 09:44:44][INFO]<__kpha_init>: Export Device Info. Done
 [04 09 09:44:45][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 09 09:44:45][INFO]<__kpha_init>: EK Generated. Done
 [04 09 09:44:45][INFO]<__kpha_init>: Export Key<0>. Done
 [04 09 09:44:45][INFO]<__kpha_init>: Read Output. Done
 [04 09 09:44:45][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c5534300d1818d3c5c967dc339b17c5b>] Complete.
 [04 09 09:44:45][INFO]<__kpha_init>: Program Secondary certificate.
 [04 09 09:44:45][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAptRz6RccL9KoyuIQaPdb\nsX7aIBTHNAScTdh9NOVcfO76bY/zlYp53sGmlAJU7nSnX5Z523m78joiAj9uNZfB\n8D1QJ2zQYcKfOhynh7eFT6WvHUCUhOSE9spU4sGb2NOqwfwtZueo5FMP6oCL03Dz\nFiTsqtoRsRUq+l0CDoGi5b/s6RcdQHWBucP3F3DSyFO70MMDciAESvN6SWvlXS3v\neSTpEXvjR7eN7v6Sub6VzJxAa18jFGVBnBtiBJ9NZTkxJW6vZ9s7pHtr979ApAQZ\n6iH0y6Ug8mB0nqQEIM7HwG8qXrUm8YNy2CVtIF1LaCcP9cil8vIwYAfEZT+5joMX\nywIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"c5534300d1818d3c5c967dc339b17c5b","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"3c78a6e1634a4b51984ee46976b8dc87"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":603422673,"requireKeybox":true}}

 [04 09 09:44:45][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 945
 [04 09 09:44:45][INFO]<__kpha_init>: Program certificate. Done
 [04 09 09:44:45][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 09 09:44:45][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:44:45][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:44:45][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:44:45][INFO]<__kpha_init>: Install keybox success.
 [04 09 09:45:41][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 09 09:45:41][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 09 09:45:41][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 09 09:45:41][INFO]<__kpha_init>: META Version: 3.4.1
 [04 09 09:45:41][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 09 09:45:41][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 09 09:45:41][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 09 09:45:41][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <57edd154c410b566d008fd9d1f6f112b>] start
 [04 09 09:45:41][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 09 09:45:41][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 09 09:45:42][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 09 09:45:42][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 09 09:45:42][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 09 09:45:42][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 09 09:45:42][INFO]<__kpha_init>: Export Device Info. Done
 [04 09 09:45:42][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 09 09:45:42][INFO]<__kpha_init>: EK Generated. Done
 [04 09 09:45:42][INFO]<__kpha_init>: Export Key<0>. Done
 [04 09 09:45:42][INFO]<__kpha_init>: Read Output. Done
 [04 09 09:45:42][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <57edd154c410b566d008fd9d1f6f112b>] Complete.
 [04 09 09:45:42][INFO]<__kpha_init>: Program Secondary certificate.
 [04 09 09:45:42][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0E9WXrhL9rqydxaQv94H\ngLYMoC93tRGxPOU3zO+Kf4BiA0Mr2hCWiYzaJjdu5T+LHblbDPoqiKGBfuoNq7hC\nuW59K2VsVyFgihMNVJW2mMVtcYu0thpGPtJ5zDCB3DuCPgCBqpvbncVnOdBY4jtb\nqgMzqzXSksi5blNvkpAq6jlm1Wq3bHjwHafPzXHE0Ce9d7giovEsurQwgEzRqI3+\n3lSRa1xtiFDQNHFXNBdgJB6hxykfQR80mgIKapibISWLTOCWaMRS24xaWbt5/Ukg\nhjkCJ7QzTWWJwWlBUlWr80cge6kSKuJvzzGUfRunxuVBf6iTVTIU3wnJOqy5C3iT\ncQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"57edd154c410b566d008fd9d1f6f112b","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"b2ff06d1c463535e970bc411e1353dcd"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":681470507,"requireKeybox":false}}

 [04 09 09:45:42][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 944
 [04 09 09:45:42][INFO]<__kpha_init>: Program certificate. Done
 [04 09 09:45:42][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 09 09:45:42][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:45:42][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:45:42][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:45:43][INFO]<__kpha_init>: Install keybox success.
 [04 09 09:46:52][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 09 09:46:52][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 09 09:46:52][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 09 09:46:52][INFO]<__kpha_init>: META Version: 3.4.1
 [04 09 09:46:52][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 09 09:46:52][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 09 09:46:52][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 09 09:46:52][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] start
 [04 09 09:46:53][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 09 09:46:53][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 09 09:46:53][INFO]<__kpha_init>: CFG already imported. Done
 [04 09 09:46:53][INFO]<__kpha_init>: Export Device Info. Done
 [04 09 09:46:53][INFO]<__kpha_init>: Export Key<0>. Done
 [04 09 09:46:53][INFO]<__kpha_init>: Read Output. Done
 [04 09 09:46:53][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] Complete.
 [04 09 09:46:53][INFO]<__kpha_init>: Certificate programmed before. Done
 [04 09 09:46:53][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 09 09:46:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:46:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:46:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:46:53][INFO]<__kpha_init>: Install keybox success.
 [04 09 09:46:53][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [04 09 09:47:30][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 09 09:47:30][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 09 09:47:30][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 09 09:47:30][INFO]<__kpha_init>: META Version: 3.4.1
 [04 09 09:47:30][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 09 09:47:30][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 09 09:47:30][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 09 09:47:30][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <838759f1dc0b9ab69e7f1204a21a22ca>] start
 [04 09 09:47:30][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 09 09:47:30][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 09 09:47:30][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 09 09:47:30][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 09 09:47:30][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 09 09:47:30][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 09 09:47:30][INFO]<__kpha_init>: Export Device Info. Done
 [04 09 09:47:30][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 09 09:47:31][INFO]<__kpha_init>: EK Generated. Done
 [04 09 09:47:31][INFO]<__kpha_init>: Export Key<0>. Done
 [04 09 09:47:31][INFO]<__kpha_init>: Read Output. Done
 [04 09 09:47:31][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <838759f1dc0b9ab69e7f1204a21a22ca>] Complete.
 [04 09 09:47:31][INFO]<__kpha_init>: Program Secondary certificate.
 [04 09 09:47:31][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvRZ/yXxAVKp7N6zs+/4R\nhBgjUyiN0dGeySI53tby8KBzP44UKlN971RS+XyHNf9pEk6LJT9gYYvn4O0DSBje\n4eHvDyuCPLUyLd9mBHW3CjE3YAM0pwyV0xESalmayGZLkyxoS500bV+kkAFRsKTG\naF7UklcRInjhRHfiuSfbJgYt2oNowRwpe/3DAAqYVmSMYG5Ea81Rk1uWBuDPzR0H\nHGhZ5rP4dnWeQqFHMPK3hcRsu+HK2MKv2rd06RtR+5w3uKguNWvVcM/+IdLD7Axv\n5xTwbppaxB8MAImDN9yUleveatOZVnSoP4VYM///2tG3W45XRSvTykD9Md2+UCCd\nfwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"838759f1dc0b9ab69e7f1204a21a22ca","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"8fef6713d3ebdd5a82983515172a18c3"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":2431532987,"requireKeybox":false}}

 [04 09 09:47:31][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 943
 [04 09 09:47:31][INFO]<__kpha_init>: Program certificate. Done
 [04 09 09:47:31][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 09 09:47:31][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:47:31][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:47:31][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 09 09:47:31][INFO]<__kpha_init>: Install keybox success.
 [04 15 10:59:16][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 15 10:59:16][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 15 10:59:16][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 15 10:59:16][INFO]<__kpha_init>: META Version: 3.4.1
 [04 15 10:59:16][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 15 10:59:16][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 15 10:59:16][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 15 10:59:16][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa8d29987b5be0e55bf13313360e3d76>] start
 [04 15 10:59:16][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 15 10:59:16][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 15 10:59:16][INFO]<__kpha_init>: CFG already imported. Done
 [04 15 10:59:16][INFO]<__kpha_init>: Export Device Info. Done
 [04 15 10:59:17][INFO]<__kpha_init>: Export Key<0>. Done
 [04 15 10:59:17][INFO]<__kpha_init>: Read Output. Done
 [04 15 10:59:17][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <fa8d29987b5be0e55bf13313360e3d76>] Complete.
 [04 15 10:59:17][INFO]<__kpha_init>: Certificate programmed before. Done
 [04 15 10:59:17][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuoUyUwpKHClI81UMyQpX\nsHpn7Vl75brzcJeJ72u4e/vNTAGlssx9BZEPoeFw0v13am0AHvrNNPmT6OctrNpl\nomDC8XD8Q2dJC+qWM355l4dillgUh4Anh2lSK5FRzlqP6YaoeS87XFYM/V0pRDID\n31RnIFDLiynucmgwvJbFzC9k6I67H57nhZrfMlki/aRze4T45j7Fk9DctNuhgKZt\n1PKe1a4Z9QxrXcKguZywy2y9VBp+UoMw2IU7Ecqa4CEd4AnBKzOTLguoedcwUwFO\nwyZDJKvoyZYXGwuN+ePSZHjUTd1nQ3Ps4cN2GQM6/zko54zegaOLtbW8pALrZwO/\nHwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"fa8d29987b5be0e55bf13313360e3d76","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"784dc7a419a7b85da337e05cb2cdcf6d"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":1149428705,"requireKeybox":true}}

 [04 15 10:59:17][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 37
 [04 15 10:59:17][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 15 10:59:17][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 10:59:17][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 10:59:17][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 10:59:17][INFO]<__kpha_init>: Install keybox success.
 [04 15 10:59:17][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [04 15 14:55:45][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 15 14:55:45][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 15 14:55:45][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 15 14:55:45][INFO]<__kpha_init>: META Version: 3.4.1
 [04 15 14:55:45][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 15 14:55:45][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 15 14:55:45][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 15 14:55:45][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <57edd154c410b566d008fd9d1f6f112b>] start
 [04 15 14:55:45][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 15 14:55:45][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 15 14:55:45][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 15 14:55:45][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 15 14:55:45][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 15 14:55:45][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 15 14:55:46][INFO]<__kpha_init>: Export Device Info. Done
 [04 15 14:55:46][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 15 14:55:46][INFO]<__kpha_init>: EK Generated. Done
 [04 15 14:55:46][INFO]<__kpha_init>: Export Key<0>. Done
 [04 15 14:55:46][INFO]<__kpha_init>: Read Output. Done
 [04 15 14:55:46][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <57edd154c410b566d008fd9d1f6f112b>] Complete.
 [04 15 14:55:46][INFO]<__kpha_init>: Program Secondary certificate.
 [04 15 14:55:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwXQ6yGgIjs9+tb5IYWm6\nu1dt/wIj5PlFwS8pl+ZkH5DMqcHEVsuHm9lQ8cPLs00CjNSdfWR6eOzKml38iYX4\nQT1rCIEhgpApSAVVkJVmgsd5tso3rwTBsMcXsor5DZ71k7Rgtql5kg/dJiHni2Wz\nLsNj9CU8CeTVIWC1ggP8sHygXCQc2nTBRUW+3U8NGur8FUDHk8bNSRZy8H87EtNh\nHyvg3eLnjhbaHiT5wCd0i+X4gaUO+EiPUIyM9TDSXhCv/OgzWkMDYC9ZnoCFYyRo\n7iDiWoqMpO0+6pHuhEOzMjFub7n6Sp5xilkOQAKGYl8522DK9zkfQ/dGJr6xMult\nuwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"57edd154c410b566d008fd9d1f6f112b","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"b2ff06d1c463535e970bc411e1353dcd"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":336322274,"requireKeybox":true}}

 [04 15 14:55:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 36
 [04 15 14:55:46][INFO]<__kpha_init>: Program certificate. Done
 [04 15 14:55:46][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 15 14:55:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 14:55:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 14:55:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 14:55:47][INFO]<__kpha_init>: Install keybox success.
 [04 15 14:56:51][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 15 14:56:51][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 15 14:56:51][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 15 14:56:51][INFO]<__kpha_init>: META Version: 3.4.1
 [04 15 14:56:51][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 15 14:56:51][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 15 14:56:51][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 15 14:56:51][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <838759f1dc0b9ab69e7f1204a21a22ca>] start
 [04 15 14:56:51][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 15 14:56:52][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 15 14:56:52][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 15 14:56:52][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 15 14:56:52][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 15 14:56:52][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 15 14:56:52][INFO]<__kpha_init>: Export Device Info. Done
 [04 15 14:56:52][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 15 14:56:52][INFO]<__kpha_init>: EK Generated. Done
 [04 15 14:56:53][INFO]<__kpha_init>: Export Key<0>. Done
 [04 15 14:56:53][INFO]<__kpha_init>: Read Output. Done
 [04 15 14:56:53][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <838759f1dc0b9ab69e7f1204a21a22ca>] Complete.
 [04 15 14:56:53][INFO]<__kpha_init>: Program Secondary certificate.
 [04 15 14:56:53][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvLWyhI/jizHCJ5dZgoEi\nm/1WANLwEGwihERyNZgNlJUc+C/H+ljm7s+XxcHOjaql6a3TSJaGJ5oguGZUaJFK\nztgzrWxJYqamdbk/+dcySFodlV1M7VmXKGW9i8ac2t48ffdPNN18+hgl+xyE1Zay\nY2pnYhWC0lUSKsnxBf0SfoN6nFGSi1N7u53yn90TRHXlNnj8EKKvrID2qHFbjAye\n9+sz2kMKtumDfKXIWRxsnEA6avIfDFM+nuNTVCHastTgxs8PvmGTeEFqelLvuLUR\nbWMkyZ7atAPBKwCET62Z7zU+xASEKB/eZ5WuX5XVWKc25xXWhwHt5/so3Wb6XJow\nTQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"838759f1dc0b9ab69e7f1204a21a22ca","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"8fef6713d3ebdd5a82983515172a18c3"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":4074584404,"requireKeybox":false}}

 [04 15 14:56:53][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 35
 [04 15 14:56:53][INFO]<__kpha_init>: Program certificate. Done
 [04 15 14:56:53][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 15 14:56:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 14:56:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 14:56:53][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 15 14:56:53][INFO]<__kpha_init>: Install keybox success.
 [04 19 14:39:19][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 19 14:39:19][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 19 14:39:19][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [04 19 14:39:19][INFO]<__kpha_init>: META Version: 3.2.0
 [04 19 14:39:19][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [04 19 14:39:19][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [04 19 14:39:19][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [04 19 14:39:19][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <3a5c68d1f9801c7da484c64c0333a853>] start
 [04 19 14:39:19][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 19 14:39:19][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 19 14:39:19][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 19 14:39:19][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 19 14:39:19][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 19 14:39:19][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 19 14:39:19][INFO]<__kpha_init>: Export Device Info. Done
 [04 19 14:39:19][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 19 14:39:21][INFO]<__kpha_init>: EK Generated. Done
 [04 19 14:39:21][INFO]<__kpha_init>: Export Key<0>. Done
 [04 19 14:39:21][INFO]<__kpha_init>: Read Output. Done
 [04 19 14:39:21][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <3a5c68d1f9801c7da484c64c0333a853>] Complete.
 [04 19 14:39:21][INFO]<__kpha_init>: Program Secondary certificate.
 [04 19 14:39:21][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy8RoXcmcNtTCiQXiHOGs\nHncLK9/DCmWJaB8YgvZ394pTjlV3XD0z5n8a9VFUvu+190OxPC2ZaNPVV8D2lzlu\nxd9Buz6B6mHtZfFYnMvlQPS0RPlk6jsSoGPM5nW2SBE0C/DXPF0HtZkmkT5FJwmN\nWcyp/LaUMjsRiMym15Z4K0z+Bo8xzMwuwxH/FD4n2zxMplKA6WzE45352OhcWBHW\nYFYw8bbMqLbYPbJJtee1wb9OqCYOe6XPtjbTtbqzsJ+5cR+zr12SfH7Z6M4A8aU2\nSc2d3F8GmcU/XPO1Lq6pNCBmw3tG4u3mOdPWHDTaW++yj9sqMY6/r+BWpmiel/pH\nzwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"3a5c68d1f9801c7da484c64c0333a853","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"be41ba9981f49e538f6b47afdfb7390e"},"turkey":{"digest":"4d68e5ffb9151a458fff39630d5d7b896ef3939e70f469fe5005ac51408821cd","keyId":1,"keyboxUuid":"5308_0dcef1f032891d15a7a721ba294fe7f1bf6e1a6773ed1a56144dcffafee83793","nonce":2087053878,"requireKeybox":true}}

 [04 19 14:39:21][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 841
 [04 19 14:39:21][INFO]<__kpha_init>: Program certificate. Done
 [04 19 14:39:21][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 19 14:39:21][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:39:21][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:39:21][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:39:21][INFO]<__kpha_init>: Install keybox success.
 [04 19 14:41:16][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 19 14:41:16][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 19 14:41:16][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [04 19 14:41:16][INFO]<__kpha_init>: META Version: 3.2.0
 [04 19 14:41:16][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [04 19 14:41:16][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [04 19 14:41:16][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [04 19 14:41:16][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c21d1a12a6ad1a3a733f1102a087cd45>] start
 [04 19 14:41:16][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 19 14:41:16][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 19 14:41:17][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 19 14:41:17][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 19 14:41:17][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 19 14:41:17][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 19 14:41:17][INFO]<__kpha_init>: Export Device Info. Done
 [04 19 14:41:17][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 19 14:41:19][INFO]<__kpha_init>: EK Generated. Done
 [04 19 14:41:19][INFO]<__kpha_init>: Export Key<0>. Done
 [04 19 14:41:19][INFO]<__kpha_init>: Read Output. Done
 [04 19 14:41:19][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <c21d1a12a6ad1a3a733f1102a087cd45>] Complete.
 [04 19 14:41:19][INFO]<__kpha_init>: Program Secondary certificate.
 [04 19 14:41:19][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA18UyeF31zWS4jUCNSW16\n+8mtVcMmKv7QNI6KB780pL4vlTjvQBSMWUKQeGD7D3gLDAsJM3KJPbDFrj9YBxTw\nOnrklVvsHFeSbUFU7y+gF7hjazHp5mEQgqN9lmlCMhbbUMwuHJjqSXUxkQrRv8pM\n7azoM2OKh32qpBsnzl6t8UHdGEcy1DUyCY6sUyWJyvrrrmvCc+aLl96WIg4qdSxx\nund4EWvuybRYn2kd6tOXVphHAZEY3P60T9e8mTPlnN7DUb5HKJ71c0z1363402Fq\n8wzBVIdRV09XUrsHJ8Vr+839njMCtp0tb4VRdSjBOfv6OKLEGgJAHGmgTNlFp1dk\n7QIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"c21d1a12a6ad1a3a733f1102a087cd45","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"e1cc0928068da555b6f966626b87ea6b"},"turkey":{"digest":"4d68e5ffb9151a458fff39630d5d7b896ef3939e70f469fe5005ac51408821cd","keyId":1,"keyboxUuid":"5308_0dcef1f032891d15a7a721ba294fe7f1bf6e1a6773ed1a56144dcffafee83793","nonce":2087053878,"requireKeybox":false}}

 [04 19 14:41:19][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 840
 [04 19 14:41:20][INFO]<__kpha_init>: Program certificate. Done
 [04 19 14:41:20][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 19 14:41:20][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:41:20][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:41:20][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:41:20][INFO]<__kpha_init>: Install keybox success.
 [04 19 14:42: 7][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 19 14:42: 7][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 19 14:42: 7][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [04 19 14:42: 7][INFO]<__kpha_init>: META Version: 3.2.0
 [04 19 14:42: 7][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [04 19 14:42: 7][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [04 19 14:42: 7][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [04 19 14:42: 7][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24a5963c6561b0c324e5569f7161f606>] start
 [04 19 14:42: 7][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 19 14:42: 7][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 19 14:42: 7][INFO]<__kpha_init>: CFG already imported. Done
 [04 19 14:42: 7][INFO]<__kpha_init>: Export Device Info. Done
 [04 19 14:42: 7][INFO]<__kpha_init>: Export Key<0>. Done
 [04 19 14:42: 7][INFO]<__kpha_init>: Read Output. Done
 [04 19 14:42: 7][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24a5963c6561b0c324e5569f7161f606>] Complete.
 [04 19 14:42: 7][INFO]<__kpha_init>: Certificate programmed before. Done
 [04 19 14:42: 7][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 19 14:42: 7][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:42: 7][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:42: 7][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 19 14:42: 7][INFO]<__kpha_init>: Install keybox success.
 [04 19 14:42: 7][INFO]<__kpha_init>: PROGRAM_FLAG: 0x0
 [04 20 10:11:40][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 20 10:11:40][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 20 10:11:40][INFO]<kpha_detect_server_mode>: version: 3.4.2
 [04 20 10:11:40][INFO]<__kpha_init>: META Version: 3.4.2
 [04 20 10:11:40][INFO]<get_cert_name>: certname: UMIDIGI_RP04_mt6779.dat
 [04 20 10:11:40][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP04_mt6779.dat) failed: No such file or directory
 [04 20 10:11:40][WARN]<__kpha_init>: UMIDIGI_RP04_mt6779.dat not exist, certname_len : 23
 [04 20 10:11:40][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <ffffffff00000000>] start
 [04 20 10:11:40][ERR]<pl_get_device_status>: Expecting 64 bytes to hold digest, got 32 bytes
 [04 20 10:11:40][ERR]<__kpha_init>: __kpha_init KPHA_GetDevice_PL_Status failed ret = -18
 [04 20 10:11:40][ERR]<__kpha_init>: Device production processing failed with -18
 [04 20 10:11:40][ERR]<KPHA_Init2>: __kpha_init failed with kr = -18

 [04 20 10:12:54][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 20 10:12:54][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 20 10:12:54][INFO]<kpha_detect_server_mode>: version: 3.4.2
 [04 20 10:12:54][INFO]<__kpha_init>: META Version: 3.4.2
 [04 20 10:12:54][INFO]<get_cert_name>: certname: UMIDIGI_RP04_mt6779.dat
 [04 20 10:12:54][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP04_mt6779.dat) failed: No such file or directory
 [04 20 10:12:54][WARN]<__kpha_init>: UMIDIGI_RP04_mt6779.dat not exist, certname_len : 23
 [04 20 10:12:54][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <ffffffff00000000>] start
 [04 20 10:12:55][ERR]<pl_get_device_status>: Expecting 64 bytes to hold digest, got 32 bytes
 [04 20 10:12:55][ERR]<__kpha_init>: __kpha_init KPHA_GetDevice_PL_Status failed ret = -18
 [04 20 10:12:55][ERR]<__kpha_init>: Device production processing failed with -18
 [04 20 10:12:55][ERR]<KPHA_Init2>: __kpha_init failed with kr = -18

 [04 20 10:15:26][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 20 10:15:26][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 20 10:15:26][INFO]<kpha_detect_server_mode>: version: 3.4.2
 [04 20 10:15:26][INFO]<__kpha_init>: META Version: 3.4.2
 [04 20 10:15:26][INFO]<get_cert_name>: certname: UMIDIGI_RP04_mt6779.dat
 [04 20 10:15:26][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP04_mt6779.dat) failed: No such file or directory
 [04 20 10:15:26][WARN]<__kpha_init>: UMIDIGI_RP04_mt6779.dat not exist, certname_len : 23
 [04 20 10:15:26][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <ffffffff00000000>] start
 [04 20 10:15:26][ERR]<pl_get_device_status>: Expecting 64 bytes to hold digest, got 32 bytes
 [04 20 10:15:26][ERR]<__kpha_init>: __kpha_init KPHA_GetDevice_PL_Status failed ret = -18
 [04 20 10:15:26][ERR]<__kpha_init>: Device production processing failed with -18
 [04 20 10:15:26][ERR]<KPHA_Init2>: __kpha_init failed with kr = -18

 [04 20 10:17:17][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 20 10:17:17][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 20 10:17:17][INFO]<kpha_detect_server_mode>: version: 3.4.2
 [04 20 10:17:17][INFO]<__kpha_init>: META Version: 3.4.2
 [04 20 10:17:17][INFO]<get_cert_name>: certname: UMIDIGI_RP04_mt6779.dat
 [04 20 10:17:17][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP04_mt6779.dat) failed: No such file or directory
 [04 20 10:17:17][WARN]<__kpha_init>: UMIDIGI_RP04_mt6779.dat not exist, certname_len : 23
 [04 20 10:17:17][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <ffffffff00000000>] start
 [04 20 10:17:17][ERR]<pl_get_device_status>: Expecting 64 bytes to hold digest, got 32 bytes
 [04 20 10:17:17][ERR]<__kpha_init>: __kpha_init KPHA_GetDevice_PL_Status failed ret = -18
 [04 20 10:17:17][ERR]<__kpha_init>: Device production processing failed with -18
 [04 20 10:17:17][ERR]<KPHA_Init2>: __kpha_init failed with kr = -18

 [04 20 10:18:37][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 20 10:18:37][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 20 10:18:37][INFO]<kpha_detect_server_mode>: version: 3.4.2
 [04 20 10:18:37][INFO]<__kpha_init>: META Version: 3.4.2
 [04 20 10:18:37][INFO]<get_cert_name>: certname: UMIDIGI_RP04_mt6779.dat
 [04 20 10:18:37][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP04_mt6779.dat) failed: No such file or directory
 [04 20 10:18:37][WARN]<__kpha_init>: UMIDIGI_RP04_mt6779.dat not exist, certname_len : 23
 [04 20 10:18:37][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <ffffffff00000000>] start
 [04 20 10:18:37][ERR]<pl_get_device_status>: Expecting 64 bytes to hold digest, got 32 bytes
 [04 20 10:18:37][ERR]<__kpha_init>: __kpha_init KPHA_GetDevice_PL_Status failed ret = -18
 [04 20 10:18:37][ERR]<__kpha_init>: Device production processing failed with -18
 [04 20 10:18:37][ERR]<KPHA_Init2>: __kpha_init failed with kr = -18

 [04 22 13:48:23][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 22 13:48:23][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 22 13:48:23][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [04 22 13:48:23][INFO]<__kpha_init>: META Version: 3.4.1
 [04 22 13:48:23][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [04 22 13:48:23][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [04 22 13:48:23][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [04 22 13:48:23][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e2d9d8d8e9b84a3aa6b369f406714f0a>] start
 [04 22 13:48:23][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 22 13:48:23][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 22 13:48:23][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 22 13:48:23][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 22 13:48:23][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 22 13:48:23][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 22 13:48:23][INFO]<__kpha_init>: Export Device Info. Done
 [04 22 13:48:24][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 22 13:48:24][INFO]<__kpha_init>: EK Generated. Done
 [04 22 13:48:24][INFO]<__kpha_init>: Export Key<0>. Done
 [04 22 13:48:24][INFO]<__kpha_init>: Read Output. Done
 [04 22 13:48:24][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <e2d9d8d8e9b84a3aa6b369f406714f0a>] Complete.
 [04 22 13:48:24][INFO]<__kpha_init>: Program Secondary certificate.
 [04 22 13:48:24][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw9/5oOwQ8Xzf49SoD4S5\n/REvzBwEBJAqt71eRzOwtorjW7I7Uc3popU2KJmRDHFQkg0gP5giFQx3cQgso6ZW\nPkJZxPKlmX+5LyRVzB3P7vL55rwmG19qR4R48RAUK3PPcnu/6I1zhR/TvcBX6If2\nrcODuLZR56umF3QQRpFBnX7ylabXZ31GQuQVbLo8Vn4XOx0H0jp2CVl/LNZ7i2qK\ndhbZuzGc+D/fBgyPDlcCTAOjLvx+m9jszSk47DITN40nvOPatB8cnG41DNi2GdXr\ncjdC04HrDdW6BEkVwhTFJClLkpdtinx39VGPH9D3EN3oKvGeuvpXNppuH8aJAHSU\nDwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"e2d9d8d8e9b84a3aa6b369f406714f0a","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"eb62f079776e8554a3d09e5a0bc0727c"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_e642663395f270786c70ae56c2ddf26bdd5cf5be8ffcfac252ae3f7a568f0816","nonce":2092892977,"requireKeybox":true}}

 [04 22 13:48:24][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 372
 [04 22 13:48:24][INFO]<__kpha_init>: Program certificate. Done
 [04 22 13:48:24][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 22 13:48:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 22 13:48:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 22 13:48:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 22 13:48:24][INFO]<__kpha_init>: Install keybox success.
 [04 25 14:48:21][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 25 14:48:21][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 25 14:48:21][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [04 25 14:48:21][INFO]<__kpha_init>: META Version: 3.2.0
 [04 25 14:48:22][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [04 25 14:48:22][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [04 25 14:48:22][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [04 25 14:48:22][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24a5963c6561b0c324e5569f7161f606>] start
 [04 25 14:48:22][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 25 14:48:22][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 25 14:48:22][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 25 14:48:22][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 25 14:48:22][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 25 14:48:22][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 25 14:48:22][INFO]<__kpha_init>: Export Device Info. Done
 [04 25 14:48:22][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 25 14:48:24][INFO]<__kpha_init>: EK Generated. Done
 [04 25 14:48:24][INFO]<__kpha_init>: Export Key<0>. Done
 [04 25 14:48:24][INFO]<__kpha_init>: Read Output. Done
 [04 25 14:48:24][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <24a5963c6561b0c324e5569f7161f606>] Complete.
 [04 25 14:48:24][INFO]<__kpha_init>: Program Secondary certificate.
 [04 25 14:48:24][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApMDv3TL5guJgPnJHbwSO\nwMFVbAih1335sARGokH9fBa11DE7LBhOLrKRd5jaiQyIi4+lPMG8lwR2U7lTzxgK\nq++6nPmFKrCMHmiOfpPscPR9HeKvz/cNlEbQH3QPUB2UDD087bhZfBeVeaSnvDpY\nId/Vefw2rIeasdSejZ2hu7UJYdzwjGN99cMemFGt4/l5DQUiGP+A4WJ7Y6RE9EH5\n4XhPOPmFC8ygRPCjryiLT8jbdLzh2+zgYkgXgzjtJaf2nhnJHal9NEtGWj0rTxtO\nmrQ53sZvWwWctwLeYH5uKzM4BaUO9CeuygkGDNVemsT8dr4+JDZEJjDZhDiwA162\noQIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"24a5963c6561b0c324e5569f7161f606","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"5d3ad8f12a99c458891b8dd2a49a382b"},"turkey":{"digest":"4d68e5ffb9151a458fff39630d5d7b896ef3939e70f469fe5005ac51408821cd","keyId":1,"keyboxUuid":"5308_0dcef1f032891d15a7a721ba294fe7f1bf6e1a6773ed1a56144dcffafee83793","nonce":2087053878,"requireKeybox":true}}

 [04 25 14:48:24][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 822
 [04 25 14:48:24][INFO]<__kpha_init>: Program certificate. Done
 [04 25 14:48:24][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 25 14:48:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 25 14:48:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 25 14:48:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 25 14:48:24][INFO]<__kpha_init>: Install keybox success.
 [04 25 14:49:11][INFO]<__kpha_init>: KPH: Begin. 4362
 [04 25 14:49:11][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [04 25 14:49:11][INFO]<kpha_detect_server_mode>: version: 3.2.0
 [04 25 14:49:11][INFO]<__kpha_init>: META Version: 3.2.0
 [04 25 14:49:11][INFO]<get_cert_name>: certname: UMIDIGI_BISON_mt6771.dat
 [04 25 14:49:11][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_BISON_mt6771.dat) failed: No such file or directory
 [04 25 14:49:11][WARN]<__kpha_init>: UMIDIGI_BISON_mt6771.dat not exist, certname_len : 24
 [04 25 14:49:11][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <d995fbc847fe472490e6bfe72d8d1dc9>] start
 [04 25 14:49:11][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [04 25 14:49:11][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [04 25 14:49:11][ERR]<kph_verify_config>: Verify config failed with 0x8
 [04 25 14:49:11][INFO]<local_read>: File G:\MTK工具包\写号工具\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [04 25 14:49:11][INFO]<__kpha_init>: Send CFG to phone. Done.
 [04 25 14:49:11][INFO]<__kpha_init>: Import CFG to TEE. Done
 [04 25 14:49:11][INFO]<__kpha_init>: Export Device Info. Done
 [04 25 14:49:11][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [04 25 14:49:13][INFO]<__kpha_init>: EK Generated. Done
 [04 25 14:49:13][INFO]<__kpha_init>: Export Key<0>. Done
 [04 25 14:49:13][INFO]<__kpha_init>: Read Output. Done
 [04 25 14:49:13][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <d995fbc847fe472490e6bfe72d8d1dc9>] Complete.
 [04 25 14:49:13][INFO]<__kpha_init>: Program Secondary certificate.
 [04 25 14:49:13][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"29","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt7oNXIISwcdxEioNli06\nvaMQAonkVJBriw4XFKMBnoa/Ttmi51V8X3ZzHTAOXyU/dBDpsfal8l1k49LHGrUM\nghy9zwXx/ycH6YLzEsevucZGmUNuDD2pmU1uS54I+QW+EV8PpfL7s+bEvRjRooRy\nHESY+7l451sxkuB4xMNl2vox/N3+JVSgJgWqxRal55jv3L2rLf7e7vvkXqoYhmwN\n0nvv/8f0ZHqfJmdnKPL8qhhmbbV+eeSXOOhgp1taLKY1FHHxAFrUGJHqAn/5ouI3\nbtTK3SaK8itQt1Ph8j1pL0hzLCNqkrsXQKVMFcVksgMjMkhFBZ4WvchfOM/lpBrv\nawIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"d995fbc847fe472490e6bfe72d8d1dc9","teeOsVersion":"v0.9.9","teeOsVersionAll":"v0.9.9-gp-2-gd30c046e-mt6771-pie-mo-kme-fp-hxy-q0-bugfix-oom","teeUuid":"e178d0ee0c971658abd00ffbd333d88b"},"turkey":{"digest":"4d68e5ffb9151a458fff39630d5d7b896ef3939e70f469fe5005ac51408821cd","keyId":1,"keyboxUuid":"5308_0dcef1f032891d15a7a721ba294fe7f1bf6e1a6773ed1a56144dcffafee83793","nonce":2087053878,"requireKeybox":false}}

 [04 25 14:49:13][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 821
 [04 25 14:49:13][INFO]<__kpha_init>: Program certificate. Done
 [04 25 14:49:13][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [04 25 14:49:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 25 14:49:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 25 14:49:13][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [04 25 14:49:13][INFO]<__kpha_init>: Install keybox success.
 [06 01 08:35:45][INFO]<__kpha_init>: KPH: Begin. 4362
 [06 01 08:35:45][INFO]<__kpha_init>: Load Config from "C:\TEMP\umidigi\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\kph_env.ini" OK.
 [06 01 08:35:45][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [06 01 08:35:45][INFO]<__kpha_init>: META Version: 3.4.1
 [06 01 08:35:45][INFO]<get_cert_name>: certname: UMIDIGI_A9 Pro_mt6771.dat
 [06 01 08:35:45][WARN]<local_read>: fopen(C:\TEMP\umidigi\SN_Writer_Tool_exe_v1.2020.0.0-4362\tee_stuff\kph_in\UMIDIGI_A9 Pro_mt6771.dat) failed: No such file or directory
 [06 01 08:35:45][WARN]<__kpha_init>: UMIDIGI_A9 Pro_mt6771.dat not exist, certname_len : 25
 [06 01 08:35:45][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f74091cb46b3a042fd5f87c0b90a6425>] start
 [06 01 08:35:45][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [06 01 08:35:45][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [06 01 08:35:45][INFO]<__kpha_init>: CFG already imported. Done
 [06 01 08:35:45][INFO]<__kpha_init>: Export Device Info. Done
 [06 01 08:35:45][INFO]<__kpha_init>: Export Key<0>. Done
 [06 01 08:35:46][INFO]<__kpha_init>: Read Output. Done
 [06 01 08:35:46][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <f74091cb46b3a042fd5f87c0b90a6425>] Complete.
 [06 01 08:35:46][INFO]<__kpha_init>: Program Secondary certificate.
 [06 01 08:35:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4tlPIuA276QQ6ZSfN8wd\ncclhuDZiWMDvg9QUD+Ex5PWRGV5Vg4J+9pFkLnHMaZVDbNc+7PMOsBs7Tq4I3QRn\n1oaYLrWxmIx4WWuTG+9qgbt7uUNVy02V5GcUwFWY9KWGjEQzbxusOLeCcqnhyS7s\nlloZGwP+GC6fqiN3/hjkUYxqvc6IOOUKeegiqufQXey90a7B4vyAmRfRRtYEY71j\nXX2Aa8W7/UruNGNdj78+ok2OrVsqM7AvcE+LwFN37xHGJ+EHxc5IwdsPLcN5vxB1\nYXJJIYbfwMatj3iYAa1QbESDETpZnfydeb8ucWMLb5ILDFip0s9mtB9tmnmIaJU/\n4QIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"f74091cb46b3a042fd5f87c0b90a6425","teeOsVersion":"v0.10.2","teeOsVersionAll":"v0.10.2-gp-3-g8cfe1c1e-arm64-mt6771-pie-mo-kme-fp","teeUuid":"efbe1e11820fcb58b669c59796d6c9b4"},"turkey":{"digest":"96d830117087d2f74a1634fada8bef8fb1470d7d346bff3a11163165ffb8752a","keyId":1,"keyboxUuid":"5460_b31c05cc990e6354352ab2cfe073abdb1cb736559c49a3c3ddd539646c916c28","nonce":3972621457,"requireKeybox":true}}

 [06 01 08:35:46][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 839
 [06 01 08:35:46][INFO]<__kpha_init>: Program certificate. Done
 [06 01 08:35:46][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [06 01 08:35:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [06 01 08:35:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [06 01 08:35:46][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [06 01 08:35:46][INFO]<__kpha_init>: Install keybox success.
