4

I bought I vacuum robot from Dreame and needed to replace the Lidar sensor myself as in my country (Brazil) don't have technical assistance, but now it is not working properly because it says that don't have a calibration file to Lidar sensor and the menu for calibration is hidden in the APP, I need change one line in "main.bundle" file to be enable the hidden menu, but I tried in Notepad, VSCode, NotePad++ and others, most part of code is readable, but in the begning of the file have some info that is not decode corectly, and if I try to edit and save it not work correctly. Is there some way to reverse engenigering this file?

The file is below:

https://1drv.ms/u/s!AkhlsFXbkbX4oIFHQ3gEFl19OTPTEA?e=I0kIrA

And I need remove following code, to enable the hidden menu.

&& data.data.indexOf(_miot.Service.account.ID) >= 0

2
  • How do you know the line you have to remove? Is the source code somewhere available? To my knowledge `main.bundle´ contains Hermes VM bytecode (HBC), so modifying is not that simple. There are some decompilers available but I am not sure if they also support recompiling. See also reverseengineering.stackexchange.com/q/26463/1848
    – Robert
    Apr 15, 2023 at 11:52
  • @Robert, I know the line to remove because the most part of the file is readable, only some parts in the begining of the file that is not readable, but after modify it don't work. I tried this suggested tool without success.
    – Trix
    Apr 18, 2023 at 10:44

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.