root xiaomi rockrobo S5 #dataprotection #privacy

Simple guide to root and replace the standard firmware of your xiaomi vacuum robot in order to avoid xiaomi cloud (and more!).

(1) Install Mi Home v5.4.54 to extract TOKEN (this version writes the TOKEN to internal memory; no rooted android device required)

Folder: /sdcard/SmartHome/logs/Plug_Devicemanager/
File: yyyy-mm-dd.txt

Example:
"SmartHome 1397997:[DEBUG]-06-22 13:00:33.713 processResult in result={"code":0,"message":"ok","result":{"list":[{"did":"229311297","token":"413374423256755687776c7770474c34","longitude":"0.00000000","latitude":"0.00000000"…""

TOKEN: 413374423256755687776c7770474c34
Device ID (DID): 229311297

In case you cannot obtain Mi Home v5.4.54, read here for other solutions..

(2) Get the device IP from your router

(3) Open Terminal:

mirobo --ip 192.168.1.xx --token 413374423256755687776c7770474c34 status

(4) Create custom firmware using this firmware builder (currently using v1820/Gen2, preinstalled Valetudo and generic adbd are recommended):

https://dustbuilder.xvm.mit.edu

Further information:

(5) Download and extract dustcloud from Github:

https://github.com/dgiese/dustcloud

(6) Copy generated firmware to “dustcloud/devices/xiaomi.vacuum/firmwarebuilder”

(7) Flash firmware! (installation can take 5-10 min)

python3 flasher.py -a 192.168.1.xx -t 413374423256755687776c7770474c34 -f v11_001820.pkg

Additional suggestions:

promoting open source on android

>> F-Droid: Free and Open Source Software AppStore

F-Droid

Recommendations:

>> AdAway: Blocking ads
https://github.com/AdAway/AdAway

>> AfWall+: IPtables-based firewall
https://github.com/ukanth/afwall

>> XPrivacy: Privacy manager (req. Xposed framework)
https://github.com/M66B/XPrivacy

>> NetMonitor: Network monitoring
https://github.com/SecUSo/privacy-friendly-netmonitor

>> USB Mountr: Mount ISO images as USB thumbdrive to boot distros
https://github.com/Streetwalrus/android_usb_msd

>> Orgzly: Plain-text task/note management*
https://github.com/orgzly/orgzly-android

>> Syncthing: Folder cross-platform synchronization*
https://github.com/syncthing/syncthing

>> AnySoftKeyboard: Multilingual keyboard
https://github.com/AnySoftKeyboard/AnySoftKeyboard

>> OsmAnd: Map/Navigation
https://github.com/osmandapp/Osmand

>> Transportr: Public transportation
https://github.com/grote/Transportr

>> NewPipe: Youtube Client
https://github.com/TeamNewPipe/NewPipe

>> Shuttle: Music Player
https://github.com/timusus/Shuttle

>> FaceSlim: Facebook Client
https://github.com/indywidualny/FaceSlim

>> Twidere: Twitter Client
https://github.com/TwidereProject/Twidere-Android

>> Signal: Messenger
https://github.com/WhisperSystems/Signal-Android

*combined usage of Orgzly and Syncthing for cross-platform task/note management

160225/droplet_wallpaper

An old photograph of a droplet, which was also taken in Munich’s English Garden using my ZEISS Touit Macro lense.

It’s cut and resized to fit your respective display resolution (4:3, 16:9, 16:10, Iphone, Ipad; 17 resolutions in total).

>> 160225_droplet_wallpaper.zip

This content is copyright by the original author. It is only for personal use on computers, cellular phones, and other personal electronic devices. All other uses (whether or not for profit) including redistribution (with or without modification of the original work) is strictly prohibited by law without additional written permission by the copyright holder. Direct hyperlinking to the downloadable content is prohibited.

160318/snowflake_wallpaper

Here’s the first wallpaper I would like to share with you: This close-up photograph of a “spring snowflake” [Leucojum vernum] was taken in Munich’s English Garden with my ZEISS Touit Macro lense.

It’s cut and resized to fit your respective display resolution (4:3, 16:9, 16:10, Iphone, Ipad; 17 resolutions in total).

>> 160318/snowflake_wallpaper.zip

This content is copyright by the original author. It is only for personal use on computers, cellular phones, and other personal electronic devices. All other uses (whether or not for profit) including redistribution (with or without modification of the original work) is strictly prohibited by law without additional written permission by the copyright holder. Direct hyperlinking to the downloadable content is prohibited.