24b0d121e09c28a8699fe8b115ef046a7d65e8cb


이런식으로 계속 EDL로 진입을 못하는 문제가 발생해서 해당 메시지 나왔을때 케이블 연결 해제 후 재시작 - 태블릿 전원 OFF 이후 다시 연결 시도함


24b0d121e09c28a8699fe8b115ef0469963df6b8


EDL 상태로 진입 후 이런 내용 나옴


혹시나 싶어 데이터 전송이 가능한 다른 케이블로 시도, 이번에는 EDL 진입은 쉽게 되지만 Firehose 프로그래머 어쩌고 하는 문제 발생하여 에러가 남..


로그나 이런거 확인해보면 내 컴퓨터의 포트 문제일수도 있는거 같은데.. 평소 이것저것 많이 하는 편인데 왜 이것만 안되는 건지....


아래는 추가로그



--- [STEP 1/9] Cleaning up previous output folders ---

  > Removed: output

  > Removed: output_xml


--- [WIPE MODE] Starting Automated Install & Flash ROW Firmware Process ---


=============================================================

  STEP 2/9: Waiting for ADB/Fastboot Connection & Getting Device Info

=============================================================


--- WAITING FOR ADB DEVICE ---

[!] Please enable USB Debugging on your device, connect it via USB.

[!] A 'Allow USB debugging?' prompt will appear on your device.

[!] Please check 'Always allow from this computer' and tap 'OK'.

[+] ADB device connected.

[*] Getting device model via ADB...

[+] Found device model: TB520FU

[*] Getting active slot suffix via ADB...

[+] Found active slot suffix: _a


--- [STEP 2/9] Device Info Check SUCCESS ---

[*] Device will boot back to system if needed. Waiting for ADB connection again...


--- WAITING FOR ADB DEVICE ---

[!] Please enable USB Debugging on your device, connect it via USB.

[!] A 'Allow USB debugging?' prompt will appear on your device.

[!] Please check 'Always allow from this computer' and tap 'OK'.

[+] ADB device connected.

[+] ADB device connected.


--- [STEP 3/9] Waiting for RSA Firmware 'image' folder ---

[+] 'image' folder found.


=============================================================

  STEP 4/9: Converting Firmware (PRC to ROW) & Validating Model

=============================================================

--- Checking for required files ---

[+] All dependencies are present.

--- Starting vendor_boot & vbmeta conversion process ---

[*] Cleaning up old folders...

--- Waiting for vendor_boot.img and vbmeta.img ---

--- Backing up original images ---

[+] Backup complete.

--- Starting PRC/ROW Conversion ---

Found '49524F57' pattern 4 time(s). Replacing...


Patch successful! Total 4 instance(s) replaced.

Saved as 'vendor_boot_prc.img'


[*] Verifying conversion result...

[+] Conversion to PRC successful.

--- Extracting image information ---

[Info] Parsed Flags: 0

[Info] Parsed 13 properties.

[Info] Parsed Flags: 0

[Info] Parsed 1 properties.

[+] Information extracted.

[*] Validating firmware against device model 'TB520FU'...

  > Found firmware fingerprint: Lenovo/TB520FU/TB520FU:14/UKQ1.240826.001/ZUI_17.5.10.036_251023_ROW:user/release-keys

[+] Success: Device model 'TB520FU' found in firmware fingerprint.

--- Adding Hash Footer to vendor_boot ---

[+] Restoring 1 properties for vendor_boot.

[+] Restoring flags for vendor_boot: 0

--- Remaking vbmeta.img ---

[*] Verifying vbmeta key...

[+] Matched testkey_rsa4096.pem.

[*] Remaking 'vbmeta.img' using descriptors from backup...

--- Finalizing ---

[*] Renaming final images...


[*] Moving final images to 'output' folder...


[*] Moving backup files to 'backup' folder...

=============================================================

  SUCCESS!

  Final images have been saved to the 'output' folder.

=============================================================


--- [STEP 4/9] Firmware Conversion & Validation SUCCESS ---


=============================================================

  STEP 5/9: Modifying XML Files

=============================================================

--- Starting XML Modification Process ---

--- Waiting for 'image' folder ---


[*] Created temporary 'working' folder.

[*] Scanning files in 'image' folder...

[*] Found 28 .x files. Decrypting to 'output_xml'...

Successfully decrypted.

71477

bytes

  > Decrypted: contents.x -> contents.xml

Successfully decrypted.

6263

bytes

  > Decrypted: patch0.x -> patch0.xml

Successfully decrypted.

6263

bytes

  > Decrypted: patch1.x -> patch1.xml

Successfully decrypted.

6263

bytes

  > Decrypted: patch2.x -> patch2.xml

Successfully decrypted.

6263

bytes

  > Decrypted: patch3.x -> patch3.xml

Successfully decrypted.

6275

bytes

  > Decrypted: patch4.x -> patch4.xml

Successfully decrypted.

6263

bytes

  > Decrypted: patch5.x -> patch5.xml

Successfully decrypted.

3090

bytes

  > Decrypted: provision_ufs40.x -> provision_ufs40.xml

Successfully decrypted.

5377

bytes

  > Decrypted: rawprogram0.x -> rawprogram0.xml

Successfully decrypted.

497

bytes

  > Decrypted: rawprogram0_BLANK_GPT.x -> rawprogram0_BLANK_GPT.xml

Successfully decrypted.

5912

bytes

  > Decrypted: rawprogram0_WIPE_PARTITIONS.x -> rawprogram0_WIPE_PARTITIONS.xml

Successfully decrypted.

2478

bytes

  > Decrypted: rawprogram1.x -> rawprogram1.xml

Successfully decrypted.

497

bytes

  > Decrypted: rawprogram1_BLANK_GPT.x -> rawprogram1_BLANK_GPT.xml

Successfully decrypted.

2823

bytes

  > Decrypted: rawprogram1_WIPE_PARTITIONS.x -> rawprogram1_WIPE_PARTITIONS.xml

Successfully decrypted.

2421

bytes

  > Decrypted: rawprogram2.x -> rawprogram2.xml

Successfully decrypted.

497

bytes

  > Decrypted: rawprogram2_BLANK_GPT.x -> rawprogram2_BLANK_GPT.xml

Successfully decrypted.

2824

bytes

  > Decrypted: rawprogram2_WIPE_PARTITIONS.x -> rawprogram2_WIPE_PARTITIONS.xml

Successfully decrypted.

1859

bytes

  > Decrypted: rawprogram3.x -> rawprogram3.xml

Successfully decrypted.

497

bytes

  > Decrypted: rawprogram3_BLANK_GPT.x -> rawprogram3_BLANK_GPT.xml

Successfully decrypted.

2218

bytes

  > Decrypted: rawprogram3_WIPE_PARTITIONS.x -> rawprogram3_WIPE_PARTITIONS.xml

Successfully decrypted.

22184

bytes

  > Decrypted: rawprogram4.x -> rawprogram4.xml

Successfully decrypted.

497

bytes

  > Decrypted: rawprogram4_BLANK_GPT.x -> rawprogram4_BLANK_GPT.xml

Successfully decrypted.

23545

bytes

  > Decrypted: rawprogram4_WIPE_PARTITIONS.x -> rawprogram4_WIPE_PARTITIONS.xml

Successfully decrypted.

2410

bytes

  > Decrypted: rawprogram5.x -> rawprogram5.xml

Successfully decrypted.

497

bytes

  > Decrypted: rawprogram5_BLANK_GPT.x -> rawprogram5_BLANK_GPT.xml

Successfully decrypted.

2825

bytes

  > Decrypted: rawprogram5_WIPE_PARTITIONS.x -> rawprogram5_WIPE_PARTITIONS.xml

Successfully decrypted.

10187

bytes

  > Decrypted: rawprogram_save_persist_unsparse0.x -> rawprogram_save_persist_unsparse0.xml

Successfully decrypted.

10198

bytes

  > Decrypted: rawprogram_unsparse0.x -> rawprogram_unsparse0.xml


[*] Modifying 'rawprogram_save_persist_unsparse0.xml'...

  > [WIPE] Skipping metadata and userdata removal.

  > Patched successfully.


[*] Cleaning up unnecessary files in output folder...

  > Deleted: rawprogram0_BLANK_GPT.xml

  > Deleted: rawprogram0_WIPE_PARTITIONS.xml

  > Deleted: rawprogram1_BLANK_GPT.xml

  > Deleted: rawprogram1_WIPE_PARTITIONS.xml

  > Deleted: rawprogram2_BLANK_GPT.xml

  > Deleted: rawprogram2_WIPE_PARTITIONS.xml

  > Deleted: rawprogram3_BLANK_GPT.xml

  > Deleted: rawprogram3_WIPE_PARTITIONS.xml

  > Deleted: rawprogram4_BLANK_GPT.xml

  > Deleted: rawprogram4_WIPE_PARTITIONS.xml

  > Deleted: rawprogram5_BLANK_GPT.xml

  > Deleted: rawprogram5_WIPE_PARTITIONS.xml

  > Deleted: rawprogram_unsparse0.xml

