Hello ZAX
I did a repair on my first "drawned" MagicPie3 (you looks like mine, so maybe a MP3 itself). When cleaning, drying the damaged one I replaced the HALL sensors as the original were said to die quickly. I replaced the bearings as well with SKF "low friction" ones, changed the 1,5mm^2 phase wires with decent 4mm^2 and took the time to seal the coil with special glew and have it baked (so the glew get hard).
In my first refit I used again the MP3 internal controller, after two years this one failed and I replaced it with another internal one; one year after that the controller died again and I switched (in 2016) to an external VESC which works since then as FOC (=sinodial) controller. Since that the (enhanced) MP3 is silent, runs very smooth (with no load about 180mA current at 30V).
I did a bit of report three month ago when my second MP3 had controller failure (again) and I tried to go for an Kelly KBS36051X, but finally going for the VESC again. The second one is with original bearing and no sealing of the coils, so I have a direct comparison.
While taking a lot of time and resources, I'm very happy with the modification. The bearing is quite cheap (about 30EUR for the big one, the small one about 15EUR), the cables costs just effort, the sealing itself would be very cheap apart from the manpower and finally the VESC + a sealed chamber for about 150EUR. The Original ESC costed about 50EUR replacement, while the Kelly would be about 60USD+Shipping and is said to be very sturdy and reliable (which I believe as I've seen the quality of the used parts).
Used with 50V and it's allowed 50A (not with the 1,5mm^2 cables!) the MP3 could give you 75Nm which is not the best possible, but a lot of beef. Apart from it's high weight the MP3 is still my prefered choice (would the controller be more reliable). My first one have now about 50.000km ride, while my second one is nearly 100.000km since 2011. I'm using it in a trimmed 24V/10A setting with rekuperation enabled and in both versions as front drive which is very apealing.
Remember to grease/insulate the openings so no moisture get in. I used silicon salt packs to get moisture under control.
I'm into electronic myself, but mechanics is a very weak spot in my "tool chain" :-) so every change is taking a lot of probing and tinkering until it works.
Cheers
Sam