I bought a Mammotion Yuka Mini 2 1000 to cut grass. That was the sensible part of this project.
Then I looked at the cameras, the LiDAR and the computer inside it. Could I see what those sensors were seeing? Drive it from my laptop? Get a usable scan of the garden out of it? At that point, leaving it alone would have required more self-control than I had available.
I work in cybersecurity, and hacking my own hardware is part of the fun. This time I also had an AI assistant beside me. I handled the screws, cables and physical checks; it helped work through firmware, follow code in REA and Ghidra, and build the tools we needed. We would make a hypothesis, test it, and keep the evidence. Sometimes the hypothesis was wrong. Sometimes the tool we had just written was wrong. The robot was quite good at settling the argument.
The first goal was a shell. A few days later, I had owner SSH, an Android app, a browser dashboard, camera access, and millions of recorded LiDAR points.

The Yuka Mini 2 1000 before the screwdrivers come out. Official product image. Mammotion
Inside the Mammotion Yuka Mini 2 1000
There were several boards to distinguish: motor and power electronics, an STM32-based controller, and a fan-cooled compute board. A connector marked DEBUG on one board did not automatically lead to the Linux computer on another.
An early measurement of roughly 3.3 V on a debug pin was a lead, not a UART identification. The useful connector eventually turned up on the compute board, labelled 调试串口: debug serial.
With the USB-to-UART adapter connected and its power pin left disconnected, we got readable output at 115200 baud, 8N1. The boot log gave us a much better starting point: Horizon X5, U-Boot, Linux and Buildroot. Later inspection confirmed eight Cortex-A55 cores, 2 GiB of RAM and nominally 32 GB of eMMC.
There was a fairly capable Linux machine in there. It just happened to have wheels and a cutting deck.

The starting point: several boards, plenty of wiring, and no reason to assume the first debug header would be the right one.

With the heatsink lifted off, the compute board and its connectors are much easier to inspect.
A login password, then a bootloader prompt
The Linux console wanted a password. One documented development-board default failed, and I stopped guessing. Interrupting U-Boot was more productive: it gave us an unauthenticated Hobot> prompt.
We could inspect the partition table and read files from eMMC. There were 24 GPT partitions, including separate system and application slots. U-Boot also accepted temporary kernel arguments:
setenv bootargs 'init=/bin/sh rdinit=/bin/sh ro'
boot
The next boot launched /bin/sh instead of normal init. We checked id: UID 0. We also checked the process identity: the shell itself was PID 1.
That distinction matters when you are sitting at the terminal. Exiting a PID-1 shell can panic the kernel; disconnecting the serial terminal is a different operation. This was a recovery environment, with the root filesystem read-only and normal robot applications bypassed. We did not use saveenv, so a restart restored ordinary startup. The vendor password stayed unchanged.
The boot log printed successful signature checks too. The result here was specific: this bootloader accepted altered init arguments. It did not prove that every secure-boot check could be bypassed.
Getting the firmware off without spending a week on UART
A shell was useful. Copying roughly 31 GB through the serial cable sounded less useful.
The compute board had a USB-A host socket occupied by a removable connectivity dongle. Because it was a host port, the practical extraction device was a flash drive. With power off, I swapped the dongle for a 64 GB Kingston drive.

The 64 GB Kingston drive in the compute board’s USB host socket, ready to receive the firmware backup. The fan and heatsink stayed in place.
Back in the recovery shell, we verified the external disk’s identity before formatting its partition as exFAT. FAT32’s 4 GB file limit would not have accommodated the main eMMC image: 31,272,730,624 bytes.
We marked internal eMMC read-only and used read-only filesystem mounts, with journal replay disabled where appropriate. The acquisition covered the main eMMC user area, two separate 4 MiB boot regions, and selected filesystem archives. That gave us startup scripts, application binaries, configuration, factory data and writable user storage to inspect on the laptop. It did not include the separate microcontrollers’ physical memories.

