Necromancy, but here's updated info:
Create /storage/.cache/reset_hard or /storage/.cache/reset_soft so, just touch it and reboot)
LibreELEC.tv/packages/sysutils/busybox/scripts/libreelec-target-generator at d7aeaebd00200237e0d211a4896b0851be09631d · LibreELEC/LibreELEC.tv
Just enough OS for KODI. Contribute to LibreELEC/LibreELEC.tv development by creating an account on GitHub.
github.com
And the actual script that does the reset is here: https://github.com/LibreELEC/Libr…actory-reset#L4
Soft reset only clears the config https://github.com/LibreELEC/Libr…ctory-reset#L76, while hard reset just wipes out all user storage https://github.com/LibreELEC/Libr…y-reset#L53-L61