Chosen Solution

Greetings! I have a problematic Mini 2 - it reboots sporadically, flashing blue for a split second. The problem is the device is actually assembled from a lot of parts of different devices, so I need to know potetial roots of the problem at least. Say, could it be wrong battery or software problem or what else? The only thing I found the issue occurs if to use wrong screw to attach the plate covering LCD etc connectors, but its unlikely… (Im pretty sure I didnt) Please help how to diagnose.

It was cheap battery.