[*] Checking for Qualcomm EDL (9008) device...
[+] Qualcomm EDL device found: COM5
--- [EDL Setup] Device Connected ---
[*] Uploading programmer via QSaharaServer to COM5...
Binary build date: Jun 25 2019 @ 03:16:15
QSAHARASERVER CALLED LIKE THIS: 'C:\gl\LTBox-win_amd64-v2.0.4\tools\Qsaharaserver.ex'Current working dir: C:\gl\LTBox-win_amd64-v2.0.4
Sahara mappings:
2: amss.mbn
6: apps.mbn
8: dsp1.mbn
10: dbl.mbn
11: osbl.mbn
12: dsp2.mbn
16: efs1.mbn
17: efs2.mbn
20: efs3.mbn
21: sbl1.mbn
22: sbl2.mbn
23: rpm.mbn
25: tz.mbn
28: dsp3.mbn
29: acdb.mbn
30: wdt.mbn
31: mba.mbn
13: C:\gl\LTBox-win_amd64-v2.0.4\image\xbl_s_devprg_ns.melf
19:35:03: ERROR: function: sahara_rx_data:276 Unable to read packet header. Only read 0 bytes.
19:35:03: ERROR: function: sahara_main:982 Sahara protocol error
19:35:03: ERROR: function: main:320 Uploading Image using Sahara protocol failed
Error executing command: C:\gl\LTBox-win_amd64-v2.0.4\tools\Qsaharaserver.exe -p \\.\COM5 -s 13:C:\gl\LTBox-win_amd64-v2.0.4\image\xbl_s_devprg_ns.melf
Return code: 1
[!] FATAL ERROR: Failed to load Firehose programmer.
[!] Possible causes:
1. Connection instability (Try a different USB cable/port).
2. Driver issue (Check Qualcomm HS-USB QDLoader 9008 in Device Manager).
3. Device is hung (Hold Power+Vol- for 10s to force reboot, then try again).
[!] Warning: Programmer loading issue (might be already loaded): Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\Qsaharaserver.exe', '-p', '\\\\.\\COM5', '-s', '13:C:\\gl\\LTBox-win_amd64-v2.0.4\\image\\xbl_s_devprg_ns.melf']' returned non-zero exit status 1.
[*] Extended dump targets: devinfo, persist, boot_a, vbmeta_system_a
[*] Preparing to dump 'devinfo'...
> Found info in rawprogram4.xml: LUN=4, Start=677222
[*] Dumping -> LUN:4, Start:677222, Num:1...
Base Version: 19.06.10.18.44
Binary build date: Jun 25 2019 @ 03:16:10
Incremental Build version: 19.06.25.03.16.10
19:35:03: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\gl\LTBox-win_amd64-v2.0.4\tools\fh_loader.exe --port=\\.\COM5 --convertprogram2read --sendimage=devinfo.img --lun=4 --start_sector=677222 --num_sectors=1 --memoryname=UFS --noprompt --zlpawarehost=1
************************************************
19:35:03: INFO: Current working dir (cwd): C:\gl\LTBox-win_amd64-v2.0.4\backup\
19:35:03: INFO: Showing network mappings to allow debugging
19:35:03: INFO: Looking for file 'devinfo.img'
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:03: WARNING: Couldn't find the file 'devinfo.img', returning NULL
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:03: WARNING: User specified --num_sectors=1 but file only has 1 sectors. **Ignoring --num_sectors
19:35:03: INFO: User wants to talk to port '\\.\COM5'
19:35:03: INFO: Took 0.00000000 seconds to open port
19:35:03: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
19:35:03: INFO: Sending <configure>
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:03: {ERROR: XML not formed correctly. Expected a < character at loc 0}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:03: {ERROR: 3. TAG not found or recognized}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:03: {ERROR:
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
This can mean
1. You forgot to send DeviceProgrammer first (i.e. QSaharaServer.exe -s 13:prog_emmc_firehose_8994_lite.mbn)
2. OR, you did send DeviceProgrammer, but it has crashed and/or is not correct for this target
Regardless this program speaks FIREHOSE protocol and your target is speaking SAHARA protcol, so this will not work
}
Writing log to 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt', might take a minute
Log is 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt'
[!] Error executing fh_loader: Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=devinfo.img', '--lun=4', '--start_sector=677222', '--num_sectors=1', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[!] Failed to read 'devinfo': Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=devinfo.img', '--lun=4', '--start_sector=677222', '--num_sectors=1', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[*] Waiting 5 seconds for stability...
[*] Preparing to dump 'persist'...
> Found info in rawprogram_save_persist_unsparse0.xml: LUN=0, Start=904
[*] Dumping -> LUN:0, Start:904, Num:8192...
Base Version: 19.06.10.18.44
Binary build date: Jun 25 2019 @ 03:16:10
Incremental Build version: 19.06.25.03.16.10
19:35:08: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\gl\LTBox-win_amd64-v2.0.4\tools\fh_loader.exe --port=\\.\COM5 --convertprogram2read --sendimage=persist.img --lun=0 --start_sector=904 --num_sectors=8192 --memoryname=UFS --noprompt --zlpawarehost=1
************************************************
19:35:08: INFO: Current working dir (cwd): C:\gl\LTBox-win_amd64-v2.0.4\backup\
19:35:08: INFO: Showing network mappings to allow debugging
19:35:08: INFO: Looking for file 'persist.img'
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:08: WARNING: Couldn't find the file 'persist.img', returning NULL
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:08: WARNING: User specified --num_sectors=8192 but file only has 8192 sectors. **Ignoring --num_sectors
19:35:08: INFO: User wants to talk to port '\\.\COM5'
19:35:08: INFO: Took 0.00000000 seconds to open port
19:35:08: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
19:35:08: INFO: Sending <configure>
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:08: {ERROR: XML not formed correctly. Expected a < character at loc 0}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:08: {ERROR: 3. TAG not found or recognized}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:08: {ERROR:
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
This can mean
1. You forgot to send DeviceProgrammer first (i.e. QSaharaServer.exe -s 13:prog_emmc_firehose_8994_lite.mbn)
2. OR, you did send DeviceProgrammer, but it has crashed and/or is not correct for this target
Regardless this program speaks FIREHOSE protocol and your target is speaking SAHARA protcol, so this will not work
}
Writing log to 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt', might take a minute
Log is 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt'
[!] Error executing fh_loader: Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=persist.img', '--lun=0', '--start_sector=904', '--num_sectors=8192', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[!] Failed to read 'persist': Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=persist.img', '--lun=0', '--start_sector=904', '--num_sectors=8192', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[*] Waiting 5 seconds for stability...
[*] Preparing to dump 'boot_a'...
> Found info in rawprogram4.xml: LUN=4, Start=112006
[*] Dumping -> LUN:4, Start:112006, Num:24576...
Base Version: 19.06.10.18.44
Binary build date: Jun 25 2019 @ 03:16:10
Incremental Build version: 19.06.25.03.16.10
19:35:13: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\gl\LTBox-win_amd64-v2.0.4\tools\fh_loader.exe --port=\\.\COM5 --convertprogram2read --sendimage=boot_a.img --lun=4 --start_sector=112006 --num_sectors=24576 --memoryname=UFS --noprompt --zlpawarehost=1
************************************************
19:35:13: INFO: Current working dir (cwd): C:\gl\LTBox-win_amd64-v2.0.4\backup\
19:35:13: INFO: Showing network mappings to allow debugging
19:35:13: INFO: Looking for file 'boot_a.img'
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:13: WARNING: Couldn't find the file 'boot_a.img', returning NULL
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:13: WARNING: User specified --num_sectors=24576 but file only has 24576 sectors. **Ignoring --num_sectors
19:35:13: INFO: User wants to talk to port '\\.\COM5'
19:35:13: INFO: Took 0.00000000 seconds to open port
19:35:13: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
19:35:13: INFO: Sending <configure>
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:13: {ERROR: XML not formed correctly. Expected a < character at loc 0}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:13: {ERROR: 3. TAG not found or recognized}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:13: {ERROR:
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
This can mean
1. You forgot to send DeviceProgrammer first (i.e. QSaharaServer.exe -s 13:prog_emmc_firehose_8994_lite.mbn)
2. OR, you did send DeviceProgrammer, but it has crashed and/or is not correct for this target
Regardless this program speaks FIREHOSE protocol and your target is speaking SAHARA protcol, so this will not work
}
Writing log to 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt', might take a minute
Log is 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt'
[!] Error executing fh_loader: Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=boot_a.img', '--lun=4', '--start_sector=112006', '--num_sectors=24576', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[!] Failed to read 'boot_a': Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=boot_a.img', '--lun=4', '--start_sector=112006', '--num_sectors=24576', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[*] Waiting 5 seconds for stability...
[*] Preparing to dump 'vbmeta_system_a'...
> Found info in rawprogram_save_persist_unsparse0.xml: LUN=0, Start=4990344
[*] Dumping -> LUN:0, Start:4990344, Num:16...
Base Version: 19.06.10.18.44
Binary build date: Jun 25 2019 @ 03:16:10
Incremental Build version: 19.06.25.03.16.10
19:35:18: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\gl\LTBox-win_amd64-v2.0.4\tools\fh_loader.exe --port=\\.\COM5 --convertprogram2read --sendimage=vbmeta_system_a.img --lun=0 --start_sector=4990344 --num_sectors=16 --memoryname=UFS --noprompt --zlpawarehost=1
************************************************
19:35:18: INFO: Current working dir (cwd): C:\gl\LTBox-win_amd64-v2.0.4\backup\
19:35:18: INFO: Showing network mappings to allow debugging
19:35:18: INFO: Looking for file 'vbmeta_system_a.img'
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:18: WARNING: Couldn't find the file 'vbmeta_system_a.img', returning NULL
(_)
__ ____ _ _ __ _ __ _ _ __ __ _
\ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
\ V V / (_| | | | | | | | | | | (_| |
\_/\_/ \__,_|_| |_| |_|_|_| |_|\__, |
__/ |
|___/
19:35:18: WARNING: User specified --num_sectors=16 but file only has 16 sectors. **Ignoring --num_sectors
19:35:18: INFO: User wants to talk to port '\\.\COM5'
19:35:18: INFO: Took 0.00000000 seconds to open port
19:35:18: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
19:35:18: INFO: Sending <configure>
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:18: {ERROR: XML not formed correctly. Expected a < character at loc 0}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:18: {ERROR: 3. TAG not found or recognized}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:18: {ERROR:
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
This can mean
1. You forgot to send DeviceProgrammer first (i.e. QSaharaServer.exe -s 13:prog_emmc_firehose_8994_lite.mbn)
2. OR, you did send DeviceProgrammer, but it has crashed and/or is not correct for this target
Regardless this program speaks FIREHOSE protocol and your target is speaking SAHARA protcol, so this will not work
}
Writing log to 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt', might take a minute
Log is 'C:\gl\LTBox-win_amd64-v2.0.4\backup\port_trace.txt'
[!] Error executing fh_loader: Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=vbmeta_system_a.img', '--lun=0', '--start_sector=4990344', '--num_sectors=16', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[!] Failed to read 'vbmeta_system_a': Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--convertprogram2read', '--sendimage=vbmeta_system_a.img', '--lun=0', '--start_sector=4990344', '--num_sectors=16', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.
[*] Waiting 5 seconds for stability...
[*] Resetting device to system...
[*] Resetting device via fh_loader on COM5...
Base Version: 19.06.10.18.44
Binary build date: Jun 25 2019 @ 03:16:10
Incremental Build version: 19.06.25.03.16.10
19:35:23: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
C:\gl\LTBox-win_amd64-v2.0.4\tools\fh_loader.exe --port=\\.\COM5 --reset --noprompt
************************************************
19:35:23: INFO: Current working dir (cwd): C:\gl\LTBox-win_amd64-v2.0.4\
19:35:23: INFO: Showing network mappings to allow debugging
19:35:23: INFO: User wants to talk to port '\\.\COM5'
19:35:23: INFO: Took 0.00000000 seconds to open port
19:35:23: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
19:35:23: INFO: Sending <configure>
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:23: {ERROR: XML not formed correctly. Expected a < character at loc 0}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:23: {ERROR: 3. TAG not found or recognized}
_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|
19:35:23: {ERROR:
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
There is a chance your target is in SAHARA mode!!
This can mean
1. You forgot to send DeviceProgrammer first (i.e. QSaharaServer.exe -s 13:prog_emmc_firehose_8994_lite.mbn)
2. OR, you did send DeviceProgrammer, but it has crashed and/or is not correct for this target
Regardless this program speaks FIREHOSE protocol and your target is speaking SAHARA protcol, so this will not work
}
Writing log to 'C:\gl\LTBox-win_amd64-v2.0.4\port_trace.txt', might take a minute
Log is 'C:\gl\LTBox-win_amd64-v2.0.4\port_trace.txt'
Error executing command: C:\gl\LTBox-win_amd64-v2.0.4\tools\fh_loader.exe --port=\\.\COM5 --reset --noprompt
Return code: 1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
AN ERROR OCCURRED: Process Halted.
Error details: Command '['C:\\gl\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM5', '--reset', '--noprompt']' returned non-zero exit status 1.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Process halted by script.
--- Logging finished. Output saved to log_20251113_193317.txt ---
==========================================================
Task [Install firmware to PRC device (WIPE DATA)] has completed.
==========================================================
Press any key to return...
------------------------------------------------------------------------------------------------------
이거 보고 따라 했습니다
7번 실행하고
13: C:\gl\LTBox-win_amd64-v2.0.4\image\xbl_s_devprg_ns.melf
이 문구 후 잠시 뒤 오류가 주르륵 곤.. 바로 벽돌?로 진입 되는데요
다행이 볼륨다운+전원 버튼 누르면 복구가 되긴 합니다
퀄컴 드라이버 (재)설치 후 시도, 안되면 PC 변경
감사합니다 시도해 보겠습니다
이것저것 해봐도 안되네요..
저도 같은 오류떠서.. 혹시 해결하셨나요?
동봉된 USB선으로 USB 3.1에 연결해서 하니까 됨....