Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most options don't work on a mi4 firmware version 2.5.3_0011.0013 #4

Open
KlausMu opened this issue Dec 9, 2024 · 1 comment
Open

Comments

@KlausMu
Copy link

KlausMu commented Dec 9, 2024

Hi, thanks a lot for your work!

I'm using the script on a mi4 with firmware version 2.5.3_0011.0013

rsls
RSLS can't be applied

dms
works

sld
SLD can't be applied

rfm

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "\bw-patcher\bwpatcher\__main__.py", line 37, in <module>
    output_data = patch_firmware(args.model, data, args.patches.split(","))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\bw-patcher\bwpatcher\utils.py", line 60, in patch_firmware
    res = patch_map[patch](patcher)()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\bw-patcher\bw-patcher\bwpatcher\core.py", line 44, in region_free
    raise NotImplementedError()
NotImplementedError

fdv
works

mss

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "\bw-patcher\bwpatcher\__main__.py", line 37, in <module>
    output_data = patch_firmware(args.model, data, args.patches.split(","))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\bw-patcher\bwpatcher\utils.py", line 58, in patch_firmware
    res = patch_map[patch](patcher)(value)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\bw-patcher\bwpatcher\core.py", line 63, in motor_start_speed
    raise NotImplementedError()
NotImplementedError```

@encryptize
Copy link
Collaborator

encryptize commented Dec 9, 2024

Not every patch is available for every scooter. You can see the list of patches available for your scooter in the webui or by analyzing the app.py file. Currently, these include RSLS, DMS, SLD and FDV for Mi4. The others will return NotImplementedError.

firmware version 2.5.3_0011.0013

Patches for Mi4 have only been prepared for MCU FW version 0011. They have not yet been updated for newer firmware versions.

@KlausMu KlausMu changed the title Most options don't work on a mi4 firmware Most options don't work on a mi4 firmware version 2.5.3_0011.0013 Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants