Skip to content

Instantly share code, notes, and snippets.

@rorar
Created January 23, 2025 20:37
Show Gist options
  • Save rorar/091b0bbe115609149f925b846ff62e6e to your computer and use it in GitHub Desktop.
Save rorar/091b0bbe115609149f925b846ff62e6e 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
@echo off
setlocal
rem Get the current folder path
set "currentFolder=%~dp0"
echo.
echo **********************************************
echo Querying HP Hook Dock status . . .
echo **********************************************
echo.
rem Add the path to the executable file
set "exePath=%currentFolder%ezpd_dockupdatefw.exe"
rem Check if the file exists before executing
if exist "%exePath%" (
"%exePath%" -vid 03F0 -pid 0667 -v -l v
if errorlevel 1 (
echo Error while executing ezpd_dockupdatefw.exe.
) else (
echo Execution successful.
)
) else (
echo Error: The file "ezpd_dockupdatefw.exe" was not found in the current folder!
)
echo.
pause
@echo on
@rorar
Copy link
Author

rorar commented Jan 23, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment