| extra-stuff | ||
| FW | ||
| RESOURCES | ||
| TOOLS | ||
| .gitignore | ||
| pack.sh | ||
| patch.sh | ||
| README.md | ||
| unpack.sh | ||
Anycubic Kobra 2 Series Tools
This repository contains tools for the Anycubic Kobra 2 Series 3D printers.
Usage
- Clone the repository.
- Place
.binfirmware files in theFWdirectory. - Run
unpack.shto unpack the firmware files. - Modify the firmware files as needed and run
patch.shto patch the firmware files. - Run
pack.shto pack the firmware files. - Replace the
swupdate_public.pemin the printer with the one in theRESOURCESdirectory or create your own. - Upload the firmware files to the printer as usual. Can be found in the
updatedirectory.
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.
EMMC BACKUP
EMMC Backup Procedure
- Use app version 2.39 and stop the booting process by holding key 's'
- Insert USB disk with the file backup.scr on it
- From the uboot shell enter the following:
usb reset usb dev 0 fatload usb 0:0 42000000 backup.scr source 42000000
- Remove the USB disk and insert at least 8GB USB disk
- 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
- 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:
- Enter the printer in FEL mode
- 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
Credits
Original credits to Assen for the scripts.
Alexander for minor modifications.
And to the community for the support and reverse engineering.