Firmware Tools for the Elegoo Centauri Carbon
Find a file
2024-02-24 17:31:23 +01:00
docs Spelling fix 2024-02-18 17:15:42 -05:00
extra-stuff Custom update script refactoring 2024-02-14 11:27:04 -05:00
FW Added files 2024-02-03 07:20:00 +01:00
RESOURCES fix bluetooth rm 2024-02-24 17:31:23 +01:00
temp Add mqtt docs 2024-02-16 20:49:03 +01:00
TOOLS add emmc dump extract 2024-02-23 23:15:31 +01:00
.gitignore add emmc dump extract 2024-02-23 23:15:31 +01:00
auto_install.cfg Add update script 2024-02-15 03:36:34 +01:00
build.sh fix script 2024-02-23 21:08:25 +01:00
fwdl.sh update scripts 2024-02-23 20:06:15 +01:00
options.cfg fix bluetooth rm 2024-02-24 17:31:23 +01:00
pack.sh fix uart 2024-02-24 04:34:44 +01:00
patch.sh update utils 2024-02-23 19:58:58 +01:00
README.md Auto update configuration note 2024-02-18 19:33:12 -05:00
unpack.sh update scripts 2024-02-23 20:06:15 +01:00

Anycubic Kobra 2 Series Tools

This repository contains tools for the Anycubic Kobra 2 Series 3D printers.

Documentation

Documentation can be found in the docs directory.

This flashforge is similar to the Anycubic Kobra 2 Series. So we need to investigate it.

Usage

  1. Clone the repository.
  2. Place .bin, .zip or .swu firmware files in the FW directory. If you don't have firmware files, you can use the script fwdl.sh <model> <version> to download in the folder FW the version for the printer model you need. The supported models are K2Pro, K2Plus and K2Max. The version is given in the format X.Y.Z like 3.0.9.
  3. Run unpack.sh <update_file> to unpack the selected firmware update file. The supported file extensions are bin, zip and swu. The result is in the folder unpacked.
  4. Modify the options file options.cfg to select the options you need and run patch.sh to patch the firmware files in the unpacked folder. The result is still in the folder unpacked. You may manually modify the current state of the files if needed. You can also prepare different configuration files for different needs based on the default file options.cfg. The custom configuration file is provided as parameter: patch.sh <custom_configuration_file>. If no parameter is provided, the file options.cfg will be used.
  5. Run pack.sh to pack the firmware files from the folder unpacked. The result is the file update/update.swu. At the end, if you selected ssh and root_access with a password, you will be asked if you want to upload the update automatically through ssh. If your printer has already a custom update (with ssh and root password) you can type y and press enter. The update will be transferred to the printer, executed and the printer will reboot. Otherwise, press enter to exit and follow the next step for USB update.
  6. If your printer is still with the original firmware, you have to make root access first. Then replace the /etc/swupdate_public.pem in the printer with the one from the RESOURCES directory or create your own (make a copy first of the original /etc/swupdate_public.pem key in case you want to return to the original ota updates). Then apply the newly generated custom software update/update.swu by USB update (place the file update.swu in the folder update on the root of a FAT32 formatted USB disk). If your printer already has custom update installed, then you can directly apply the new update by USB update.

Notes

This repository is a work in progress and may contain bugs or may not work as expected any pull requests are welcome.

Default password for the root access (UART and SSH) is toor but it can be changed in the options.cfg file.

Start the scripts directly by ./script_name.sh <parameters> to be started by the requested bash shell. Shells like sh are not compatible at this time.

Use only FAT32 formatted USB disks and place the file update.swu inside a folder update created at the root of the USB disk.

In order for the auto update upload to work properly, you need to setup in advance the configuration file auto_install.cfg. It requires one line of text with the following information: host_ip,user_name,printer_ip,ssh_port Example: 192.168.1.234,root,192.168.1.242,22

Information

FW - Place .bin, .zip or .swu firmware files here.

RESOURCES - Contains resources for the firmware options.

TOOLS - Contains tools to decrypt and encrypt firmware files and more.

unpacked - Contains the unpacked firmware files.

update - Contains the packed firmware files.