Home

Awesome

#GoPro HERO4 Hacks

Since the HERO4 lineup does not execute autoexec.ash anymore, new methods have been created/discovered. ##Hero4 Black/Silver Hero4 Black and Silver uses a modified firmware by Alti Force which enables the execution of a file called override.sh in the / of SD card.

####Get the modded firmware

The GoPro HERO4 camera (Black/Silver) does not support autoexec.ash hacks like the older generations, so a custom patch must be applied to the HERO4 firmware in order for override.sh program to be executed at the start, this was done by @evilwombat, grab the firmware patch installer here

####So, what can be done?

Like in autoexechack, here there are hacks that aim to extend the funtionality of the HERO4 cameras.

####What commands are available?

The GoPro HERO4 firmware has a file called gpsend that calls a HERO2/H3/H3+ WiFi command when executed with the right parameter. Ḧere is a list of H2/H3/H3+ commands: https://github.com/KonradIT/goprowifihack/blob/master/HERO3/WifiCommands.md

The file gpsend is in /usr/local/gopro/bin/

Also, since the override.sh is executing from the Linux side you can use busybox as explained here and many more Linux commands.

#####Examples:

Working on HERO4 Black with v3.00 GP Firmware


SH commandMeaning
/usr/local/gopro/bin/gpsend ca CM%00Video mode
/usr/local/gopro/bin/gpsend ca CM%01Photo mode
/usr/local/gopro/bin/gpsend ca CM%02MultiShot mode
/usr/local/gopro/bin/gpsend bp SH%01Trigger (record/take pic)
/usr/local/gopro/bin/gpsend bp SH%00Stop recording
/usr/local/gopro/bin/gpsend ca WB%00White Balance Auto
/usr/local/gopro/bin/gpsend ca WB%01White Balance 3000k
/usr/local/gopro/bin/gpsend ca WB%02White Balance 5500k
/usr/local/gopro/bin/gpsend ca WB%03White Balance 6500k
/usr/local/gopro/bin/gpsend ca PT%01Protune ON
/usr/local/gopro/bin/gpsend ca PT%00Protune OFF

####How to

First, install the custom firmware.

Then, make a file in the root of the SD card named override.sh, then put your code there.

It will be executed when the camera turns on.

####Misc notes

##Hero4 Session

The HERO4 Session uses a native calibration tool that comes in the official stock GoPro firmware release, this set of tools can be accessed via cal.txt in the root of the SD card, Hypoxic did some research which you can find here: http://github.com/hypoxic/hero4-session

The cal.txt works on the latest Firmware (2.00)

####Commands available: