I was wondering does anyone know how to repair a cellphone damaged by a magnet or is it even possible?
I think it is possible, but I cannot guarantee.

First of all make sure that the battery has enough charge, because a strong magnetic filed can discharge the batteries. Then try to connect the phone to XS++ or SETool2 Lite, and post the log. If it doesn't works, check if you see the red light blinking...