Skip to content

Commit 62c3d6a

Browse files
committed
improve installing supersu.apk. :: sometimes fail.
1 parent f312c96 commit 62c3d6a

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

File renamed without changes.

files/SuperSu/install_su.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ echo 'ui_print("/system/bin/chmod 6755 /system/xbin/su");' >> /cache/recovery/ex
3232
echo 'run_program("/system/bin/chmod", "6755", "/system/xbin/su");' >> /cache/recovery/extendedcommand
3333

3434

35+
echo instrall SuperSu.apk
36+
pm install /data/local/tmp/SuperSu/eu.chainfire.supersu-193.apk

files/SuperSu_forHost/.gitignore

Whitespace-only changes.

runme.bat

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,13 @@ echo prepear for gettting the permanent root
120120
%adb% shell chmod 755 /data/local/tmp/SuperSu/install-busybox.sh
121121

122122
echo install su binaries
123-
%adb% shell /data/local/tmp/run_root_shell -c "chmod 6755 /data/local/tmp/SuperSu/sed/xbin/daemonsu"
124123
%adb% shell /data/local/tmp/run_root.sh /data/local/tmp/SuperSu/install_su.sh
125124
%adb% shell /data/local/tmp/run_root_shell -c "reboot recovery"
125+
126126
type %doc%\"05_reboot.txt"
127127
%adb% wait-for-device
128128
call :adb_push
129129

130-
echo start instrall SuperSu.apk
131-
%adb% install "%~dp0files\SuperSu_forHost\eu.chainfire.supersu-193.apk"
132130
pause
133131
exit /b
134132

0 commit comments

Comments
 (0)