Who can collect a new version of the utility shut down and restart in Android ? Need to change the algorithm of this utility. After selecting the desired item in the menu, the utility should call the script with a specific name. Need 4 menu.
- Restart (calls the script “reboot.sh” with a set of commands to reload)
- Shutdown (executes the script “poweroff.sh” with a set of poweroff commands)
- Rebooting LibreElec (calls the script “rebootfromlibreelec”, which should set a variable in u-boot “bls = libreelec” and reboot)
- Rebooting in Linux (calls the script “rebootfromlinux”, which should set a variable in u-boot “bls = linux” and reboot).
I need this for inclusion in a new version of the firmware MultiOS 3in1 (Android+Libreelec+Linux). LE Linux and I’ve already added the necessary elements, but I’m not good at Android so I need help with the Assembly of the desired utility for Android.