forked from g0dm0de1337/termux_dumper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sh.sh
130 lines (115 loc) · 1.62 KB
/
sh.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
#!/data/data/com.termux/files/usr/bin/bash
clear
echo .
echo .
echo .
echo .
echo .
echo .GitHub.com/g0dm0de1337
echo .
echo .
echo .
echo .
echo .Payload.bin 2 Boot img ..perfekt4Magisk
sleep 3
echo .
echo .
echo -go to your SD-card
echo .
echo -create a folder with "Boot" as name
echo .
echo -unzip your OTA File &
echo .
echo -paste your payload.bin in your "Boot" folder
sleep 7
echo .
echo .
echo .if your file is not in the folder yet,
echo .break off this script with crtl+c !!
sleep 7
echo .
echo .
echo .
echo .have you finished everything ??
sleep 2
echo .
echo .SURE ??
sleep 3
echo .then wait 5 seconds until we start
echo .
echo .
echo .
sleep 5
echo .
echo .
echo .Allow the next Termux Pop-up !!
cd $HOME
termux-setup-storage
sleep 6
ls
sleep 3
clear
pkg up -y
pkg install git -y
pkg install python -y
git clone https://GitHub.com/g0dm0de1337/termux_dumper
cd /sdcard/Boot
ls
sleep 3
clear
cp payload.bin $HOME/termux_dumper
echo .
echo .WE copy your payload.bin
echo .in the right folder
echo .
sleep 7
clear
cd $HOME
cd termux_dumper
chmod +x *
ls
sleep 3
pip install --upgrade pip
pip install protobuf
pip install -r requirements.txt
clear
echo .
echo .
echo .
echo .
echo .
echo .GitHub.com/g0dm0de1337
echo .
echo .
echo .
echo .
python --version
sleep 3
echo .copy the next lines, and paste it here
echo ENTER
sleep 7
clear
echo .
echo .
echo .
echo cd $HOME/termux_payload
echo .
echo .
echo python payload_dumper.py payload.bin
sleep 3
echo .
echo .wait for done..
echo .
echo .
sleep 5
echo .
echo .
echo cd $HOME/termux_dumper/output
echo .
echo .
echo cp boot.img /sdcard/Boot/
echo .
echo .
echo .
sleep 7
exit