Skip to content

Instantly share code, notes, and snippets.

@KonradIT
Last active April 8, 2025 10:27
Show Gist options
  • Save KonradIT/a1081724e40b76625af6 to your computer and use it in GitHub Desktop.
Save KonradIT/a1081724e40b76625af6 to your computer and use it in GitHub Desktop.
Wifi hacking for HERO4 Black

#HERO4 Black Wifi hacking, ep 1

URL for streaming: http://10.5.5.9/gp/gpExec?p1=gpTsFeeder&a1=%22%22&c1=restart&p2=gpStream&a2=%22%22&c2=restart

###Android decopilation APK


###Firmware studies


###Also firmware studies

@andreidinca
Copy link

Hey, bud,
Great compilation! It's what convinced me to go upgrade my HERO4 Session to a HERO4 Black, understanding from above that while some settings don't work on the Session, they do work on the Black (like getting the battery status, ffmpeg streaming etc.).
However, my Black's wifi "API" seems to be just as bad as the Session's.

Here is my camera's version info:
"info version":"2.0",
"firmware version":"HD4.02.01.02.00",
"wifi mac":"d4d9199be74f",
"camera type":"HERO4 Black"

The battery status link is not working (error 500), the ffmpeg streaming comes with a huge delay etc.

Do you happen to have any idea why this is happening? Or a solution (like what specific firmware supports your list of links)?
Thank you so much,
Andrei

@andreidinca
Copy link

I fixed the lag problem. The right command is: ffplay -fflags nobuffer udp://10.5.5.9:8554

Please give me some advice about battery status reading.

Thanks,
Andrei D.

@AlexisTM
Copy link

Do anybody successfully connected to a WiFi network on the camera itself GPCAMERA_SSID_SELECT

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