My phone is rooted and i wrote code in my app to change file permission of system file which is located at /sys/class/leds/lcd-backlight/brightness
Runtime.getRu
That's not how you execute su-ed commands. Please refer to http://su.chainfire.eu/ for guidance.