This might be helpful to some people:
In case someone uses skins that use “skin shortcuts” (such as Eminence 2, Nox 5 Silvo, etc) there’s usually no DialogButtonMenu.xml or any other related file to edit that would have the result we want.
Usually, though, these skins have the option to go to “Skin Settings → Miscellaneous → Customise shutdown menu”.
But there, you can only add one command / action to each item.
For CoreElec with such skins to boot to Android you need two actions / commands.
- System.ExecWait(“/usr/sbin/rebootfromnand”)
- Reset() or XBMC.Reboot() (correct me if I’m wrong for the first one)
One way would be to create an item named whatever you want (e.g.“Reboot to Nand / Android”) with this action: “System.ExecWait(”/usr/sbin/rebootfromnand")" and everytime you want to boot to Nand, you have to press this power menu item and then also press Reboot.
If you want to have one power menu item to do the job, here are the instructions and what I did (by following this post: Adding multiple custom commands )
- Created an “overrides.xml” file with this content:
<?xml version="1.0" encoding="UTF-8"?> <overrides> <override action="RebootToAndroid"> <action>System.ExecWait("/usr/sbin/rebootfromnand")</action> <action>XBMC.Reboot()</action> </override> </overrides>
- Copied it within the “userdata” folder
- Went to “Skin Settings → Miscellaneous → Customise shutdown menu” and added an item with the label “Reboot to Android” and this action (without the quotes): “RebootToAndroid”
That’s it. It seems to work fine.