UberGuidoZ / Flipper

Playground (and dump) of stuff I make or modify for the Flipper Zero
GNU General Public License v3.0
13.56k stars 3.19k forks source link

ESP32 chip with flipperzero pcapfiles saved empty #501

Closed Unixeer closed 8 months ago

Unixeer commented 11 months ago

whilist the logs contents are written just fine, it seems it only manages to save pcap files names but contents are zero 😢

erobillard commented 10 months ago

Same issue. Using an ESP32 controller w the WROOM chipset. I've tried flashing with the included bins (v2.4, which results in empty pcap files), copying the v10.4 *_sd_serial.bin file over the bins in the Marauder, SD, and WROOM folders (which flashes, but results in the ESP32 endlessly resetting / solid LED), and replacing the included files with the latest v13.3 files (also produces empty pcap files). When able to scan and list APs, the first message that comes up basically says the WM app can't mount the SD card, I assume it's still looking for an SD device mounted on the ESP32 rather than the FZ's SD. I think what we need is a switch / option in the flash menu to select the FZ SD vs. one mounted to the ESP32 - perhaps a "standalone" vs "FZ-connected" option?

mikezm commented 10 months ago

@erobillard I found that I had to download the esp32_marauder_v0_13_5_20231126_flipper_sd_serial.bin file in order to fix the zero byte pcap file issue.

Yet when I used the flash.bat file in the found in this repo in the Flipper/Wifi_DevBoard/FZ_Marauder_FlasherFZ_Marauder_v2.5.zip file, I kept getting the error: Please get and copy the last firmware from ESP32Marauder's Github Releases

Line 65 of the flash.bat files shows the issue. It's pattern matching on a file that ends in ...flipper.bin.

A quick/temp fix is to place the esp32_marauder_v0_13_5_20231126_flipper_sd_serial.bin in the Marauder folder and rename it to esp32_marauder_v0_13_5_20231126_flipper.bin which allows the flasher to discover the file and flash it.

kmsmith222 commented 8 months ago

@erobillard I found that I had to download the esp32_marauder_v0_13_5_20231126_flipper_sd_serial.bin file in order to fix the zero byte pcap file issue.

Yet when I used the flash.bat file in the found in this repo in the Flipper/Wifi_DevBoard/FZ_Marauder_FlasherFZ_Marauder_v2.5.zip file, I kept getting the error: Please get and copy the last firmware from ESP32Marauder's Github Releases

Line 65 of the flash.bat files shows the issue. It's pattern matching on a file that ends in ...flipper.bin.

A quick/temp fix is to place the esp32_marauder_v0_13_5_20231126_flipper_sd_serial.bin in the Marauder folder and rename it to esp32_marauder_v0_13_5_20231126_flipper.bin which allows the flasher to discover the file and flash it.

I did that and I still got Zero length files. Might try it again just for fun. Did you do anything else to make it functional?


Just tried it , no Joy. It WAS working before, (I have files from, 21 Dec) All I did was upgrade to the newest Xtreme (have backed down to 0052, 7 Dec.) I also wiped it AND the sd card and did the same for the Board.

cHicHillo commented 8 months ago

The issue lies with the Wifi Marauder App, I installed Wifi Marauder App Unleashed version, and it works in Xtreme. However, you receive an alert informing you that the App version and system don't match.

kmsmith222 commented 8 months ago

The issue lies with the Wifi Marauder App, I installed Wifi Marauder App Unleashed version, and it works in Xtreme. However, you receive an alert informing you that the App version and system don't match.

Ok I'll try that.

kmsmith222 commented 8 months ago

It Working! SO after much flashing and reflashing it seems I finally got it.

  1. went to https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads and grabbed the [CP210x Windows Drivers with Serial Enumerator] <Not the universal, I couldnt get the to work), installed it following the ReadMe.md in repo here.

  2. I downed the [esp32_marauder_v0_13_5_20231126_flipper_sd_serial.bin] from the justcallmekoko repo and put it in the marauder folder, moved the .bin there out of the folder in case I needed it later.

  3. I added a "" to line 65 to flash.bat (needed to catch the new /bin) for /f "tokens=1" %%F in ('dir Marauder*esp32_marauderflipper.bin** /b /o-n') do set last_firmware=%%F ^

  4. I reset the board and reconnected it to the Flipper, the reset it again jus to be paranoid.

  5. We to Apps\WIFI hit UP , chose Save to flipper board YES.

I pull 4 pcaps with, 3 pmkid one raw, and they opened in wireshark.

Hope it helps

UberGuidoZ commented 8 months ago

Thank you. I've modified the flasher to include the SD BIN as well as updated it to the current version.