Trigger reboot to EMMC via addon or something?

Hi,

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?

You also need to run reboot.

Thanks. I just ended up using someone else’s zip script, but I’m having trouble finding a method that reboots from Android TV.

Reboots from Android TV works with “Reboot_to_CoreELEC_5.0.apk”.

Doesn’t work for me. Using v5, but when I choose either option nothing happens – no reboot occurs.

Github says it only supports;. * Device: Dune HD Homatics Box R 4K Plus, Dune HD Premier 4K Pro, Homatics Box R 4K Plus, Nokia 8010 or Rocktek G2

I have the ugoos am6b+, seems unsupported.

Yes, on am6+ works reboot to libreelec.

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.