Commits

JRummy16  committed 7828353 Draft

Use root to give permissions

  • Participants
  • Parent commits 237c502

Comments (0)

Files changed (1)

File src/com/jrummy/busybox/installer/AdvancedInstaller.java

 				Looper.prepare();
 				File busybox = new File(getFilesDir(), "busybox");
 				String tmp = busybox.getAbsolutePath();
-				CMDProcessor.SH sh = new CMDProcessor().sh;
+				CMDProcessor.SH su = new CMDProcessor().su;
 				BinaryInstaller.copyOver(mPath, tmp);
-				sh.runWaitFor(BusyboxActivity.CHMOD + " 4755 " + tmp);
+				su.runWaitFor(BusyboxActivity.CHMOD + " 4755 " + tmp);
 
 				List<String> applets = Helpers.getBusyboxApplets(tmp);
 				HashMap<String, Object> item;