question: public boolean fixUtils ( String [ ] utils ) throws Exception { for ( String util : utils ) { if ( ! checkUtil ( util ) ) { if ( checkUtil ( "busybox" ) ) { if ( hasUtil ( util , "busybox" ) ) { fixUtil ( util , RootTools . utilPath ) ; } } else { if ( checkUtil ( "toolbox" ) ) { if ( hasUtil ( util , "toolbox" ) ) { fixUtil ( util , RootTools . utilPath ) ; } } else { return false ; } } } } return true ; }
target:  This will check an array of binaries, determine if they exist and determine that it has either the permissions 755, 775, or 777. If an applet is not setup correctly it will try and fix it. (This is for Busybox applets or Toolbox applets)