Liemoth
Ambarella Action Camera Hacks
Install / Use
/learn @petabyt/LiemothREADME
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.

Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
