justcallmekoko / ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
5.51k stars 608 forks source link

M5Stickc Plus2 and Marauder? #434

Closed kazz2020 closed 7 months ago

kazz2020 commented 9 months ago

Hi Does someone tried M5Stickc PLUS2 with Marauder?

AdonisUchoa commented 8 months ago

image

my is giving this error

WhiskyRed commented 8 months ago

Não consigo conectar meu m5stack ao espwebtool, ele diz que devo redefinir ao redefinir meu esp, mesmo que esteja usando o firmware de demonstração m5

Você usa isso. https://esp.huhn.me/

it gives me an error image

this error

devpedromgoncalves commented 8 months ago

my is giving this error

Você tem que ter certeza que o seu dispositivo está conectado e está selecionando a porta correta.

image

WhiskyRed commented 8 months ago

meu está dando esse erro

Você tem que ter certeza que o seu dispositivo está conectado e está selecionando a porta correta.

image I'm using com3 and I'm sure it's him, I don't know what to do, I've tried everything and nothing

AdonisUchoa commented 8 months ago

meu está dando esse erro

Você tem que ter certeza que o seu dispositivo está conectado e está selecionando a porta correta.

image I'm using com3 and I'm sure it's him, I don't know what to do, I've tried everything and nothing

it was not recognizing it because there was a drive preventing COM communication

WhiskyRed commented 8 months ago

O meu funcionou Marauder correndo bem Nenhuma tela preta Sem erros

Tks pessoas

How did you do the installation?

WhiskyRed commented 8 months ago

meu está dando esse erro

Você tem que ter certeza que o seu dispositivo está conectado e está selecionando a porta correta.

imagemEstou usando com3 e tenho certeza que é ele, não sei o que fazer, tentei de tudo e nada

não estava reconhecendo isso porque havia uma unidade impedindo a comunicação COM

how to solve this problem?

AdonisUchoa commented 8 months ago

meu está dando esse erro

Você tem que ter certeza que o seu dispositivo está conectado e está selecionando a porta correta.

imagemEstou usando com3 e tenho certeza que é ele, não sei o que fazer, tentei de tudo e nada

não estava reconhecendo isso porque havia uma unidade impedindo a comunicação COM

how to solve this problem?

Go to device manager and uninstall COM3, enable the checkbox to also uninstall the drivers

AdonisUchoa commented 8 months ago

how to install firmware on m5stack? I'm new to this world, I don't know how to edit code or anything for it

Yeah I just spent a few hours figuring out and finally achieved it. I've followed these instructions and have managed to install via Arduino.

