Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does it means: LOG: VIP - Validated Image Programming is enabled - Validation is enabled. #13

Open
kwaiching opened this issue Aug 2, 2020 · 3 comments

Comments

@kwaiching
Copy link

`$ ./qdl --storage ufs prog_emmc_ufs_firehose_Sdm660_ddr.elf rawprogram0.xml patch0.xml --include=./ --debug
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ64 image: 13 offset: 0x0 length: 0x40
READ64 image: 13 offset: 0x40 length: 0x2d8
READ64 image: 13 offset: 0x1000 length: 0x1000
READ64 image: 13 offset: 0x2000 length: 0xac8
READ64 image: 13 offset: 0x3000 length: 0x1000
READ64 image: 13 offset: 0x4000 length: 0x1000
READ64 image: 13 offset: 0x5000 length: 0x1000
READ64 image: 13 offset: 0x6000 length: 0x1000
READ64 image: 13 offset: 0x7000 length: 0x1000
READ64 image: 13 offset: 0x8000 length: 0x1000
READ64 image: 13 offset: 0x9000 length: 0x1000
READ64 image: 13 offset: 0xa000 length: 0x1000
READ64 image: 13 offset: 0xb000 length: 0x1000
READ64 image: 13 offset: 0xc000 length: 0x1000
READ64 image: 13 offset: 0xd000 length: 0x1000
READ64 image: 13 offset: 0xe000 length: 0x1000
READ64 image: 13 offset: 0xf000 length: 0x1000
READ64 image: 13 offset: 0x10000 length: 0x1000
READ64 image: 13 offset: 0x11000 length: 0x1000
READ64 image: 13 offset: 0x12000 length: 0x1000
READ64 image: 13 offset: 0x13000 length: 0x1000
READ64 image: 13 offset: 0x14000 length: 0x1000
READ64 image: 13 offset: 0x15000 length: 0x1000
READ64 image: 13 offset: 0x16000 length: 0x1000
READ64 image: 13 offset: 0x17000 length: 0x1000
READ64 image: 13 offset: 0x18000 length: 0x1000
READ64 image: 13 offset: 0x19000 length: 0x1000
READ64 image: 13 offset: 0x1a000 length: 0x1000
READ64 image: 13 offset: 0x1b000 length: 0x1000
READ64 image: 13 offset: 0x1c000 length: 0x1000
READ64 image: 13 offset: 0x1d000 length: 0x1000
READ64 image: 13 offset: 0x1e000 length: 0x1000
READ64 image: 13 offset: 0x1f000 length: 0x1000
READ64 image: 13 offset: 0x20000 length: 0x1000
READ64 image: 13 offset: 0x21000 length: 0x1000
READ64 image: 13 offset: 0x22000 length: 0x1000
READ64 image: 13 offset: 0x23000 length: 0x1000
READ64 image: 13 offset: 0x24000 length: 0x1000
READ64 image: 13 offset: 0x25000 length: 0x1000
READ64 image: 13 offset: 0x26000 length: 0x1000
READ64 image: 13 offset: 0x27000 length: 0x1000
READ64 image: 13 offset: 0x28000 length: 0x1000
READ64 image: 13 offset: 0x29000 length: 0x1000
READ64 image: 13 offset: 0x2a000 length: 0x1000
READ64 image: 13 offset: 0x2b000 length: 0x1000
READ64 image: 13 offset: 0x2c000 length: 0x1000
READ64 image: 13 offset: 0x2d000 length: 0x1000
READ64 image: 13 offset: 0x2e000 length: 0x1000
READ64 image: 13 offset: 0x2f000 length: 0x1000
READ64 image: 13 offset: 0x30000 length: 0x1000
READ64 image: 13 offset: 0x31000 length: 0x1000
READ64 image: 13 offset: 0x32000 length: 0x1000
READ64 image: 13 offset: 0x33000 length: 0x1000
READ64 image: 13 offset: 0x34000 length: 0x1000
READ64 image: 13 offset: 0x35000 length: 0x1000
READ64 image: 13 offset: 0x36000 length: 0x1000
READ64 image: 13 offset: 0x37000 length: 0x1000
READ64 image: 13 offset: 0x38000 length: 0x1000
READ64 image: 13 offset: 0x39000 length: 0x1000
READ64 image: 13 offset: 0x3a000 length: 0x1000
READ64 image: 13 offset: 0x3b000 length: 0x1000
READ64 image: 13 offset: 0x3c000 length: 0x1000
READ64 image: 13 offset: 0x3d000 length: 0x1000
READ64 image: 13 offset: 0x3e000 length: 0x1000
READ64 image: 13 offset: 0x3f000 length: 0x1000
READ64 image: 13 offset: 0x40000 length: 0x1000
READ64 image: 13 offset: 0x41000 length: 0x1000
READ64 image: 13 offset: 0x42000 length: 0x1000
READ64 image: 13 offset: 0x43000 length: 0x1000
READ64 image: 13 offset: 0x44000 length: 0x1000
READ64 image: 13 offset: 0x45000 length: 0x1000
READ64 image: 13 offset: 0x46000 length: 0x1000
READ64 image: 13 offset: 0x47000 length: 0x1000
READ64 image: 13 offset: 0x48000 length: 0x1000
READ64 image: 13 offset: 0x49000 length: 0x1000
READ64 image: 13 offset: 0x4a000 length: 0x1000
READ64 image: 13 offset: 0x4b000 length: 0x1000
READ64 image: 13 offset: 0x4c000 length: 0x1000
READ64 image: 13 offset: 0x4d000 length: 0x1000
READ64 image: 13 offset: 0x4e000 length: 0x1000
READ64 image: 13 offset: 0x4f000 length: 0x1000
READ64 image: 13 offset: 0x50000 length: 0x1000
READ64 image: 13 offset: 0x51000 length: 0x1000
READ64 image: 13 offset: 0x52000 length: 0x1000
READ64 image: 13 offset: 0x53000 length: 0x794
READ64 image: 13 offset: 0x537a0 length: 0x1000
READ64 image: 13 offset: 0x547a0 length: 0x1000
READ64 image: 13 offset: 0x557a0 length: 0x1000
READ64 image: 13 offset: 0x567a0 length: 0x1000
READ64 image: 13 offset: 0x577a0 length: 0x1000
READ64 image: 13 offset: 0x587a0 length: 0x1000
READ64 image: 13 offset: 0x597a0 length: 0x1000
READ64 image: 13 offset: 0x5a7a0 length: 0x1000
READ64 image: 13 offset: 0x5b7a0 length: 0xe10
READ64 image: 13 offset: 0x5c5b0 length: 0x1000
READ64 image: 13 offset: 0x5d5b0 length: 0x1000
READ64 image: 13 offset: 0x5e5b0 length: 0x1000
READ64 image: 13 offset: 0x5f5b0 length: 0x1000
READ64 image: 13 offset: 0x605b0 length: 0x1000
READ64 image: 13 offset: 0x615b0 length: 0x1000
READ64 image: 13 offset: 0x625b0 length: 0x1000
READ64 image: 13 offset: 0x635b0 length: 0x1000
READ64 image: 13 offset: 0x645b0 length: 0x1000
READ64 image: 13 offset: 0x655b0 length: 0x108
READ64 image: 13 offset: 0x656c0 length: 0x1000
READ64 image: 13 offset: 0x666c0 length: 0xe7c
READ64 image: 13 offset: 0x67540 length: 0x1000
READ64 image: 13 offset: 0x68540 length: 0x1000
READ64 image: 13 offset: 0x69540 length: 0x1000
READ64 image: 13 offset: 0x6a540 length: 0x1000
READ64 image: 13 offset: 0x6b540 length: 0x1000
READ64 image: 13 offset: 0x6c540 length: 0x1000
READ64 image: 13 offset: 0x6d540 length: 0x1000
READ64 image: 13 offset: 0x6e540 length: 0x1000
READ64 image: 13 offset: 0x6f540 length: 0x1000
READ64 image: 13 offset: 0x70540 length: 0x1000
READ64 image: 13 offset: 0x71540 length: 0x1000
READ64 image: 13 offset: 0x72540 length: 0x1000
READ64 image: 13 offset: 0x73540 length: 0x1000
READ64 image: 13 offset: 0x74540 length: 0x1000
READ64 image: 13 offset: 0x75540 length: 0x1000
READ64 image: 13 offset: 0x76540 length: 0x1000
READ64 image: 13 offset: 0x77540 length: 0x1000
READ64 image: 13 offset: 0x78540 length: 0x1000
READ64 image: 13 offset: 0x79540 length: 0x1000
READ64 image: 13 offset: 0x7a540 length: 0x1000
READ64 image: 13 offset: 0x7b540 length: 0x1000
READ64 image: 13 offset: 0x7c540 length: 0x1000
READ64 image: 13 offset: 0x7d540 length: 0x1000
READ64 image: 13 offset: 0x7e540 length: 0x1000
READ64 image: 13 offset: 0x7f540 length: 0x1000
READ64 image: 13 offset: 0x80540 length: 0x1000
READ64 image: 13 offset: 0x81540 length: 0x878
READ64 image: 13 offset: 0x81dc0 length: 0x1000
READ64 image: 13 offset: 0x82dc0 length: 0x1000
READ64 image: 13 offset: 0x83dc0 length: 0x1000
READ64 image: 13 offset: 0x84dc0 length: 0x1000
READ64 image: 13 offset: 0x85dc0 length: 0x1000
READ64 image: 13 offset: 0x86dc0 length: 0x1000
READ64 image: 13 offset: 0x87dc0 length: 0x1000
READ64 image: 13 offset: 0x88dc0 length: 0x1000
READ64 image: 13 offset: 0x89dc0 length: 0x1000
READ64 image: 13 offset: 0x8adc0 length: 0x1000
READ64 image: 13 offset: 0x8bdc0 length: 0x1000
READ64 image: 13 offset: 0x8cdc0 length: 0x1000
READ64 image: 13 offset: 0x8ddc0 length: 0x1000
READ64 image: 13 offset: 0x8edc0 length: 0x1000
READ64 image: 13 offset: 0x8fdc0 length: 0x1000
READ64 image: 13 offset: 0x90dc0 length: 0x1000
READ64 image: 13 offset: 0x91dc0 length: 0x4c9
END OF IMAGE image: 13 status: 0
DONE status: 1
FIREHOSE READ:



LOG: Binary build date: May 9 2017 @ 09:31:00
FIREHOSE READ:



LOG: Chip serial num: 4294967295 (0xffffffff)
FIREHOSE READ:



LOG: Supported Functions: program configure nop firmwarewrite patch setbootablestoragedrive ufs emmc power benchmark read getstorageinfo getsha256digest erase erasecust sha256init sha256final eraseuserdata erasebackupgpt programcust move peek poke
FIREHOSE READ:



LOG: VIP - Validated Image Programming is enabled - Validation is enabled.
qdl: failed to read: Connection timed out
FIREHOSE WRITE:

FIREHOSE READ:



LOG: Image Total Size = 0x9A (154)
FIREHOSE READ:



LOG: HeaderIs80Bytes = 0x0
FIREHOSE READ:



LOG: image_info.sw_type = 0x3 (DeviceProgrammer insists on this)
FIREHOSE READ:



LOG: image_info.sw_version = 0x0
FIREHOSE READ:



LOG: image_info.header_len_1 = 0x28
FIREHOSE READ:



LOG: image_info.code_ptr_1 = 0xF54BEA32
FIREHOSE READ:



LOG: image_info.code_len_1 = 0x643C0A3E
FIREHOSE READ:



LOG: image_info.x509_chain_ptr = 0x6AB35398
FIREHOSE READ:



LOG: image_info.x509_chain_len = 0x4D206572
FIREHOSE READ:



LOG: image_info.signature_ptr = 0x33AD5E93
FIREHOSE READ:



LOG: image_info.signature_len = 0x6E6F633C
FIREHOSE READ:



LOG: image_info.header_ptr_1 = 0x85E276C0
FIREHOSE READ:



LOG: Back from AuthenticateImage, retval=0x0
FIREHOSE READ:



LOG: Failed to authenticate Digital Signature, resetting validation state
FIREHOSE READ:



LOG: ERROR 11: Line 813: DIGITAL_SIGNATURE_DID_NOT_PASS
FIREHOSE READ:



FIREHOSE READ:



LOG: Reset validation state. Expecting Digital signature
FIREHOSE READ:



FIREHOSE READ:



LOG: VIP - Validated Image Programming is enabled - Validation is enabled.
`

@22mahmoud
Copy link

did you solve your problem yey?

@kwaiching
Copy link
Author

did you solve your problem yey?

not yet

@jwinarske
Copy link

@kwaiching is this device fused?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants