public boolean installBinary(Context context,int sourceId,String destName,String mode){
  Installer installer;
  try {
    installer=new Installer(context);
  }
 catch (  IOException ex) {
    if (RootTools.debugMode) {
      ex.printStackTrace();
    }
    return false;
  }
  return (installer.installBinary(sourceId,destName,mode));
}

public boolean installBinary ( Context context , int sourceId , String destName , String mode ) { Installer installer ; try { installer = new Installer ( context ) ; } catch ( IOException ex ) { if ( RootTools . debugMode ) { ex . printStackTrace ( ) ; } return false ; } return ( installer . installBinary ( sourceId , destName , mode ) ) ; }
this method can be used to unpack a binary from the raw resources folder and store it in / data / data / app . package / files / this is typically useful if you provide your own c - or c + + - based binary . this binary can then be executed using sendshell ( ) and its full path .