Some things that happened to me:

  • a lot of failures with TFT_eSPI, part of it got fixed by just updating the library to use the latest from the original source (not the fork that is linked on the instructions page)
  • some failures with JPEGDecoder and the definition of littleFS, managed to fix it by using the JPEGDecoder v1.8.1
  • ESP32 Sketch Data Upload not showing up, had to use Legacy Arduino v1.x instead of Arduino IDE (I'm using MacOS M1 here)

About the code, what I did was I cloned the repo and made the change mentioned with the GPIO pins: added pinMode(4, OUTPUT); and digitalWrite(4, HIGH); right at the beginning of void setup() method in esp32_marauder.ino file. Then I used the User_Setup.h that @Infotradesolution uploaded with that .zip file to replace the TFT_eSPI library User_Setup.h file (for MacOS is located at ~/Documents/Arduino/libraries/TFT_eSPI/User_Setup.h).

After all got it flashed succesfully.

I'm trying to compile in Arduino IDE and I'm getting the following error

      #include "../../lv_conf.h" /*Else assumes lv_conf.h is next to the lvgl folder*/
               ^~~~~~~~~~~~~~~~~~~

compilation terminated. exit status 1

Compilation error: exit status 1

WhiskyRed commented 8 months ago

meu está dando esse erro

Você tem que ter certeza que o seu dispositivo está conectado e está selecionando a porta correta.

imagemEstou usando com3 e tenho certeza que é ele, não sei o que fazer, tentei de tudo e nada

não estava reconhecendo isso porque havia uma unidade impedindo a comunicação COM

how to solve this problem?

Go to device manager and uninstall COM3, enable the checkbox to also uninstall the drivers

I already did it, but when I connect the driver it comes back because there is no option to uninstall the drivers

kazz2020 commented 8 months ago

how to install firmware on m5stack? I'm new to this world, I don't know how to edit code or anything for it

Yeah I just spent a few hours figuring out and finally achieved it. I've followed these instructions and have managed to install via Arduino.

Some things that happened to me:

  • a lot of failures with TFT_eSPI, part of it got fixed by just updating the library to use the latest from the original source (not the fork that is linked on the instructions page)
  • some failures with JPEGDecoder and the definition of littleFS, managed to fix it by using the JPEGDecoder v1.8.1
  • ESP32 Sketch Data Upload not showing up, had to use Legacy Arduino v1.x instead of Arduino IDE (I'm using MacOS M1 here)

About the code, what I did was I cloned the repo and made the change mentioned with the GPIO pins: added pinMode(4, OUTPUT); and digitalWrite(4, HIGH); right at the beginning of void setup() method in esp32_marauder.ino file. Then I used the User_Setup.h that @Infotradesolution uploaded with that .zip file to replace the TFT_eSPI library User_Setup.h file (for MacOS is located at ~/Documents/Arduino/libraries/TFT_eSPI/User_Setup.h).

After all got it flashed succesfully.

I'm trying to compile in Arduino IDE and I'm getting the following error

      #include "../../lv_conf.h" /*Else assumes lv_conf.h is next to the lvgl folder*/
               ^~~~~~~~~~~~~~~~~~~

compilation terminated. exit status 1

Compilation error: exit status 1

Configure LVGL

LVGL has its own configuration file called lv_conf.h. When LVGL is installed, follow these configuration steps:

Go to the directory of the installed Arduino libraries

Go to lvgl and copy lv_conf_template.h as lv_conf.h into the Arduino Libraries directory next to the lvgl library folder.

Open lv_conf.h and change the first #if 0 to #if 1 to enable the content of the file

Set the color depth of you display in LV_COLOR_DEPTH

Set LV_TICK_CUSTOM 1

WhiskyRed commented 8 months ago

This way

Could you make the files you used for flash available?

WhiskyRed commented 8 months ago

Do I flash via espwebtool or via Arduino IDE? If it is via espwebtool, how do I obtain the files for flash .bin? And if it is via Arduino, how do I carry out this process? I'm new to the industry, sorry for the hassle.

WhiskyRed commented 8 months ago

This way

Could you make the files you used for flash available?

sure

https://abre.ai/maraudercplus2 or https://www.file.io/iVEw/download/RaNyrINe8DG3 or https://fastupload.io/18QQC4f980rceyh/file or https://filebin.net/djxodut9ol43vpyk/marauder_M5StickCPlus2.rar or https://uploadnow.io/f/4TNB4h4 or https://easyupload.io/bga482

flash it via https://esp.huhn.me/

the firmware is wrong, I ran it and the screen went black

WhiskyRed commented 8 months ago

This way

Could you make the files you used for flash available?

sure https://abre.ai/maraudercplus2 or https://www.file.io/iVEw/download/RaNyrINe8DG3 or https://fastupload.io/18QQC4f980rceyh/file or https://filebin.net/djxodut9ol43vpyk/marauder_M5StickCPlus2.rar or https://uploadnow.io/f/4TNB4h4 or https://easyupload.io/bga482 flash it via https://esp.huhn.me/

the firmware is wrong, I ran it and the screen went black

i did it twice today

im currently running nemo thats better

but it works fine on mine

yours is M5Stick C Plus2 ? Yes mine and the M5StickC Plus 2, were you able to use the marauder?

WhiskyRed commented 8 months ago

https://www.youtube.com/watch?v=tqDdM-6pL_0

marauder working, cplus2

just recorded 4u guys

now back to better one, nemo 2,21

I'm also a br, I tried to use the files you made available and they don't work, I flash it and try to turn it on and it flashes the green LED on the side like in the photo and it doesn't do anything anymore, it doesn't respond or show any image on the screen, unlike the video you demonstrated ![Uploading WhatsApp Image 2024-01-11 at 11.57.52 PM.jpeg…]()

gato001k1 commented 8 months ago

https://www.youtube.com/watch?v=tqDdM-6pL_0

marauder working, cplus2

just recorded 4u guys

now back to better one, nemo 2,21

I'm also a br, I tried to use the files you made available and they don't work, I flash it and try to turn it on and it flashes the green LED on the side like in the photo and it doesn't do anything anymore, it doesn't respond or show any image on the screen, unlike the video you demonstrated ![Uploading WhatsApp Image 2024-01-11 at 11.57.52 PM.jpeg…]()

Try to flash it on m5burner I uploaded the bin there

Fizzlewinks commented 8 months ago

After triggering the wake up signal, the hold(G4) pin needs to be set to a high level (1) in program initialization to maintain the power supply, otherwise the device will enter the shutdown state again. So I added after setup() pinMode(4, OUTPUT); digitalWrite(4, HIGH); Tomorrow I'll give link to bin and source.

I saw that tip on reddit tbh but never thought about it. Thanks man, will wait for the code. Did you test the firmware? Is fully functional?

https://terabox.com/s/1eFejMJ1g-0GBEYIaPjnjww Now I go to sleep so You can check it by yourself😎

Hi again, my friend. I was able to flash marauder onto my M5StickC Plus 2 and it's working fine although Deauth attack don't work! Now I have another issue. When I connect an SD Card Module to it, when rebooting, always say: Failed to initialize SD Card.

I'm using this schema: 3V3 > 3V3 CS > GND MOSI > G26 CLK > G0 MISO > G36 GND > GND.

WhatsApp Image 2024-01-11 at 12 26 13_d60e7f61

Is it a problem with my connections or is the code missing some function to read SD Card?

It's not working for me either, but on startup it says that it initialized, then it crashes right after.

gato001k1 commented 8 months ago

After triggering the wake up signal, the hold(G4) pin needs to be set to a high level (1) in program initialization to maintain the power supply, otherwise the device will enter the shutdown state again. So I added after setup() pinMode(4, OUTPUT); digitalWrite(4, HIGH); Tomorrow I'll give link to bin and source.

I saw that tip on reddit tbh but never thought about it. Thanks man, will wait for the code. Did you test the firmware? Is fully functional?

https://terabox.com/s/1eFejMJ1g-0GBEYIaPjnjww Now I go to sleep so You can check it by yourself😎

Hi again, my friend. I was able to flash marauder onto my M5StickC Plus 2 and it's working fine although Deauth attack don't work! Now I have another issue. When I connect an SD Card Module to it, when rebooting, always say: Failed to initialize SD Card.

I'm using this schema: 3V3 > 3V3 CS > GND MOSI > G26 CLK > G0 MISO > G36 GND > GND.

WhatsApp Image 2024-01-11 at 12 26 13_d60e7f61

Is it a problem with my connections or is the code missing some function to read SD Card?

It's not working for me either, but on startup it says that it initialized, then it crashes right after.

Try on m5burner

kazz2020 commented 8 months ago

I know how to make sd work but no time for this now. See ya

kazz2020 commented 8 months ago

What an ass

You talking to me?

kazz2020 commented 8 months ago

I don't have time to check it and if I don't check it I won't upload anything. If you are so dumb that you can't figure it out it's your problem. You should thank me for making marauder works on plus2. You would still looking at squares if not my work. See ya pos.

vs4vijay commented 8 months ago

Hey @kazz2020, Thanks for the effort, I am going to try this weekend, do you have a repo. where you had made the changes? I would pick from where you have left? Let me know.

kazz2020 commented 8 months ago

Change your dealer, boy

zloneotm commented 8 months ago

Can anyone follow up if they have it 100% working

zloneotm commented 8 months ago

Having small issues through Arduino My biggest issue was having the wrong asyncwebserver. Library is still wrong I believe, will reconfigure later.

chmod771 commented 8 months ago

how to install firmware on m5stack? I'm new to this world, I don't know how to edit code or anything for it

Yeah I just spent a few hours figuring out and finally achieved it. I've followed these instructions and have managed to install via Arduino.

Some things that happened to me:

  • a lot of failures with TFT_eSPI, part of it got fixed by just updating the library to use the latest from the original source (not the fork that is linked on the instructions page)
  • some failures with JPEGDecoder and the definition of littleFS, managed to fix it by using the JPEGDecoder v1.8.1
  • ESP32 Sketch Data Upload not showing up, had to use Legacy Arduino v1.x instead of Arduino IDE (I'm using MacOS M1 here)

About the code, what I did was I cloned the repo and made the change mentioned with the GPIO pins: added pinMode(4, OUTPUT); and digitalWrite(4, HIGH); right at the beginning of void setup() method in esp32_marauder.ino file. Then I used the User_Setup.h that @Infotradesolution uploaded with that .zip file to replace the TFT_eSPI library User_Setup.h file (for MacOS is located at ~/Documents/Arduino/libraries/TFT_eSPI/User_Setup.h).

After all got it flashed succesfully.

This is the correct solution. Some additional changes I have made as I have tested this method: I have used the official flashing instructions from M5 here. There are a few changes like commenting out the Software Serial include (this seems to be purposefully not included in the standard library by M5) and changing platform.txt with the compile flags as seen here. I am uploading my platform.txt with this post if you wish to try this method. I think someone should make a new branch for this so dev work can continue and this issue should be closed. platform.txt

swormm commented 6 months ago

can I have the .bin file please

kazz2020 commented 6 months ago

can I have the .bin file please

https://github.com/kazz2020/ESMP32-Marauder-Plus2 It's there

ATOMNFT commented 5 months ago

@kazz2020 I'm wondering if you could by anyway help in building from source? I want to build marauder for m5stick c plus and plus 2 but will start with one at a time, lol. I have built marauder for CYD and a few other chips/boards but I'm running into issues. Not sure what pins to change along with not sure which setup.h file to use. Thanks for your time in advance!

gato001k1 commented 5 months ago

plus 2

define TOUCH_CS -1 // Chip select pin (T_CS) of touch screen

//#define TFT_WR 22 // Write strobe for modified Raspberry Pi TFT only

// For the M5Stack module use these #define lines //#define TFT_MISO 19

define TFT_MOSI 15

define TFT_SCLK 13

define TFT_CS 5 // Chip select control pin

define TFT_DC 14 // Data Command control pin

define TFT_RST 12 // Reset pin (could connect to Arduino RESET pin)

define TFT_BL 27 // LED back-light (required for M5Stack)

These are the pins for the m5stick plus 2 located on the user.config on kazz's fork and for the m5stickcplus is on the original marauder repo on m5stickc_plus_user.config file. :)