FORUMS
Remove All Ads from XDA

[APP][Android 4.4+][iOS 8.0+] XVacuum Firmware (Xiaomi Vacuum - Roborock v1/v2/v3)

22 posts
Thanks Meter: 34
 
By .//Hack, Junior Member on 3rd February 2019, 02:15 PM
Post Reply Email Thread
XVacuum Firmware

Flashing firmwares and sound packages from your smartphone (Android and iOS)
Roborock v1/v2(S50/51/55), T6, S6, 1S are supported.

The first and second generations have common language packs. The third (T6, S6, 1S) has its own packs.

Android:
(only pkg is supported, neither 7z, nor zip, nor rar but only pkg in the unarchived view; as for sound packages, be aware that wav-files in an archive isn't a pkg-package). These packages should be opened only from the internal storage (/sdcard). It will better if you place packages into root folder. Also avoid any special characters in file names, as the robot isn't able to download such files.

iOS:
Firmwares and sound packages must be placed in Documents folder of the application by iTunes (Shared Files section), iTools, iFunbox or other similar applications. (only pkg is supported, neither 7z, nor zip, nor rar but only pkg in the unarchived view; as for sound packages, be aware that wav-files in an archive isn't a pkg-package). Also avoid any special characters in file names, as the robot isn't able to download such files.

At the moment, there are two ways (see below):
  1. Without Wi-Fi reset of the robot (you need to get the token by any available ways).
  2. With Wi-Fi reset (the application will get the token by itself)


The instruction without Wi-Fi reset (you need to get the token by any available ways):
  1. Launch the application.
  2. Click the menu and then Settings.
  3. Fill the IP and token of the robot.
  4. Click the "Save" button.
  5. The application will ask you to restart the application for applying the settings, kill the application:
    • Android: double click to "Back" button or click "Exit" from the menu.
    • iOS: double click to "Home" button and swipe up the application to kill it.
  6. Launch my program again. The program is written for "blondies": there is almost no way to make mistakes. It consists of two buttons (firmware and sound), and that's all. An "About" menu is also available should you want to know more about me and contribute to the project.
  7. The buttons will be inactive until the program has established connection with the robot and received a status.
  8. As soon as the status have arrived, the buttons become active and you can start flashing the robot.
  9. Choose a firmware or sound package.
  10. Notice the log under the buttons and rejoice at the quick and easy flashing.

If you got an error:
  • "timeout: Could not connect to the vacuum, handshake is timeout", it means that you filled the invalid IP of the robot.
  • "timeout: Call to the vacuum timed out" after 10 tries to get the status, it means that you filled the invalid token.


The instruction with Wi-Fi reset (the application will get the token by itself):
  1. You need to reset the Wi-Fi settings of the robot to use this program (you will need to add the robot to MiHome again after all processing is complete).
    1. For the first version: press the "Home" and "Power" buttons simultaneously within 3 seconds.
    2. For the second version: press the "Spot Clean" and "Home" buttons within 3 seconds.
  2. Your robot should say that Wi-Fi is reset and a new access point should appear in your smartphone. Connect to it.
  3. Disable your mobile internet because some phones ignore Wi-Fi unless it provides an internet connection.
  4. Launch my program. The program is written for "blondies": there is almost no way to make mistakes. It consists of two buttons (firmware and sound), and that's all. An "About" menu is also available should you want to know more about me and contribute to the project.
  5. The buttons will be inactive until the program has established connection with the robot and received a token and status.
  6. As soon as the token and status have arrived, the buttons become active and you can start flashing the robot.
  7. Choose a firmware or sound package.
  8. Notice the log under the buttons and rejoice at the quick and easy flashing.
  9. After all processing is complete, you will need to add the robot to the MiHome.

Attention!
Due to the built-in file manager, Play Protect considers the application potentially dangerous and doesn't allow most users to install it. To install the application anyway:
1. Open "Play Market".
2. Tap on "Play Protect" in the menu.
3. Disable the "Check security risks" option during the installation of the application.

Android:
Download the application: XVacuum Firmware 3.3.0.apk
Developer: .//Hack
Minimal version of Android: 4.4

iOS:
Download the application: XVacuum Firmware 3.3.0.zip (unpack it before using)
Developer: .//Hack
Minimal version of iOS: 8.0
If you don't have JailBreak use Cydia Impactor.

If you have wav-files and want to produce a pkg file, just use my program wav2pkg (Windows) - below.

Do you want to thank the developer financially?
Details
Tinkoff card: 5536 9137 9197 1969
Sberbank card: 2202 2007 1004 4098
Kykyryza card: 2 960109 287406
PayPal: [email protected] (EUR, USD, RUR)
Yandex.Money: 41001365201505
WebMoney:
WME: E266145873860
WMZ: Z130755667036
WMR: R830172982278

History
[HIDE]21.09.2019 (3.3.0)
  • The path to the selected file is displayed in the log

08.09.2019 (3.2.0)
  • The information about the vacuum is got in the background mode
  • Small fixes

25.08.2019 (3.1.2)
  • Added information about a vacuum to the log (Model, Firmware and IP)
  • Disabling the regional lock to have able to flash a firmware without the regional lock
  • Small fixes

24.07.2019 (3.0.1)
  • Small bug fixes
  • Added information about support for Roborock v3 (T6, S6, 1S)

09.06.2019 (3.0.0)
  • You can flash the robot without Wi-Fi reset (the IP and token must be filled in the setting from the menu, after saving, the setting you need to restart the application).
  • Logs are extended. It will show more information in case of unexpected errors.
  • Now, the bank details can be copied by the click on the neded line.
  • In case of success flashing, a window with information about me will be shown.

31.03.2019 (2.2.0)
  • Fixed the log block collapse.
  • Small fixes: mainly for iOS.

25.03.2019 (2.1.1)
  • Small fixes and iOS version.

14.01.2019 (2.1.0)
  • The code is significantly refactored and compressed.

14.01.2019 (2.0.0)
  • Now the application has a built-in file manager. You can select only pkg (many people tried to flash everything except pkg, not understanding what they did wrong). The "Back" button closes the file manager but does not move up one level. I'll add it in next versions.
  • Added new bank details to the "About" window.

13.01.2019 (1.0.2)
  • Now the socket closes together with the application. You won't get the error EADDRINUSE (Address already in use) when you restart the application.

12.01.2019 (1.0.1)
  • The window "About" can be closed with the "Back" button.
  • The menu can be closed with the "Back" button.
  • The application is now compressed at less than 1MB.
  • Added the current version to the "About" window.
  • Minimal version of Android is 4.4 (most likely the log block will be collapsed on Android 4-5, so you can see one line only).

9.01.2019 (1.0.0)
  • The first released version.

Known issues
  1. java.net.BindException: bind failed: EADDRINUSE (Address already in use): or similar errors with "Address already in use" can occur if other programs use the 8080 and 8081 ports. If you cannot identify such a program, just close all programs and restart XVacuum Firmware.
  2. If your phone has gone to the sleep, most likely the phone will stop accepting connections. The robot will return an error, since it won't be able to download the firmware;
  3. The "Back" button closes the file manager but does not move up one level.
  4. [Android]A file can be chosen from the internal storage (/sdcard) only
The Following 5 Users Say Thank You to .//Hack For This Useful Post: [ View ] Gift .//Hack Ad-Free
3rd February 2019, 02:16 PM |#2  
OP Junior Member
Thanks Meter: 34
 
Donate to Me
More
wav2pkg
The program converts wav-files to pkg-package and backward (Windows)

Unpack the program to the root of any disk (advanced users: the path must not contain any spaces or non-Latin symbols). For example: C:\wav2pkg

The instruction to make pkg-package:
  1. Place all folders with wav-files to the "voicepacks" folder. The folders must contain only Latin symbols, digits and/or underscores. You can place any number of folders. The program converts them into separate pkg files. The path must be, for example, C:\wav2pkg\voicepacks\english\*.wav
  2. Launch wav2pkg.bat from the wav2pkg folder
  3. The program will start displaying information about the progress of the conversion.
  4. Produced packages will be placed into the "voicepacks" folder and carry the names of the folders that they were converted from.

You don't need to remove pkg-files before the next launch of the program.

The instruction to extract wav-files from pkg-package:
  1. Place all pkg-files to the "pkgs" folder. The packages must contain only Latin symbols, digits and/or underscores. You can place any number of packages. The program extracts them into separate folders. The path must be, for example, C:\wav2pkg\pkgs\english.pkg
  2. Launch wav2pkg.bat from the wav2pkg folder
  3. The program will start displaying information about the progress of the conversion.
  4. Produced wav-files will be placed into folders which carry the names of the packages that they were extracted from and they will be placed into the "pkgs" folder.

You don't need to remove folders before the next launch of the program.

Download: wav2pkg.zip
The Following 2 Users Say Thank You to .//Hack For This Useful Post: [ View ] Gift .//Hack Ad-Free
4th February 2019, 09:08 PM |#3  
OP Junior Member
Thanks Meter: 34
 
Donate to Me
More
Russian community of flashing of this vacuum robot
The Following User Says Thank You to .//Hack For This Useful Post: [ View ] Gift .//Hack Ad-Free
6th February 2019, 10:59 AM |#4  
OP Junior Member
Thanks Meter: 34
 
Donate to Me
More
Does no one need this? Or maybe did I place the thread in the wrong forum's section? Because the thread in the russian community is very hot. The application was downloaded more than 4000 times.
The Following User Says Thank You to .//Hack For This Useful Post: [ View ] Gift .//Hack Ad-Free
24th February 2019, 09:41 PM |#5  
mosespl's Avatar
Senior Member
Flag Wrocław
Thanks Meter: 200
 
More
Could you please explain for what I need this? I have this s50 robot, but I don't know the exact purpose of this topic. I have eu version and english voices. There is some modifications or funny voices?
The Following User Says Thank You to mosespl For This Useful Post: [ View ] Gift mosespl Ad-Free
6th April 2019, 10:36 PM |#6  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by .//Hack

Does no one need this? Or maybe did I place the thread in the wrong forum's section? Because the thread in the russian community is very hot. The application was downloaded more than 4000 times.


Thank you now have ssh access. Looking for some language packs now : )
9th April 2019, 10:59 AM |#7  
TTR6214's Avatar
Junior Member
Thanks Meter: 0
 
More
Work perfectly on Gen1 !
I flashed this french sound pack
(thank Pierre in comment: link)
14th April 2019, 03:08 AM |#8  
Junior Member
Thanks Meter: 0
 
More
Thanks buddy!!! Finally found a thread in English that covers firmware flashing.

I have the Gen 2 (s50) international version and want to flash to China version in order to connect to China server.

Where do I find the latest China version firmware for s50?


Sent from my iPhone using Tapatalk
12th May 2019, 10:43 AM |#9  
Senior Member
Thanks Meter: 6
 
More
Does anyone have all the instruction lines for sound pack? I am making a pkg for dutch. I have the instruction lines for error 1-19. But I still need to have english instructions for some commands. I hope someone can help me. Otherwise how can i extraxt a pkg, so I can see what wav files are inside the pkg?
Thank you.
19th May 2019, 09:55 AM |#10  
Senior Member
Thanks Meter: 6
 
More
Dutch voice pack/Nederlandse stem
I made a dutch voice pack/Nederlandse stem voor Mi Robot Vacuum/Roborock.
https://drive.google.com/open?id=1Tt...JEkc6VzB2axFMC

I used the list with the sound instructions from here: https://4pda.ru/forum/index.php?show...#entry83141327

Thank you for this great apk to transfer the pkg to the vacuum cleaner.
27th May 2019, 08:21 AM |#11  
OP Junior Member
Thanks Meter: 34
 
Donate to Me
More
I updated the application. I have added support of iOS
Post Reply Subscribe to Thread

Tags
flashing, roborock, xiaomi vacuum

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes