Updated solution for logcat reading on rooted Android 4.1+

Comments and minor cosmetic improvement