 [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.
 [05 09 10:18:23][INFO]<__kpha_init>: KPH: Begin. 4362
 [05 09 10:18:23][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [05 09 10:18:23][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [05 09 10:18:23][INFO]<__kpha_init>: META Version: 3.4.1
 [05 09 10:18:23][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [05 09 10:18:23][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [05 09 10:18:23][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [05 09 10:18:23][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <57edd154c410b566d008fd9d1f6f112b>] start
 [05 09 10:18:23][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [05 09 10:18:23][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [05 09 10:18:23][ERR]<kph_verify_config>: Verify config failed with 0x8
 [05 09 10:18:23][INFO]<local_read>: File G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [05 09 10:18:23][INFO]<__kpha_init>: Send CFG to phone. Done.
 [05 09 10:18:23][INFO]<__kpha_init>: Import CFG to TEE. Done
 [05 09 10:18:24][INFO]<__kpha_init>: Export Device Info. Done
 [05 09 10:18:24][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [05 09 10:18:24][INFO]<__kpha_init>: EK Generated. Done
 [05 09 10:18:24][INFO]<__kpha_init>: Export Key<0>. Done
 [05 09 10:18:24][INFO]<__kpha_init>: Read Output. Done
 [05 09 10:18:24][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <57edd154c410b566d008fd9d1f6f112b>] Complete.
 [05 09 10:18:24][INFO]<__kpha_init>: Program Secondary certificate.
 [05 09 10:18:24][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2iwF9qK+0UyAHZAA1HQj\nEQxgSAqYdX6HJ5chYgLyOUqwcryTHmi8a3iRfPU/ue2qG3ZDBqUs+d2HbIsnKUeD\njwB5RWPqLGJ1dWqcGF45ROWEkgfLDDUQsa1JkJkgpH+BzwmMF11vgXPeOJwTjhx0\n7rs1PJeEemSPho6XsAAjplgBhGvZy+8UV5DomOaR+CMi+IdxBtEV/L5BCYgsKY82\nTxL+B/tL4fP21DNQdce2/P/S5yaVC2bSl4fR/hOMsOWcsDIlLpEVyEMbZ6SEm7tf\nIHLpoAw0HsvtJmDed9iLIsjePMVC68Sqga71KM4793xREIS+ty8Rk11CGUMsA/fL\npQIDAQAB\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_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":4000124667,"requireKeybox":true}}

 [05 09 10:18:24][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 984
 [05 09 10:18:24][INFO]<__kpha_init>: Program certificate. Done
 [05 09 10:18:24][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [05 09 10:18:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 09 10:18:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 09 10:18:24][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 09 10:18:25][INFO]<__kpha_init>: Install keybox success.
 [05 09 10:19: 8][INFO]<__kpha_init>: KPH: Begin. 4362
 [05 09 10:19: 8][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [05 09 10:19: 8][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [05 09 10:19: 8][INFO]<__kpha_init>: META Version: 3.4.1
 [05 09 10:19: 8][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [05 09 10:19: 8][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [05 09 10:19: 8][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [05 09 10:19: 8][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <68e0b3bbf84715b5a136521f215daaca>] start
 [05 09 10:19: 8][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [05 09 10:19: 8][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [05 09 10:19: 8][ERR]<kph_verify_config>: Verify config failed with 0x8
 [05 09 10:19: 8][INFO]<local_read>: File G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [05 09 10:19: 9][INFO]<__kpha_init>: Send CFG to phone. Done.
 [05 09 10:19: 9][INFO]<__kpha_init>: Import CFG to TEE. Done
 [05 09 10:19: 9][INFO]<__kpha_init>: Export Device Info. Done
 [05 09 10:19: 9][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [05 09 10:19: 9][INFO]<__kpha_init>: EK Generated. Done
 [05 09 10:19: 9][INFO]<__kpha_init>: Export Key<0>. Done
 [05 09 10:19: 9][INFO]<__kpha_init>: Read Output. Done
 [05 09 10:19: 9][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <68e0b3bbf84715b5a136521f215daaca>] Complete.
 [05 09 10:19: 9][INFO]<__kpha_init>: Program Secondary certificate.
 [05 09 10:19: 9][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApv4BMT/fjR1ZaOS9YU0s\n9Ij3s2bZPuZktmrvcSsmeXee3yLq1ocax5df37DKtuAyARSt2ClatlYQLb+0SdTq\nVxv+t8U5pihgdfJzrtoBUcqgEVS+UgTPvyTMIbkwY4lxQlx2wUkJVbsDzoAOO7th\nRS9ZDaO1Mw3/rmJGuVd/h3PywkqL4BSPF9E81stg+Hrnq/oPrQNqkHaLp+xIm9Kl\nKErcTz7E/QGBv+PbC8cEPg5AarsJKR7IFbiqchLzuTZp5LnJflAaW0PKHEy2Rhvg\nIDPXBmX5OPC0TtuHRIDcvsGDuKHkwmLIpkBX0gQudm/peKmapLfFdcwj5fXFPpBz\nQwIDAQAB\n-----END PUBLIC KEY-----","reeUuid":"68e0b3bbf84715b5a136521f215daaca","teeOsVersion":"v0.10.5","teeOsVersionAll":"v0.10.5-gp-111-g7d5fbc8a-arm64-mt6833-pie-fp-spi5-next","teeUuid":"6d288870d964c95092aa9b1516e65ea0"},"turkey":{"digest":"383ec0a9842ce27632f58d49e7eca11e3fc3fda64d06158b9df1fac7f28682c3","keyId":1,"keyboxUuid":"6248_6cae8c4fc66dfc51df309a550e2171a0989a015b241372ed16eacbba202fb00c","nonce":2767407701,"requireKeybox":false}}

 [05 09 10:19: 9][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 983
 [05 09 10:19: 9][INFO]<__kpha_init>: Program certificate. Done
 [05 09 10:19: 9][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [05 09 10:19: 9][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 09 10:19: 9][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 09 10:19: 9][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 09 10:19:10][INFO]<__kpha_init>: Install keybox success.
 [05 24 16:06: 4][INFO]<__kpha_init>: KPH: Begin. 4362
 [05 24 16:06: 4][INFO]<__kpha_init>: Load Config from "G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\kph_env.ini" OK.
 [05 24 16:06: 4][INFO]<kpha_detect_server_mode>: version: 3.4.1
 [05 24 16:06: 4][INFO]<__kpha_init>: META Version: 3.4.1
 [05 24 16:06: 4][INFO]<get_cert_name>: certname: UMIDIGI_RP02_mt6877.dat
 [05 24 16:06: 4][WARN]<local_read>: fopen(G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\UMIDIGI_RP02_mt6877.dat) failed: No such file or directory
 [05 24 16:06: 4][WARN]<__kpha_init>: UMIDIGI_RP02_mt6877.dat not exist, certname_len : 23
 [05 24 16:06: 4][INFO]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] start
 [05 24 16:06: 4][INFO]<__kpha_init>: __kpha_init device_status version 2 >= 2, use truststore API to get truststore type
 [05 24 16:06: 4][INFO]<__kpha_init>: TRUSTSTORE_TYPE: 4 TRUSTSTORE_status: 1
 [05 24 16:06: 4][ERR]<kph_verify_config>: Verify config failed with 0x8
 [05 24 16:06: 4][INFO]<local_read>: File G:\MTK工具包\写号工具\BISON GT2 5G\SN_Writer_Tool_exe_v1.2020.0.0-4362 (MES)\tee_stuff\kph_in\cfg.ini length 194
 [05 24 16:06: 4][INFO]<__kpha_init>: Send CFG to phone. Done.
 [05 24 16:06: 4][INFO]<__kpha_init>: Import CFG to TEE. Done
 [05 24 16:06: 5][INFO]<__kpha_init>: Export Device Info. Done
 [05 24 16:06: 5][ERR]<kph_verify_ta_key>: kph_verify_ta_key: Verify TA0 key failed with 0x8
 [05 24 16:06: 5][INFO]<__kpha_init>: EK Generated. Done
 [05 24 16:06: 5][INFO]<__kpha_init>: Export Key<0>. Done
 [05 24 16:06: 5][INFO]<__kpha_init>: Read Output. Done
 [05 24 16:06: 5][NOTICE]<__kpha_init>: KPH: DEVICE [SN: <7CC02E0500000000> CHIPID: <69868d16ad7cd7b46d1678f9f0d94d27>] Complete.
 [05 24 16:06: 5][INFO]<__kpha_init>: Program Secondary certificate.
 [05 24 16:06: 5][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: device={"deviceInfo":{"androidVersion":"30","ekPubkey":"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxWZlmb/oU/6feL8V/TWO\nzVy5RyGATperxXkHBlNGmRSqJOQVfeCYSRM7zy0SH054EyzRoa7sCzulJrfnF8Ti\nrw05fbz/ARiJxOj+rhE5mh0J4Sse1UbnLBbuhU+rpk6ixfKA2lQMy/+0KwxLmfKn\n7HHvdtxFBB6X+MVW0xvjUvIriTmNFSdCf0hd1A4cDGgy3P7v0h01Q4oerpqGbZ4E\nCfPUrgPDBNELp9wui3UCwgPoQ3LmQF/O3CQlmL72ARCKw47jx676Dd4qf+K2bR0Z\ngL4AegHalyufVfnGnPL/laCzy+sItgmTUS5qGW66xM3wSaMhlJdWdp45G+PQtRem\nvQIDAQAB\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":3327015571,"requireKeybox":true}}

 [05 24 16:06: 5][INFO]<trustkernel::VTurkeyLicenser::secondaryCertRequest>: Last left count = 974
 [05 24 16:06: 5][INFO]<__kpha_init>: Program certificate. Done
 [05 24 16:06: 5][INFO]<__kpha_init>: 0x45 0x6e 0x63 0x53 0x00 0x00 0x00 0x00
 [05 24 16:06: 5][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 24 16:06: 5][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 24 16:06: 5][INFO]<__kpha_init>: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
 [05 24 16:06: 5][INFO]<__kpha_init>: Install keybox success.
