Ok then! Doesnt know that! Only the code for Emustation install on S905:
ssh -l root "LibreELEC IP"
Password: libreelec
cd /storage
curl -LO https://archive.org/download/EmulationStationS905/EmulationStation_S905.tgz
tar xopf EmulationStation_S905.tgz
rm -f EmulationStation_S905.tgz
reboot
To launch EmulationStation there is an included add-on to launch it (it will show up under "Program add-ons").
To return back to EmulationStation after opening a game, select "Quit RetroArch".
To boot back into Kodi select the Kodi option within EmulationStation.
The default ROM folder is at: /storage/roms
You must put some roms first, otherwise Emustaion will not start. As Controller i recomm. XBox 360 Wireless with usb Adapter or the wired version of it.