All android processes crash when booting device
I finally managed to solve this problem. I just booted into recovery mode, and I deleted all data.
After rebooting, the system started working as usual, even though I erased all my data, which I successfully recovered since I made a backup some time before.