This tool aims to automate the rooting process described in Rooting the Xiaomi STYJ02YM (viomi-v7) Vacuum Robot.
It is known to work with the following models:
- Mijia STYJ02YM (viomi-v7)
- Mijia STYTJ02YM (viomi-v8) (experimental)
- a linux machine with
bash
,ssh
,wget
,adb
andsha256sum
- the robot is already connected to your wifi (if you don't want to use the xiaomi app to do this, you can do this with python-miio
- the linux machine needs to be on the same network as the robot
- a micro-USB cable plugged into the robot’s micro-USB port.
Clone this repository, then run the following command and follow its instructions:
./viomi-root.sh
- Enable the
adb shell
command. - Temporarily disable robot services to allow the adb bridge to persist during setup.
- Install
dropbear
along with your~/.ssh/id_rsa.pub
public key - (Optionally:) Install Valetudo.