[+] XML processing complete. All files are in 'output_xml'.


[*] Creating custom write XMLs for devinfo/persist...

[+] Created 'rawprogram_write_persist_unsparse0.xml' in 'output_xml'.

[+] Created 'rawprogram4_write_devinfo.xml' in 'output_xml'.

[*] Cleaned up temporary 'working' folder.


=============================================================

  SUCCESS!

  Modified XML files are ready in the 'output_xml'.

  You can now run 'Flash EDL' (Menu 10).

=============================================================


--- [STEP 5/9] XML Modification SUCCESS ---


=============================================================

  STEP 6/9: Dumping devinfo/persist for patching (fh_loader)

=============================================================

[*] Scheduled extra dumps for ARB check: boot_a, vbmeta_system_a

--- Starting Dump Process (fh_loader) ---


--- WAITING FOR ADB DEVICE ---

[!] Please enable USB Debugging on your device, connect it via USB.

[!] A 'Allow USB debugging?' prompt will appear on your device.

[!] Please check 'Always allow from this computer' and tap 'OK'.

[+] ADB device connected.


--- [EDL Setup] Rebooting to EDL Mode ---

[*] Attempting to reboot device to EDL mode via ADB...

[+] Reboot command sent. Please wait for the device to enter EDL mode.

[*] Waiting for 10 seconds for device to enter EDL mode...

--- [EDL Setup] Waiting for EDL Loader File ---

[+] Loader file 'xbl_s_devprg_ns.melf' found in 'image'.


--- WAITING FOR EDL DEVICE ---

[*] Checking for Qualcomm EDL (9008) device...

[!] No Qualcomm EDL (9008) device found.

[!] Please connect your device in EDL mode.

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[*] Waiting for Qualcomm EDL (9008) device... (Press Ctrl+C to cancel)

[+] EDL device connected on COM8.

--- [EDL Setup] Device Connected ---

[*] Uploading programmer via QSaharaServer to COM8...

Error executing command: C:\LTBox-win_amd64-v2.0.4\tools\Qsaharaserver.exe -p \\.\COM8 -s 13:C:\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:\\LTBox-win_amd64-v2.0.4\\tools\\Qsaharaserver.exe', '-p', '\\\\.\\COM8', '-s', '13:C:\\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...

[!] Error executing fh_loader: Command '['C:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--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:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--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 rawprogram0.xml: LUN=0, Start=81800

[*] Dumping -> LUN:0, Start:81800, Num:8192...

[!] Error executing fh_loader: Command '['C:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--convertprogram2read', '--sendimage=persist.img', '--lun=0', '--start_sector=81800', '--num_sectors=8192', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.

[!] Failed to read 'persist': Command '['C:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--convertprogram2read', '--sendimage=persist.img', '--lun=0', '--start_sector=81800', '--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...

[!] Error executing fh_loader: Command '['C:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--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:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--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 rawprogram0.xml: LUN=0, Start=5857672

[*] Dumping -> LUN:0, Start:5857672, Num:16...

[!] Error executing fh_loader: Command '['C:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--convertprogram2read', '--sendimage=vbmeta_system_a.img', '--lun=0', '--start_sector=5857672', '--num_sectors=16', '--memoryname=UFS', '--noprompt', '--zlpawarehost=1']' returned non-zero exit status 1.

[!] Failed to read 'vbmeta_system_a': Command '['C:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--convertprogram2read', '--sendimage=vbmeta_system_a.img', '--lun=0', '--start_sector=5857672', '--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 COM8...

Error executing command: C:\LTBox-win_amd64-v2.0.4\tools\fh_loader.exe --port=\\.\COM8 --reset --noprompt

Return code: 1


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  AN ERROR OCCURRED: Process Halted.

  Error details: Command '['C:\\LTBox-win_amd64-v2.0.4\\tools\\fh_loader.exe', '--port=\\\\.\\COM8', '--reset', '--noprompt']' returned non-zero exit status 1.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!