I’m using Home Assistant and there’s a method of invoking Kodi API calls, including loading addons. I’m looking to remotely be able to reboot to eMMC (Android) via an API call or by invoking an addon. I tried installing an addon that contained something like;
import os
os.system(“/usr/sbin/rebootfromnand”)
But it wasn’t successful, maybe due to lack of permissions.
Is there a way to invoke rebooting to eMMC that doesn’t involve using a skin like Plextuary with the command in the power button UI dropdown?
It works on my AM6B+ as it should, without any problem. I use it all the time with “First Boot” when installing new CE versions.
On some Android versions in order to work you have to enable ADB in Developer Options.