I need to get root access for rooted devices, and I was wondering how I can request root access. I need the access for the file system. Thanks a lot.
Most root devices use Superuser or SuperSU, if you wanna root ability in your app, you should claim superuser permission in your app manifest.
More detailed information, you should check HOW-To SU by Chainfire (The author of SuperSU) and look into the example source libsuperuser(https://github.com/Chainfire/libsuperuser)