Add files via upload

This commit is contained in:
gutosie
2021-03-09 09:51:16 +02:00
committed by GitHub
parent 0361f41597
commit 4577b0faa3
3 changed files with 50 additions and 18 deletions

View File

@@ -751,10 +751,19 @@ def RemoveUnpackDirs():
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h7') rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h7')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9'): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/bootargs.bin ' + getNeoLocation() + 'ImagesUpload/h9; mv ' + getNeoLocation() + 'ImagesUpload/fastboot.bin ' + getNeoLocation() + 'ImagesUpload/h9') rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/bootargs.bin ' + getNeoLocation() + 'ImagesUpload/h9; mv ' + getNeoLocation() + 'ImagesUpload/fastboot.bin ' + getNeoLocation() + 'ImagesUpload/h9')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9') rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9se'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/bootargs.bin ' + getNeoLocation() + 'ImagesUpload/h9se; mv ' + getNeoLocation() + 'ImagesUpload/fastboot.bin ' + getNeoLocation() + 'ImagesUpload/h9se')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9se')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/i55plus'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/bootargs.bin ' + getNeoLocation() + 'ImagesUpload/i55plus; mv ' + getNeoLocation() + 'ImagesUpload/fastboot.bin ' + getNeoLocation() + 'ImagesUpload/i55plus')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/i55plus')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combo'): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combo'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/force_h9combo_READ.ME ' + getNeoLocation() + 'ImagesUpload/h9combo; mv ' + getNeoLocation() + 'ImagesUpload/unforce_h9combo.txt ' + getNeoLocation() + 'ImagesUpload/h9combo') rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/force_h9combo_READ.ME ' + getNeoLocation() + 'ImagesUpload/h9combo; mv ' + getNeoLocation() + 'ImagesUpload/unforce_h9combo.txt ' + getNeoLocation() + 'ImagesUpload/h9combo')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9combo') rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9combo')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combose'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/force_h9combose_READ.ME ' + getNeoLocation() + 'ImagesUpload/h9combo; mv ' + getNeoLocation() + 'ImagesUpload/unforce_h9combose.txt ' + getNeoLocation() + 'ImagesUpload/h9combose')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h9combose')
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h10'): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h10'):
rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/force_h10_READ.ME ' + getNeoLocation() + 'ImagesUpload/h10; mv ' + getNeoLocation() + 'ImagesUpload/unforce_h10.txt ' + getNeoLocation() + 'ImagesUpload/h10') rc = os.system('mv ' + getNeoLocation() + 'ImagesUpload/force_h10_READ.ME ' + getNeoLocation() + 'ImagesUpload/h10; mv ' + getNeoLocation() + 'ImagesUpload/unforce_h10.txt ' + getNeoLocation() + 'ImagesUpload/h10')
rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h10') rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h10')
@@ -1345,10 +1354,22 @@ def NEOBootExtract(source, target, ZipDelete):
os.system('echo "Please wait. System installation Zgemma H9S ."') os.system('echo "Please wait. System installation Zgemma H9S ."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/zgemma/h9/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/zgemma/h9/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1' cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/zgemma/h9/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/zgemma/h9/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd) rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/zgemma/h9se/rootfs.tar.bz2'):
os.system('echo "Please wait. System installation Zgemma H9SE ."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/zgemma/h9se/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/zgemma/h9se/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/zgemma/i55plus/rootfs.tar.bz2'):
os.system('echo "Please wait. System installation Zgemma i55plus ."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/zgemma/i55plus/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/zgemma/i55plus/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2'): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2'):
os.system('echo "Please wait. System installation Zgemma h9combo ."') os.system('echo "Please wait. System installation Zgemma h9combo ."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1' cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/h9combo/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd) rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h9combose/rootfs.tar.bz2'):
os.system('echo "Please wait. System installation Zgemma h9combose ."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/h9combose/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/h9combose/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'
rc = os.system(cmd)
elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h10/rootfs.tar.bz2'): elif os.path.exists('' + getNeoLocation() + 'ImagesUpload/h10/rootfs.tar.bz2'):
os.system('echo "Please wait. System installation Zgemma h10 ."') os.system('echo "Please wait. System installation Zgemma h10 ."')
cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/h10/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/h10/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1' cmd = 'chmod 777 ' + getNeoLocation() + 'ImagesUpload/h10/rootfs.tar.bz2; tar -jxf ' + getNeoLocation() + 'ImagesUpload/h10/rootfs.tar.bz2 -C ' + getNeoLocation() + 'ImageBoot/' + target + ' > /dev/null 2>&1'

View File

@@ -553,7 +553,7 @@ class NeoBootInstallation(Screen):
os.system('opkg install mtd-utils-ubifs') os.system('opkg install mtd-utils-ubifs')
#_____Other ARM procesor____ - here you can add your tuner stb #_____Other ARM procesor____ - here you can add your tuner stb
if getCPUtype() == "ARMv7" and getBoxHostName() == "zgemmai55plus " or getBoxHostName() == "zgemmah92s" or getBoxHostName() == "h9" or getBoxHostName() == "h7" or getBoxHostName() == "zgemmah7" or getBoxHostName() == "zgemmah9twin" or getBoxHostName() == "zgemmah9s" or getBoxHostName() == "h9combo" or getBoxHostName() == "h10" or getBoxHostName() == "hd51" or getBoxHostName() == "ax51" or getBoxHostName() == "ax60" or getBoxHostName() == "ax61" or getBoxHostName() == "sf4008" or getBoxHostName() == "sf8008" or getBoxHostName() == "ustym4kpro" or getBoxHostName() == "tmtwin4k" or getBoxHostName() == "anadol4k" or getBoxHostName() == "protek4k" or getBoxHostName() == "maxytecmulti" or getBoxHostName() == "viper4k" or getBoxHostName() == "dm900" or getBoxHostName() == "dm920" or getBoxHostName() == "et1x000" or getBoxHostName() == "gbquad4k" or getBoxHostName() == "axashisc4k" or getBoxHostName() == "axmultitwin" or getBoxHostName() == "axmulticombo" or getBoxHostName() == "osmio4k" or getBoxHostName() == "osmio4kplus" : if getCPUtype() == "ARMv7" and getBoxHostName() == "i55plus " or getBoxHostName() == "zgemmai55plus " or getBoxHostName() == "h92s" or getBoxHostName() == "zgemmah92s" or getBoxHostName() == "h7" or getBoxHostName() == "zgemmah7" or getBoxHostName() == "h9" or getBoxHostName() == "zgemmah9" or getBoxHostName() == "h9s" or getBoxHostName() == "zgemmah9s" or getBoxHostName() == "h9se" or getBoxHostName() == "zgemmah9se" or getBoxHostName() == "h9twin" or getBoxHostName() == "zgemmah9twin" or getBoxHostName() == "h9combo" or getBoxHostName() == "h9combose" or getBoxHostName() == "h10" or getBoxHostName() == "zgemmahh10" or getBoxHostName() == "hd51" or getBoxHostName() == "ax51" or getBoxHostName() == "ax60" or getBoxHostName() == "ax61" or getBoxHostName() == "sf4008" or getBoxHostName() == "sf8008" or getBoxHostName() == "ustym4kpro" or getBoxHostName() == "tmtwin4k" or getBoxHostName() == "anadol4k" or getBoxHostName() == "protek4k" or getBoxHostName() == "maxytecmulti" or getBoxHostName() == "viper4k" or getBoxHostName() == "dm900" or getBoxHostName() == "dm920" or getBoxHostName() == "et1x000" or getBoxHostName() == "gbquad4k" or getBoxHostName() == "axashisc4k" or getBoxHostName() == "axmultitwin" or getBoxHostName() == "axmulticombo" or getBoxHostName() == "osmio4k" or getBoxHostName() == "osmio4kplus" :
os.system('cp -f ' + LinkNeoBoot + '/bin/neoinitarm /sbin/neoinitarm; chmod 0755 /sbin/neoinitarm; ln -sfn /sbin/neoinitarm /sbin/init; mv ' + LinkNeoBoot + '/tmpfiles/runpy/arm_run.py ' + LinkNeoBoot + '/run.py; cd') os.system('cp -f ' + LinkNeoBoot + '/bin/neoinitarm /sbin/neoinitarm; chmod 0755 /sbin/neoinitarm; ln -sfn /sbin/neoinitarm /sbin/init; mv ' + LinkNeoBoot + '/tmpfiles/runpy/arm_run.py ' + LinkNeoBoot + '/run.py; cd')
#VUPLUS ARM #VUPLUS ARM
elif getCPUtype() == "ARMv7" and getBoxHostName() != "ustym4kpro": elif getCPUtype() == "ARMv7" and getBoxHostName() != "ustym4kpro":

View File

@@ -1,7 +1,7 @@
-*- coding: utf-8 -*- -*- coding: utf-8 -*-
#UpdateURL = 'https://github.com/gutosie/neoboot' #UpdateURL = 'https://github.com/gutosie/neoboot'
- Supported Tuners STABLE NEOBOOT #- Supported Tuners STABLE NEOBOOT
["vuultimo4k" ["vuultimo4k"
"vuduo4kse" "vuduo4kse"
"vuduo4k" "vuduo4k"
@@ -18,23 +18,36 @@
"vuuno" "vuuno"
"vuultimo" ] "vuultimo" ]
- Tuners tested unstable NEOBOOT #- Tuners tested unstable NEOBOOT
["ax51" ["ax51"
"hd51"
"ax60" "ax60"
"ax61" "ax61"
"sf4008" "sf4008"
"sf8008" "sf8008"
"ustym4kpro" "ustym4kpro"
"h7" "i55plus"
"h9"
"zgemmah7"
"zgemmah9s"
"zgemmah92s"
"zgemmah9twin"
"zgemmai55plus" "zgemmai55plus"
"h92s"
"zgemmah92s"
"h7"
"zgemmah7"
"h9"
"zgemmah9"
"h9s"
"zgemmah9s"
"h9se"
"zgemmah9se"
"h9twin"
"zgemmah9twin"
"h9combo" "h9combo"
"h9combose"
"h10" "h10"
"hd51" "zgemmahh10"
"mbmini"
"mbultra"
#- Tuners not tested unstable beta NEOBOOT
"tmtwin4k" "tmtwin4k"
"anadol4k" "anadol4k"
"protek4k" "protek4k"
@@ -48,17 +61,14 @@
"axmultitwin" "axmultitwin"
"axmulticombo" "axmulticombo"
"osmio4k" "osmio4k"
"osmio4kplus" "osmio4kplus"
"ustym4kpro"
"mbmini"
"mbultra"
"osmini" "osmini"
"formuler4turbo" "formuler4turbo"
"h3" "h3"
"formuler3" "formuler3"
"force3uhd" ] "force3uhd" ]
- Chpipset STB #- Chpipset STB
Ultimo4k : 7444s Ultimo4k : 7444s
Solo4k : 7376 Solo4k : 7376
Zero 4K : 72604 Zero 4K : 72604
@@ -92,4 +102,5 @@ ustym4kpro: : 3798mv200
GI ET-11000 4K : bcm7251 GI ET-11000 4K : bcm7251
AX HD51 4K : bcm7251s AX HD51 4K : bcm7251s
#END #END