When I install a ROM with Android 10 (PixelExperience, LineageOS, AospExtended, etc.) It works perfectly, but when encrypting it stops working and starts to have errors.