H
ha-nes
- Dabei seit
- 02.01.2022
- Beiträge
- 18
- Likes
- 2
Hi Ihr,
weil die FEL-Anleitung noch nicht so komplett ist wie die klassische hier mal das, was ich mir alles zusammengesucht habe, um zum Erfolg zu kommen:
Alles, was vom Original abweicht ist mit "HANNES:" kommentiert.
dgi Daniel, vielleicht erweiterst Du Deine FEL-Anleitung noch um das, was ich zusammengetragen habe, denn um dahin zu kommen musste ich viel zusammensuchen - so als Ahnungsloser Dummy nicht so einfach
Howto
Required tools: MicroUSB->USB cable, Paperclip or Jumperwire
HINWEIS HANNES: bei mir ging das rooten nur am Windowsrechner. Die Firmware rüberkopieren war auch am Windowsrechner am aller einfachsten.
General idea
- Build FEL image for S7 and other NAND models at builder.dontvacuum.me
- Download "fel" package (make sure that it contains run.bat/run.sh)
- Disassemble your robot (Similar to my S6 Teardown video)
+ You need to have access to the back side of the Mainboard
+ Do not disassemble the black part in the S7 (the vibrating mop thing)
- Make sure that the small board is attached
- Connect Battery
- Connect MicroUSB cable and attach it to your computer
- Short TPA17 to GND and hold it (see here: TPA17 position)
- Press the power button for 3 seconds, and keep the TPA17 grounded for 5 more seconds.
- A new device should be detected by your computer (check lsusb or device manager)
For Windows:
- Download and install this: Zadig
- Start Zadig and install WinUSB drivers for the unknown device (see here: USBBoot)
- Run "run.bat" from the firmware folder
+ You should see an upload
+ Press a key when it asks you to do it
- After it has been uploaded, wait 5 minutes. Your robot should restart when its done (look for turned off leds)
For Linux (HANNES: hat bei mir nicht geklappt, es ging nur am Win-Rechner):
- Install sunxi-tools (e.g. apt-get install sunxi-tools)
- Check device presence with lsusb
- Run "run.sh" from the firmware folder
Firmware installation:
- The first part of the rooting should be now complete. Your robot should be reachable via SSH and your SSH key.
+ No Valetudo or patches are installed yet, you need to do a manual firmware update
- Download "fw" file from dustbuilder
- Transfer firmware package to device and install it (use ssh)
HANNES: Putty installieren
HANNES: PuTTY > Category > Connection > SSH > Auth (anklicken) > mit dem Browse...-Button die "*.ppk"-Datei auswählen
HANNES: PuTTY > Session > hier SSH anklicken, als Hostnamen [email protected] eintragen. Das kann man als "Session" jetzt abspeichern, dann hat man es für WinWCP gleich zum auswählen fertig und tut sich leichter
HANNES: Dann auf "Open" klicken, und schon ist man drin.
HANNES: am Windows-Rechner: mit WinWCP angemeldet. Dazu habe ich das SSH-Kex-Profil von Putty importieren können (im Install-Prozess). Damit konnte man sich sofort anmelden. Als root.
HANNES: dann habe ich die fw in das Verzeichnis /mnt/data/ kopiert, da gab es eine Fehlermeldung, dass zu wenig Platz da ist. Es war aber trotzdem drüben. Hmmm. Es ist minimal kleiner. Statt 27466 KB hat es nur 27448
HANNES: Ich habe dann alles nochmal gelöscht und erneut nach reboot kopiert. Dann hat es geklappt.
HANNES: reboot: "reboot" in PuTTY-Terminal eingeben
HANNES: Datei entpacken mit "tar xfvz FW-Archiv.tar.gz"
+ do not use dd, just run install.sh from the package
HANNES: "install.sh" im PuTTY-Terminal eingeben
- Continue the steps to install Valetudo (check the steps at the bottom of this document: S5E Cheatsheet)
HANNES: S5E Cheatsheet muss man nicht besuchen, ich habe den entscheidenden Inhalt hier weiter unten reinkopiert
Suggestions? -> dennis[at]dontvacuum.me
My homepage
HANNES: (Hinweis: nur SSID und Passwort eingeben. die " und die \ nicht löschen, die gehören dazu)
# change SSID and password, skip this if your robot was already connected to your wifi before
# Hint: This WiFi needs to have an Internet connection.
echo ssid=\"meine WLAN-SSID\" > /mnt/data/miio/wifi.conf
echo psk=\"mein WLAN-Passwort\" >> /mnt/data/miio/wifi.conf
echo key_mgmt=\"WPA\" >> /mnt/data/miio/wifi.conf
echo uid=0 >> /mnt/data/miio/wifi.conf
echo region=de >> /mnt/data/miio/wifi.conf
echo cfg_by=miot >> /mnt/data/miio/wifi.conf
echo 0 > /mnt/data/miio/device.uid
echo "de" > /mnt/data/miio/device.country
# this connects the robot to the wifi
/opt/rockrobo/wlan/wifi_start.sh
HANNES: Jetzt taucht der Roborock im eigenen WLAN auf und ist somit für den nächsten Schritt bereit:
HANNES: Die Installation von Valetudo!!!!!!!!!!! Jipiiiii
# this step activates valetudo
# you can repeat this step whenever you want to update valetudo
# Hint: Valetudo only works if you select "Patch DNS" while building the firmware
# Hint2: Using Valetudo disables the Cloud. You cannot use both!
cd /mnt/data/
wget https://github.com/Hypfer/Valetudo/releases/download/2021.07.0/valetudo-armv7-lowmem -O valetudo
chmod +x valetudo
cp /root/_root.sh.tpl /mnt/reserve/_root.sh
chmod +x /mnt/reserve/_root.sh
HANNES: Jetzt noch rebooten und im Router am besten noch die IP-Nummer fixieren (damit sie sich nicht mehr ändert) und dann alles wieder zusammenschrauben und freuen
Man kommt nun auf valetudo, indem man schlicht die IP-Adresse im Browser eingibt.
weil die FEL-Anleitung noch nicht so komplett ist wie die klassische hier mal das, was ich mir alles zusammengesucht habe, um zum Erfolg zu kommen:
Alles, was vom Original abweicht ist mit "HANNES:" kommentiert.
dgi Daniel, vielleicht erweiterst Du Deine FEL-Anleitung noch um das, was ich zusammengetragen habe, denn um dahin zu kommen musste ich viel zusammensuchen - so als Ahnungsloser Dummy nicht so einfach

Howto
Required tools: MicroUSB->USB cable, Paperclip or Jumperwire
HINWEIS HANNES: bei mir ging das rooten nur am Windowsrechner. Die Firmware rüberkopieren war auch am Windowsrechner am aller einfachsten.
General idea
- Build FEL image for S7 and other NAND models at builder.dontvacuum.me
- Download "fel" package (make sure that it contains run.bat/run.sh)
- Disassemble your robot (Similar to my S6 Teardown video)
+ You need to have access to the back side of the Mainboard
+ Do not disassemble the black part in the S7 (the vibrating mop thing)
- Make sure that the small board is attached
- Connect Battery
- Connect MicroUSB cable and attach it to your computer
- Short TPA17 to GND and hold it (see here: TPA17 position)
- Press the power button for 3 seconds, and keep the TPA17 grounded for 5 more seconds.
- A new device should be detected by your computer (check lsusb or device manager)
For Windows:
- Download and install this: Zadig
- Start Zadig and install WinUSB drivers for the unknown device (see here: USBBoot)
- Run "run.bat" from the firmware folder
+ You should see an upload
+ Press a key when it asks you to do it
- After it has been uploaded, wait 5 minutes. Your robot should restart when its done (look for turned off leds)
For Linux (HANNES: hat bei mir nicht geklappt, es ging nur am Win-Rechner):
- Install sunxi-tools (e.g. apt-get install sunxi-tools)
- Check device presence with lsusb
- Run "run.sh" from the firmware folder
Firmware installation:
- The first part of the rooting should be now complete. Your robot should be reachable via SSH and your SSH key.
+ No Valetudo or patches are installed yet, you need to do a manual firmware update
- Download "fw" file from dustbuilder
- Transfer firmware package to device and install it (use ssh)
HANNES: Putty installieren
HANNES: PuTTY > Category > Connection > SSH > Auth (anklicken) > mit dem Browse...-Button die "*.ppk"-Datei auswählen
HANNES: PuTTY > Session > hier SSH anklicken, als Hostnamen [email protected] eintragen. Das kann man als "Session" jetzt abspeichern, dann hat man es für WinWCP gleich zum auswählen fertig und tut sich leichter
HANNES: Dann auf "Open" klicken, und schon ist man drin.
HANNES: am Windows-Rechner: mit WinWCP angemeldet. Dazu habe ich das SSH-Kex-Profil von Putty importieren können (im Install-Prozess). Damit konnte man sich sofort anmelden. Als root.
HANNES: dann habe ich die fw in das Verzeichnis /mnt/data/ kopiert, da gab es eine Fehlermeldung, dass zu wenig Platz da ist. Es war aber trotzdem drüben. Hmmm. Es ist minimal kleiner. Statt 27466 KB hat es nur 27448
HANNES: Ich habe dann alles nochmal gelöscht und erneut nach reboot kopiert. Dann hat es geklappt.
HANNES: reboot: "reboot" in PuTTY-Terminal eingeben
HANNES: Datei entpacken mit "tar xfvz FW-Archiv.tar.gz"
+ do not use dd, just run install.sh from the package
HANNES: "install.sh" im PuTTY-Terminal eingeben
- Continue the steps to install Valetudo (check the steps at the bottom of this document: S5E Cheatsheet)
HANNES: S5E Cheatsheet muss man nicht besuchen, ich habe den entscheidenden Inhalt hier weiter unten reinkopiert
Suggestions? -> dennis[at]dontvacuum.me
My homepage
HANNES: (Hinweis: nur SSID und Passwort eingeben. die " und die \ nicht löschen, die gehören dazu)
# change SSID and password, skip this if your robot was already connected to your wifi before
# Hint: This WiFi needs to have an Internet connection.
echo ssid=\"meine WLAN-SSID\" > /mnt/data/miio/wifi.conf
echo psk=\"mein WLAN-Passwort\" >> /mnt/data/miio/wifi.conf
echo key_mgmt=\"WPA\" >> /mnt/data/miio/wifi.conf
echo uid=0 >> /mnt/data/miio/wifi.conf
echo region=de >> /mnt/data/miio/wifi.conf
echo cfg_by=miot >> /mnt/data/miio/wifi.conf
echo 0 > /mnt/data/miio/device.uid
echo "de" > /mnt/data/miio/device.country
# this connects the robot to the wifi
/opt/rockrobo/wlan/wifi_start.sh
HANNES: Jetzt taucht der Roborock im eigenen WLAN auf und ist somit für den nächsten Schritt bereit:
HANNES: Die Installation von Valetudo!!!!!!!!!!! Jipiiiii
# this step activates valetudo
# you can repeat this step whenever you want to update valetudo
# Hint: Valetudo only works if you select "Patch DNS" while building the firmware
# Hint2: Using Valetudo disables the Cloud. You cannot use both!
cd /mnt/data/
wget https://github.com/Hypfer/Valetudo/releases/download/2021.07.0/valetudo-armv7-lowmem -O valetudo
chmod +x valetudo
cp /root/_root.sh.tpl /mnt/reserve/_root.sh
chmod +x /mnt/reserve/_root.sh
HANNES: Jetzt noch rebooten und im Router am besten noch die IP-Nummer fixieren (damit sie sich nicht mehr ändert) und dann alles wieder zusammenschrauben und freuen
Man kommt nun auf valetudo, indem man schlicht die IP-Adresse im Browser eingibt.