The compute board’s eMMC. The acquisition covered its main user area and separate boot regions; other processors remained separate targets.
One qualification belongs in the story: I stopped the final whole-image checksum pass. The expected byte count was present, but the full image remains marked unverified. Smaller exports had completed their own checks. A complete-looking file and a verified acquisition are different claims.
After flushing and unmounting the drive, I moved it to the laptop and retained the original USB copy. From then on, most questions could start with the extracted files instead of another trip inside the mower.
Root is nicer when you can close the case
I wanted normal robot operation and a shell at the same time. Catching U-Boot with the case open every time was going to get old quickly.
The extracted startup scripts showed how the system mounted its partitions and launched applications. They also exposed an easy assumption to get wrong: the selected system and application A/B slots could differ. “It booted slot B” was insufficient to identify every running binary after an update.
We used an existing optional startup hook to launch a separate owner SSH instance on TCP 33090, with its files in writable userdata. The vendor system and application partitions stayed read-only. Our daemon had a separate process name because a vendor stop script used killall sshd—an inconvenient surprise for a second instance called sshd.
The laptop generated an Ed25519 client key, and only its public half went to the robot. The robot generated its server identity; we pinned that key from the UART console before trusting network access. A later owner account also provided password-based access with UID 0, through a bind-mounted account entry. We left the original vendor root password alone.
After a normal reboot, SSH returned UID 0 while PID 1 was ordinary init and the robot applications were running. The setup even survived one app-driven firmware update, which was encouraging without being a promise about future updates.
We also broke things ourselves. An early listener could start before Wi-Fi had an address and remain reachable only on loopback. Later, our key validator rejected a legitimate restricted key and prevented startup. Those were bugs in our additions. Fixing them and checking another normal reboot was part of making owner access useful.
Bluetooth led somewhere more interesting than battery status
Ordinary Bluetooth control came first. Using the existing PyMammotion project, we read status and sent manual-drive commands. With the blade removed for testing, the first confirmed movement was about two centimetres. A modest distance, but a very satisfying one.
Following the Bluetooth request path through the firmware then revealed an undocumented maintenance route with a much larger consequence: it could reach Linux command execution.
We verified root command execution over Bluetooth on my robot, through the existing owner BLE connection. The initial request for command output did not produce a usable reply, so we used a harmless temporary marker as an independent witness. SSH established that it was absent before the Bluetooth request and present afterwards, owned by UID 0. We removed it after checking.
The command travelled over Bluetooth; SSH was how we verified the result. We did not establish whether an unrelated, previously unpaired client could reach the same path, and this test says nothing about internet exposure or every firmware version.
I am withholding the Bluetooth trigger, message construction and authorization details. The finding belongs in the account of what we learned; the public post does not need to provide an exploit recipe. Nothing here should be read as a claim that vendor remediation has been confirmed.
An Android app for my own robot
We also built Yuka Explorer, an Android app that puts robot status, battery information, directional controls, task actions and lights on the phone. It can capture camera snapshots over Wi-Fi or Bluetooth, open an authenticated owner SSH terminal over Bluetooth, and request recovery of owner access. It gives me a practical way to inspect and control my mower without bringing the laptop into the garden.
The LiDAR finally gets a window
The firmware backup already contained PCD point clouds, ground-cloud files and navigation rasters. One saved global cloud held 28,685 points. We could inspect those before solving live acquisition.
Fresh scans came from the local lidar_data DDS topic. A packaged subscriber existed, but its generic decoder interpreted this sample incorrectly. Some of our first diagnostic numbers were therefore misleading. A subscriber printing data is not proof that it understands the data type.
We launched a fresh subscriber under the installed debugger, stopped in its receive callback and copied the valid native sample span. The debugger controlled our observer, not the robot’s normal mapping or sensor processes. Checking the header, record stride and payload length gave us a defensible decoder.
One accepted snapshot contained 14,400 input entries, of which 6,361 had usable finite XYZ coordinates. Treating the whole buffer as tightly packed XYZ floats would have drawn something, but it would have been nonsense.
Soon I could stand in front of the robot and watch the cloud change on the laptop. The first viewer updated every few seconds. It was already fun; rotating a larger recording was considerably less fun until we reduced the rendering work during interaction.
How a scan became a map
A live scan shows the scene relative to a sensor at that moment. Accumulating a scene while the robot moves requires more: where the sensor was, how it was oriented, and when each point was measured. Simply appending every scan would smear movement into the geometry.
We traced the native mapping code to recover the sensor-to-IMU and IMU-to-body transforms, the local pose representation, and the direction of the coordinate conversion. This was a place where decompiler output needed checking against instructions: a hidden return register had made one matrix helper’s recovered signature misleading.
The accumulator then used each point’s timestamp to find surrounding pose samples, interpolated translation and rotation, and applied the recovered transform chain. Points without valid temporal brackets were rejected and counted. We did not assign the nearest pose to an entire moving scan or extrapolate beyond the available history.
The progression was measurable. An early accepted recording combined 30 scans and 300 poses into 268,868 finite, pose-bracketed points. Continuous collection later produced an owner recording of 949 scans and 8,316,529 points, spanning roughly eight minutes including startup and final checks.
Those counts show that collection and export worked. They do not, by themselves, validate dimensions, moving-map accuracy or alignment with the vendor’s saved yard map. The coordinate units and global registration still needed independent physical checks.

