I have done this in several skins (I use about 6) by adding it as a submenu option to my 'Shutdown' main menu item. You could also add it as an extra main item on the home menu also. The key is to use 'custom item' when setting up the submenu option.
Where I already have a shutdown menu, I also have the standard reboot as a submenu option. I add 'Reboot Android' as another submenu option. Just add another item to the submenu panel in Kodi as usual, and then click on the 'Change action' setting in the submenu panel. Then, page down till you see 'Custom item' (or something similar) as an option and select that - I think it's the last option on the list. Then type in the following text:-
Exec.System(/usr/sbin/rebootfromnand)
So far I can only get this to work where you are allowed to enter custom actions. For example, in Xonfluence, I can't find a way of doing this, so I edited the DialogButtonMenu.xml.
The advantage of adding it as a submenu option is that skin upgrades should not remove that setting. I also found that when I added it to one of my skins - it was automatically added to the other skins (those that have the ability to enter 'custom item' that is).
You should change it to System.Exec(/usr/sbin/rebootfromnand)
And then it's working like a magic. Thanks.
Sent from my Redmi Note 3 using Tapatalk
[hr]
Only one thing is missing and everything will be perfect. efficiently handling for ram memory.
Sent from my Redmi Note 3 using Tapatalk