Created
January 23, 2025 20:36
-
-
Save rorar/e6aeb744eb01b1ef33c7e9100cf232c4 to your computer and use it in GitHub Desktop.
HP SP153722 || hp thunderbolt dock g2 firmware update Cypress\Dependency fix || C:\SWSetup\SP153722\Firmware\Cypress\Dependency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal enabledelayedexpansion | |
rem Get the current folder path | |
set "currentFolder=%~dp0" | |
rem Set the paths for the binary and the executable file | |
set "exePath=%currentFolder%ezpd_dockupdatefw.exe" | |
set "binPath=%currentFolder%hp_hook_secure_cy_sign.bin" | |
rem Display the current folder path | |
set srcpath=%currentFolder% | |
echo srcpath: %srcpath% | |
pause | |
rem Check if the executable file exists | |
if exist "%exePath%" ( | |
rem Check if the binary file exists | |
if exist "%binPath%" ( | |
"%exePath%" -i "%binPath%" -vid 03F0 -pid 0667 -rescan 5 | |
if errorlevel 1 ( | |
echo Error while executing ezpd_dockupdatefw.exe. | |
) else ( | |
echo Execution successful. | |
) | |
) else ( | |
echo Error: The file "hp_hook_secure_cy_sign.bin" was not found in the current folder! | |
) | |
) else ( | |
echo Error: The file "ezpd_dockupdatefw.exe" was not found in the current folder! | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Disclaimer: Firmware updates can be risky and may potentially harm or destroy your device. No guarantees are provided, and we assume no liability for any damage caused. Proceed at your own risk.
To download the bat file, right click on "RAW" 🦖 and click "Save as...". Save to downloads and replace the bat files under
C:\SWSetup\SP153722\Firmware\Cypress\Dependency
. Grant admin privileges for the copy process.To start the update, run
System_Update.bat
with admin privileges.Also check the other needed files:
System_Update.bat
System_Update_CY_Sign.bat
System_Status_Query.bat
If you want to patch for a different device, the arguments after "%exePath%" may be replaced with yours.