Info needed about APM Pro Mini

Hi all, I’m new to this forum and for you guys it maybe a simple question. I’ve searched for days and can’t figure it out. I have bought the APM Pro Mini. I can install the firmware by selecting the frame type in APM Planner. In my case, the APM has a defective main out S2. I would like to modify the firmware in order to use S5 as S2 (re-map motors). Which firmware do i need, where are these sources? The sources i found target APM1 and APM2 and other variations. Can somebody help me on the way? I would like to get the 4th motor spinning.

p.s.
the ESC’s and motors all function correct on other S1, S3 and S4. I attached a photo of my flightcontroller.

Never mind, i found the correct firmware and re-mapped motors.

Hello, Ayhan. I have set a mini APM pro, but I could not find a manual on how to arm and disarm the APM pro in any websites. Do you have an idea on this? Thank you. Sehsub Han.

I have been suffering the same problem like you.
It is curious, maybe all the APM pro mini have a broken motor output 2.

I have managed to remap the output following this tutorial:
ellibrodehugo.com/?page_id=2873

just go to \ArduCopter-3.2.1\libraries\AP_Motors\AP_MotorsQuad.cpp
and clone the motor declarations:

// X frame set-up
add_motor(AP_MOTORS_MOT_1, 45, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 1);
add_motor(AP_MOTORS_MOT_2, -135, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 3);
add_motor(AP_MOTORS_MOT_3, -45, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 4);
add_motor(AP_MOTORS_MOT_4, 135, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 2);
//JEA, redundancy of motor outputs
add_motor(AP_MOTORS_MOT_5, 45, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 1);
add_motor(AP_MOTORS_MOT_6, -135, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 3);
add_motor(AP_MOTORS_MOT_7, -45, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 4);
add_motor(AP_MOTORS_MOT_8, 135, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 2);

hope it helps someone more

Now I am stuck in the configuration of the APM mini, I have a very high rate of errRP on the logs that makes unable to fly the copter.