Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Updated code for Duraspeed.
Browse files Browse the repository at this point in the history
Script now contains code to disable Duraspeed on MediaTek devices.
  • Loading branch information
thanuj10 authored Nov 19, 2019
1 parent 97d1392 commit a32a712
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions Batch-script
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ goto menu
:menu
echo.
echo.
echo.
echo. = Menu =
echo.
echo.
echo [1] Debloat your phone
echo [2] Do it later
echo.
echo [2] Disable Duraspeed(For Mediatek devices only)
echo [3] Do it later
echo.
echo.
set /p choice= Enter your option:

if '%choice%'=='1' goto Debloat
if '%choice%'=='2' goto exit
if '%choice%'=='2' goto Disable Duraspeed
if '%choice%'=='3' goto exit

goto menu

Expand All @@ -34,9 +34,7 @@ echo.
echo While this script deletes most of the evenwell apps, Some of them will still be in the system. Mostly because they seem important.
echo.
echo.
echo.
pause
exit

adb.exe devices
adb.exe shell pm uninstall --user 0 com.evenwell.DbgCfgTool
Expand Down Expand Up @@ -74,20 +72,34 @@ adb.exe shell pm uninstall --user 0 com.evenwell.managedprovisioning
adb.exe shell pm uninstall --user 0 com.evenwell.managedprovisioning.overlay.base.s600ww
adb.exe shell pm uninstall --user 0 com.evenwell.DeviceMonitorControl
adb.exe shell pm uninstall --user 0 com.evenwell.DeviceMonitorControl.data.overlay.base.s600ww
adb.exe reboot

echo.
echo The debloating is now finished. Rebooting your device.
echo.
echo The debloating is now finished. Please Reboot your devices
echo.
echo.
exit


-----------------------------------------------------
:Disable Duraspeed
cls
echo.
echo You can now close this window.
echo Duraspeed will now be disabled, Please don't restart your phone.
echo.
pause

adb.exe devices
adb.exe shell settings put global setting.duraspeed.enabled 0

echo.
echo Duraspeed is now disabled
echo.
echo.
pause
exit

-----------------------------------------------------
-------------------------------------------------------

:exit
cls
Expand All @@ -96,6 +108,7 @@ echo You chose to do it later.
echo.
pause


------------------------------------------------------


Expand Down

0 comments on commit a32a712

Please sign in to comment.