justcallmekoko / ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
5.52k 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?

filac001 commented 9 months ago

idk u try it

kazz2020 commented 9 months ago

What excactly issue?

sunsu123123 commented 9 months ago

It doesn't seem to work. I put the M5StickC PLUS firmware into the m5Stickc Plus2, but it continues to not boot and stays on a black screen during the reset process.

sunsu123123 commented 9 months ago

I think we need Marauder firmware support for m5Stickc Plus2.

kazz2020 commented 9 months ago

Screenshot_2023-12-27-07-33-48-856_com.android.chrome.jpg

Look at TFT pin difference. I think we need compile fw with this pin change. I have problems compile marauder fw at all so maybe someone will try?

devpedromgoncalves commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

kazz2020 commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

What you mean by other fws?

devpedromgoncalves commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

What you mean by other fws?

Like NEMO or Official. Maybe I used the wrong word, sorry, I'm new to this 😬

kazz2020 commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

What you mean by other fws?

Like NEMO or Official. Maybe I used the wrong word, sorry, I'm new to this 😬

Nemo uses h lib from official m5stack() I think there are defined pins for Plus2. Marauder uses Tft_espi lib where we can define for example tft pins. But in code of esp32 marauder we also have defined for example RST pins. In plus there is other RST pin than in plus2. Soooo i think that we have to compile ESP32M fw with this changes. Now I have no time for this but I will see and try in near future 😉maybe I am right. Will see or someone will do that faster than me.

devpedromgoncalves commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

What you mean by other fws?

Like NEMO or Official. Maybe I used the wrong word, sorry, I'm new to this 😬

Nemo uses h lib from official m5stack() I think there are defined pins for Plus2. Marauder uses Tft_espi lib where we can define for example tft pins. But in code of esp32 marauder we also have defined for example RST pins. In plus there is other RST pin than in plus2. Soooo i think that we have to compile ESP32M fw with this changes. Now I have no time for this but I will see and try in near future 😉maybe I am right. Will see or someone will do that faster than me.

Wow, thanks for the explanation, I'll wait and see if there's any update on this in the near future. Thank you my friend

kazz2020 commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

What you mean by other fws?

Like NEMO or Official. Maybe I used the wrong word, sorry, I'm new to this 😬

Nemo uses h lib from official m5stack() I think there are defined pins for Plus2. Marauder uses Tft_espi lib where we can define for example tft pins. But in code of esp32 marauder we also have defined for example RST pins. In plus there is other RST pin than in plus2. Soooo i think that we have to compile ESP32M fw with this changes. Now I have no time for this but I will see and try in near future 😉maybe I am right. Will see or someone will do that faster than me.

Wow, thanks for the explanation, I'll wait and see if there's any update on this in the near future. Thank you my friend

No problem. I don't now if iam right but after new year I will try to do it 😎

gato001k1 commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

What you mean by other fws?

Like NEMO or Official. Maybe I used the wrong word, sorry, I'm new to this 😬

Nemo uses h lib from official m5stack() I think there are defined pins for Plus2. Marauder uses Tft_espi lib where we can define for example tft pins. But in code of esp32 marauder we also have defined for example RST pins. In plus there is other RST pin than in plus2. Soooo i think that we have to compile ESP32M fw with this changes. Now I have no time for this but I will see and try in near future 😉maybe I am right. Will see or someone will do that faster than me.

Thanks for the idea i am going to compile it

kazz2020 commented 9 months ago

Ive compiled it at last. I will check tomorrow. When it will work I give a link for everybody interested😉

kazz2020 commented 9 months ago

Hi. I'm facing the same issue as @sunsu123123. Does anyone installed and boot marauder successfully on M5StickC Plus 2? I can install it but I can't reboot and the screen stays black for ever... With other firmwares it doesn't happen, so should we wait for a marauder update on this? :/

What you mean by other fws?

Like NEMO or Official. Maybe I used the wrong word, sorry, I'm new to this 😬

Nemo uses h lib from official m5stack() I think there are defined pins for Plus2. Marauder uses Tft_espi lib where we can define for example tft pins. But in code of esp32 marauder we also have defined for example RST pins. In plus there is other RST pin than in plus2. Soooo i think that we have to compile ESP32M fw with this changes. Now I have no time for this but I will see and try in near future 😉maybe I am right. Will see or someone will do that faster than me.

Thanks for the idea i am going to compile it

Look carefully for every pin which is different from plus. I've changed pin numbers 8n source configs.h led pin is different and changed pin numbers in User_setup.h

