Comments (9)
p2140*
expired
from dreame-vacuum.
do something like this and you will be able to modify it
<?php
$file = file_get_contents("main.bundle");
file_put_contents("main.fixed.bundle","\n" . str_replace("\x00" . "__d(function", "\x0a" . "__d(function", substr_replace(substr($file, strpos($file, "__d(function")), "\n__r(10120);\n__r(10001);", -1)));
?>
from dreame-vacuum.
@Tasshack last one for r2215 packed/bundled without minify is quite old (ver 16)
here is source code of last plugin for r2215 (ver 34) before pack/bundle
from dreame-vacuum.
This is indeed very useful, i wish i had this four months ago, thank you very much.
By any chance, you might have one for the p2008, p2041 or p2140 so that i can analyse vslam map rendering too.
from dreame-vacuum.
Thanks again.
Do you have information about how to convert this into bundle again for replacing and running on the App as modified version of the plugin? I saw that there are modified versions of some other plugins on forums so there must be a tool for modifying the bundle header.
from dreame-vacuum.
iirc this is done by xiaomi serverside after vendor uploads zipped source code for audit/testing. you can modify stock main.bundle (after stripping indexed-ram thing) and use in app, but i dont have tools to build bundle from source code.
from dreame-vacuum.
I just need to add few lines of debug code, i can do it on the bundle. I tried modifying the stock bundle but plugin it did not load after that. I will download and check one of the modified plugins and try again.
Thanks for the information.
from dreame-vacuum.
@rezmus they have actually started uploading the minified versions of the plugins and now it is much harder to reverse engineer the new features.
Do you happen to have the unminified version for the dreame.vacuum.r2215
?
from dreame-vacuum.
This is very useful, thank you very much.
from dreame-vacuum.
Related Issues (20)
- Installation problem HOT 3
- Vacuum is not only cleaning selected rooms HOT 2
- Support for Dreame Mower A1 HOT 1
- Dreame X40 Ultra various functions and the map no longer work HOT 6
- Vacuum map (camera image) is not available anymore HOT 9
- Shortcut doesn´t work HOT 1
- Room Cleaning Dosent work HOT 1
- Xiaomi Robot Vacuum S10T support HOT 1
- Have to manually install updates HOT 2
- Integration does not start: unable to login to device over cloud HOT 4
- Add support for Xiaomi Robot Vacuum D10s HOT 2
- vacuum_clean_segment How can I set different clean modes for each room? HOT 1
- Support For Mova M1 dreame.vacuum.r2380 HOT 34
- Translation for Default Rooms HOT 4
- X30 Ultra Not recognized HOT 4
- Cannot add map on xiaomi x20+ HOT 1
- Support for Xiaomi Robot Vacuum E10 HOT 1
- Update failed, retrying 2: 'str' object is not callable HOT 3
- Will Dreame S20 pro (Mop Pad Swing) be supported in the future? HOT 3
- Plug-In on HA 2024.6.4 not working - async_write_ha_state HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dreame-vacuum.