-
Notifications
You must be signed in to change notification settings - Fork 0
/
3-CleanSDcard.cmd
43 lines (32 loc) · 934 Bytes
/
3-CleanSDcard.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
33
34
35
36
37
38
39
40
@echo off
title Full Setup Script For Tank
set debug=0
set fireOsVersion=0.0.0.0
set fireOsDevice=none
set downgrade=0
set magiskZip=Magisk-v20.4.zip
set adb="adb.exe"
set adbKill=adb.exe kill-server
set adbStart=adb.exe start-server
set adbWait=adb.exe wait-for-device
set sleep="wait.exe"
set install=adb.exe install
set uninstall=adb.exe uninstall
set push=adb.exe push
set pull=adb.exe pull
set shell=adb.exe shell
set twrp=adb.exe shell twrp
echo Clean Sd-Card
echo.
adb shell su -c "rm /sdcard/*"
adb shell su -c "rm -r /sdcard/Alarms/"
adb shell su -c "rm -r /sdcard/DCIM/"
adb shell su -c "rm -r /sdcard/Download/"
adb shell su -c "rm -r /sdcard/Movies/"
adb shell su -c "rm -r /sdcard/Music/"
adb shell su -c "rm -r /sdcard/Notifications/"
adb shell su -c "rm -r /sdcard/Pictures/"
adb shell su -c "rm -r /sdcard/Podcasts/"
adb shell su -c "rm -r /sdcard/Ringtones/"
adb shell su -c "rm -r /sdcard/backups/"
echo.