-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdebloat.cmd
32 lines (32 loc) · 913 Bytes
/
debloat.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
echo ====================
echo Ando Debloater v1.0
echo ====================
set /p phone=Enter list name from 'app-list' folder:
echo.
echo Debloating...
echo ===========================================================
set count=0
(for /f "tokens=*" %%x in (app-list\%phone%.txt) do (
echo %%x
adb shell pm uninstall -k --user 0 %%x
set /a count+=1
echo.
))
echo ======================
echo #%count% apps removed
echo ======================
set /p dGoogle=Debloat Google Stuff Too (y/n) ?
if %dGoogle%==n exit /b 0
echo Debloating Google Stuff...
echo ===========================================================
set count=0
(for /f "tokens=*" %%y in (app-list\google.txt) do (
echo %%y
adb shell pm uninstall -k --user 0 %%y
set /a count+=1
echo.
))
echo ======================
echo #%count% apps removed
echo ======================