SecurityException fixed on rooted devices