After successful root of device. Now, I need to make device always in wake state i.e. always visibility of UI and no black screen or any daydream screens. To do so I think I\'ve
I think you will need to modify the framework...Build framework.jar and push it to the device.
You can refer this link to know how to modify framework code-Modify java code in framework.jar and https://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-2-hacking-around/
Other alternative I can think of is using some MDM(Mobile device management) solution from Airwatch/SOTI/SAP Afaria which have privilege APIs to control the device.