3.2 KiB
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.
- COMMANDS.md - Useful commands.
- PRINTER_CFG.md - Printer.cfg things.
- EMMC_BACKUP.md - How to backup the EMMC.
- EMMC_RESTORE.md - How to restore the EMMC.
- ENTER_FEL_MODE.md - How to enter FEL mode.
- DOWNLOAD_SDK.md - How to download the SDK.
- OLD_INFO.md - Old information.
- CREDITS.md - Credits.
This flashforge is similar to the Anycubic Kobra 2 Series. So we need to investigate it.
Usage
- Clone the repository.
- Place
.bin,.zipor.swufirmware files in theFWdirectory. If you don't have firmware files, you can use the scriptfwdl.sh <model> <version>to download in the folderFWthe version for the printer model you need. The supported models areK2Pro,K2PlusandK2Max. The version is given in the formatX.Y.Zlike3.0.9. - Run
unpack.sh <update_file>to unpack the selected firmware update file. The supported file extensions arebin,zipandswu. The result is in the folderunpacked. - Modify the options file
options.cfgto select the options you need and runpatch.shto patch the firmware files in theunpackedfolder. The result is still in the folderunpacked. 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 fileoptions.cfg. The custom configuration file is provided as parameter:patch.sh <custom_configuration_file>. If no parameter is provided, the fileoptions.cfgwill be used. - Run
pack.shto pack the firmware files from the folderunpacked. The result is the fileupdate/update.swu. - If your printer is still with the original firmware, you have to make root access first. Then replace the
/etc/swupdate_public.pemin the printer with the one from theRESOURCESdirectory or create your own (make a copy first of the original/etc/swupdate_public.pemkey in case you want to return to the originalotaupdates). Then apply the newly generated custom softwareupdate/update.swuby USB update (place the fileupdate.swuin the folderupdateon the root of a FAT/FAT32 formated USB disk). If your printer already has custom update installed, then you can directly apply the new update by USB update.
Default password for the root access (UART and SSH) is toor but it can be changed in the options.cfg file.
OPKG will be included with the option ssh if it is enabled.
Notes
This repository is a work in progress and may contain bugs or may not work as expected any pull requests are welcome.
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.