File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Device not found
2+ please make sure
3+ - USB cable conection
4+ - Windows DeviceDriver instaration
5+ - Phone USB debug settings
6+
Original file line number Diff line number Diff line change 1+ �f�o�C�X���F���ł��܂���B
2+ �ȉ����m�F���Ă�������
3+ - USB�P�[�u���̐ڑ�
4+ - Windows��DeviceDriver�C���X�g�[��
5+ - �[����USB�f�o�b�OON
6+
Original file line number Diff line number Diff line change @@ -6,11 +6,16 @@ SET adb="%~dp0bin\adb.exe"
66mode con:cols=80 lines=40
77type %doc% \" 01_Thanks.txt"
88pause
9+
10+ %adb% shell id
11+ IF %ERRORLEVEL% neq 0 goto device_not_found
12+
913call :adb_push
1014
1115:menu
1216COLOR 0A
1317type %doc% \" 08_menu.txt"
18+ SET INPUT =
1419set /P INPUT = Num :
1520if " %INPUT% " == " 1" call :backup
1621if " %INPUT% " == " 2" call :install_recovery
@@ -27,9 +32,19 @@ type %doc%\"02_End.txt"
2732pause
2833exit /b
2934
35+ :: ==============================================================
36+ :device_not_found
37+ COLOR 0C
38+ type %doc% \" 09_Error_device_not_found.txt"
39+ pause
40+ exit /b
41+
3042:: ==============================================================
3143:adb_push
3244%adb% push " %~dp0 files\tmproot" /data/local/tmp/
45+
46+ :: IF %ERRORLEVEL% neq 0 exit /b 1
47+
3348%adb% shell chmod 755 /data/local/tmp/busybox_file
3449:: rooting
3550%adb% shell chmod 755 /data/local/tmp/get_essential_address
@@ -110,6 +125,7 @@ echo install su binaries
110125%adb% shell /data/local/tmp/run_root_shell -c " reboot recovery"
111126type %doc% \" 05_reboot.txt"
112127%adb% wait-for-device
128+ call :adb_push
113129
114130echo start instrall SuperSu.apk
115131%adb% install " %~dp0 files\SuperSu_forHost\eu.chainfire.supersu-193.apk"
You can’t perform that action at this time.
0 commit comments