webflash

https://fzeeflasher.com/index.html https://github.com/FZEEFlasher/fzeeflasher.github.io

https://adafruit.github.io/Adafruit_WebSerial_ESPTool/

https://github.com/DarkFlippers/unleashed-firmware https://github.com/Flipper-XFW/Xtreme-Firmware

To download the needed tools:
$ git clone --recursive --jobs 8 https://github.com/Flipper-XFW/Xtreme-Firmware.git
$ cd Xtreme-Firmware/

To flash directly to the Flipper (Needs to be connected via USB, qFlipper closed)
$ ./fbt flash_usb_full

To compile a TGZ package
$ ./fbt updater_package

To build and launch a single app:
$ ./fbt launch APPSRC=your_appid

Connecting… Connected successfully. Try hard reset. Chip type ESP32-S2 Connected to ESP32-S2 @ 115200bps MAC Address: A0:76:4E:91:D3:3C Uploading stub… Running stub… Stub is now running… Detecting Flash Size FlashId: 0x16405E Flash Manufacturer: 5e Flash Device: 4016 Auto-detected Flash size: 4MB

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!! FLASHING STARTED! DO NOT UNPLUG !!! !!! UNTIL FLASHING IS COMPLETE!! !!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Image header, Magic=0xE9, FlashMode=0x02, FlashSizeFreq=0x2F Writing data with filesize: 14496 Erase size 14496, blocks 1, block size 0x4000, offset 0x1000, encrypted no Took 134ms to write 14496 bytes Erase size 0, blocks 0, block size 0x4000, offset 0x0000, encrypted no —> Finished flashing bootloader.

Image header, Magic=0xAA, FlashMode=0x01, FlashSizeFreq=0x02 Writing data with filesize: 3072 Erase size 3072, blocks 1, block size 0x4000, offset 0x8000, encrypted no Took 125ms to write 3072 bytes Erase size 0, blocks 0, block size 0x4000, offset 0x0000, encrypted no —> Finished flashing partitions.

Image header, Magic=0x01, FlashMode=0x00, FlashSizeFreq=0x00 Writing data with filesize: 8192 Erase size 8192, blocks 1, block size 0x4000, offset 0xE000, encrypted no Took 130ms to write 8192 bytes Erase size 0, blocks 0, block size 0x4000, offset 0x0000, encrypted no —> Finished flashing boot_app0.

Image header, Magic=0xE9, FlashMode=0x02, FlashSizeFreq=0x2F Writing data with filesize: 971232 Erase size 971232, blocks 60, block size 0x4000, offset 0x10000, encrypted no Took 12682ms to write 971232 bytes Erase size 0, blocks 0, block size 0x4000, offset 0x0000, encrypted no —> Finished flashing firmware.

—> FLASHING PROCESS COMPLETED!

Restart the board or disconnect to use the device.