-
Notifications
You must be signed in to change notification settings - Fork 1
/
customize.sh
39 lines (35 loc) · 1.24 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
ui_print " "
ui_print "******Mido Audio Optimizer*******"
ui_print "* *"
ui_print "* For Pie ROM Based Only *"
ui_print "* *"
ui_print "*********************************"
ui_print " "
ui_print " "
DEVICE=`getprop ro.product.device`
API=`getprop ro.build.version.sdk`
ui_print "Your device: "$DEVICE
ui_print "SDK Version: "$API
ui_print " "
if [ $DEVICE == "mido" ];
then
if [ $API == "28" ];
then
ui_print " "
ui_print "****************** Software ********************"
ui_print "Custom Package : Mido Audio Optimizer "
ui_print "Android version : 9.0.x "
ui_print "SDK version : 28 "
ui_print "Build date : Thu Jan 16 22:26:20 GMT+7 2019"
ui_print "Build ID : 1.0.0 "
ui_print "Developed By : Dicky Herlambang "
ui_print "************************************************"
ui_print " "
elif [ $API != "28" ];
then
abort "Your API Level '"$API"' is not supported yet"
fi
elif [ $DEVICE != "mido" ];
then
abort "Your Device '"$DEVICE"' is not supported yet"
fi