I\'m working on AOSP. I\'ve successfully added my apk to build. Now I want to give root access to my app. I don\'t want to provide root access to other apps
ChainFire has written a a guide on su and how to use it for normal apps. If you're intending on working with anything other than your own phone I suggest this is the approach you follow.