Skip to content

Instantly share code, notes, and snippets.

Last active May 11, 2021
What would you like to do?

##How to use Autoexechack

Browse your hack, right-click the RAW button and save as in the root level of SD.


If a hack does not work with your camera:

  • Make sure the file you saved in the SD is called 'autoexec.ash'
  • Make sure that the hack is supported by your camera.
  • Make sure the update files (HDXXXX.bin, update.cmd, and WXXX.bin) are not on the SD.
  • If you edited a autoexec.ash, make sure your editor saves the file as UNIX, otherwise it wont work.
  • If you edited a autoexec.ash, make sure you wrote the code correctly, head to to see a complete list of commands.
  • In Lock Exposure hacks, wait two seconds before pressing the shutter button.
  • Reformat SD card
  • Dont replace autoexecs!
  • Make sure you did not touch anything that is crutial
  • Try different SD/card reader
  • Make sure you are using one of the following SDs for your HERO3 Black / HERO3+ Black
  • SanDisk Extreme 32GB microSDHC (SDSDQXL-032G)
  • SanDisk Extreme 64GB microSDXC (SDSDQXL-064G)
  • Lexar 32GB SDHC 600x (LSDMI32GBSBNA600R)
  • Lexar 64GB SDXC 600x (LSDMI64GBSBNA600R)

Other SDs might not work.


Copy link

Siroguh commented Aug 2, 2014

Please make it compatible with lexar 633x 32gb ..... Por favooooooor

Copy link

RoninTech commented Nov 19, 2014

Brilliant! Just an FYI, autoexec.ash doesn't work on a Hero3+ black with a lexar 64GB SDXC 633x either. Same script works fine on an old Sandisk. Tried fat32 and exfat.

Copy link

WillFox commented Dec 20, 2014

You say, "do not replace autoexecs" What does this mean. Choose the hack you want and you only get to do it once?

Copy link

danyder1996 commented Jan 9, 2015

i downloaded the code and it works, but the exposure doesn't change

Copy link

danyder1996 commented Jan 9, 2015

no wait i made it i just had to delete P, X and Y.. thanks for the hack!

Copy link

Rytter commented Feb 11, 2015

I have a Hero4 Silver. Firmware 2.0
I have tried:
2 SD cards, including the SanDisk Extreme 64GB microSDXC (SDSDQXL-064G).
2 different card readers
I did check that the file is saves in unix format.
I cannot make this work at all.
Any help is appreciated

Update: I just discovered that autoexec files are disabled in the 2.0 firmware :(

Copy link

brai321 commented Feb 16, 2015

Please have this working for transcend premium 300x SD card. I just tried it and unfortunately it's not working for me. :)

Copy link

mawais102 commented Mar 18, 2015

I am using Hero 3 Black and i want to increase the exposure time. I have updated the firmware.
Please suggest me how i can increase the exposure time

For the firmware hack i am trying to modify the exposure time but i am failed to do so.. Please suggest me some possible recommendations. I am using this modified code and copying the file in the SD card of camera.
t app appmode photo
sleep 1
t ia2 -ae still_exp 100 1000 1000
sleep 1
t app button shutter PR
sleep 0.5

Also for the file extension it is stated that i must change the file extension to .unix. Do i just need to rename the file name or i need it to open in linux and them change the extension to unix. For now, i am just changing the file extension after changing the variable values in notepad.


Copy link

aguirrem36 commented Apr 2, 2015

Hi. How do you edit an autoexec.ash file and what program do you need? I want to customize the interval to 45 min (2700 seconds).

Copy link

Baku2015 commented May 4, 2015

We are using the hack on Hero3+ and they are set to 30 min intervals(1800 seconds). It runs for 13 hours and then stops.
We are powering off of house power so the battery is not an issue. Any thoughts or suggestions of what might be wrong?

Copy link

davidchristoph commented Jun 27, 2015

hi baku2015, did you get a solution for your problem, have the same issue here with my hero2,

Copy link

Xeitor commented Aug 29, 2015

Does anypnes knows if the megalapse interval for the hero 4 works in the hero 2014?

Copy link

electricgypsea commented Aug 31, 2015

I have GP4 version 4.02.03 firmware. I cant get any script to work. I have tried San disk Ultra 32GB and San Disk Etreme plus 64GB....and saving as UNIX and different card readers. Is there any possibility to get this working?

Copy link

passegua commented Feb 5, 2016

Please explain us which Key should use, please post an example.
I do not understand which number should I put as Iris???
X: Exposure time
Y: Iris (exposure time also?)
A: timelapse interval

Copy link

antoniopicone commented Feb 18, 2016

any chance to use on Hero 4 Session ?

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