Skip to content

Instantly share code, notes, and snippets.



Last active Mar 19, 2017
What would you like to do?

#GoPro HERO4 (A tale of firmware leaks and marketing)

Written by /u/konrad-iturbe (Konrad Iturbe) and with help of /u/OverByThere's leaked firmware.

The GoPro HERO4 Black Adventure edition is 4x times more powerful than ever.

HERO4 cameras:

  • HERO4 Black (BANZAI)
  • HERO4 Silver (HAWII)

FEATURES (black only, silver is like a shitty hero3+ black):

  • port c:/ is SD
  • port C:/ is camera internal storage
  • BANZAI codname
  • Update path is c:/update/camera_firmware.bin [NOTE: Ambarella A9 chip does not read the update like traditional HDX-firmware.bin and WFX-app.bin and the other files]
  • autoexec.ash still exists, so like in the hero3 / hero3+ the hero4 may have all the features, but not shown in the GUI menu. With autoexec.ash is easy to unleash those features like in previous cameras.
  • Ambarella A9 chip like suggested in rumors all across the net
  • GPS, Environmental data logging (temperature, humidity, etc...)
  • Same resolutions as in the HERO3+ black Misleading data
  • Compatible with bacpacs New bacpacs (marketing!), and compatible with the HERO dual 3d system (probably same HERO3+ case)
  • Full integration with 3D HERO bacpac
  • LCD bacpac commands (seems the bacpac comes with the camera)
  • Connection to external wifi (for uploading media to a GoPro site and from there to social media)
  • New value in protune: Native WB
  • new modes: Multi shot and quick capture
  • Photo mode now have a "photo settings" section in the settings (seems photo has more parameters than just the resolution setting)
  • The GoPro HERO4 star feature: Multi shot, a dynamic burst that shoots pictures with more imaging settings
  • Show the camera info in the settings or in LCD bacpac touch
  • No WVGA 480... Misleading data
  • Night mode for pictures
  • Same pic res as HERO3+black
  • Same protune settings as HERO3+Black
  • LCD sleep (such as in smartphones)
  • Network and smart wifi settings
  • Streaming to the internet using secondary GOPs (
  • IDR streaming (
  • Protune shutter exp (2s, 5s, 10s, 15s, 20s, 30s)
  • Submodes, new modes that merge different modes (submodes available: photo, multishot, video and quick capture)
  • NightLapse, night timelapses made easy
  • NightLapse has intervals from 15s to 60m
  • uCode with orccode binary loaded on SD
  • Ambarella ImgProc lib (Image processing) ( /Supports 3A/


Here, data is misleading, the settings.json says that these are the resolutions:

  • WVGA 240
  • 720p 120
  • 720p SuperView 120
  • 960p 90 100
  • 1080p 60 80
  • 1080p SuperView 60 80
  • 1440p 48 50
  • 2.7K 24 25 30
  • 4K 12.5 12 15

#####But, the firmware says that these are the resolutions:

  • 4K 30 Wide
  • 4K 25 Wide
  • 4K 24 Wide
  • 4K 15 Wide
  • 4K 12.5 Wide
  • 4K 2 TLV 30
  • 4K 2 TLV 15
  • 1440 2 TLV 30
  • 1080 2 TLV 30
  • 4K 2 TLV 25
  • 4K 2 TLV 12.51440 2 TLV 25
  • 1080 2 TLV 25
  • 4K 24 Wide SuperView
  • 2.7K 60 Wide
  • 2.7K 50 Wide
  • 2.7K 48 Wide
  • 2.7K 30 Wide
  • 2.7K 25 Wide
  • 2.7K 30Wide SuperView
  • 2.7K 25 Wide SuperView
  • 2.7K 24 Wide
  • FHD 120 Wide
  • FHD 100 Wide
  • FHD 90 Wide
  • FHD 60 Wide
  • FHD 50 Wide
  • FHD 48 Wide
  • FHD 30 Wide
  • FHD 25 Wide
  • FHD 24 Wide
  • FHD 80 Wide SuperView
  • FHD 60 Wide SuperView
  • FHD 50 Wide SuperView
  • FHD 48 Wide SuperView
  • FHD 30 Wide SuperView
  • FHD 25 Wide SuperView
  • FHD 24 Wide SuperView
  • FHD 30 Wide SuperView
  • LPFHD 25 Wide SuperView
  • LPHD 120 Wide
  • HD 100 Wide
  • HD 60 Wide
  • HD 50 Wide
  • HD 30 Wide
  • HD 25 Wide
  • HD 120 Wide SuperView
  • HD 100 Wide SuperView
  • HD 90 Wide SuperView
  • HD 60 Wide SuperView
  • HD 50 Wide SuperView
  • FWVGA 240 Wide
  • FWVGA 200 Wide
  • WQVGA 30 WideLP
  • WQVGA 25 WideLP
  • 2.7K AR43 30 Wide
  • 2.7K AR43 25 Wide
  • QXGA 80 Wide
  • QXGA 75 Wide
  • QXGA 72 Wide
  • QXGA 60 Wide
  • QXGA 50 Wide
  • QXGA 30 Wide
  • QXGA 48 Wide
  • QXGA 25 Wide
  • QXGA 24 Wide
  • 2.7K 50 Medium
  • 2.7K 48 Medium
  • 2.7K 30 Medium
  • 2.7K 25 Medium
  • 2.7K 24 Medium
  • HD 50 Medium
  • HD 30 Medium
  • HD 25 Medium
  • WQVGA 30 Medium LP
  • WQVGA 25 Medium LP
  • QXGA 60 Medium
  • QXGA 50 Medium

Strange! :)


t imgproc
slock n + : lock n
�    slock n - : unlock n

LCD settings (touch I suggest)
Usage: t drv lcd [command]

         set_brightness [val]
         write_cmd [reg_addr]
         write_data [reg_addr] [data]
         set_pattern [x_start] [y_start] [width] [height] [val]
�enable��disable�config��get_brightness��lcd brightness = %d

Read the system temperature
Usage: t drv cable <show|enable|disable>

Show, eable, or disable the current 10 pin USB cable status
Usage: t drv buzzer beep  <on msec> <off msec> <num>
                    start <on msec> <off msec>
                    volume [percent]
                    config <on ticks> <off ticks> <clock div> <pulse div>

Beep/Start/Stop beep at certain speed
Usage: t drv rtc time [yyyy-mm-dd-hh-mm-ss]
                 wake [sec]

Blink/Start/Stop LED at certain speed
Usage: t drv led blink  <top|bottom|front|back> <blue|red> <on msec> <off msec> <num>
                 start  <top|bottom|front|back> <blue|red> <on msec> <off msec>
                 stop   <top|bottom|front|back> <blue|red>
                 enable <top|bottom|front|back> <blue|red>
                 disable <top|bottom|front|back> <blue|red>
Read the battery level in mV
Usage: t drv battery

Turn on/off SD card temperature logging
Usage: t drv templog [on|off]

Usage: t drv tasks <stack>

Usage: t drv sdstr <sd id> <3|6|12|18>

Usage: t drv voutstr <3|6|12|18>

Usage: t drv hdmiphy <current> <preemphasis>

t appc wireless pin

       Show BLE pin code

Usage: t appc capture [command]

         start     starts capture
         stop      stops capture
         still     starts still capture

Usage: t appc stream [command]

         start     starts stream
         stop      stops stream

t appc fwupdate [command]
	 start [waiting]
	 ready [prompt]
	 notify [start|fini|failed|download|downfail|downcan|downrdy|battlow]
	 cal [save|restore] file.bin
	 rmdir path

Usage: t appc status [command]
	 beep on off num
	 blue_led on off num

Bluetooth: t appc wireless bt dut  [on|off]

Usage: as3715 battv
       as3715 bt <on|off>
       as3715 dumpregs
       as3715 charger_disabled <set|clear|get>
       as3715 charger_status
       as3715 ibattemp
       as3715 poweroff
       as3715 read_gpio_in <gpio number>
       as3715 readb <regaddr>
       as3715 reset
       as3715 suspend <ddr powered?> <ath powered?> <wifi enabled?> <bt enabled?>
       as3715 wifi_3v3 <on|off>
       as3715 wlan <on|off>
       as3715 writeb <regaddr> <value>
       as3715 warmboot <ddrvolt> <corevolt>
       as3715 usealtfreq <usealt>
       as3715 redled <on/off>
       as3715 blueledmux <a9/ath>
       as3715 blueled_back_a9_ctrl <disable|enable>
       as3715 blueled_top_bottom_a9_ctrl <disable|enable>

Usage: t frw imgcap [command]

         start                                     starts image capture
         stop                                      stops image capture
         lowlight [on/off]                         sets low light state
�         mctf [none/on/off]                        mctf override "none" = no override
                                                   "on" = mctf on "off" = mctf off
                                                   Note the override is only applicable in 4K modes
���         clocks [IDSP Clk] [Core Clk] [Cortex Clk] overrides the capture clock frequencies
                                                   setting clock value to 0 is no override
         get_counts                                get sof and last-pixel-ready event counters
         rst_counts                                reset sof and last-pixel-ready event counters
         ticks_dump                                dump burst capture ticks
��         load video num fullpathname               load IQ parameter file from SD card

Buttons stuff:

press <button id> [duration in ms]
     release <button id>

     id:      mode/power - 0
              shutter    - 1
              settings   - 2
              lcd        - 3

Some shitty and pretty useful stuff:

Usage: t camdata <nv|mfg> <param> [<set-value>]
	nv params:
	mfg params:




##Streaming options Wifi:

    "scs_version": "2.13-northshore",
    "status": "",
    "errno": 0,
    "services": [
            "name": "gpStream",
            "version": 1,
            "start_url": "/gp/gpExec?p1=gpStreamA9&c1=restart",
            "stop_url": "/gp/gpExec?p1=gpStreamA9&c1=stop"

##Wifi Info and some stuff from settings.json

"display_name":"Start or stop capture","url":"/command/shutter",

"display_name":"Set Mode and Sub-Mode","url":"/command/xmode",

"display_name":"Set Mode","url":"/command/mode",

"display_name":"Set Mode and Sub-Mode","url":"/command/sub_mode",

"display_name":"Power Off Camera","url":"/command/system/sleep",

"display_name":"Notify start FW Update File Download","url":"/command/fwupdate/download/start",

"display_name":"Notify completion of FW Update File Download","url":"/command/fwupdate/download/done",

"display_name":"Cancel FW Update File Download","url":"/command/fwupdate/download/cancel",

"display_name":"Reset to Factory Defaults","url":"/command/system/factory/reset",

"display_name":"Power Saving Sleep Mode","url":"/command/system/sleep",

"display_name":"Use with Current Wi-Fi Remote","url":"/setting/63/2",

"display_name":"Use with New Wi-Fi Remote","url":"/command/wireless/rc/pair",

"display_name":"Reset to Default","url":"/command/video/protune/reset",

"display_name":"Reset to Default","url":"/command/multi_shot/protune/reset",

"display_name":"Reset to Default","url":"/command/photo/protune/reset",

"display_name":"Set Date and Time","url":"/command/setup/date_time",

"display_name":"Delete Last File","url":"/command/storage/delete/last",

"display_name":"Delete All Files from SD Card","url":"/command/storage/delete/all",

"display_name":"Delete File","url":"/command/storage/delete",

"display_name":"Locate Camera","url":"/command/system/locate",


"display_name":"Control Wi-Fi AP","url":"/command/wireless/ap/control",


{"key":"GPCAMERA_NETWORK_VERSION_ID","d1��öñéMe�ˆ��Ž�� X�isplay_name":"Version","url":"bacpac_version",

"display_name":"Battery Level","url":"camera_battery",

"display_name":"SD Card Capacity","url":"sd_card",

"display_name":"Tag Moment","url":"/command/storage/tag_moment",

"display_name":"Pair with Known RC","url":"/command/rc/pair",

"display_name":"Start Wi-Fi SSID Scan","url":"/command/wireless/ssid/scan",

"display_name":"Wi-Fi SSID Scan Results","url":"/command/wireless/ssid/list",

"display_name":"Connect to Wi-Fi SSID","url":"/command/wireless/ssid/select",

"display_name":"Delete Wi-Fi SSID from Known List","url":"/command/wireless/ssid/delete"
{"version":1,"description":"Start real-time A/V stream using LTP.","url":"/gp/gpExec?p1=gpStreamA9&c1=restart"},"live_stream_stop":
{"version":1,"description":"Stop real-time A/V stream using LTP.","url":"/gp/gpExec?p1=gpStreamA9&c1=stop"},"media_list":
{"version":1,"description":"Supports listing of media on SD card.","url":"/gp/gpMediaList"},"media_metadata":
{"version":1,"description":"Supports extraction of metadata from a particular media file.","url":"/gp/gpMediaMetadata"},"platform_auth":
{"version":1,"description":"Supports OAuth2 cross-client authorization.","url":"/gp/gpPlatformAuth"},"fw_update":
{"version":1,"description":"Supports client-assisted Over-the-Air firmware updating.","url":"/gp/gpUpdate"}}}

###Rumors NO/Yes


"First of all GoPro Hero is a compact, rugged, lightweight (less than 100 grams) action camera with a special attachment for anything (boards, kiteboarding, surfing, windsurfing, helmets, ski poles, cars, bikes, BMXs and other that can be in motion). Everyone will be able to enjoy hours of video about your achievements and exciting emotions in 4K quality. YES

GoPro Hero 4 is really capable of recording video in 4K resolution at a speed of 30 frames per second YES, 1080p at 120fps YES and 720p at 240fps YES, which became possible with the advent of the new SoC Ambarella A9 chip (dual A9 ARM Core ® CortexTM-A9 processor 1GHz with FPU accelerator) YES for advanced applications, wireless connection YES and streaming video in social media YES.

GoPro Hero 4 will also come with a 13-megapixel photosensor NO and a completely new lens for shooting in dark YES. Multi-Exposure YES and HDR WDR tone mapping NO, electronic image stabilization YES, also improved MCTF NO. Dual sensor interfaces 12-lane SLVDS/HiSPiTM/subLVDS NO, 4-lane NO, remote viewfinder playback which is extremely easy to use NO. You shouldn’t to have special technical knowledge or skills to do it. GoPro Hero cameras are amazing because they have a waterproof housing with a flat lens for shooting under water (up to 60m). Built-in Wi-Fi module, USB & HDMI - the only thing that brings it closer to homeliness. The camera has the ability to capture still images during video recording and perform encoding H.264/ BP / MP / HP Level 5.1 and MJPEG.

GoPro Hero 4 will hit on shelves in October 2014 YES (?!?!?). Action Cameras of GoPro have become extremely popular as an excellent way to capture high-quality video at high speeds relative to the price that usually is $340."

#####Christian Today (random, more than 10 articles about HERO4 in that page):

Extreme sports enthusiasts and adventure seekers know that nothing beats a GoPro when it comes to recording live-action footage, as the camera is known to perform splendidly whatever the conditions may be. Whether it's attached to the helmet of a baseline jumper, or strapped onto the handlebars of a bike going on rough terrain, it's guaranteed to produce videos with amazing quality.YES This is the reason why fans of the brand are eagerly anticipating the latest version of the camera, the GoPro Hero 4. YES

According to, the GoPro Hero 4 can record in 4k resolution at a speed of 30 frames per second. YES It will also come with a 13-megapixel photo sensor, NO which is a new lens that can enable the user to shoot videos or take pictures in the dark, YES electronic image stabilization, YES and an improved MCTF, NO among others. It will also have WDR tone mapping,YES plus Wi-Fi capabilities with remote viewfinder and playback functions. YES

The new camera will also let the user record videos at a lower resolution, which results in faster video capturing, ideal for extreme sports. And yes, the camera is waterproof. YES

It is also expected to weigh less than 100 grams, ? and because it is an action camera, it includes a unique attachment that can clamp to almost anything such as skateboards, surfboards, ski poles, bikes, cars, and basically anything else that moves. YES

Aside from all these, there are rumors that the Hero 4 will be equipped with two lenses for filming in 3D, but this has not been confirmed. WTF? NO

The GoPro Hero 4 will reportedly be priced at $340 NO and is expected to be launched on October 2014. YES


Example: C:\Jenkins\workspace\Banzai-Release\BANZAI\app_control\picture\test_pic_capture.c

  • *C:* is the internal camera memory drive, like in windows os
  • Jenkins is a oracle software that acts like a user
  • workspace is the main dir inside Jenkins
  • Banzai-Release is the code name for the HERO4 (Banzai)
  • BANZAI HERO4 codename
  • app-control controls of the camera
  • picture picture dir with lots of .c code

##Reddit and leaked info

User on reddit, who is a sport shop employee (not given any personal data to protect privacy) posted a picture clearly seen camera model, new bacpacs and price: picture

Other user wanted to buy a gopro and the shop employee confessed that there was a GoPro HERO4 Black Adventure Edition around the corner.

With the GoPro HERO4 so near shops got the HERO4 camera to stock, and unofficial GoPro company Smartree leaked the sketches of the HERO4. See megathread:


This comment has been minimized.

Copy link

@TokyoWarfare TokyoWarfare commented Sep 25, 2016

gopro 4 never supported 3d hero system (unfortunatelly). Please correct that part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.