rand256 / valetudo

Valetudo RE - experimental vacuum software, cloud free
Apache License 2.0
667 stars 73 forks source link

Can't flash firmware #471

Closed tarteAuxPommes closed 2 years ago

tarteAuxPommes commented 2 years ago

Hello,

I tried to flash my Roborock S50 but it doesn't work. I can choose the firmware but in mirobo.php, the following line return false in flash_firmware function. if($result=$this->device->firmware_install("{$this->webserver->url}/firmwares/$name",md5_file($firmware))) {

But the in the following line, the "error" property is NULL. So i'm stuck without knowing what's the issue. $this->write("Sending firmware Err: <c:red>{$this->device->error}</c>", true);

I tried to flash voice package and it worked.

Can you help me ?

Vacuum Model: Roborock S50 Valetudo Version: None

rand256 commented 2 years ago

Device with original unpatched fw version higher than 1910 can't be flashed via the traditional ways. You need to downgrade fw to 18xx via factory reset and try again. If you flash patched fw then, you will be able to use mirobo in newer versions too. Installed Valetudo RE provides another way to flash a new firmware via its Web UI.