The main idea of the method is to change the default rootfs to a custom one that has a known root password.
The following manual assumes that you have already completed the backup and have rkdeveloptool installed
First, let's remove the top cover from the robot. Please refer to video of disassembly of Go2
So, depending on the purchase day of the Go2, some folks have stated that the Loader mode didn't work for them (locked in UBOOT). For that, use MaskRom mode. MaskRom is more low-level and should work in any case, but it requires MiniLoaderAll.bin to be downloaded to RAM first.
To enter Loader mode, first connect a USB Type-C cable from the device to the PC. Then, press and hold the upper button on the mainboard while turning on the Go2. The robot should not stand up after this action.
check it by running:
sudo rkdeveloptool ld
You should see the USB device detected in 'Loader' mode
If the LOADER device didint appear, try loading into MASKROM mode. otherwise just skip this step directly to checking the partitions.To enter MaskRom mode, first connect a USB Type-C cable from the device to the PC. Then, press and hold the middle button on the mainboard while turning on the Go2. The robot should not stand up after this action.
check it by running:
sudo rkdeveloptool ld
In order to proceed in MaskRom mode a special bootloader should be downloaded (skip this if in Loader mode):
sudo rkdeveloptool db MiniLoaderAll.bin
Check the partitions
sudo rkdeveloptool ppt
The next step involves flashing the custom rootfs. The custom rootfs images can be found here
Download a custom image, unzip it
unzip 1.0.XX_go2_rootfs_rooted_vX.X.zip
Flash the custom rootfs Image to the partition:
sudo rkdeveloptool wl 0x79000 rootfs.img
reboot the dog
sudo rkdeveloptool rd
After some time the head light should turn green and the dog should stand up
The default credentials for the custom firmware:
Enjoy your root access by ssh-ing under root:
ssh root@[your_dog_ip]
You should see the theroboverse banner welcoming you: