r/MondoRobotics • u/RadioNick • 12d ago
open_ineb - Reverse Engineered Beni
Hey All. My Beni arrived this week, and although I'm not planning to unbox it until Christmas, I'm a big fan of customizing hardware I own, and I know a lot of us have been asking for APIs (such as for home assistant interoperability).
I'm not sure how open Mondo Robotics wants to be with Beni, but the community would love to see APIs, programming capabilities, and for the more adventurous, an open bootloader to allow creating homebrew firmware. There is precedent for opening hardware - just see what's happened with the M-Vave FM-1 synthesizer: By releasing an SDK and permitting custom firmware, the product became massively popular.
I can also see a lot of interest in wanting to customize Beni with additional capabilities, sensors, actuators, etc.
To that end, I've started the open_ineb GitHub repo with my (very much vibe-engineered) research.
For those interested in using this as a starting off point for your own adventures with the hardware/software on the device, see: https://github.com/k5njm/open_ineb
Pull-requests / Forks are welcome.
What's in the repo so far:
- Architecture & firmware deep-dives: Breakdown of Beni's dual-SoC design (Horizon X5 ARM64 Linux + A3 vision SoC + 9 MCUs), on-robot services, RL locomotion models, UART/I2C buses, and boot verification (
vbmetacoversboot/system, whilemondo.imgis A/B and not currently covered by AVB or RSA-checked inmd_upgrade). - All 434
.protoschemas & wire protocol docs: Extracted Protobuf definitions for Beni's internal/cmd/*and/status/*topics, plus byte-level documentation of BLE provisioning, UCP-over-UDP (:9007), Zenoh-over-UCP, and local TUS 1.0.0 HTTP OTA (:8080). - Firmware OTA archiver (
tools/fetch_ota.py): Auv-runnable CLI to log in with your own Mondo account and archive verified local backups of official firmware packages (recommended before accepting future OTAs that could lock things down). - Custom firmware TUI builder & standalone local OTA uploader (
tools/customize_fw.py): An interactive TUI that builds a brick-resistant,mondo.img-only A/B OTA package (optional custom root password, SSH authorized keys + generated Ed25519 keys, and USB-C ADB unlock) and uploads/installs it standalone over UCP + Zenoh + TUS 1.0.0 without needing the official app.
3
u/Awhispersecho1 12d ago
8 just wish it had AI built in like Gemini or something. And I wish I could just talk to it for instance...Beni, come here. And Have Beni actually come to me when I say it. I think Mondo assumed the vast majority of purchases would be by photographers and creators and I bet that's not the case at all.
And I wish it had it's own controller with built in screen. I have used my foldable with a mobile controller but a dedicated controller would have been nice. 8 loathe using an app on my phone to control things.
2
u/RadioNick 12d ago
This was my first test of the new Gemini Neon model, doing all the vibe analysis. I gave it the Android APK and user manual as a starting point.
First it identified the OTA firmware download process, then built a CLI that can retrieve an access token by providing your username/password (The request goes directly to Mondo's servers).
It allows listing and retrieving of firmware, and then the model worked to identify the firmware contents.
The SoC is the same as this dev board: https://www.waveshare.com/wiki/RDK-X5, and the firmware bundle contains a Linux filesystem, so you should be able to develop your own custom modules/capabilities.
I also had the model write a utility that can modify that filesystem to enable ADB and SSH access, and then perform it's own "offline" OTA of the customized image.
I haven't touched any of the bootloader components, nor do I intend to. What this show is that we've got a Linux platform for pretty much any robotics hacking we want.
2
u/lukaville 12d ago
Haha I was about to share my version of it and then I saw your post, even the name is similar š
Here is my repo with a python client for the robot & web interface: https://github.com/lukaville/nebi
2
u/bsteinfeld 11d ago
Heh this is awesome - will try to take a look because I want to do exactly the same! I reached out to u/McGoldNuggets directly to ask about an official SDK (so I/we don't need to hack) - no response [yet].
Would be good to group around 1 codebase!
The feature list I'm planning:
- AI Mode
- v1: stt+tts+simple actions --> e.g. "come here", "go to the tree over there", "turn on the camera"
- v2: multi-step actions --> e.g. "start recording, drive to Ruby, do a Bark sound and hop, then run away - tracking Ruby in the shot"
- Other ideas
- Wheel clean station (wheels get dirty from outside play, will 3d print a _station_ Beni can drive into and "spin" wheels on to clean them -- inspired by this dog paw cleaner https://makerworld.com/en/models/604282-pet-paw-cleaner)
- Security rounds
- Remote control over internet (specifically want to use for an escape room/ARG)
1
u/RadioNick 12d ago
Note - as stated in the repo - this has not yet been tested on live hardwareāuse at your own risk!
With that said, I'd expect early adopters willing to accept that risk to have their own agent(s) audit the analysis work done so far, and I'd appreciate reports of findings.
It does seem relatively low risk, as the flasher only writes the mono.img, and the eMMC has A/B slots.
1
u/RadioNick 12d ago
One cool finding - I was curious how the handheld controller was tracked - it's actually a UWB (ultra-wideband radio) tag, so Beni can estimate distance and direction to the controller.
5
u/SunCeeQer 12d ago
I want to train my beni to go scan a location for 3DGS , otherwise itās a toy for my kid which has value but limited if they donāt open this thing up
1
u/w1ouxev 12d ago
Very cool, man. What are the goals here for you? Personally, I'd love to have "Pro" camera setting access to start.
And the idea of adding programming capabilities to his autonomy is huge!
1
u/daemonk 11d ago
Do you have any data on the cpu/npu load while its moving around and doing video recognition? I wonder how much we can push it before it canāt stabilize itself due to resource load?
1
u/daemonk 12d ago
Nice. The protobuf defs is a treasure trove.
1
u/Eegore1 12d ago
I'd like the ability to set routes and have non-tracking independent camera control. Something that lets me setup a film scene and have multiple takes with identical footage.
Like my DJI drone can have a set path, and it will repeat that exact path and camera orientation each time.
1
u/App13_ 6d ago
Have you actually gotten a root shell on the robot itself, or is this still untested?