WRT3200ACM: Changes not being saved (corrupt ubi partition)

I just rebooted to the original firmware and reinstalled LEDE again; now everything works as expected.
Many thanks!