Open utterances-bot opened 4 years ago
Another way to unstuck the vacuum update is described here (without need to root the device): https://www.roboter-forum.com/index.php?thread/41785-lösung-für-das-update-problem-beim-xiaomi-styj02ym/
Another way to unstuck the vacuum update is described here (without need to root the device): https://www.roboter-forum.com/index.php?thread/41785-lösung-für-das-update-problem-beim-xiaomi-styj02ym/
The problem with that one is that you're redirecting all traffic of this hostname to some random Chinese IP address and have no control of what is being sent or downloaded from there. The updates are not signed in any way, so you're risking downloading malicious code to a device that's constantly connected to your home network and the Internet.
inetnum: 111.224.0.0 - 111.227.255.255
netname: CHINANET-HE
descr: CHINANET hebei province network
descr: China Telecom
descr: No.31,jingrong street
descr: Beijing 100032
country: CN
admin-c: CH93-AP
tech-c: BR3-AP
status: ALLOCATED PORTABLE
@mLupine I am trying to update my vacuum from your tutorial but after typing adb shell sed -i -e...
I get error sed: missing command
. Can you help me?
BTW: There are no comments on your blog
EDIT: I've executed adb shell and then typed the rest of the command directly on the vacuum and I think it worked, but right now the vacuum is blinking and not starting properly.
I've executed adb shell and then typed the rest of the command directly on the vacuum and I think it worked, but right now the vacuum is blinking and not starting properly.
That's correct. It won't start fully until you complete all the remaining steps in the guide.
BTW: There are no comments on your blog
Yeah, I'm debugging the problem. Sometimes they just hide. A refresh is usually enough to bring them back, or you can just go directly to the GitHub issue and comment there.
@mLupine ok, I managed to connect via SSH, but after typing password I get permission denied :/
@mLupine ok, I managed to connect via SSH, but after typing password I get permission denied :/
Yeah, someone already reported that the password changes. I'll update the guide soon, but for now here's a short description of how to do that properly:
vim /etc/dropbear/authorized_keys
, press "i" for edit mode and paste your public SSH key there:wq
)chmod 600 /etc/dropbear/authorized_keys
Keep in mind that if your private key is not in $HOME/.ssh/id_rsa
, you will need to add a -i path/to/id_rsa
parameter to the SSH command.
@mLupine I did it in in another, simpler way. I just connected to the vacuum using adb and typed passwd to change root password :)
The problem with that one is that you're redirecting all traffic of this hostname to some random Chinese IP address and have no control of what is being sent or downloaded from there. The updates are not signed in any way, so you're risking downloading malicious code to > a device that's constantly connected to your home network and the Internet.
@mLupine I've compared the files before changing the DNS and after. Downloaded in both cases from https://cdn.cnbj0.fds.api.mi-img.com/miio_fw/6b4f525a582876ddc13d376fee21d9e0_upd_viomi.vacuum.v7.bin?GalaxyAccessKeyId=5721718224520&Expires=1591191344000&Signature=Y1OSsScYEarrCTx9ebhqb813emM=
Binary the files are the same. Do you have a local copy of 0047 firmware? Can you modify your DNS and confirm?
Thanks
Can I start upgrade from command line, not from APP? My vaccum didn't respond in APP. I have ssh working, downloaded firmware file. I decompresed firmware file, there is rootfs.img (squashfs) and I can decompress this file too (by squashfs-tools).
After 0.47 MAJ, I had to change the root password. (luckily I had pushed a key, but I still wanted to test password authentication) Also after vacuum reboot, i had to change again the root password... i don't understand why! is it possible that the root password is reset after each reboot?
After 0.47 update, I had to change the root password. (luckily I had pushed a key, but I still wanted to test password authentication) Also after vacuum reboot, i had to change again the root password... i don't understand why! is it possible that the root password is reset after each reboot?
@Nulde I have the same problem, I set my password using passwd but after reboot it changed...
after password change, make backup of /etc/shadow and add to rc.local command cp -f /place_of_backup/shadow /etc or check scripts in init.d folder
probably password change script is in /lib/functions.sh
@kocjan1 thanks for help but I am absolutely beginner in this, I only wanted to change the voicepack and timezone but it is not as easy as it looks :)
default voicepack - /etc/sysconf/sysConfig.ini timezone - /etc/config/system
Unfortunately this does not solve the problem that scheduled tasks still start based on the Chinese time zone
@kocjan1 i'll try and explore
Thanks
Is there somewhere you can get English voice pack for this vacuum?
@rymam U mast change line "option timezone CST-x" where x is Your time zone eg. CST-2 @owlcoding Yes, from firmware file. Link in article v46 or v47 (different voices and quality of sound) U need this tool https://github.com/plougher/squashfs-tools to decompress firmware file.
@rymam After time zone change, reboot vaccum and check time (command date)
Hi! those who have root access, tell me. Is there a configuration file in the robot's firmware in which you can turn sensors on and off, adjust the power of the brush, and so on. Something, I can’t find anything like that. Found only LDS configuration(((
Link to download Firmware 0046 and 0047 is here: 0047 https://gofile.io/d/i5sou4 0046 https://gofile.io/d/rp95Si
Hi,
Thank you for the tutorial, but I am stuck a the first step, I keep connecting and disconnecting the robot, nothing is showing, neither when running dmesg
(MacOs), Any thoughts?
Hi, is there any way, how to change WiFi SSID and password where the vacuum connects to? A managed to root the vacuum and execute few adb commands, but now I can't proceed the misc-upgrade command, because vacuum isn't connected to the WiFi. And I don't have access to the previous WiFi where it was connected before.
Thank you :)
Hi, another question - can anybody please upload any FW to the V7 vacuum again? All links stopped working at all :/ I'd like to try the hard-core method via TTL-USB, but can't find FW anywhere. Thank you ! @tonioa
You can download it here https://gofile.io/d/T7Pcjz
Thank you! You're lifesaver
Hi! all links stopped working again...where i can download it, please?
Hi! Someone please share any version of the STYJ02YM firmware. All links above are no longer active. Thank you in advance
Hi Lupin! Thanks a ton for your work here. It helped me get my V8 back to life after trying to get rumpeltux' script to get Valetudo to work on it.
I was stuck at accessing ssh @root IP address part and didn't know that "IP addr" would get me the info when in shell... maybe you might want to add that for noobs like me. 😊
Now I need to figure out how to do it correctly
@everybody - if your looking for FIRMWARE - try the nice community at telegram as mentioned in first paragraphs here: https://valetudo.cloud very helpful folks and probably quite a few who have backups...
BTW
adb shell sed -i -e "/PasswordAuth/ s/off/on/g" /etc/config/dropbear
didn't work locally for me either. had to move to shell to make it work. maybe you'd want to add that too to your text...
Hi,
Can anyone re-upload the V47 file and, if possible a nand backup of the STYJ02YM please ?
I cannot find these files anywhere, all links are down.
Thanks a lot
скиньте пж. прошику v46 а то 47 говно. очень прошу, надоели уборки на половину.
Hi, i can´t download the firmware from that URLs.. :(
I cannot access the files. Will you renew the lines?
Fixing stuck Xiaomi STYJ02YM updates
https://blog.lupin.rocks/fixing-xiaomi-styj02ym-update-stuck-on-80/