forked from White9shadow/God-Speed-Mode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomize.sh
96 lines (90 loc) · 3.78 KB
/
customize.sh
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
MINAPI=25
MAXAPI=31
DEBUG=true
ARCH SDK=`getprop ro.build.version.sdk`
ui_print "
▒█▀▀▀█ █▀▀█ █▀▀ █▀▀ ▀▀█▀▀ █▀▀█ █░░█ █▀▄▀█
░▀▀▀▄▄ █░░█ █▀▀ █░░ ░░█░░ █▄▄▀ █░░█ █░▀░█
▒█▄▄▄█ █▀▀▀ ▀▀▀ ▀▀▀ ░░▀░░ ▀░▀▀ ░▀▀▀ ▀░░░▀ "
ui_print "
░██████╗░░█████╗░██████╗░
██╔════╝░██╔══██╗██╔══██╗
██║░░██╗░██║░░██║██║░░██║
██║░░╚██╗██║░░██║██║░░██║
╚██████╔╝╚█████╔╝██████╔╝
░╚═════╝░░╚════╝░╚═════╝░
░██████╗██████╗░███████╗███████╗██████╗░
██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗
╚█████╗░██████╔╝█████╗░░█████╗░░██║░░██║
░╚═══██╗██╔═══╝░██╔══╝░░██╔══╝░░██║░░██║
██████╔╝██║░░░░░███████╗███████╗██████╔╝
╚═════╝░╚═╝░░░░░╚══════╝╚══════╝╚═════╝░ "
ui_print " VERSION v5 | Gilgamesh "
sleep 1
ui_print "
░█▀▀█ ─▀─ █── █▀▀▀ █▀▀█ █▀▄▀█ █▀▀ █▀▀ █──█
░█─▄▄ ▀█▀ █── █─▀█ █▄▄█ █─▀─█ █▀▀ ▀▀█ █▀▀█
░█▄▄█ ▀▀▀ ▀▀▀ ▀▀▀▀ ▀──▀ ▀───▀ ▀▀▀ ▀▀▀ ▀──▀ "
sleep 1
ui_print " UNLOCKED 90FPS "
sleep 1
ui_print " THERMALS FOR GAMING "
sleep 1
ui_print " AIM ASSETS BOOSTED"
sleep 1
ui_print " TOUCH BOOSTED "
sleep 1
ui_print " GPU BOOSTED "
sleep 1
ui_print " CPU BOOSTED "
sleep 1
ui_print " INTERNET BOOSTED "
sleep 1
ui_print " DOZE MODE ACTIVE "
sleep 1
ui_print " FORCE FAST CHARGING RATE "
sleep 1
ui_print " MEDIA QUALITY IMPROVED "
sleep 1
ui_print " REDUCE HEAT "
sleep 1
ui_print " 95%FPS STABILISED "
ui_print " "
sleep 1
ui_print " 🙏 Big Big Thanks to WeAreRevens and revWhiteShadow@tg inspired from Spectrum"
ui_print " ........................."
ui_print " "
ui_print " revWhiteShadow "
ui_print " ........................."
ui_print " "
ui_print " Remove Other Tweaks and performance type applications"
ui_print " "
ui_print ""
sleep 3
ui_print " Optimizing device Please Wait It Can Take 5-10 Minutes"
fstrim -v /system
fstrim -v /data
fstrim -v /cache
ui_print " Optimizing Complete "
ui_print " You Can Boost Your Device With Terminal Command su -c boost"
ui_print "[*] Installing GOD SPEED MODE ..."
pm install $MODPATH/gsm.apk
sleep 1
ui_print ""
ui_print "[*] Installing GODSPEED MODE Toast app..."
pm install $MODPATH/gsmtoast.apk
sleep 1
ui_print ""
sleep 1
ui_print ""
ui_print "- Installing for $ARCH SDK device..."
sleep 2
set_permissions() {
set_perm_recursive $MODPATH/system/bin 0 0 0755 0755
}
##########################################################################################
# MMT Extended Logic - Don't modify anything after this
##########################################################################################
SKIPUNZIP=1
unzip -qjo "$ZIPFILE" 'common/functions.sh' -d $TMPDIR >&2
. $TMPDIR/functions.sh