Firmware Tools for the Elegoo Centauri Carbon
Find a file
2024-02-09 06:38:22 +01:00
extra-stuff Add emmc backup 2024-02-09 06:38:22 +01:00
FW Added files 2024-02-03 07:20:00 +01:00
RESOURCES Added files 2024-02-03 07:20:00 +01:00
TOOLS Added files 2024-02-03 07:20:00 +01:00
.gitignore Add emmc backup 2024-02-09 06:38:22 +01:00
pack.sh Changes 2024-02-03 07:28:40 +01:00
patch.sh Added files 2024-02-03 07:20:00 +01:00
README.md Add emmc backup 2024-02-09 06:38:22 +01:00
unpack.sh Added files 2024-02-03 07:20:00 +01:00

Anycubic Kobra 2 Series Tools

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

Usage

  1. Clone the repository.
  2. Place .bin firmware files in the FW directory.
  3. Run unpack.sh to unpack the firmware files.
  4. Modify the firmware files as needed and run patch.sh to patch the firmware files.
  5. Run pack.sh to pack the firmware files.
  6. Replace the swupdate_public.pem in the printer with the one in the RESOURCES directory or create your own.
  7. Upload the firmware files to the printer as usual. Can be found in the update directory.

Default password for the firmware is toor but it can be changed in the shadow file.

OPKG is included.

Notes

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

Information

Default password for the firmware is toor but it can be changed in the shadow file.

FW - Place .bin firmware files here.

RESOURCES - Contains resources for the firmware files.

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

unpacked - Contains the unpacked firmware files.

update - Contains the packed firmware files.

photo_2024-02-05_02-46-45

EMMC BACKUP

EMMC Backup Procedure

  1. Use app version 2.39 and stop the booting process by holding key 's'
  2. Insert USB disk with the file backup.scr on it
  3. From the uboot shell enter the following:

usb reset usb dev 0 fatload usb 0:0 42000000 backup.scr source 42000000

  1. Remove the USB disk and insert at least 8GB USB disk
  2. Wait about 15 minutes and the entire emmc will be transfered 1:1 to the USB disk If you see an error and the script stopped before showing 100%, insert another type USB disk and enter:

source 42000000

  1. From a linux machine export the backup as a file:

dd if=/dev/sdh of=emmc_backup.bin bs=512 count=15269888 status=progress


With the xfel tool:

  1. Enter the printer in FEL mode
  2. Enter the following:

xfel ddr t113-s3 xfel write 0x43000000 uboot239.bin xfel exec 0x43000b50

Press and hold key 's' until the boot process stop in uboot shell and go to step 3 above

You can modify the script and create new backup.scr image by: mkimage -T script -n 'EMMC Backup' -d backup.txt backup.scr

Old info
Right now, there is no klipper custom firmware but we have discovered that we can create our own modified firmware by patching things in the rootfs.

This is not a custom firmware created via the SDK. So it is not a custom firmware in the traditional sense.

We have managed to create our own .swu update file which we can flash via USB. But in order to do this, we need to patch and replace the public key in the printer to accept our custom firmware. Which requires root access/uart access.

But I have some links which the community has shared that may get us closer to custom firmware:

https://gitlab.com/weidongshan/tina-d1-h

https://bbs.aw-ol.com/topic/1034

We have found the sdk here: https://d1.docs.aw-ol.com/study/study_3getsdktoc/#sdk_3

Here is a more recent version of the SDK which you can download: https://klipper.discourse.group/t/printer-cfg-for-anycubic-kobra-2-plus-pro-max/11658/95?u=ultimatelifeform

1645007527-r528_user_manual_v1.3.pdf

If you have a male to male usb port connected you can probably use https://androidmtk.com/download-phoenixsuit to flash?

https://gitee.com/weidongshan/eLinuxCore_100ask-t113-pro

git clone https://gitee.com/weidongshan/eLinuxCore_100ask-t113-pro --recurse-submodules

You can find the devboard documentation here: https://shadow-storage.fra1.cdn.digitaloceanspaces.com/GXFB0461-001.zip

It was sent via Telegram but I uploaded it to my server for safe keeping.

https://whycan.com/t_8303.html

https://bbs.aw-ol.com/category/7/%E5%85%B6%E5%AE%83%E5%85%A8%E5%BF%97%E8%8A%AF%E7%89%87%E8%AE%A8%E8%AE%BA%E5%8C%BA?_x_tr_hist=true

Credits

Original credits to Assen for the scripts.

Alexander for minor modifications.

And to the community for the support and reverse engineering.