I couldn't disable the full-device encryption on my phone even by doing factory
resets both from Android and the recovery mode, the later being unable to mount
/data
.
There was a lot of people complaining about this on the internet but nobody
provided a working solution so I had to investigate this myself.
Note: this will erase everything as would a factory reset do.