liemoth
liemoth copied to clipboard
Ambarella Action Camera Hacks
trafficstars
NOTE: Liemoth is currently being rewritten. Stable is in branch "old-system"
Liemoth
Liemoth (formerly AHDK) is a free and open source software dev kit for Ambarella based devices.
Demonstration: https://www.youtube.com/watch?v=8iN3dRujXYc
What can it do?
- Run Magic Lantern/CHDK like interactive menu loaded onto camera
- Real time C/C++ code execution over WiFi
- Run Linux shell commands
- Games :)
- Also, has an Ambsh preprocessor + minimizer and Extensive Ambsh documentation
Goals:
- Long term stable timelapse, powered over USB
- Module system
- Motion detection photo (in progress)
- Raw photos
- Raw video (?)
- Porting to other models (A9, A12?)
- Reverse engineering sensor functions (1)
- Spiffy New features
Building
Liemoth can be built on Windows and Linux.
Dependencies:
- Host GCC/TCC
- Arm GCC
- Git bash or msys32 (if on Windows)
Head into a directory and type make help.
It should be pretty straightforward.
This is the compiler used by Ambarella (I think). You can also
use it to compile apps that run on the camera's Linux system:
arm-none-linux-gnueabi
It's older (2009), so it will generate assembly around 2x the size of newer GCCs.
Personally, I use gcc-arm-none-eabi-5_4-2016q3, since it's the same compiler that
Magic Lantern uses.
Thanks to
- http://spritesmods.com/?art=zx3hack&page=4 for the work done back in 2010
- The GoPrawn community https://www.goprawn.com/
- The entire hacking/reverse engineering community
Other
- My testing cameras are the Activeon DX and GoPro Hero 3+.
- Any help and/or questions are welcome. Just make an issue.
- No warranty - If you break it, you keep both pieces.
- There is some (possibly leaked) Ambarella source code out there.
I have decided to not use it, and contributors must not use it either.
