Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Fixed an issue where the script would report it failed even if it has
actually existed. This issue occurred because I forgot to disable the
check after it finished its root routine.
  • Loading branch information
BetaLeaf authored and BetaLeaf committed Jun 20, 2016
1 parent 6714686 commit 9306210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AndyRoot.au3
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ Func AndyRoot()
ShellExecuteWait("adb.exe", "push su /storage/sdcard0/", $tempDir, "", @SW_HIDE)
ShellExecuteWait("adb.exe", 'shell "mount -o remount,rw /system"; "cp /storage/sdcard0/su" "/system/xbin/su"; "chmod 06755 /system/xbin/su"; "mount -o remount,ro /system"', $tempDir, "", @SW_HIDE)
ShellExecuteWait("adb.exe", "reboot", $tempDir, "", @SW_HIDE)
AdlibUnRegister("CheckTimer")
MsgBox(0, "Andy", "Please run Root Checker Basic in Andy and click Verify Root. If you were asked for root access, then root succeeded. If root did not succeed, rerun this app.")
EndFunc ;==>AndyRoot
Func CheckTimer()
Expand Down

0 comments on commit 9306210

Please sign in to comment.