kazz2020 commented 8 months ago

Ok so I've flashed and no success. IMG_20240104_090736.jpg

I have this but screen is black. I will check later what could be wrong.

gato001k1 commented 8 months ago

Ok so I've flashed and no success. IMG_20240104_090736.jpg

I have this but screen is black. I will check later what could be wrong.

Damm is that marauder CLI and have you checked if the display outputs?

kazz2020 commented 8 months ago

Ok so I've flashed and no success. IMG_20240104_090736.jpg I have this but screen is black. I will check later what could be wrong.

Damm is that marauder CLI and have you checked if the display outputs?

Its the output from flashing bin file with ESPHome-Flasher-1.4.0-Windows-x64 I spent all day to make it work but nothing :/ I've tried many combinations. ST7789_DRIVER and ST7789_2_DRIVER. with mosi 4 pin and without. With different baudrates. Maybe Partition scheme is important? but i tried many. All the time black screen. I give up for now.

gato001k1 commented 8 months ago

Ok so I've flashed and no success. IMG_20240104_090736.jpg I have this but screen is black. I will check later what could be wrong.

Damm is that marauder CLI and have you checked if the display outputs?

Its the output from flashing bin file with ESPHome-Flasher-1.4.0-Windows-x64 I spent all day to make it work but nothing :/ I've tried many combinations. ST7789_DRIVER and ST7789_2_DRIVER. with mosi 4 pin and without. With different baudrates. Maybe Partition scheme is important? but i tried many. All the time black screen. I give up for now.

Idk about that program use spacehun's website esp32 flasher and add the partition scheme and bootloader the boot app and the compiled bin file like he says at https://github.com/justcallmekoko/ESP32Marauder/wiki/update-firmware#using-spacehuhn-web-updater or give me the link to the compiled bin file

kazz2020 commented 8 months ago

Ok so I've flashed and no success. IMG_20240104_090736.jpg I have this but screen is black. I will check later what could be wrong.

Damm is that marauder CLI and have you checked if the display outputs?

Its the output from flashing bin file with ESPHome-Flasher-1.4.0-Windows-x64 I spent all day to make it work but nothing :/ I've tried many combinations. ST7789_DRIVER and ST7789_2_DRIVER. with mosi 4 pin and without. With different baudrates. Maybe Partition scheme is important? but i tried many. All the time black screen. I give up for now.

Idk about that program use spacehun's website esp32 flasher and add the partition scheme and bootloader the boot app and the compiled bin file like he says at https://github.com/justcallmekoko/ESP32Marauder/wiki/update-firmware#using-spacehuhn-web-updater or give me the link to the compiled bin file

I tried that but no luck. here is the link for 2 versions https://file.io/5odwjC4d0V0s

kazz2020 commented 8 months ago

With esp32_marauderm5stickcplus2.ino.m5stack_stickc_plus2 cli is working but still black screen.

kazz2020 commented 8 months ago

I have question. Is there any difference with choosing "Partition scheme" while compiling ESP32M? Is there any difference working/not working? Does the success of the working of fw depend on the choice of scheme?

gato001k1 commented 8 months ago

I have question. Is there any difference with choosing "Partition scheme" while compiling ESP32M? Is there any difference working/not working? Does the success of the working of fw depend on the choice of scheme?

I don't know why would you need the partition scheme to compile it. you just need the partition scheme when using it on spacehun's web esp flasher

gato001k1 commented 8 months ago

I have question. Is there any difference with choosing "Partition scheme" while compiling ESP32M? Is there any difference working/not working? Does the success of the working of fw depend on the choice of scheme?

Can you send the esp marauder folder that you modified to make it work on the m5plus2

kazz2020 commented 8 months ago

I have question. Is there any difference with choosing "Partition scheme" while compiling ESP32M? Is there any difference working/not working? Does the success of the working of fw depend on the choice of scheme?

Can you send the esp marauder folder that you modified to make it work on the m5plus2

https://file.io/CZTbZC0kJPxt Make it works :) and when you will dont forget about me ;)

gato001k1 commented 8 months ago

I have question. Is there any difference with choosing "Partition scheme" while compiling ESP32M? Is there any difference working/not working? Does the success of the working of fw depend on the choice of scheme?

Can you send the esp marauder folder that you modified to make it work on the m5plus2

https://file.io/CZTbZC0kJPxt Make it works :) and when you will dont forget about me ;)

i wont forget but it says deleted

kazz2020 commented 8 months ago

