8000 GitHub - atd/viomi-rooting: Tool for rooting the Xiaomi STYJ02YM (viomi-v7) and Mijia STYTJ02YM (viomi-v8) vacuum robot
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tool for rooting the Xiaomi STYJ02YM (viomi-v7) and Mijia STYTJ02YM (viomi-v8) vacuum robot

Notifications You must be signed in to change notification settings

atd/viomi-rooting

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 

Repository files navigation

Viomi Rooting Tool

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, needs manual update of Valetudo)

Prerequisites

  • a linux machine with bash, ssh, wget, adb and sha256sum
  • 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.

Usage instructions

Clone this repository, then run the following command and follow its instructions:

./viomi-root.sh

What’s the script doing?

  1. Enable the adb shell command.
  2. Temporarily disable robot services to allow the adb bridge to persist during setup.
  3. Install dropbear along with your ~/.ssh/id_rsa.pub public key
  4. (Optionally:) Install Valetudo.

Troubleshooting

Problem: The script was not able to establish a ssh connection and didn't finish.

Solution: Rerun the remaining steps of the script (replace ROBOT_IP with the actual ip address)

./viomi-root.sh change_password
./viomi-root.sh restore_robot_services
./viomi-root.sh install_valutodo ROBOT_IP

Problem: An old Valetudo version is installed that doesn't support viomi.vacuum.v8 yet.

Solution: Manually update your installed version. See rumpeltux#11

About

Tool for rooting the Xiaomi STYJ02YM (viomi-v7) and Mijia STYTJ02YM (viomi-v8) vacuum robot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%
0