[Nexus 5X Q&A, Help & Troubleshooting] NightcoreSkies:
Again, I downloaded the file from the link you gave me and tried to bash it, but it kept giving me this "Couldn't display license file", so I couldn't extract anything so far. I'm installing Kali Linux using VirtualBox at the moment, I'll test it on it and then I'll update you.

Below is the output that edl.py gave me when I tried using the same working loader using the code you gave me. Interestingly, when I used no loader and printgpt, it stated that Sahara is in an error state.

Update: I noticed there was an OTA from the dev. page that you linked, is there anything in that zip file that could help?

Full OTA Images for Nexus and Pixel Devices | Google Play services | Google for Developers

developers.google.com

Update2: Nothing found in the drivers and vendor image that could help us:

#THIS IS THE QCOM DRIVERS#

vendor/
vendor/qcom/
vendor/qcom/bullhead/
vendor/qcom/bullhead/BoardConfigPartial.mk
vendor/qcom/bullhead/device-partial.mk
vendor/qcom/bullhead/proprietary/
vendor/qcom/bullhead/proprietary/lib64/
vendor/qcom/bullhead/proprietary/lib64/libloc_eng.so
vendor/qcom/bullhead/proprietary/lib64/gps.msm8992.so
vendor/qcom/bullhead/proprietary/lib64/libloc_core.so
vendor/qcom/bullhead/proprietary/lib64/libwifi-hal-qcom.so
vendor/qcom/bullhead/proprietary/lib64/libiperf.so
vendor/qcom/bullhead/proprietary/lib64/lib_fpc_tac_shared.so
vendor/qcom/bullhead/proprietary/lib64/fingerprint.bullhead.so
vendor/qcom/bullhead/proprietary/lib64/libgps.utils.so
vendor/qcom/bullhead/proprietary/diag_klog
vendor/qcom/bullhead/proprietary/izat.conf
vendor/qcom/bullhead/proprietary/libloc_eng.so
vendor/qcom/bullhead/proprietary/qmi_ping_clnt_test_2000
vendor/qcom/bullhead/proprietary/ims_epdg.cfg
vendor/qcom/bullhead/proprietary/MTP_Global_cal.acdb
vendor/qcom/bullhead/proprietary/cnd
vendor/qcom/bullhead/proprietary/diag_mdlog
vendor/qcom/bullhead/proprietary/qcrilhook.jar
vendor/qcom/bullhead/proprietary/qmi_ping_svc
vendor/qcom/bullhead/proprietary/msm_irqbalance
vendor/qcom/bullhead/proprietary/thermal-engine
vendor/qcom/bullhead/proprietary/perfd
vendor/qcom/bullhead/proprietary/iperf3
vendor/qcom/bullhead/proprietary/location-mq
vendor/qcom/bullhead/proprietary/cnss-daemon
vendor/qcom/bullhead/proprietary/time_daemon
vendor/qcom/bullhead/proprietary/fingerprintd
vendor/qcom/bullhead/proprietary/test_diag
vendor/qcom/bullhead/proprietary/pm-service
vendor/qcom/bullhead/proprietary/rcsservice.jar
vendor/qcom/bullhead/proprietary/qmi_test_mt_client_init_instance
vendor/qcom/bullhead/proprietary/athdiag
vendor/qcom/bullhead/proprietary/profile.txt
vendor/qcom/bullhead/proprietary/MTP_Hdmi_cal.acdb
vendor/qcom/bullhead/proprietary/gps.msm8992.so
vendor/qcom/bullhead/proprietary/qmakernote-xtract
vendor/qcom/bullhead/proprietary/lowi-server
vendor/qcom/bullhead/proprietary/btnvtool
vendor/qcom/bullhead/proprietary/qmuxd
vendor/qcom/bullhead/proprietary/qmi_config.xml
vendor/qcom/bullhead/proprietary/qmi_ping_clnt_test_0000
vendor/qcom/bullhead/proprietary/qmi_ping_clnt_test_0001
vendor/qcom/bullhead/proprietary/embmslibrary.jar
vendor/qcom/bullhead/proprietary/sap.conf
vendor/qcom/bullhead/proprietary/MTP_Bluetooth_cal.acdb
vendor/qcom/bullhead/proprietary/embms.xml
vendor/qcom/bullhead/proprietary/imsdatadaemon
vendor/qcom/bullhead/proprietary/subsystem_ramdump
vendor/qcom/bullhead/proprietary/wlan.cfg
vendor/qcom/bullhead/proprietary/rcsimssettings.jar
vendor/qcom/bullhead/proprietary/cneapiclient.xml
vendor/qcom/bullhead/proprietary/qmi_ping_clnt_test_1001
vendor/qcom/bullhead/proprietary/lowi.conf
vendor/qcom/bullhead/proprietary/qmi_simple_ril_test
vendor/qcom/bullhead/proprietary/cnss_diag
vendor/qcom/bullhead/proprietary/MTP_Headset_cal.acdb
vendor/qcom/bullhead/proprietary/netmgr_config.xml
vendor/qcom/bullhead/proprietary/netmgrd
vendor/qcom/bullhead/proprietary/libloc_core.so
vendor/qcom/bullhead/proprietary/qcrilhook.xml
vendor/qcom/bullhead/proprietary/port-bridge
vendor/qcom/bullhead/proprietary/nl_listener
vendor/qcom/bullhead/proprietary/qcril.db
vendor/qcom/bullhead/proprietary/qmi_test_service_test
vendor/qcom/bullhead/proprietary/qmi_test_service_clnt_test_1001
vendor/qcom/bullhead/proprietary/qmi_ping_test
vendor/qcom/bullhead/proprietary/qmi_test_service_clnt_test_0001
vendor/qcom/bullhead/proprietary/radish
vendor/qcom/bullhead/proprietary/libwifi-hal-qcom.so
vendor/qcom/bullhead/proprietary/ATFWD-daemon
vendor/qcom/bullhead/proprietary/Bullhead_radio-general.cfg
vendor/qcom/bullhead/proprietary/MTP_Speaker_cal.acdb
vendor/qcom/bullhead/proprietary/loc_launcher
vendor/qcom/bullhead/proprietary/PktRspTest
vendor/qcom/bullhead/proprietary/MTP_General_cal.acdb
vendor/qcom/bullhead/proprietary/rmt_storage
vendor/qcom/bullhead/proprietary/libiperf.so
vendor/qcom/bullhead/proprietary/MTP_Handset_cal.acdb
vendor/qcom/bullhead/proprietary/imsqmidaemon
vendor/qcom/bullhead/proprietary/flp.conf
vendor/qcom/bullhead/proprietary/qmi_fw.conf
vendor/qcom/bullhead/proprietary/ims_rtp_daemon
vendor/qcom/bullhead/proprietary/halutil
vendor/qcom/bullhead/proprietary/wcnss_filter
vendor/qcom/bullhead/proprietary/hal_proxy_daemon
vendor/qcom/bullhead/proprietary/lib_fpc_tac_shared.so
vendor/qcom/bullhead/proprietary/cneapiclient.jar
vendor/qcom/bullhead/proprietary/qmi_test_service_clnt_test_2000
vendor/qcom/bullhead/proprietary/qmi_ping_clnt_test_1000
vendor/qcom/bullhead/proprietary/fingerprint.bullhead.so
vendor/qcom/bullhead/proprietary/irsc_util
vendor/qcom/bullhead/proprietary/qmi_test_service_clnt_test_1000
vendor/qcom/bullhead/proprietary/qmi_test_service_clnt_test_0000
vendor/qcom/bullhead/proprietary/dsi_config.xml
vendor/qcom/bullhead/proprietary/pktlogconf
vendor/qcom/bullhead/proprietary/thermal-engine-8992.conf
vendor/qcom/bullhead/proprietary/diag_qshrink4_daemon
vendor/qcom/bullhead/proprietary/qti_permissions.xml
vendor/qcom/bullhead/proprietary/libgps.utils.so
vendor/qcom/bullhead/proprietary/rcsservice.xml
vendor/qcom/bullhead/proprietary/check_system_health
vendor/qcom/bullhead/proprietary/pm-proxy
vendor/lge/
vendor/lge/bullhead/
vendor/lge/bullhead/device-vendor.mk
vendor/lge/bullhead/BoardConfigVendor.mk

Files extracted successfully.

#THIS IS THE VENDOR IMAGE#

vendor/
vendor/lge/
vendor/lge/bullhead/
vendor/lge/bullhead/BoardConfigPartial.mk
vendor/lge/bullhead/device-vendor.mk
vendor/lge/bullhead/device-partial.mk
vendor/lge/bullhead/proprietary/
vendor/lge/bullhead/proprietary/vendor.img
vendor/lge/bullhead/BoardConfigVendor.mk

Files extracted successfully.

#THIS IS THE TEST I'VE DONE IN PYTHON#

Microsoft Windows [Version 10.0.22000.795]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Administrator\Downloads\edl-3.52.1>python edl.py --loader=C:\Users\Administrator\Downloads\009690e100000000_99c8c13e374c34d8_fhprg_peek.bin
Capstone library is missing (optional).
Keystone library is missing (optional).
No module named 'Crypto'
Qualcomm Sahara / Firehose Client V3.52 (c) B.Kerler 2018-2021.
main - Using loader C:\Users\Administrator\Downloads\009690e100000000_99c8c13e374c34d8_fhprg_peek.bin ...
main - Waiting for the device
main - Device detected :)
main - Mode detected: sahara
Device is in EDL mode .. continuing.
sahara -
------------------------
HWID: 0x009690e100311006 (MSM_ID:0x009690e1,OEM_ID:0x0031,MODEL_ID:0x1006)
CPU detected: "MSM8992"
PK_HASH: 0xb5baca995aec012db32eb9e49ca340f7d4c26153aaa60c5a82a03f99afc698e3
Serial: 0x0257b173

