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

Flipper Crashing in BLESpam #227

Open
Choder7 opened this issue Sep 22, 2024 · 6 comments
Open

Flipper Crashing in BLESpam #227

Choder7 opened this issue Sep 22, 2024 · 6 comments
Labels
bugfix Something isn't working help-wanted Extra attention is needed

Comments

@Choder7
Copy link

Choder7 commented Sep 22, 2024

Describe the bug.

When clicking on Model Code in Android Device Connect in the Ble Spam App, the Flipper crashes saying it ran out of Memory.

Reproduction

  1. Open Ble Spam App on your Flipper
  2. Go to 6.Android Device Connect
  3. Hold OK
  4. Go to Model Code
  5. Press OK
  6. The Flipper should Crash saying: Out of Memory

Target

No response

Logs

No response

Anything else?

Probably happens cause there are a lot of devices loaded at the same time, and there isn't enough RAM.

Possible solutions:

  • unload other apps and Homescreen that take up RAM
  • don't load the entire list of devices, but only the ones visible and a few before and after the visible ones
@AztecCodes
Copy link

Yes I can reproduce this bug too.

Also in BLE Spam in Vibrate 'em All:

When you try to select a Toy Mode it automatically switches to "Bruteforce".

Reproduce:

  1. Open BLE Spam Application
  2. Go to Vibrate 'em All
  3. Hold OK
  4. Go to Toy Mode
  5. Click OK
  6. Select wanted Toy Mode - Example "Classic 1"
  7. Toy Mode should turn to "Bruteforce".

This happens for every Toy Mode besides "Random".

However it works fine if you change the Toy Mode by using the arrow buttons.

@srmrmax
Copy link

srmrmax commented Sep 22, 2024

The same problem

Sometimes it's works when I connect and disconnect the Bluetooth from options but no always

@AztecCodes
Copy link

@srmrmax
You don't have to activate Bluetooth in the Flipper Zero Settings or in the UI of Momentum to make BLE Spam work. It also works if you have Bluetooth deactivated.

@Willy-JL
Copy link
Member

Willy-JL commented Sep 23, 2024

This is a ram problem. Not enough ram to keep the huge list of 1000+ model codes in ram. Due to how submenu widgets work, I currently don't see any viable way to mitigate this.

@Willy-JL Willy-JL added bugfix Something isn't working help-wanted Extra attention is needed labels Sep 23, 2024
@AztecCodes
Copy link

What about the bug in Vibrate 'em All I described? You can open the list, but when you try to select one it always switches to "Bruteforce".

@Willy-JL
Copy link
Member

@AztecCodes found the issue, was so stupid lol Next-Flip/Momentum-Apps@7219d03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Something isn't working help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants