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

Haven’t seen these configs anywhere so far, so here you go.

Kobra 2 Plus

[printer]
kinematics : cartesian
max_velocity : 500.000000
max_accel : 10000.000000
max_z_velocity : 16.000000
max_z_accel : 3000.000000
minimum_z_position : -20.000000
square_corner_velocity : 15.000000
[stepper_x]
step_pin : PE1
dir_pin : PE0
enable_pin : !PE14
endstop_pin : !PE8
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.01
position_endstop : -5.000000
position_max : 330.000000
position_min : -5
homing_speed : 30.000000
second_homing_speed : 15.000000
homing_retract_dist : 10
virtrual_endstop : 0
[stepper_y]
step_pin : PG11
dir_pin : !PE11
enable_pin : !PG8
endstop_pin : !PE13
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.01
position_endstop : -5.000000
position_max : 330.000000
position_min : -5
homing_speed : 30.000000
second_homing_speed : 15.000000
homing_retract_dist : 10
virtrual_endstop : 0
[stepper_z]
step_pin : PG15
dir_pin : !PG14
enable_pin : !PG18
endstop_pin : PG9
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.0025
position_endstop : 0.0
position_max : 401.000000
position_min : -5
homing_speed : 8.000000
homing_retract_dist : 8
second_homing_speed : 4.000000
virtrual_endstop : 0
[extruder]
step_pin : PC1
dir_pin : PC0
enable_pin : !PG7
heater_pin : PG12
sensor_pin : PB13
microsteps : 16.000000
full_steps_per_rotation : 200
step_distance : 0.00214
nozzle_diameter : 0.400000
filament_diameter : 1.750000
sensor_type : EPCOS 100K B57560G104F
control : pid
pid_Kp : 12.723368
pid_Ki : 0.489360
pid_Kd : 82.701890
min_temp : -200
max_temp : 275
pressure_advance : 0.020000
[flow_calibration]
start_x : 20
start_y : 20
line_length : 150.000000
line_space : 5.000000
step_distance : 0.01
[tmc2209 stepper_x]
tx_pin : PE4
uart_pin : PE5
uart_address : 0
interpolate : 1
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 100
run_current : 1.4
hold_current : 0.7
stealthchop_threshold : 0
[tmc2209 stepper_y]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 1.8
hold_current : 1.0
uart_address : 3
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 105
stealthchop_threshold : 0
[tmc2209 stepper_z]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 1.8
hold_current : 1.0
uart_address : 1
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 100
stealthchop_threshold : 99999
[tmc2209 extruder]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 0.8
hold_current : 0.4
uart_address : 2
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 10
stealthchop_threshold : 99999
[heater_bed]
heater_pin : PG17
sensor_pin : PB14
sensor_type : ATC Semitec 104GT-2
control : pid
pid_Kp : 70.769227
pid_Ki : 1.134122
pid_Kd : 1103.999942
min_temp : -200
max_temp : 105
[verify_heater extruder]
max_error : 120
check_gain_time : 20
hysteresis : 5
heating_gain : 1
[verify_heater heater_bed]
max_error : 120
check_gain_time : 180
hysteresis : 5
heating_gain : 1
[fan]
pin : PG13
[heater_fan hotend_cooling_fan]
pin : PG6
heater_temp : 50
fan_speed : 1
[controller_fan board_cooling_fan]
pin : PG10
stepper : stepper_x,stepper_y,stepper_z,extruder
fan_speed : 1
idle_speed : 0
idle_timeout : 30
heater : extruder,heater_bed
[gcode_arcs]
[pause_resume]
[mcu]
mem_interface : mem_interface_DSP
[input_shaper]
shaper_type_x : mzv
shaper_freq_x : 60.200000
shaper_type_y : 2hump_ei
shaper_freq_y : 49.200000
[resonance_tester]
probe_points : 165,165,50
accel_chip_x : adxl345 X
accel_chip_y : adxl345 Y
min_freq : 1.000000
max_freq : 140.000000
accel_per_hz : 150.000000
hz_per_sec : 1.000000
max_smoothing : 0.000000
[adxl345 X]
spi_speed : 1000000
spi_bus : spi1
adxl_type : lis2dw12
axes_map : x,y,z
rate : 1600
[adxl345 Y]
spi_speed : 1000000
spi_bus : spi0
adxl_type : lis2dw12
axes_map : x,y,z
rate : 1600
[bed_mesh]
speed : 60.0
horizontal_move_z : 5.0
mesh_min : 19,19
mesh_max : 305,310
probe_count : 7,7
mesh_pps : 3,3
algorithm : lagrange
[auto_leveling]
bed_mesh_temp : 60.0
extruder_temp : 210.0
extruder_wipe_z : -2.3
move_speed : 30.0
extrude_x : 66
extrude_y : 0
extrude_z : 15
extrude_length : 80.0
extrude_speed : 3.0
extruder_pullback_length : 25.0
extruder_pullback_speed : 30.0
extruder_cool_down_temp : 140.0
lifting_after_completion : 15.0
[safe_z_home]
home_x_position : 40.00000
home_y_position : 280.00000
speed : 150.0
z_lift : 10
z_hop : 15.0
z_hop_speed : 8.0
[probe]
pin : PB8
deactivate_on_each_sample : True
x_offset : 0.0
y_offset : 0.0
z_offset : 0.000
speed : 4.0
final_speed : 4.0
lift_speed : 8.0
samples : 2
sample_retract_dist : 2.0
samples_result : weighted
samples_tolerance : 0.1
samples_tolerance_retries : 2
move_after_each_sample : -2.0
z_offset_adjust : 0.2
[bed_mesh_probe]
pin : PG9
deactivate_on_each_sample : True
x_offset : 24.0
y_offset : 13.35
speed : 4.0
final_speed : 4.0
lift_speed : 8.0
samples : 2
sample_retract_dist : 5.0
samples_result : weighted
samples_tolerance : 0.1
samples_tolerance_retries : 2
[system]
language : 0
boot : 0
wifi : 1
area : 1
run_mode : 1
sound : 1
material_breakage_detection : 1
extrude_speed : 300
retract_speed : 300
retract_extrude_length : 6
screen_off_time : 20
material_breakage_retries : 2
material_breakage_interval : 3
device_model : Anycubic kobra 2 Plus
print_size : 320*320*400mm
[pid_calibrate]
test_points : 100,100,5
extruder_target_temp : 230
heater_bed_target_temp : 60

Additionally

[auto_leveling]
target_spot_x : 61.200000
target_spot_y : 243.800000
[probe]
z_offset_adjust : 0.25

Kobra 2 Pro

[printer]
kinematics : cartesian
max_velocity : 500.000000
max_accel : 20000.000000
max_z_velocity : 16.000000
max_z_accel : 5000.000000
minimum_z_position : -20.000000
square_corner_velocity : 20.000000
[stepper_x]
step_pin : PE1
dir_pin : PE0
enable_pin : !PE14
endstop_pin : !PE8
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.01
position_endstop : -5.000000
position_max : 230.000000
position_min : -5
homing_speed : 30.000000
second_homing_speed : 15.000000
homing_retract_dist : 10
virtrual_endstop : 0
[stepper_y]
step_pin : PG11
dir_pin : !PE11
enable_pin : !PG8
endstop_pin : !PE13
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.01
position_endstop : -8.000000
position_max : 230.000000
position_min : -5
homing_speed : 30.000000
second_homing_speed : 15.000000
homing_retract_dist : 10
virtrual_endstop : 0
[stepper_z]
step_pin : PG15
dir_pin : !PG14
enable_pin : !PG18
endstop_pin : PG9
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.0025
position_endstop :0.0000
position_max : 251.000000
position_min : -5
homing_speed : 8.000000
homing_retract_dist : 8
second_homing_speed : 4.000000
virtrual_endstop : 0
[extruder]
step_pin : PC1
dir_pin : PC0
enable_pin : !PG7
heater_pin : PG12
sensor_pin : PB13
microsteps : 16.000000
full_steps_per_rotation : 200
step_distance : 0.00214
nozzle_diameter : 0.400000
filament_diameter : 1.750000
sensor_type : EPCOS 100K B57560G104F
control : pid
pid_Kp : 12.206120
pid_Ki : 0.517208
pid_Kd : 72.016108
min_temp : -200
max_temp : 275
pressure_advance : 0.020000
[flow_calibration]
start_x : 20
start_y : 20
line_length : 150.000000
line_space : 5.000000
step_distance : 0.01
[tmc2209 stepper_x]
tx_pin : PE4
uart_pin : PE5
uart_address : 0
interpolate : 1
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 100
run_current : 1.4
hold_current :0.7
stealthchop_threshold : 0
[tmc2209 stepper_y]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 1.6
hold_current :0.8
uart_address : 3
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 105
stealthchop_threshold : 0
[tmc2209 stepper_z]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 1.2
hold_current :0.7
uart_address : 1
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 100
stealthchop_threshold : 99999
[tmc2209 extruder]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 0.8
hold_current : 0.4
uart_address : 2
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 10
stealthchop_threshold : 99999
[heater_bed]
heater_pin : PG17
sensor_pin : PB14
sensor_type : ATC Semitec 104GT-2
control : pid
pid_Kp : 60.965809
pid_Ki : 1.479753
pid_Kd : 627.947830
min_temp : -200
max_temp : 125
[verify_heater extruder]
max_error : 120
check_gain_time : 20
hysteresis : 5
heating_gain : 1
[verify_heater heater_bed]
max_error : 120
check_gain_time : 180
hysteresis : 5
heating_gain : 1
[fan]
pin : PG13
[heater_fan hotend_cooling_fan]
pin : PG6
heater_temp : 50
fan_speed : 1
[controller_fan board_cooling_fan]
pin : PG10
stepper : stepper_x,stepper_y,stepper_z,extruder
fan_speed : 1
idle_speed : 0
idle_timeout : 30
heater : extruder,heater_bed
[gcode_arcs]
[pause_resume]
[mcu]
mem_interface : mem_interface_DSP
[input_shaper]
shaper_type_x : mzv
shaper_freq_x : 65.200000
shaper_type_y : 2hump_ei
shaper_freq_y : 61.200000
[resonance_tester]
probe_points : 115,115,50
accel_chip_x : adxl345 X
accel_chip_y : adxl345 Y
min_freq : 1.000000
max_freq : 140.000000
accel_per_hz : 150.000000
hz_per_sec : 1.000000
max_smoothing : 0.000000
[adxl345 X]
spi_speed : 1000000
spi_bus : spi1
adxl_type : lis2dw12
axes_map : x,y,z
rate : 1600
[adxl345 Y]
spi_speed : 1000000
spi_bus : spi0
adxl_type : lis2dw12
axes_map : x,y,z
rate : 1600
[bed_mesh]
speed : 60.0
horizontal_move_z : 5.0
mesh_min : 19,19
mesh_max : 205,210
probe_count : 5,5
mesh_pps : 3,3
algorithm : lagrange
[auto_leveling]
bed_mesh_temp : 60.0
extruder_temp : 210.0
extruder_wipe_z : -2.3
move_speed : 30.0
extrude_x : 61.2
extrude_y : 0
extrude_z : 15
extrude_length : 80.0
extrude_speed : 3.0
extruder_pullback_length : 25.0
extruder_pullback_speed : 30.0
extruder_cool_down_temp : 140.0
lifting_after_completion : 15.0
[safe_z_home]
home_x_position : 38.5000
home_y_position : 185.000
speed : 150.0
z_lift : 10
z_hop : 0.0
z_hop_speed : 8.0
[probe]
pin : PB8
deactivate_on_each_sample : True
x_offset : 0.0
y_offset : 0.0
z_offset : 0
speed : 4.0
final_speed : 4.0
lift_speed : 8.0
samples : 2
sample_retract_dist : 2.0
samples_result : weighted
samples_tolerance : 0.1
samples_tolerance_retries : 2
move_after_each_sample : -2.0
z_offset_adjust : 0.25
[bed_mesh_probe]
pin : PG9
deactivate_on_each_sample : True
x_offset : 24.0
y_offset : 13.35
speed : 4.0
final_speed : 4.0
lift_speed : 8.0
samples : 2
sample_retract_dist : 5.0
samples_result : weighted
samples_tolerance : 0.1
samples_tolerance_retries : 2
[system]
language : 0
boot : 0
wifi : 1
area : 1
run_mode : 1
sound : 1
material_breakage_detection : 1
extrude_speed : 300
retract_speed : 300
retract_extrude_length : 6
screen_off_time : 20
material_breakage_retries : 2
material_breakage_interval : 3
device_model : Anycubic kobra 2 Pro
print_size : 220*220*250mm
[pid_calibrate]
test_points : 50,50,10
extruder_target_temp : 230
heater_bed_target_temp : 60

Additionally

[auto_leveling]
target_spot_x : 64.300000
target_spot_y : 339.200000
[probe]
z_offset_adjust : 0.2

Kobra 2 Max

[printer]
kinematics : cartesian
max_velocity : 500.000000
max_accel : 10000.000000
max_z_velocity : 16.000000
max_z_accel : 3000.000000
minimum_z_position : -20.000000
square_corner_velocity : 15.000000
[stepper_x]
step_pin : PE1
dir_pin : PE0
enable_pin : !PE14
endstop_pin : !PE8
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.0125
position_endstop : -5.000000
position_max : 430.000000
position_min : -5
homing_speed : 30.000000
second_homing_speed : 15.000000
homing_retract_dist : 10
virtrual_endstop : 0
[stepper_y]
step_pin : PG11
dir_pin : PE11
enable_pin : !PG8
endstop_pin : !PE13
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.0125
position_endstop : -8.000000
position_max : 430.000000
position_min : -5
homing_speed : 30.000000
second_homing_speed : 15.000000
homing_retract_dist : 10
virtrual_endstop : 0
[stepper_z]
step_pin : PG15
dir_pin : !PG14
enable_pin : !PG18
endstop_pin : PG9
microsteps : 16
full_steps_per_rotation : 200
step_distance : 0.0025
position_endstop : 0.0
position_max : 501.000000
position_min : -5
homing_speed : 8.000000
homing_retract_dist : 8
second_homing_speed : 4.000000
virtrual_endstop : 0
[extruder]
step_pin : PC1
dir_pin : PC0
enable_pin : !PG7
heater_pin : PG12
sensor_pin : PB13
microsteps : 16.000000
full_steps_per_rotation : 200
step_distance : 0.00214
nozzle_diameter : 0.400000
filament_diameter : 1.750000
sensor_type : EPCOS 100K B57560G104F
control : pid
pid_Kp : 15.551640
pid_Ki : 0.682089
pid_Kd : 88.644347
min_temp : -200
max_temp : 275
pressure_advance : 0.020000
[flow_calibration]
start_x : 20
start_y : 20
line_length : 150.000000
line_space : 5.000000
step_distance : 0.01
[tmc2209 stepper_x]
tx_pin : PE4
uart_pin : PE5
uart_address : 0
interpolate : 1
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 100
run_current : 1.4
hold_current : 0.7
stealthchop_threshold : 0
[tmc2209 stepper_y]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 1.9
hold_current : 1.0
uart_address : 3
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 105
stealthchop_threshold : 0
[tmc2209 stepper_z]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 1.8
hold_current : 1.0
uart_address : 1
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 100
stealthchop_threshold : 99999
[tmc2209 extruder]
tx_pin : PE4
uart_pin : PE5
interpolate : 1
run_current : 0.8
hold_current : 0.4
uart_address : 2
sense_resistor : 0.075
microsteps : 16
driver_sgthrs : 10
stealthchop_threshold : 99999
[heater_bed]
heater_pin : PG17
sensor_pin : PB14
sensor_type : ATC Semitec 104GT-2
control : pid
pid_Kp : 68.748474
pid_Ki : 0.868036
pid_Kd : 1361.219778
min_temp : -200
max_temp : 105
[verify_heater extruder]
max_error : 120
check_gain_time : 20
hysteresis : 5
heating_gain : 1
[verify_heater heater_bed]
max_error : 120
check_gain_time : 180
hysteresis : 5
heating_gain : 1
[fan]
pin : PG13
[heater_fan hotend_cooling_fan]
pin : PG6
heater_temp : 50
fan_speed : 1
[controller_fan board_cooling_fan]
pin : PG10
stepper : stepper_x,stepper_y,stepper_z,extruder
fan_speed : 1
idle_speed : 0
idle_timeout : 30
heater : extruder,heater_bed
[gcode_arcs]
[pause_resume]
[mcu]
mem_interface : mem_interface_DSP
[input_shaper]
shaper_type_x : mzv
shaper_freq_x : 54.600000
shaper_type_y : 2hump_ei
shaper_freq_y : 49.400000
[resonance_tester]
probe_points : 215,215,50
accel_chip_x : adxl345 X
accel_chip_y : adxl345 Y
min_freq : 1.000000
max_freq : 140.000000
accel_per_hz : 150.000000
hz_per_sec : 1.000000
max_smoothing : 0.000000
[adxl345 X]
spi_speed : 1000000
spi_bus : spi1
adxl_type : lis2dw12
axes_map : x,y,z
rate : 1600
[adxl345 Y]
spi_speed : 1000000
spi_bus : spi0
adxl_type : lis2dw12
axes_map : x,y,z
rate : 1600
[bed_mesh]
speed : 60.0
horizontal_move_z : 5.0
mesh_min : 19, 19
mesh_max : 405,410
probe_count : 7,7
mesh_pps : 3,3
algorithm : lagrange
[auto_leveling]
bed_mesh_temp : 60.0
extruder_temp : 210.0
extruder_wipe_z : -2.0
move_speed : 30.0
extrude_x : 394
extrude_y : 0
extrude_z : 15
extrude_length : 80.0
extrude_speed : 3.0
extruder_pullback_length : 25.0
extruder_pullback_speed : 30.0
extruder_cool_down_temp : 140.0
lifting_after_completion : 15.0
[safe_z_home]
home_x_position : 371.000000
home_y_position : 361.000000
speed : 230.0
z_lift : 10
z_hop : 15.0
z_hop_speed : 8.0
[probe]
pin : PB8
deactivate_on_each_sample : True
x_offset : 0.0
y_offset : 0.0
z_offset : 0.0000
speed : 4.0
final_speed : 4.0
lift_speed : 8.0
samples : 2
sample_retract_dist : 2.0
samples_result : weighted
samples_tolerance : 0.1
samples_tolerance_retries : 2
move_after_each_sample : -2.0
z_offset_adjust : 0.2
[bed_mesh_probe]
pin : PG9
deactivate_on_each_sample : True
x_offset : 24.0
y_offset : 13.35
speed : 4.0
final_speed : 4.0
lift_speed : 8.0
samples : 2
sample_retract_dist : 5.0
samples_result : weighted
samples_tolerance : 0.1
samples_tolerance_retries : 2
[system]
language : 0
boot :0
wifi : 1
area : 1
run_mode : 1
sound : 1
material_breakage_detection : 1
extrude_speed : 300
retract_speed : 300
retract_extrude_length : 6
screen_off_time : 20
material_breakage_retries : 2
material_breakage_interval : 3
device_model : Anycubic kobra 2 Max
print_size : 420*420*500mm
[pid_calibrate]
test_points : 100,100,5
extruder_target_temp : 230
heater_bed_target_temp : 60

Additionally

[auto_leveling]
target_spot_x : 394.200000
target_spot_y : 440.100000
[probe]
z_offset_adjust : 0.2

I assume it’s a contribution. Thank you very much.

I’ll move it to the correct sub-forum.

I put them there because they are configs from Anycubic fw for these models, provided as is. Should be a good starting point tho

Thanks for sharing. It be great to add the relevant build instructions, akin to the already provided example configs.
Ideally, mentioning the used MCU and the board type / revision as marked on the board’s silkscreen.

Unfortunately, this is all I have so far.

Edit 1:

Board on K2 Max is Trigorilla SPE_A_V1.0.0 (Misspelled as Trigorlla). Same with K2 Pro. Safe to assume it’s also the case with K2 Plus.

Haven’t tried connecting to the serial pins.

Any chance you have the config for the kobra 2 neo, or how did you get these configs in the first place?

Hey, Have you been able to flash the trigorilla v1.0.0 board with klipper? If so, would you be able to share the settings you used while configuring klipper prior to compiling?

My current attempts won’t even flash my kobra 2 max via usb, did you use a different method?

As I told you on reddit already, I do not have one for Neo :slight_smile:
These files come from the firmware.

The way it works or rather, the way it seems to me it works, is that this board runs a linux system based on openwrt which servers as a host. Some chip on the board runs their closed source modification of klipper.
I have not flashed open source klipper.

Hi,

I have connected to the serial pins on the main board. It is the standard terminal port for the system. The boot log is here:

[127]HELLO! BOOT0 is starting!
[130]BOOT0 commit : 4d16602
M/TC: OP-TEE version: 963b7e95 (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Wed Jul 28 12:51:52 UTC 2021 arm


U-Boot 2018.05 (Oct 14 2023 - 02:56:25 +0000) Allwinner Technology, Build: jenkins-PPL_104-PACKAGE-SDK-486

[00.276]CPU:   Allwinner Family
[00.279]Model: sun8iw20
[00.281]DRAM:  128 MiB
[00.284]Relocation Offset is: 04ec3000
[00.313]secure enable bit: 0
[00.315]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.322]gic: sec monitor mode
[00.324]flash init start
[00.326]workmode = 0,storage type = 7
[00.330][mmc]: mmc driver ver uboot2018:2021-06-15 14:00:00
[00.335][mmc]: get sdc_type fail and use default host:tm1.
[00.341][mmc]: can't find node "mmc0",will add new node
[00.346][mmc]: fdt err returned <no error>
[00.350][mmc]: Using default timing para
[00.354][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.379][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 4
[00.385]sunxi flash init ok
[00.388]line:703 init_clocks
[00.391]drv_disp_init
request pwm success, pwm6:pwm6:0x2000c00.
[00.404]drv_disp_init finish
[00.406]boot_gui_init:start
[00.409]set disp.dev2_output_type fail. using defval=0
[00.415]boot_gui_init:finish
54 bytes read in 0 ms
[00.421]bmp_name=bootlogo.bmp size 522294
522294 bytes read in 12 ms (41.5 MiB/s)
[00.447]Loading Environment from SUNXI_FLASH... OK
[00.462]Item0 (Map) magic is bad
[00.464]the secure storage item0 copy0 magic is bad
[00.469]Item0 (Map) magic is bad
[00.472]the secure storage item0 copy1 magic is bad
[00.477]Item0 (Map) magic is bad
secure storage read widevine fail
[00.483]secure storage read widevine fail with:-1
secure storage read ec_key fail
[00.490]secure storage read ec_key fail with:-1
secure storage read ec_cert1 fail
[00.497]secure storage read ec_cert1 fail with:-1
secure storage read ec_cert2 fail
[00.505]secure storage read ec_cert2 fail with:-1
secure storage read ec_cert3 fail
[00.512]secure storage read ec_cert3 fail with:-1
secure storage read rsa_key fail
[00.519]secure storage read rsa_key fail with:-1
secure storage read rsa_cert1 fail
[00.527]secure storage read rsa_cert1 fail with:-1
secure storage read rsa_cert2 fail
[00.534]secure storage read rsa_cert2 fail with:-1
secure storage read rsa_cert3 fail
[00.542]secure storage read rsa_cert3 fail with:-1
[00.547]probe MP tools from boot
delay time 0
weak:otg_phy_config
[00.558]usb init ok
[00.796]LCD open finish
[01.061]usb overtime
[01.065]usb burn from boot
delay time 0
weak:otg_phy_config
[01.076]usb prepare ok
[01.879]overtime
[01.882]do_burn_from_boot usb : no usb exist
List file under ULI/factory
** Unrecognized filesystem type **
root_partition is rootfsB
set root to /dev/mmcblk0p8
[01.897]update part info
[01.900]update bootcmd
[01.903]change working_fdt 0x43e82e70 to 0x43e62e70
[01.923]update dts
Hit any key to stop autoboot:  0 
dsp0:uart config fail
dsp0 version is 132fbeea4ed7911fdeaa113ba573f86e578ab24c-dirty
DSP0 start ok, img length 223888, booting from 0x400660
[02.072]no vendor_boot partition is found
Android's image name: r528-k2
[02.084]Starting kernel ...

[02.087][mmc]: mmc exit start
[02.106][mmc]: mmc 0 exit ok
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61-ab486 (devops@vhs-szl-0065) (arm-openwrt-linux-gnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (G3
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
/dev/by-name/UDISK already format by ext4
/dev/by-name/rootfs_data already format by ext4
/dev/by-name/user already format by ext4
e2fsck 1.42.12 (29-Aug-2014)
/dev/by-name/rootfs_data: recovering journal
/dev/by-name/rootfs_data: clean, 41/32896 files, 13436/131073 blocks
Please press Enter to activate this console.
kmodloader done
Trying to connect to SWUpdate...

TinaLinux login: 

now we need to get the login credentials to access the system

1 Like

Strangely, mine never gets to login. It gets stuck at SWUpdate connection attempt. What is your fw version? 2.3.5?

Root password hash is $1$IhXzNJre$DYiasTPrHJp2X2imFvpVl1 btw. It’s unlikely that it can be bruteforced in a viable amount of time.

2.3.5 it is.

Just press enter when you see the “Trying to connect to SWUpdate…” line, it will get you to the login.

Mine is 2.3.6. It does not respond to me pressing enter.

Of course, your Linux system on the SBC needs to be setup properly. The required steps depend on the distribution / flavor of the distribution that is used.

  • Some need to have a screen connected and require a user / password setup as first step
  • Some have a default user / password combination
  • Some allow customization before burning the image to the SD

As far as I know Tinalinux is a customized openwrt.
I tried all default login combinations without any success. And even if we could log in what is the point? Original Klipper might not run smoothly on a low end hardware like this.

Anycubic is using the most cheap hardware (128 MB of ram…) to run their modified custom Klipper version. This causes the printer to hang time to time.
Since they will not make this version open, in my opinion our best shot is:

  • Ditch their version of TinaLinux, start making our own, and run an original version of Klipper on it (due to the memory limitations hanging of the printer might be still happening)

  • Create a very basic linux on the board that acts as a serial gateway between a normal SBC (Rpi, etc) and the printer. This way Klipper could be run on an external board, the mainboards HW won’t be a limiting factor since it needs to run basic g-code interpeter.

And how to do it, now that is a good question, since I have basic linux compiling knowledge.

I would not start messing with this. Get some halfway modern SBC and do a regular Klipper setup.

I have a Rpi3 already just for Klipper.
But correct me if I’m wrong, but Klipper needs a software running also on the “machine” as well. And since the new K2 series are not using microcontrollers rather CPUs, we need to install our custom linux on it, in order to install the client part of Klipper.
Previous machines that use microcontrollers could be programmed via the serial port, but it cannot be used in our case.

Might be time to cold message some anycubic employees on linkedin to see if they want to leak the root password…

If that doesn’t happen, I saw some discussions online about the process of switching to a different mainboard to avoid having to hack around AnyCubic’s stupid decision to close source the firmware, but that would require something like building a breakout plug for the harness, building new harness for the print head, or a sketchy solution that might catch on fire using jumper cables.

If my wife hadn’t forced me to throw out the box, i would consider returning the printer and buying something else

Given that AnyCubic is a chinese company, have you tried looking for default passwords used in china?

A quick google search showed this: In China, numbers are used in passwords more often than in English-speaking countries. Simple number sequences like “111111,” “123123,” and “5201314” (which resembles a phrase in Mandarin Chinese) are top choices.

In a nutshell: Klipper always consists of a “host process” running on some Linux device and a “firmware” running on the MCU.

If these two components are running on physically separated units like a RPi and a “Bigtree SKR Turbo Maximus Prime v27” or highly integrated on one board (e.g. BIGTREETECH Manta E3EZ V1.0 for Ender 3 – Biqu Equipment) does not matter.

For more details see Klipper Architecture / Ecosystem

1 Like