Giter Site home page Giter Site logo

p2028 rn plugin about dreame-vacuum HOT 9 CLOSED

rezmus avatar rezmus commented on June 28, 2024 1
p2028 rn plugin

from dreame-vacuum.

Comments (9)

rezmus avatar rezmus commented on June 28, 2024 1

p2140*

expired

from dreame-vacuum.

rezmus avatar rezmus commented on June 28, 2024 1

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.

rezmus avatar rezmus commented on June 28, 2024 1

@Tasshack last one for r2215 packed/bundled without minify is quite old (ver 16)

https://cdn.cnbj1.fds.api.mi-img.com/rn-plugins/2022-09-14/signed_10073_1010069_16_ANDROID_bundle_4cc71d7fdd92822f6e84552451bbc15f.zip

here is source code of last plugin for r2215 (ver 34) before pack/bundle

https://ufile.io/g4ozwm0l

from dreame-vacuum.

Tasshack avatar Tasshack commented on June 28, 2024

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.

Tasshack avatar Tasshack commented on June 28, 2024

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.

rezmus avatar rezmus commented on June 28, 2024

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.

Tasshack avatar Tasshack commented on June 28, 2024

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.

Tasshack avatar Tasshack commented on June 28, 2024

@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.

Tasshack avatar Tasshack commented on June 28, 2024

This is very useful, thank you very much.

from dreame-vacuum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.