bkerler / edl

Inofficial Qualcomm Firehose / Sahara / Streaming / Diag Tools :)
GNU General Public License v3.0
1.47k stars 354 forks source link

firehose - [LIB]: ERROR: Verifying signature failed with 3 #532

Open maximus-sallam opened 2 months ago

maximus-sallam commented 2 months ago
[08:43][maximus@MaxBookPro ~]$ edl printgpt --memory=UFC
/opt/homebrew/bin/edl:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  __import__('pkg_resources').run_script('edlclient==3.62', 'edl')
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:165: SyntaxWarning: invalid escape sequence '\S'
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:166: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:207: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:456: SyntaxWarning: invalid escape sequence '\S'
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:165: SyntaxWarning: invalid escape sequence '\S'
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:166: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:207: SyntaxWarning: invalid escape sequence '\['
/opt/homebrew/lib/python3.12/site-packages/docopt-0.6.2-py3.12.egg/docopt.py:456: SyntaxWarning: invalid escape sequence '\S'
Capstone library is missing (optional).
Keystone library is missing (optional).
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Trying with no loader given ...
main - Waiting for the device
main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara -
Version 0x2
------------------------
HWID:              0x001a90e100510000 (MSM_ID:0x001a90e1,OEM_ID:0x0051,MODEL_ID:0x0000)
CPU detected:      "strait"
PK_HASH:           0x22f415bec935e3cbe982eeb854dd5f3d150d46a5c41060bbfe4600eaf94b981d4a89f94c4cde16aec078b7b58e1561b4
Serial:            0xda624029

sahara - Found possible loader: /opt/homebrew/lib/python3.12/site-packages/edlclient-3.62-py3.12.egg/edlclient/../Loaders/oppo/0000000000510000_22f415bec935e3cb_fhprg_rmx3471_695_SM6375.bin
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /opt/homebrew/lib/python3.12/site-packages/edlclient-3.62-py3.12.egg/edlclient/../Loaders/oppo/0000000000510000_22f415bec935e3cb_fhprg_rmx3471_695_SM6375.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
firehose - INFO: Version: SM6375_V1.3
firehose - INFO: Binary build date: Dec  9 2021 @ 15:16:56
firehose - INFO: Binary build date: Dec  9 2021 @ 15:16:56
firehose - INFO: Chip serial num: 3663872041 (0xda624029)
firehose - INFO: VIP is enabled, receiving the signed table of size 8192
firehose
firehose - [LIB]: ERROR: Verifying signature failed with 3

Have you or anyone else run into this before?

bongbui321 commented 2 months ago

https://github.com/bkerler/edl/blob/f58350f78423c0918292b3603e01841bbb8e9280/README.md?plain=1#L251

VIP is not yet supported, maybe this is the issue.

maximus-sallam commented 2 months ago

Thanks. I've been trying to find documentation on VIP and I haven't had any luck. Do you have a link to any docs I could read to brush up on VIP?