Thaks a lot, I flashed magisk and on the first boot seemed a bit slow, but now it's working fine.
The rom is working good so far, and the phone never rebooted itself (I never understood if my mi5 was faulty or what, but sometimes it reboots a few times a day without apparent reason).
The only...