Skip to content

Commit

Permalink
Latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Stericson committed Nov 26, 2017
1 parent 77e8f6d commit 455d5c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Binary file modified RootShell/RootShell.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/java/com/stericson/RootTools/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class Constants
{
public static final String TAG = "RootTools v4.4";
public static final String TAG = "RootTools v4.6";
public static final int FPS = 1;
public static final int BBA = 3;
public static final int BBV = 4;
Expand Down
8 changes: 5 additions & 3 deletions src/main/java/com/stericson/RootTools/internal/Remounter.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,15 @@ public boolean remount(String file, String mountType)
Command command = new Command(0,
true,
"busybox mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath(),
"busybox mount -o remount," + mountType.toLowerCase() + " " + file,
"toolbox mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath(),
"toybox mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath(),
"toolbox mount -o remount," + mountType.toLowerCase() + " " + file, "toybox mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath(),
"mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath(),
"mount -o remount," + mountType.toLowerCase() + " " + file,
"/system/bin/toolbox mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath(),
"/system/bin/toybox mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath()
);
"/system/bin/toolbox mount -o remount," + mountType.toLowerCase() + " " + file,
"/system/bin/toybox mount -o remount," + mountType.toLowerCase() + " " + mountPoint.getDevice().getAbsolutePath() + " " + mountPoint.getMountPoint().getAbsolutePath(),
"/system/bin/toybox mount -o remount," + mountType.toLowerCase() + " " + file);
Shell.startRootShell().add(command);
commandWait(command);

This comment has been minimized.

Copy link
@juniorasher

juniorasher Apr 6, 2018

Thanks


Expand Down

0 comments on commit 455d5c2

Please sign in to comment.