I am trying to update LineageOS 16 to my Moto G (5S) Plus. I found an unofficial ROM online and it seems that it is installing very well. However, when it boots for the first time, the phone shows the boot animation for about 10 seconds and then says "To start Android, enter your password." I tried to enter default_password without success.
At first I thought this was a problem with the gapps package I had installed, but after installing a different package perfectly, the problem seemed to be in the encryption. A different stack exchange post suggested that you enter the following in adb:
shell recovery adb --wipe_data --set_filesystem_encryption = off
After entering this line and restarting, I saw the same screen and entered again in default_password, to be received with "Although this password is correct, your data is damaged and could not be decrypted." Perform a factory reset to use your device "
I'm not sure where to go, since I've repeated the process and I've adjusted something about 10 times, with the same result every time.