r/MondoRobotics • • 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 (vbmeta covers boot/system, while mondo.img is A/B and not currently covered by AVB or RSA-checked in md_upgrade).
  • All 434 .proto schemas & 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): A uv-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.
17 Upvotes

29 comments sorted by

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.

1

u/RadioNick 11d ago

That's why I'm planning to use my steam deck :-)

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.

1

u/App13_ 10h ago

Just a heads up, the process you have in your repo right now has a high risk of bricking the robot

2

u/RadioNick 1h ago

Thanks - Sounds like your process is already field tested. I've worked in some fixes: https://github.com/k5njm/open_ineb/pull/5

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

1

u/RadioNick 12d ago

Super cool, I like the name ā€œnebiā€ - so far, I’m delighted to see how hackable the device is.

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:

- Dog play mode
- v1: geofence area, and just drive/jump around with custom sounds
- v2: AI intelligence for better play

- 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 10d ago

Heck yeah!! Pull requests are welcome. We can eventually incorporate some CI and a way for users customize which features they want to make available. Biggest constraint will be available CPU/Memory.

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!

2

u/RadioNick 12d ago

My list of ideas is growing longer and longer.

  • Native Steam Deck controller. Would be super cool to have all the extra inputs from the deck's controller and the video streamed to it
  • Home assistant API
  • Training and deploying custom models
  • Voice assistant / voice control
  • Hacking on additional sensors or comms (Lidar? Cellular?)

For hardware modding, the only limitations are the power of the SoC, available GPIO, and possibly how easy or hard it is to disassemble.

1

u/RadioNick 12d ago

I talked myself into it - First project is building a native steamdeck controller app. I'll add to the repo when ready. I don't believe it should require any changes on the Beni side.

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/RadioNick 11d ago

I don’t yet, I haven’t actually unboxed my Beni - but this performance data to understand spare resources will be super useful.

It should be trivial to get this data once you SSH in.

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?

1

u/lukaville 6d ago

I got root ssh access on V26.10.28 firmware, see https://github.com/lukaville/nebi/blob/main/nebi-patch/patches/open-debug/patch.toml

but then tried to update it to the latest firmware version and bricked it... now selling it for parts after unsucsefull attempts to unbrick it šŸ˜…

I would give repairability score of 6 out of 10 for beni haha. difficult to open the head without damaging the eyes as they are glued; two screws on the head are difficult to access because the body is in the way. if the firmware is bricked there are no easily accessible debug / UART ports. there is a debug port on the main board but it uses some custom super tiny connector

the pogo pins at the top are just for payload and don't expose any ways to recover.

to whoever would try experimenting with this I would suggest to enable and leave as much safety mechanisms as possible (e.g. enable fallback to fastboot on usb on boot, make stricter 'success' signalling for A/B upgrade mechanism)

1

u/App13_ 6d ago edited 6d ago

Your repo has been a huge help to my current efforts. I got my robot last week and was stuck on retrieving the network ID, nebi saved me a lot of time and BLE hacking lol

I can reliably write custom firmware onto the bot, but man they are really tricky on 26.11.19.x with killing ssh.

I might be interested in buying your bricked unit tbh

Have you looked into the stereo camera board at all? I’ve seen some promising vectors in the code but haven’t looked at that board physically yet.

Agreed on repairability. It’s a pain

1

u/lukaville 5d ago

> Have you looked into the stereo camera board at all? I’ve seen some promising vectors in the code but haven’t looked at that board physically yet.

no, I didn't really disassemble the bottom part, just the head, where the main board is.

there is a localization model on the robot that allows to localize the robot in a known environment, and I got it more or less working to drive to specified coordinates in a room.

here are some notes on this https://gist.github.com/lukaville/e5d0cc80dc274aef81a7a2d13324c421

here is the bricked robot https://www.ebay.co.uk/itm/920169169618 :)

2

u/lukaville 4d ago

also sharing some logs on what went wrong with my beni and how I bricked it https://gist.github.com/lukaville/b74dffe38f41f4f2a0ec4d8bb88f3c1e

1

u/Patient-Handle-3314 5d ago

If you ship to the US I will buy it :D

1

u/TurboTalon_ 4d ago

Thanks for the writeup, really helpful. That's too bad you never cracked the body open. I'm curious about the stereo camera board: sensor part numbers, whether there's an IR-cut filter, and whether there are any IR LEDs. Mine misses low objects and throws low-light warnings up close, so I'm trying to figure out if it's hardware or tuning. Did someone in this thread end up buying it?

1

u/App13_ 3d ago • Bravo

I bought it. I’ll be doing a full tear down when it arrives later this month