bdureau / ESPLoader

This is a partial Java port of the ESP loader
GNU General Public License v3.0
13 stars 1 forks source link

Way to use this #1

Open BDhackers009 opened 5 months ago

BDhackers009 commented 5 months ago

Sir, is there any tutorial or article about using this? I am trying to flash a firmware to my esp32 but seems like there are no such applications available. I found your GitHub repo while researching please help me if possible.

bdureau commented 5 months ago

Hello You will need Eclipse. The test program is testESPLoader.java This is a simple proof of concept to demonstrate my port of ESPLoader to Java

BDhackers009 commented 5 months ago

Oh. Which means we cannot use this program directly on android unless we make an apk out of it?

is there any POC video which demonstrates this?. Thanks for your reply sir.

bdureau commented 5 months ago

I have another piece of code that runs on Android

bdureau commented 5 months ago

check the following https://github.com/bdureau/BearConsole2/blob/master/app/src/main/java/com/altimeter/bdureau/bearconsole/Flash/CommandInterfaceESP32.java

bdureau commented 5 months ago

My BearConsole application is using it to flash an ESP32 firmware

BDhackers009 commented 5 months ago

check the following https://github.com/bdureau/BearConsole2/blob/master/app/src/main/java/com/altimeter/bdureau/bearconsole/Flash/CommandInterfaceESP32.java

seems like a good code. Though I don't understand java like you. Could you please tell me how Do i use this piece of code? I mean Do i need to build this BearConsole app ? or i can use it any other way? Also I couldn't find the firmware file input variable or something like that. is the code do this Interactively?

Please sir any information related to this will help me a lot.

BDhackers009 commented 5 months ago

Screenshot_20240325_191652_Chrome

If i Change the firmware.bin and bootloader bin and other bin files which are present here then that should work on my normal esp32 right? or i can just copy and paste codes to create another esp32 options in the apps firmware section?

bdureau commented 5 months ago

yes it should work. Are you trying to build your own Android app to flash a firmware?

BDhackers009 commented 5 months ago

yes it should work. Are you trying to build your own Android app to flash a firmware?

I am just trying to do something so that i can flash my esp32 devices via my android. :( . But there isn't any source that can do that except your app. Its flashing the firmware correctly ig. I have to change the files and offsets in the flashfirmware.java ig.

BDhackers009 commented 5 months ago

yes it should work. Are you trying to build your own Android app to flash a firmware?

I am just trying to do something so that i can flash my esp32 devices via my android. :( . But there isn't any source that can do that except your app. Its flashing the firmware correctly ig. I have to change the files and offsets in the flashfirmware.java ig.

Trying to flash the firmware with these files and offsets. https://raw.githubusercontent.com/Fr4nkFletcher/ESP32-Marauder-Cheap-Yellow-Display/master/web/manifest_cyd2usbnogps.json