From 4577b0faa3192b6425c81273badca9ebc03e009a Mon Sep 17 00:00:00 2001 From: gutosie Date: Tue, 9 Mar 2021 09:51:16 +0200 Subject: [PATCH] Add files via upload --- NeoBoot/extract.py | 23 ++++++++++++++++++++++- NeoBoot/plugin.py | 2 +- NeoBoot/stbinfo.cfg | 43 +++++++++++++++++++++++++++---------------- 3 files changed, 50 insertions(+), 18 deletions(-) diff --git a/NeoBoot/extract.py b/NeoBoot/extract.py index b9f5466..04a2d94 100644 --- a/NeoBoot/extract.py +++ b/NeoBoot/extract.py @@ -751,10 +751,19 @@ def RemoveUnpackDirs(): rc = os.system('rm -r ' + getNeoLocation() + 'ImagesUpload/h7') 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('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'): 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') + 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'): 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') @@ -1345,10 +1354,22 @@ def NEOBootExtract(source, target, ZipDelete): 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' 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'): 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' 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'): 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' diff --git a/NeoBoot/plugin.py b/NeoBoot/plugin.py index d3bc880..e10e283 100644 --- a/NeoBoot/plugin.py +++ b/NeoBoot/plugin.py @@ -553,7 +553,7 @@ class NeoBootInstallation(Screen): os.system('opkg install mtd-utils-ubifs') #_____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') #VUPLUS ARM elif getCPUtype() == "ARMv7" and getBoxHostName() != "ustym4kpro": diff --git a/NeoBoot/stbinfo.cfg b/NeoBoot/stbinfo.cfg index 2b37c3c..b6097e1 100644 --- a/NeoBoot/stbinfo.cfg +++ b/NeoBoot/stbinfo.cfg @@ -1,7 +1,7 @@ - -*- coding: utf-8 -*- +-*- coding: utf-8 -*- #UpdateURL = 'https://github.com/gutosie/neoboot' -- Supported Tuners STABLE NEOBOOT +#- Supported Tuners STABLE NEOBOOT ["vuultimo4k" "vuduo4kse" "vuduo4k" @@ -18,23 +18,36 @@ "vuuno" "vuultimo" ] -- Tuners tested unstable NEOBOOT +#- Tuners tested unstable NEOBOOT ["ax51" +"hd51" "ax60" "ax61" "sf4008" "sf8008" "ustym4kpro" -"h7" -"h9" -"zgemmah7" -"zgemmah9s" -"zgemmah92s" -"zgemmah9twin" +"i55plus" "zgemmai55plus" +"h92s" +"zgemmah92s" +"h7" +"zgemmah7" +"h9" +"zgemmah9" +"h9s" +"zgemmah9s" +"h9se" +"zgemmah9se" +"h9twin" +"zgemmah9twin" "h9combo" +"h9combose" "h10" -"hd51" +"zgemmahh10" +"mbmini" +"mbultra" + +#- Tuners not tested unstable beta NEOBOOT "tmtwin4k" "anadol4k" "protek4k" @@ -48,17 +61,14 @@ "axmultitwin" "axmulticombo" "osmio4k" -"osmio4kplus" -"ustym4kpro" -"mbmini" -"mbultra" +"osmio4kplus" "osmini" "formuler4turbo" "h3" "formuler3" "force3uhd" ] -- Chpipset STB +#- Chpipset STB Ultimo4k : 7444s Solo4k : 7376 Zero 4K : 72604 @@ -92,4 +102,5 @@ ustym4kpro: : 3798mv200 GI ET-11000 4K : bcm7251 AX HD51 4K : bcm7251s -#END +#END +