forked from esc0rtd3w/firestick-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-apps-full-auto.cmd
526 lines (448 loc) · 8.57 KB
/
install-apps-full-auto.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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
@echo off
set _color="%~dp0bin\cocolor.exe"
set extractRAR="%~dp0bin\rar.exe" -y x
set extractZIP="%~dp0bin\unzip.exe" -o
set sleep="%~dp0bin\wait.exe"
set rm=rmdir /s /q
set adb="%~dp0bin\adb.exe"
set appName=0
set choice=2
set install=%adb% install
set uninstall=%adb% uninstall
set push=%adb% push
set pull=%adb% pull
set adbkill=%adb% kill-server
set pathAndroid=Android/data/org.xbmc.kodi/files/.kodi
set pathIOS=private/var/mobile/Library/Preferences/Kodi
set pathMac=Users/USER_NAME_HERE/Library/Application Support/Kodi
set pathLinux=~/.kodi
set pathWindows=%AppData%\Kodi
set apk=
set sdcard=sdcard
::set sdcard=external_sd
::set sdcard=extSdCard
set fireOsVersion==0.0.0.0
::set baddieStringOne="ro.build.version.name=Fire OS 5.0.5.1 (537175520)"
::set baddieStringTwo="ro.build.version.incremental=54.5.3.7_user_537175520"
::set baddieStringThree="ro.build.version.fireos=5.0.5.1"
set baddieStringOne=537175520
set baddieStringTwo=54.5.3.7_user_537175520
set baddieStringThree=5.0.5.1
:: Set This Flag To "0" For Original FireStarter (pre 5.0.5.1)
:: Set This Flag To "1" For New Firestopper (post 5.0.5.1)
set baddieFlagOne=0
set baddieFlagTwo=0
:: Set This Flag To "0" For Original Firestarter
set baddieFlagActive=0
set buildDotProp=/system/build.prop
%_color% 0e
%adbkill%
::cls
::%_color% 0e
::set appName=FirePwn Home
::set apk=
::echo Installing %appName%...
::echo.
::%install% "apps\home\FirePwnHome.apk"
::%push% "apps\home\sdcard\FirePwnHomeBackup.zip" /sdcard/
::cls
::%_color% 0e
::set appName=FirePwn Home Debug
::set apk=
::echo Installing %appName%...
::echo.
::%install% "apps\home\FirePwnHomeDebug.apk"
::%push% "apps\home\sdcard\FirePwnHomeBackup.zip" /sdcard/
set atvhomeInstall=n
cls
echo Install ATV Launcher as Home [User App] [Y/N]?
echo.
set /p atvhomeInstall=
if %atvhomeInstall%==n goto mtoggle
if %atvhomeInstall%==N goto mtoggle
cls
%_color% 0e
set appName=ATV Launcher [as User App] [4K]
set apk=
echo Installing %appName%...
echo.
%install% "apps\home\atv-launcher.apk"
:mtoggle
set mouseInstall=n
cls
echo Install Mouse Toggle [Y/N]?
echo.
set /p mouseInstall=
if %mouseInstall%==n goto adblockToggle
if %mouseInstall%==N goto adblockToggle
cls
%_color% 0e
set appName=Mouse Toggle
set apk=
echo Installing %appName%...
echo.
%install% "apps\utilities\mouse-toggle.apk"
::%install% "apps\utilities\mouse-toggle2.apk"
::%install% "apps\utilities\mouse-toggle3.apk"
:adblockToggle
set adguardInstall=n
cls
echo Install AdGuard [Y/N]?
echo.
set /p adguardInstall=
if %adguardInstall%==n goto adAwayToggle
if %adguardInstall%==N goto adAwayToggle
cls
%_color% 0e
set appName=AdGuard
set apk=
echo Installing %appName%...
echo.
%install% "apps\utilities\adguard.apk"
:adAwayToggle
set adawayInstall=n
cls
echo Install AdAway [ROOT] [Y/N]?
echo.
set /p adawayInstall=
if %adawayInstall%==n goto kodiMain
if %adawayInstall%==N goto kodiMain
cls
%_color% 0e
set appName=AdAway [ROOT]
set apk=
echo Installing %appName%...
echo.
%install% "apps\utilities\adaway.apk"
:kodiMain
set kodiInstall=n
cls
echo Install Kodi [Y/N]?
echo.
set /p kodiInstall=
if %kodiInstall%==n goto appsMain
if %kodiInstall%==N goto appsMain
cls
%_color% 0e
set appName=Kodi
set apk=
echo.
echo.
echo Installing %appName%...
echo.
set kodiBuild=default
set kodiVersion=17
cls
%_color% 0e
set appName=Kodi
echo Installing %appName%...
echo.
echo Select Version of Kodi and press ENTER:
echo.
echo Default: 17
echo.
echo.
echo 1) 16
echo.
echo 2) 17
echo.
echo 3) 18
echo.
set /p kodiVersion=
if %kodiVersion% gtr 3 goto kodimain
if %kodiVersion%==1 set kodiVersion=16
if %kodiVersion%==2 set kodiVersion=17
if %kodiVersion%==3 set kodiVersion=18
md "%temp%\firestick-loader\apps\media\kodi\data\%kodiVersion%\%kodiBuild%"
%extractRAR% "%~dp0apps\media\kodi\apk\%kodiVersion%\kodi.apk.split" "%temp%\firestick-loader\apps\media"
%sleep% 3
%install% "%temp%\firestick-loader\apps\media\kodi.apk"
%extractRAR% "%~dp0apps\media\kodi\data\%kodiVersion%\%kodiBuild%\kodi-data.split" "%temp%\firestick-loader\apps\media\kodi\data\%kodiVersion%\%kodiBuild%"
%push% "%temp%\firestick-loader\apps\media\kodi\data\%kodiVersion%\%kodiBuild%\addons" "/%sdcard%/%pathAndroid%/addons"
%push% "%temp%\firestick-loader\apps\media\kodi\data\%kodiVersion%\%kodiBuild%\userdata" "/%sdcard%/%pathAndroid%/userdata"
%rm% "%temp%\firestick-loader\apps\media\kodi"
:appsMain
cls
%_color% 0e
set appName=TeaTV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\teatv.apk"
cls
%_color% 0e
set appName=Popcorn Time Community Edition
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\popcorntimece.apk"
cls
%_color% 0e
set appName=Cat Mouse
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\cat-mouse.apk"
cls
%_color% 0e
set appName=Cinema HD
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\cinemahd.apk"
cls
%_color% 0e
set appName=Typhoon TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\typhoon-tv.apk"
cls
%_color% 0e
set appName=Bee TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\bee-tv.apk"
cls
%_color% 0e
set appName=Nova TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\nova-tv.apk"
cls
%_color% 0e
set appName=FreeFlix HQ
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\freeflixhq.apk"
cls
%_color% 0e
set appName=Pluto TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\pluto-tv.apk"
cls
%_color% 0e
set appName=Tubi TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\tubi-tv.apk"
cls
%_color% 0e
set appName=Xumo TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\xumo-tv.apk"
cls
%_color% 0e
set appName=Mobdro
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\mobdro.apk"
cls
%_color% 0e
set appName=Popcornflix
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\popcornflix.apk"
cls
%_color% 0e
set appName=NetFlix
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\netflix-amazon.apk"
cls
%_color% 0e
set appName=Hulu
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\hulu.apk"
cls
%_color% 0e
set appName=Amazon Prime Video
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\amazon\amazon-prime-video.apk"
cls
%_color% 0e
set appName=Smart Youtube TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\smart-youtube.apk"
cls
%_color% 0e
set appName=Smart Youtube TV Bridge
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\smart-youtube-bridge.apk"
cls
%_color% 0e
set appName=Twitch
set apk=
echo.
echo.
echo Installing %appName%...
echo.
md "%temp%\firestick-loader\apps\media\"
%extractRAR% "%~dp0apps\media\twitch-amazon.split" "%temp%\firestick-loader\apps\media"
%sleep% 3
%install% "%temp%\firestick-loader\apps\media\twitch-amazon.apk"
cls
%_color% 0e
set appName=Crackle
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\crackle.apk"
cls
%_color% 0e
set appName=VLC TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\vlc.apk"
cls
%_color% 0e
set appName=Podcast Addict
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\media\podcast-addict.apk"
cls
%_color% 0e
set appName=Aptoid TV
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\stores\aptoid-tv.apk"
cls
%_color% 0e
set appName=Firefox TV Web Browser
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\web\firefox-tv.apk"
cls
%_color% 0e
set appName=TV Games
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\games\tv-games.apk"
cls
%_color% 0e
set appName=Pacman 256
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\games\pacman-256.apk"
cls
%_color% 0e
set appName=Flappy Birds Family
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\games\flappy-birds-family-amazon.apk"
cls
%_color% 0e
set appName=Falling Lightblocks
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\games\falling-lightblocks.apk"
cls
%_color% 0e
set appName=Solitaire
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\games\solitaire.apk"
cls
%_color% 0e
set appName=Big Shark
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\games\big-shark.apk"
cls
%_color% 0e
set appName=Orb Wars
set apk=
echo.
echo.
echo Installing %appName%...
echo.
%install% "apps\games\orb-wars.apk"
goto end
:end