I have question. Is there any difference with choosing "Partition scheme" while compiling ESP32M? Is there any difference working/not working? Does the success of the working of fw depend on the choice of scheme?

Can you send the esp marauder folder that you modified to make it work on the m5plus2

https://file.io/CZTbZC0kJPxt Make it works :) and when you will dont forget about me ;)

i wont forget but it says deleted

https://filetransfer.io/data-package/nb0JcwQa#link ive tried many combinations and still nothing :/

kazz2020 commented 8 months ago

pass xxx

kazz2020 commented 8 months ago

IMG_20240106_094218.jpg I have this. Only shows on screen when it's plugged in usb. Without usb only blinks Marauder for a sec.

devpedromgoncalves commented 8 months ago

IMG_20240106_094218.jpg I have this. Only shows on screen when it's plugged in usb. Without usb only blinks Marauder for a sec.

Making progress there! 👏🏻 I've already tried many things but it's really behind my skills for now... Love to see you progress tho!

kazz2020 commented 8 months ago

IMG_20240106_094218.jpg I have this. Only shows on screen when it's plugged in usb. Without usb only blinks Marauder for a sec.

Making progress there! 👏🏻 I've already tried many things but it's really behind my skills for now... Love to see you progress tho!

https://file.io/4xbAfvwwLoUg pass xxx

gato001k1 commented 8 months ago

IMG_20240106_094218.jpg I have this. Only shows on screen when it's plugged in usb. Without usb only blinks Marauder for a sec.

Amazing what did you change to make it work i have tried and i am not able to make the screen display something.

gato001k1 commented 8 months ago

ok now i review the code and when it disconnects the cable it turns off so i checked the code and i am not an expert on this but This doesn't seems right 😂😂 and can you send your User_setup.h file Capturejd

kazz2020 commented 8 months ago

https://file.io/s5tzKnonomex and that 00000 was my 2y old son :P he likes tech ;) ive changed TFT_BL pin to 27. This usb cable issue must be solved. Plus vs Plus2 - plus2 doesnt have axp192 power management chip. But what to change in code for now is mystery for me.

gato001k1 commented 8 months ago

https://file.io/s5tzKnonomex and that 00000 was my 2y old son :P he likes tech ;) ive changed TFT_BL pin to 27. This usb cable issue must be solved. Plus vs Plus2 - plus2 doesnt have axp192 power management chip. But what to change in code for now is mystery for me.

So what does the m5plus2 does for power management

Jahroots commented 8 months ago

Hi guys! Happy New Year to you all! Can you tell us what you did to make it work?

gato001k1 commented 8 months ago

Hi guys! Happy New Year to you all! Can you tell us what you did to make it work?

Happy New Year. What we did is that we changed the display pin configuration and the backlight and i think the led pin but when we compile it it works but if i disconnect the cable it shuts off. We figured out that is the problem of the power management chip apx192 that the plus 2 version doesn't have it but the previus versions have it and we don't know how to fix it i think that we need koko to fix it.

gato001k1 commented 8 months ago

https://file.io/s5tzKnonomex and that 00000 was my 2y old son :P he likes tech ;) ive changed TFT_BL pin to 27. This usb cable issue must be solved. Plus vs Plus2 - plus2 doesnt have axp192 power management chip. But what to change in code for now is mystery for me.

Maybe it has something to be with the g38 gpio pin

kazz2020 commented 8 months ago

IMG_20240110_194929.jpg

WORKING Later I give a link for bin and source

gato001k1 commented 8 months ago

IMG_20240110_194929.jpg

WORKING Later I give a link for bin and source

What did u change for that and plz bin file link

devpedromgoncalves commented 8 months ago

IMG_20240110_194929.jpg

WORKING Later I give a link for bin and source

You tha man! Awesome work.

kazz2020 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.

devpedromgoncalves 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?

kazz2020 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😎

WhiskyRed 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

WhiskyRed commented 8 months ago

I understood and that I am new to the subject and want to learn how to carry out these processes

chr0m1ng 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:

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.

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

Use this https://m.youtube.com/watch?v=GQPzgYksdkg and for firmware use bin file from my zip file. After that should work.

WhiskyRed commented 8 months ago

I can't connect my m5stack to espwebtool it says I must reset when resetting my esp even though it is using the m5 demo firmware

kazz2020 commented 8 months ago

I can't connect my m5stack to espwebtool it says I must reset when resetting my esp even though it is using the m5 demo firmware

Do you use this. https://esp.huhn.me/

devpedromgoncalves 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?