I'm trying to compile (build) android ROM (KitKat 4.4.2) and encountered a permission related issue.
I've got the rom working properly on the device, however, I am looking for ways to allow one of the application to gain permission to perform reboot. After several research, I've included the Reboot permission for the application. However, according to my research I still need to have root access.
Anyone know where I need to modify in Android ROM source code (4.4.2) so that my application (which I'll distribute it along with the ROM) can have the ability to issue reboot command?
(Note: My application is fully functional on previous generation hardware which is running Android 4.2.2.)
Any help will be appreciated!
Thank you