bkerler / edl

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

redmi note 11 pro 5g: Cannot receive specified number of program headers (sorry for being a noob) #583

Open coloredmarble opened 1 month ago

coloredmarble commented 1 month ago
(venv) ~/edl $ python edl
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2024.
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:              0x001a90e100720000 (MSM_ID:0x001a90e1,OEM_ID:0x0072,MODEL_ID:0x0000)
CPU detected:      "strait"
PK_HASH:           0x1bebe3863a6781db4b01086063007334de9e5ca14971c7c4f4358ec9d79cda4692ce5e948c6fd409408f4c919fcadfe3
Serial:            0xce2bb80d

sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/qualcomm/factory/sd765/0000000000720000_1bebe3863a6781db_fhprg.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/0014d0e100000000_1bebe3863a6781db_fhprg.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/0010a0e100720000_1bebe3863a6781db_fhprg.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/001360e100720000_1bebe3863a6781db_fhprg_redmi9t.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/0014d0e100720000_1bebe3863a6781db_fhprg.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/EDLAuth/000950e100720000_1bebe3863a6781db_fhprg_edlauth.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/EDLAuth/000a50e100720000_1bebe3863a6781db_fhprg_edlauth.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/EDLAuth/000e60e100720000_1bebe3863a6781db_fhprg_edlauth.bin
sahara - Found possible loader: /home/puddle/edl/edlclient/../Loaders/xiaomi/EDLAuth/001590e100720000_1bebe3863a6781db_fhprg_edlauth.bin
sahara - Protocol version: 2, Version supported: 1
sahara - Uploading loader /home/puddle/edl/edlclient/../Loaders/xiaomi/EDLAuth/001590e100720000_1bebe3863a6781db_fhprg_edlauth.bin ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara
sahara - [LIB]: Error: Cannot receive specified number of program headers
Connection detected, quiting.

the command is just python edl please. how can i get past this error?

coloredmarble commented 1 month ago

The SoC is the Snapdragon 695 5G (blair). but it shows strait?

coloredmarble commented 1 month ago

the loader included in the official fastboot zip works as expected! (stuck at edl auth). i wonder how far ill get trying to reverse engineer it

coloredmarble commented 1 month ago

holy hell am fucked

coloredmarble commented 1 month ago

plz send help