diff --git a/Patcher.bat b/Patcher.bat new file mode 100644 index 0000000..f8ed3b3 --- /dev/null +++ b/Patcher.bat @@ -0,0 +1,165 @@ +echo off +REM flash tool created for teclasct x98-pro ( mirek190 ) +mode con: cols=85 lines=50 +set ch=data\chgcolor.exe +set fast=data\fastboot.exe +set adb=data\adb.exe +echo. && echo. && echo. +%ch% cc +echo ___________________________________________________________________________________ +%ch% 00 +echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. +echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. +%ch% 0f +echo KMod X98Pro Rom Patcher +%ch% 00 +echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. +echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. +%ch% cc +echo ___________________________________________________________________________________ +%ch% 0f +Timeout /t 2 >data/null + +:START +cls +%ch% 07 +echo. && echo. && echo. +%ch% cc +echo ___________________________________________________________________________________ +%ch% 0f +echo. && echo. && echo. +echo TECLAST X98-PRO KMod Rom Patcher +echo. +echo -- MENU -- +echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. +Timeout /t 1 >data/null +echo _________________________________________________________________________________ +echo. && echo. +%ch% 0a +echo 1 - INSTALL MOD SystemUI with only 3 button NavBar (No Cam/Vol) +echo. +%ch% 08 +%ch% 0f +echo _________________________________________________________________________________ +echo. && echo. +%ch% 0a +echo 2 - INSTALL Stock SystemUI with 6 button NavBar (Cam/Vol) +echo. +%ch% 08 +%ch% 0f +echo _________________________________________________________________________________ +echo. && echo. +%ch% 0a +echo 3 - Reboot Tablet +echo. +%ch% 08 +%ch% 0f +echo _________________________________________________________________________________ +echo. && echo. +%ch% 0a +echo 4 - Check attached devices (To0Be0filled0by0O0E0 Should be displayed) +echo. +%ch% 08 +%ch% 0f +echo _________________________________________________________________________________ +echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. && echo. +echo E - exit +%ch% cc +echo ___________________________________________________________________________________ +%ch% 0f +Timeout /t 1 >data/null +echo Choose an option: +%ch% 00 +echo. && choice /c:1234E /M "" + + IF %ERRORLEVEL% == 1 GOTO MOD + IF %ERRORLEVEL% == 2 GOTO STOCK + IF %ERRORLEVEL% == 3 GOTO REBOOT + IF %ERRORLEVEL% == 4 GOTO STATUS + IF %ERRORLEVEL% == 5 GOTO EXIT + +:EXIT +exit + +:MOD +cls +color 47 +%adb% remount +color 47 +%adb% push data/SystemUI_mod.apk /system/priv-app/SystemUI/SystemUI.apk +Timeout /t 10 >data/null +%ch% 4F +echo. ******** Patch Applied ***** +Timeout /t 2 >data/null +echo.----------------------------------------------------------------------------------- +%ch% 47 +Timeout /t 1 >data/null +echo. +echo Please reboot tablet to see changes +echo. && echo. +echo Press any key to back to MAIN MEMU +%ch% 44 +pause +%ch% 00 +GOTO START + +:STOCK +cls +color 47 +%adb% remount +color 47 +%adb% push data/SystemUI_Stock.apk /system/priv-app/SystemUI/SystemUI.apk +Timeout /t 10 >data/null +%ch% 4F +echo. ******** Reverted to Stock ***** +Timeout /t 2 >data/null +echo.----------------------------------------------------------------------------------- +%ch% 47 +Timeout /t 1 >data/null +echo. +echo Please reboot tablet to see changes +echo. && echo. +echo. && echo. +echo Press any key to back to MAIN MEMU +%ch% 44 +pause +%ch% 00 +GOTO START + +:REBOOT +cls +color 47 +%adb% reboot +Timeout /t 10 >data/null +%ch% 4F +echo. ******** Tablet Will Reboot ***** +Timeout /t 2 >data/null +echo.----------------------------------------------------------------------------------- +%ch% 47 +Timeout /t 1 >data/null +echo. +echo. && echo. +echo Press any key to back to MAIN MEMU +%ch% 44 +pause +%ch% 00 +GOTO START + +:STATUS +cls +color 47 +%adb% devices +Timeout /t 5 >data/null +%ch% 4F +echo. ******** Connected Devices Displayed ***** +Timeout /t 2 >data/null +echo.----------------------------------------------------------------------------------- +%ch% 47 +Timeout /t 1 >data/null +echo. +echo. && echo. +echo Press any key to back to MAIN MEMU +%ch% 44 +pause +%ch% 00 +GOTO START \ No newline at end of file diff --git a/data/AdbWinApi.dll b/data/AdbWinApi.dll new file mode 100644 index 0000000..b5586eb Binary files /dev/null and b/data/AdbWinApi.dll differ diff --git a/data/AdbWinUsbApi.dll b/data/AdbWinUsbApi.dll new file mode 100644 index 0000000..0c9e00b Binary files /dev/null and b/data/AdbWinUsbApi.dll differ diff --git a/data/SystemUI_Mod.apk b/data/SystemUI_Mod.apk new file mode 100644 index 0000000..5ddc44f Binary files /dev/null and b/data/SystemUI_Mod.apk differ diff --git a/data/SystemUI_Stock.apk b/data/SystemUI_Stock.apk new file mode 100644 index 0000000..e021c51 Binary files /dev/null and b/data/SystemUI_Stock.apk differ diff --git a/data/adb.exe b/data/adb.exe new file mode 100644 index 0000000..9678e99 Binary files /dev/null and b/data/adb.exe differ diff --git a/data/chgcolor.exe b/data/chgcolor.exe new file mode 100644 index 0000000..e9a7e00 Binary files /dev/null and b/data/chgcolor.exe differ diff --git a/data/null b/data/null new file mode 100644 index 0000000..014087f --- /dev/null +++ b/data/null @@ -0,0 +1,2 @@ + +Waiting for 1 seconds, press a key to continue ...0