The dashboard with an earlier 559,682-point recording loaded. This screenshot shows saved geometry; its camera and Bluetooth panels are idle. The blue-to-yellow colours encode relative height.
The dashboard now offers Build live map and Stop & save, with an accumulating preview. It displays a bounded sample to keep the browser responsive, while full PLY and PCD exports retain all accepted points. I can take those files into CloudCompare instead of treating the browser as the only way to see the result.
We also encountered an important failure: a later recording stopped when its local-pose validity guard tripped. Continuing in the same coordinate frame would have hidden uncertainty in a larger cloud. The next implementation preserved separate segments after recognized interruptions rather than silently stitching them together. Interrupted data is labelled unverified, and a failed capture does not overwrite the previous accepted map. Automatic segment recovery had been implemented and deployed; that checkpoint had not yet validated it through a physical reset test.
There is a second useful map source too. We decoded saved vendor frame poses and associated point-cloud chunks. A newer saved copy yielded 309,509 finite points in a reconstructed historical view. That is a different product from the live scanner or our local accumulator, and the dashboard keeps those views distinct.
What the robot sees around it
The point cloud is only one view of the scene. The saved perception output was even more interesting to browse: matched groups containing left and right camera images, a disparity visualization, and the robot’s segmentation image with boxed numeric annotations.

The robot’s saved view of a tree and the surrounding garden: stereo images above, vendor disparity and segmentation below. This is an archived observation, not a live display. House details are blurred for privacy.
The tree in the camera image becomes a different-looking region in the segmentation view; the disparity image provides another representation of the scene’s structure. Seeing all four together made the perception pipeline much easier to reason about than reading topic names in a registry.
The labels need care. The saved disparity JPEG contains visualization pixels, not distances in metres. Segmentation colours and boxed numbers are real vendor output, but the connection from those numbers to human-readable object classes had not been verified. I am not going to turn a raw ID into “person” or “tree” because it looks plausible in one picture.
We also tried stereo matching on the laptop using a timestamp-matched pair from older encoded camera recordings. OpenCV produced a colour-coded relative disparity study, with black where it accepted no match. That was our own experiment, separate from the robot’s internal disparity output.

A separate host-computed stereo experiment. The colour image is relative disparity, not the robot’s internal depth result or calibrated metric depth. House details in the camera image are blurred for privacy.
The dashboard grew a chronological perception history so I could review these observations after a run. We imported 30 complete four-image sets from a prior outdoor task. New matched sets can be retained while explicitly watching recordings, and each set can be downloaded together. These are the robot’s saved observations; the gallery does not imply a continuous live stream or prove what event caused an image to be recorded.

Perception history from a prior outdoor task. Matched image groups stay together, so I can inspect the scene alongside the corresponding vendor output.
We recovered historical coverage reports as well: 48 reports, 11,557 separate paths and 60,244 stored points. They give a useful view of the geometry saved with previous work reports. They are not an exact wheel track, a live route plan or a GPS-aligned overlay on the cloud.

A decoded historical coverage report: 162 separate paths in this selected report. The renderer preserves their boundaries instead of inventing connections between them.
Where the AI helped
The useful division of work was straightforward. I could make a measurement, reconnect a board, listen to a speaker or watch the robot move. The assistant could help follow references across binaries, compare layouts, draft decoders and turn a one-off experiment into a usable tool. Keeping the project notes and receipts meant we could return to a question without relying on either of us remembering it perfectly.
It needed checking. A plausible function name did not prove a coordinate frame. A log line saying SSH started did not prove a listener was reachable. A nicely rendered cloud could still come from a wrong stride. Some of our most useful progress came from finding those mistakes early enough to correct them.
I now have a way to look through the cameras, inspect the robot’s saved perception, collect and export experimental maps, and use my own dashboard and Android app. There is still work to do on physical map accuracy, registration and some control paths. Those are good reasons to keep investigating.
The grass is still there too. Apparently that was the original project.