Example code for "How-To SU" For further details, see: http://su.chainfire.eu/ Gradle: dependencies { compile 'eu.chainfire:libsuperuser:1.0.0.+' }