Printer.cfg for Anycubic Kobra 2 Plus/Pro/Max

May be just ask from anycubic for exclude object, adaptive bed mesh leveling and moonraker support for local control and may available to print direct from slicers like prusa, orca, cura, etc…?

New 3.1.2 updates:

https://cdn.cloud-universe.anycubic.com/ota/K2Pro/ChituUpgrade_k2+Pro_V3.1.2.bin

https://cdn.cloud-universe.anycubic.com/ota/K2Plus/ChituUpgrade_k2+Plus_V3.1.2.bin

https://cdn.cloud-universe.anycubic.com/ota/K2Max/ChituUpgrade_k2+Max_V3.1.2.bin

1 Like

I did that right in the beginning when the models hit the market. Not only once. I literally begged for at least implementing Moonraker API or, even better, do it how Creality did with their K1 after 3months and give users the option to root and flash a native Klipper. Follow the GPL and release the sources. And so on. Answer: “thanks, we’ll report it to our team”…

Do you mean, that file /etc/swupdate_public.pem must be modified on running system on printer, and after that i can use my own firmware to flash over printer menu? That means i cant build my own firmware without downgrading to v2 with uart and getting root before flashing customs?)

1 Like

Yeah the only possibility we have right now is either using GCC to compile which I have no idea on how to do or just decompile and reverse engineer on how to app uses the rpmsg to control the printer.



1 Like

Hi guys! We have created a public telegram group for everything Kobra 2 things.

Like coding or modifying the system or reverse engineering.
Talk anything you want in here.

Anything for modding or coding about Kobra 2 machines.

When we finish and make 3.1.2 working for the tools repo we will release the repo to everyone that allows easy modifying the system.

1 Like

Correct! However, the next time it won’t be so difficult if you use the same private.pem to sign and put the public.pem in /etc preemptively. I have found that there are more private certs within the system but none of them verify against the original public pem file so far. Furthermore, when looking at disassembly it looks like there is quite possibly a private key stored in memory, but I am unsure if that is related to the private key that generated that original public.pem and don’t yet know how to access this with my skill level.

Something worth investigating is the available command list that is already available within the image by using:
ls $(echo $PATH | tr ':' ' ') | grep -v '/' | grep . | sort
You will find a variety of interesting things, spacedream is fun to run and is a default test environment for FBdirect which seems to be how the GUI for the printer display was made, it will load Stars all over your printer screen.
Another thing that is useful is installing strace and running it against the /app/app process to see its running output (this will cause printer display menu to lag while using) so far I have only view it through signal:

opkg update
opkg install strace

I have also found a guide in Chinese to obtaining Xtensa Xplorer IDE via school or company email, you can translate under Chrome and it reads well:
https://blog.csdn.net/weixin_40378209/article/details/122434720

You can also prevent the /app/app from running on startup by modifying the rc.local file under /etc and then running it yourself to see its output. Make a backup of course.

1 Like

Hi! We just released the tools repo!

You can find it here: GitHub - ultimateshadsform/Anycubic-Kobra-2-Series-Tools: Tools for Anycubic Kobra 2 Series.

If you wanna make custom modified firmware.

2 Likes

That’s great news! Thank you so much guys for the incredible work!
If none of you are on reddit, I’ll shout it out there for you - just let me know… :wink:

Btw: Would it make sense to add the solution of @daksimpson to that repo as well? So that all these tools for accessing&changing anything are in one place?

We need his agreement first to do this, and then we need to do final testing of his FEL backup and restoring tool to be added as alternative way to backup/restore when nothing else can help.

Just fyi, since it might be interesting for some of you (iirc at least @Kuroi , @papig and @CodexNovus are interested in using / want to use a different mobo as well):
I got rid of the stock mainboard and finished swapping in an MKS Robin Nano v3.1 - further info and links to my somewhat extensive description with some notes and the corresponding printer.cfg file for the K2 Pro/Plus/Max can be found here: Anycubic Kobra 2 Pro/Plus/Max + MKS Robin Nano v3.1 = native Klipper

3 Likes

This is awesome. Will definitely be checking it in depth once I get to finally doing it. Thank you!

Thanks for the tag and amazing work/docs. How does this board do with klipper? more than capable enough? I was originally going to go with a manta m5p, but is that overkill?

This will be the first time I’ve ever done something like this. I want to use a klicky probe i have laying around and a sexbolt that I have too, which technically the kobra 2 max already has. I find their auto Z offset to be completely bologna and plan to do this:

I’m sorry for the machine translation, it’s not my native language. But as I understand it, you are also experiencing problems with the regular self-leveling system? It bothers me terribly because it raises the axle where it needs to be lowered and vice versa. I am interested in the following, is there a command in g-code that I could insert into my cobra settings so that it would simply disable the measured grid of the table?

Thanks and welcome :slight_smile:
I don’t wanna crash and hijack this thread, so I’ll quote your post in the other thread and post my answer there… :wink:

Hello everyone. I recently came across your topic. I am surprised at your knowledge of programming. I want to thank everyone for opening up a lot of possibilities (“Custom Webserver & Webinterface”, and also that the user daksimpson was able to find access to the file “printer.cfg” and told how to copy it and upload it back.) I contacted support with a question about changing the temperature of the calibration working table, but I did not receive an answer. But with your suggestions, I managed to change the temperature in the file “printer.cfg” “heater_bed_target_temp : 80” “bed_mesh_temp : 80.0”, since I print at 80-100 C. I uploaded the file, changed it and managed to upload it back. In the header of the topic “Additionally” is most likely not from cobra 2 pro, the wrong coordinates. 241 vs. 339.
Now there is a question of how to use a silicone pad to wipe the nozzle at the beginning of printing. I’ve been fighting for a week, but the printer does not allow me to go beyond the desktop for coordinates. :smiley:
I was also able to increase the Y coordinate from 230 to 240 so that I could use a silicone pad when starting printing.
I’m sorry for the machine translation, it’s not my native language.

Hi guys!
Do anyone have EMMC backup of your printer? I was trying to make web server, everything went well, but when I changed in “app” file links from anycubic cloud to my server ip and rebooted my Kobra 2 Plus just stuck on booting. It doesn’t even trying to boot anything and doesn’t show any output in UART. I haven’t done EMMC back up yet, so now it’s just a huge brick :frowning:

Join the telegram link “Kobra 2 Modding” above. It’s filled with people who likely have backups.

1 Like

Did you try to just reflash a stock firmware file?

Can i do that from FEL mode?