-
-
Notifications
You must be signed in to change notification settings - Fork 75
Installing valetudo binary on 2008 firmware
This note applies for those who hasn't already installed any 2008+ firmware image or did it without modifications from vacuumz image builder by zvldz.
This procedure is heavily different compared to installation on all previous firmware versions since roborock changed OS to very stripped down version and many tools like dpkg
are now missing.
It is highly recommended to use vacuumz image builder to prepare an image or download ready-to-use image with preinstalled valetudo. The reason for that is default images lack many common packages, even rc.local support is missing and that is required for running iptables on every boot for rerouting cloud traffic. Also it is required to use different valetudo launch script as upstart used before is also missing there.
If you decided to prepare an image yourself, you can get aforementioned image builder here or there with your git client (or any other suitable way). Also you'll need to download stock 2008+ firmware image. And, surely, get some files from valetudo repo: valetudo.conf, hosts and rc.local files from deployment, as well as valetudo binary file itself from prebuilt releases or build it yourself. Copy those files into a separate directory.
Next go to image builder directory and open up vacuum_valetudo_re_erinome.sh
file to check paths to directory with valetudo files created earlier. Also you should remove --valetudo-re-nodeps line if you didn't download prebuilt valetudo binary but have built it yourself.
Now everything's ready to create an image: just run ./vacuum_valetudo_re_erinome.sh /path-to-your-2008-stock-image.pkg
.
The resulting image will be created in ./output
directory.
You're almost ready and everything's left is to consult instructions on how to actually flash the image to the device. For that you can check this wiki or search anywhere on the Internet.