Manual Replacement of RN Plugins in the MiHome mod by VEVS project
vevs1. If you have Android version 9 or below, proceed directly to step 2 (three paragraphs below). If you have Android 10+, you need to first switch the app to use an external folder by doing the following:
- Toggle the "Log useful data" option in the menu "Profile - Advanced Settings - Laboratory." This will automatically prompt the necessary permissions for external storage. You don't need to leave the logging enabled!
- Restart the app by either swiping it away in the recent apps list or stopping it in the phone settings (the latter is more reliable). After the restart, a folder
/INTERNAL_STORAGE/vevs/should be created automatically. If so, manually create a subfolder/files/inside this folder and restart the app again; - Refresh the device statuses by swiping down on the main screen and check if auxiliary files/folders start appearing in the
/files/folder created in the previous step. If this does not happen, it is pointless to proceed further, troubleshoot to find out what went wrong. If the files/folders do appear, everything is working correctly, and you can proceed to step 2.
2. Launch the original plugin by simply tapping on the device card on the main screen. Ensure you wait for the interface to download and launch, allowing you to control your device. After the plugin successfully launches, return to the main screen of the app.
3. Press and hold the device card on the main screen, then select "Rename" from the menu that appears. In the next window, memorize or copy to the clipboard the value of the "Plugin" string (the first 7 digits), as it will be needed later.
4. Search the internet for a modified plugin for your device. Sometimes they are available as just the executable file main.bundle (which is not the most reliable option), and sometimes as a complete archive. The project's website offers complete archives, named according to plugin identifiers. The replacement method will slightly differ depending on whether you have a file or an archive.
5. If you have Android version 9 or below, the following operations should be performed in this path:
/INTERNAL_STORAGE/Android/data/com.xiaomi.smarthome/files/plugin/install/rn/PLUGIN_IDENTIFIER/XXXXXXX/android/
If you have Android 10+ (and you followed the first step of the instructions), the path will be:
/INTERNAL_STORAGE/vevs/files/plugin/install/rn/PLUGIN_IDENTIFIER/XXXXXXX/android/
Here, PLUGIN_IDENTIFIER is the number obtained in step 3 of the instructions, and XXXXXXX is the set of numbers corresponding to the currently installed plugin version, which is not relevant for the replacement process.
6. If you downloaded the plugin as an full archive (e.g., from the project's website), delete the contents of the /android/ folder at the specified path (do not touch the model_list.json and conf.json files one level above!), and unpack the contents of the folder with the same name from the archive into it. If you downloaded only the main.bundle file, simply copy it to the specified path, replacing the existing file.
7. Restart the app again and launch the plugin to check - everything should now be translated :) If it didn’t work, carefully reread the instructions once again and try using a different file manager.