Skip to content

BadUSB in JS - Momentum MNTM-009 - Error on "Copy-Item" in Powershell #45

Description

@jeffman78

Hi Derek. I am encountering an issue with BadUSB in JS mode.
After modifying only the keyboard layout (switching to fr-FR), I received this error (see screenshot below).

As mentioned in the documentation and stated in the script, I have correctly placed a 'demo.mp3' file in the 'payloads/' directory, which is located in the same directory as the JS script ; the "Demo_4MB.img" file was created correctly, and when mounted from another script, the demo.mp3 file there.

However, the error indicates that the 'F:' drive no longer exists at the time of the copy (see the "Copy-Item" call), and other errors suggest that the image has been prematurely ejected (as the F drive is no longer available).

In addition to crashing the PowerShell script, the Flipper also crashed. I am running MOMENTUM firmware (MNTM-009 / 23 JAN 2025).
Thank you in advance for your suggestions !
Jeff

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions