edl icon indicating copy to clipboard operation
edl copied to clipboard

Host wants to send a Hash table 2048 larger than supported 0

Open mtxn2147 opened this issue 3 months ago • 3 comments

device: Xiaomi mi 9 Lite (pyxis) CPU: SDM710

Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2025.
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:              0x000db0e100720000 (MSM_ID:0x000db0e1,OEM_ID:0x0072,MODEL_ID:0x0000)
CPU detected:      "SDM710"
PK_HASH:           0xc924a35f39ce1cdd1b8d5a9f3b8e3c51317930431d7a9dd5a55028cf6965fe65
Serial:            0x0394ede1

sahara - Detected loader: /usr/lib/python3.13/site-packages/edlclient/../Loaders/xiaomi/EDLAuth/000db0e100720000_c924a35f39ce1cdd_fhprg_edlauth.bin
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /usr/lib/python3.13/site-packages/edlclient/../Loaders/xiaomi/EDLAuth/000db0e100720000_c924a35f39ce1cdd_fhprg_edlauth.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
firehose - INFO: Binary build date: Sep 10 2019 @ 20:33:20
firehose - INFO: Binary build date: Sep 10 2019 @ 20:33:20 
firehose - INFO: Chip serial num: 60091873 (0x394ede1)
firehose - INFO: Supported Functions (14):
firehose - INFO: program
firehose - INFO: read
firehose - INFO: nop
firehose - INFO: patch
firehose - INFO: configure
firehose - INFO: setbootablestoragedrive
firehose - INFO: erase
firehose - INFO: power
firehose - INFO: firmwarewrite
firehose - INFO: getstorageinfo
firehose - INFO: benchmark
firehose - INFO: emmc
firehose - INFO: ufs
firehose - INFO: fixgpt
firehose - INFO: End of supported functions 14
firehose - Xiaomi EDL Auth detected.
firehose - EDL Authenticated successfully.
firehose
firehose - [LIB]: INFO: Calling handler for configure
firehose
firehose - [LIB]: INFO: Storage type set to value UFS
firehose
firehose - [LIB]: ERROR: NAK: Host wants to send a Hash table 2048 larger than supported 0

mtxn2147 avatar Sep 02 '25 12:09 mtxn2147

edl printgpt --memory=ufs

moha2508 avatar Sep 02 '25 14:09 moha2508

Sorry. I forgot to include the command. and yes I specified the --memory option

edl printgpt --memory UFS

And this error shows every time no matter the command used. Is this libusb fault?

mtxn2147 avatar Sep 02 '25 17:09 mtxn2147

Glad I searched before opening another issue - have the same problem. I somehow nuked my partition table while attempting to run u-boot. Ripped the back cover off, but can't bypass EDL auth with similar problem.

❯ ./edl printgpt --memory=ufs
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2025.
main - Trying with no loader given ...
main - Waiting for the device
......
main - Hint:   Press and hold vol up+dwn, connect usb. For some, only use vol up.
main - Xiaomi: Press and hold vol dwn + pwr, in fastboot mode connect usb.
        Run "./fastpwn oem edl".
main - Other:  Run "adb reboot edl".

main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara - 
Version 0x2
------------------------
HWID:              0x000db0e100720000 (MSM_ID:0x000db0e1,OEM_ID:0x0072,MODEL_ID:0x0000)
CPU detected:      "SDM710"
PK_HASH:           0xc924a35f39ce1cdd1b8d5a9f3b8e3c51317930431d7a9dd5a55028cf6965fe65
Serial:            0x38e9b5b3

sahara - Detected loader: /home/elly/Projects/toolchain/edl/edlclient/../Loaders/xiaomi/EDLAuth/000db0e100720000_c924a35f39ce1cdd_fhprg_edlauth.bin
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /home/elly/Projects/toolchain/edl/edlclient/../Loaders/xiaomi/EDLAuth/000db0e100720000_c924a35f39ce1cdd_fhprg_edlauth.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
firehose - INFO: Binary build date: Sep 10 2019 @ 20:33:20
firehose - INFO: Binary build date: Sep 10 2019 @ 20:33:20 
firehose - INFO: Chip serial num: 954840499 (0x38e9b5b3)
firehose - INFO: Supported Functions (14):
firehose - INFO: program
firehose - INFO: read
firehose - INFO: nop
firehose - INFO: patch
firehose - INFO: configure
firehose - INFO: setbootablestoragedrive
firehose - INFO: erase
firehose - INFO: power
firehose - INFO: firmwarewrite
firehose - INFO: getstorageinfo
firehose - INFO: benchmark
firehose - INFO: emmc
firehose - INFO: ufs
firehose - INFO: fixgpt
firehose - INFO: End of supported functions 14
firehose - Xiaomi EDL Auth detected.
firehose - EDL Authenticated successfully.
firehose
firehose - [LIB]: INFO: Calling handler for configure
firehose
firehose - [LIB]: INFO: Storage type set to value UFS
firehose
firehose - [LIB]: ERROR: NAK: Host wants to send a Hash table 2048 larger than supported 0

With firehose loader from fastboot package:

 ./edl printgpt --memory=ufs --loader=\../../personal/xiaomi-pyxis/pyxis_eea_global_images_V12.5.3.0.RFCEUXM_20220727.0000.00_11.0_eea/images/prog_ufs_firehose_sdm710_ddr.elf
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2025.
main - Using loader ../../personal/xiaomi-pyxis/pyxis_eea_global_images_V12.5.3.0.RFCEUXM_20220727.0000.00_11.0_eea/images/prog_ufs_firehose_sdm710_ddr.elf ...
main - Waiting for the device
......
main - Hint:   Press and hold vol up+dwn, connect usb. For some, only use vol up.
main - Xiaomi: Press and hold vol dwn + pwr, in fastboot mode connect usb.
        Run "./fastpwn oem edl".
main - Other:  Run "adb reboot edl".

...............
....main - Device detected :)
sahara - Protocol version: 2, Version supported: 1
main - Mode detected: sahara
sahara - 
Version 0x2
------------------------
HWID:              0x000db0e100720000 (MSM_ID:0x000db0e1,OEM_ID:0x0072,MODEL_ID:0x0000)
CPU detected:      "SDM710"
PK_HASH:           0xc924a35f39ce1cdd1b8d5a9f3b8e3c51317930431d7a9dd5a55028cf6965fe65
Serial:            0x38e9b5b3

sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader ../../personal/xiaomi-pyxis/pyxis_eea_global_images_V12.5.3.0.RFCEUXM_20220727.0000.00_11.0_eea/images/prog_ufs_firehose_sdm710_ddr.elf ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
firehose - INFO: Binary build date: Jul 22 2022 @ 15:08:40
firehose - INFO: Binary build date: Jul 22 2022 @ 15:08:40 
firehose - INFO: Chip serial num: 954840499 (0x38e9b5b3)
firehose - INFO: Supported Functions (14):
firehose - INFO: program
firehose - INFO: read
firehose - INFO: nop
firehose - INFO: patch
firehose - INFO: configure
firehose - INFO: setbootablestoragedrive
firehose - INFO: erase
firehose - INFO: power
firehose - INFO: firmwarewrite
firehose - INFO: getstorageinfo
firehose - INFO: benchmark
firehose - INFO: emmc
firehose - INFO: ufs
firehose - INFO: fixgpt
firehose - INFO: End of supported functions 14
firehose - Xiaomi EDL Auth detected.
firehose
firehose - [LIB]: Error on EDL Authentification

[log.txt](https://github.com/user-attachments/files/22646473/log.txt)

ellyq avatar Oct 01 '25 18:10 ellyq