sahara - Uploading loader C:\Users\Administrator\Downloads\009690e100000000_99c8c13e374c34d8_fhprg_peek.bin ...
sahara - Loader uploaded.
Successfully uploaded programmer :)
firehose
firehose - [LIB]: ←[31mNop failed.←[0m
firehose - No supported functions detected, configuring qc generic commands
firehose -
firehose_client - Target detected: MSM8992
firehose_client
firehose_client - [LIB]: ←[33mBased on the chipset, we assume eMMC as default memory type..., if it fails, try using --memory" with "UFS","NAND" or "spinor" instead !←[0m
firehose - TargetName=
firehose - MemoryName=eMMC
firehose - Version=
Traceback (most recent call last):
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl.py", line 358, in <module>
base.run()
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl.py", line 336, in run
fh = firehose_client(args, self.cdc, self.sahara, self.__logger.level, print)
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\firehose_client.py", line 101, in __init__
if self.firehose.configure(0):
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\firehose.py", line 876, in configure
rsp = self.cmd_read_buffer(0, 1, 1, False)
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\firehose.py", line 657, in cmd_read_buffer
tmp = self.cdc.read(min(self.cdc.EP_IN.wMaxPacketSize, bytestoread))
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\usblib.py", line 382, in read
length=ep_read(buffer, timeout)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\core.py", line 423, in read
return self.device.read(self, size_or_buffer, timeout)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\core.py", line 1029, in read
ret = fn(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\backend\libusb1.py", line 846, in bulk_read
return self.__read(self.lib.libusb_bulk_transfer,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\backend\libusb1.py", line 946, in __read
retval = fn(dev_handle.handle,
KeyboardInterrupt
^C
C:\Users\Administrator\Downloads\edl-3.52.1>python edl.py printgpt
Capstone library is missing (optional).
Keystone library is missing (optional).
No module named 'Crypto'
Qualcomm Sahara / Firehose Client V3.52 (c) B.Kerler 2018-2021.
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 :)
main - Mode detected: sahara
Device is in EDL mode .. continuing.
sahara -
------------------------
HWID: 0x009690e100311006 (MSM_ID:0x009690e1,OEM_ID:0x0031,MODEL_ID:0x1006)
CPU detected: "MSM8992"
PK_HASH: 0xb5baca995aec012db32eb9e49ca340f7d4c26153aaa60c5a82a03f99afc698e3
Serial: 0x0257b173

sahara
sahara - [LIB]: ←[31mCouldn't find a loader for given hwid and pkhash (009690e100311006_b5baca995aec012d_[FHPRG/ENPRG].bin) :(←[0m
Device is in an unknown sahara state, resetting
resp={'cmd': 1, 'len': 48, 'version': 2, 'version_min': 1, 'max_cmd_len': 1024, 'mode': 0, 'res1': 0, 'res2': 0, 'res3': 0, 'res4': 0, 'res5': 0, 'res6': 0, 'object_size': 48, 'raw_data': bytearray(b'\x01\x00\x00\x000\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')}

C:\Users\Administrator\Downloads\edl-3.52.1>python edl.py --loader=C:\Users\Administrator\Downloads\009690e100000000_99c8c13e374c34d8_fhprg_peek.bin printgpt
Capstone library is missing (optional).
Keystone library is missing (optional).
No module named 'Crypto'
Qualcomm Sahara / Firehose Client V3.52 (c) B.Kerler 2018-2021.
main - Using loader C:\Users\Administrator\Downloads\009690e100000000_99c8c13e374c34d8_fhprg_peek.bin ...
main - Waiting for the device
.....main - Device detected :)
main - Mode detected: sahara
Device is in EDL mode .. continuing.
sahara -
------------------------
HWID: 0x009690e100311006 (MSM_ID:0x009690e1,OEM_ID:0x0031,MODEL_ID:0x1006)
CPU detected: "MSM8992"
PK_HASH: 0xb5baca995aec012db32eb9e49ca340f7d4c26153aaa60c5a82a03f99afc698e3
Serial: 0x0257b173

sahara - Uploading loader C:\Users\Administrator\Downloads\009690e100000000_99c8c13e374c34d8_fhprg_peek.bin ...
sahara - Loader uploaded.
Successfully uploaded programmer :)
firehose
firehose - [LIB]: ←[31mNop failed.←[0m
firehose - No supported functions detected, configuring qc generic commands
firehose -
firehose_client - Target detected: MSM8992
firehose_client
firehose_client - [LIB]: ←[33mBased on the chipset, we assume eMMC as default memory type..., if it fails, try using --memory" with "UFS","NAND" or "spinor" instead !←[0m
firehose - TargetName=
firehose - MemoryName=eMMC
firehose - Version=
Traceback (most recent call last):
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl.py", line 358, in <module>
base.run()
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl.py", line 336, in run
fh = firehose_client(args, self.cdc, self.sahara, self.__logger.level, print)
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\firehose_client.py", line 101, in __init__
if self.firehose.configure(0):
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\firehose.py", line 876, in configure
rsp = self.cmd_read_buffer(0, 1, 1, False)
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\firehose.py", line 657, in cmd_read_buffer
tmp = self.cdc.read(min(self.cdc.EP_IN.wMaxPacketSize, bytestoread))
File "C:\Users\Administrator\Downloads\edl-3.52.1\edl\Library\usblib.py", line 382, in read
length=ep_read(buffer, timeout)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\core.py", line 423, in read
return self.device.read(self, size_or_buffer, timeout)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\core.py", line 1029, in read
ret = fn(
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\backend\libusb1.py", line 846, in bulk_read
return self.__read(self.lib.libusb_bulk_transfer,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\usb\backend\libusb1.py", line 946, in __read
retval = fn(dev_handle.handle,
KeyboardInterrupt
^C
C:\Users\Administrator\Downloads\edl-3.52.1>
[code]