Skip to content

hypoxic/hero4-session

Repository files navigation

GoPro HERO4 Session Scripts

License: See License File

This archive has a few scripts that will help users of the GoPro HERO4 Session get the most out of their camera. Use at your own risk.

Holding the Top button > 10seconds will turn off the camera.
Both buttons > 10 seconds will go to factory defaults.

Hack description

autoexec.ash was removed in v1.50. We now use the calibration script tunnel. This method works by placing a unix formatted file named 'cal.txt' with the command structure:
_tapp
where is from the ambsh command of 't app'. Supported test commands are seen in "t app.txt"

Issues

cal.txt takes 7 seconds to start running after boot. In one button mode, it may crash your camera. That is why the 'no_shutdown.txt' file exists. You will have to manually start recording after the script has ran if you would like to use the camera in the same session.

There is no shell commands from this level and 'cal.txt' will still reside after a power cycle. If you are using the 'cal.txt' to set modes, you must manually remove this file yourself.

Directory Description

linux-terminal - Opens up a console to the linux OS via USB. Windows installed driver automatically
rtos-terminal - Opens up a console to Ambarella Shell. Need a standard CDC USB Serial driver.
mtp-mode - Resets your GoPro HERO4 Session to MTP mode. (appears as a camera over USB)
msc-mdoe - Sets your GoPro HERO4 Session as an standard drive. (appears as a drive over USB)
config - expanded out of config.gz from kernel build
t* - various test commands available