Code Monkey home page Code Monkey logo

Comments (11)

dgiese avatar dgiese commented on August 19, 2024 1

I will test the corresponding buttons later. If i remember correctly, its the following:
Dock the vacuum.
Gen1: Hold Home Button and press WiFi-reset button
Gen2: Hold Spot Cleaning and Home Button, and press WiFi-reset button
(instead of WiFi reset, you might also just power on the vacuum, e.g. press Power button 5 seconds to switch completely off, dock the vacuum)

from dustcloud.

dgiese avatar dgiese commented on August 19, 2024 1

yes, works.
see here: https://github.com/dgiese/dustcloud/wiki/Xiaomi-Vacuum-Robots-Factory-Reset

from dustcloud.

Galoula avatar Galoula commented on August 19, 2024

Hi,

Yes !

On he's firmware you have one with ADB modified.

I have put his "adbd" file into mine version, and I can get root shell througth USB port (adb shell).

from dustcloud.

alfredkrohmer avatar alfredkrohmer commented on August 19, 2024

Ok, so this will give me a shell in case I break the wifi somehow. Are there other ways to get a shell in case I flash an unbootable firmware image or an image that fails to start adbd? Or talking to the bootloader directly to flash something?

I read in the presentation slides that the device has two partitions and flashes one after the other in the update process. (The second partition only if it successfully boots the first one? How does it detect "successful"? Can I switch between the partitions?)

from dustcloud.

dgiese avatar dgiese commented on August 19, 2024

I think recovery should work always. So if you put the adbd binary into recovery, your should always be able to go back... at least as long as you do not mess around with the STM32 and its firmware.

When i remember correctly, triggering the watchdog sets a uboot variable to boot the passive copy of the system. If the watchdog is triggered again, the recovery will be restored. However, this requires the watchdog to work, and as it is a piece of software in the firmware, it may not work always.

from dustcloud.

alfredkrohmer avatar alfredkrohmer commented on August 19, 2024

Is there any documentation about the recovery? How would I force the device into recovery mode? Buttons? Or by sending something on the USB port while it's booting?

from dustcloud.

lordmochy avatar lordmochy commented on August 19, 2024

"Gen2: Hold Spot Cleaning and Home Button, and press WiFi-reset button
(instead of WiFi reset, you might also just power on the vacuum, e.g. press Power button 5 seconds to switch completely off, dock the vacuum) "

It dosen't work for me, can u explain it better? I just installed a root firmware and now I cant access to my vacuum. The light of the wifi is always off :(

from dustcloud.

peoro avatar peoro commented on August 19, 2024

Could you guys possibly confirm that it's possible to factory-reset the Xiaomi Roborock S50? Did anybody successfully try that?

@lordmochy did you have any luck? From what I read you should hold the main button, and press the reset one (the small close to the WiFi LED, you need a pen/toothpick to use it).

I'd like to root my robot, but before proceeding I'd love to have a first hand confirmation that I can easily bring the thing back to life even if I managed to screw up everything and make the system unbootable.

from dustcloud.

lordmochy avatar lordmochy commented on August 19, 2024

from dustcloud.

dgiese avatar dgiese commented on August 19, 2024

Uh how so? Never heard of the case, where the robot was not recoverable (if it was docked, buttons holded and reset pressed)

from dustcloud.

dgiese avatar dgiese commented on August 19, 2024

did not hear any update, close for now

from dustcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.