-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathboot.cs
More file actions
108 lines (102 loc) · 2.83 KB
/
boot.cs
File metadata and controls
108 lines (102 loc) · 2.83 KB
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
97
98
99
100
101
102
103
104
105
106
107
108
namespace UniversalUnlockTool
{
public static class boot
{
public static string Scatterfile
{
get;
set;
}
public static string Da { get; set; }
public static string Auth { get; set; }
public static string Preloader
{
get;
set;
}
public static string Connection
{
get;
set;
}
public static string Config_json
{
get;
set;
}
public static string Payload
{
get;
set;
}
public static bool CheckAuth(string scatter)
{
bool flag = false;
bool result;
try
{
if (mtkxml.isSupport(scatter))
{
if (mtkxml.CPU.ToLower() == "mt6572")
{
flag = true;
}
if (mtkxml.CPU.ToLower() == "mt6735")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt6737")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt6739")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt6750")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt6765")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt6768")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt6771")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt6785")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt8127")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt8163")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt8173")
{
flag = true;
}
else if (mtkxml.CPU.ToLower() == "mt8695")
{
flag = true;
}
}
result = flag;
}
catch
{
result = false;
}
return result;
}
}
}