Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: K1 Plus S2/T2 Tools

  1. #1
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default K1 Plus S2/T2 Tools

    Editor de canale in Py, e un punct de pornire:

    K1 Plus S2/T2 Editor

    Code:
    The general idea:
    in absence of a channel editor provided by the Vigica box vendor or S805 chip maker I've written some scripts, using the Python language that is available in different Operating Systems, to make it possible to compose channel lists on the computer.
    The idea is to use the file editor that your OS provides to do the work.
    The script 'decompose-mw-s1.py' will fill a folder 'services_all' with files on basis of the mw-s1 file that resulted from the raw scanning of all satellites of interest to you.
    One file per service.
    You can then make a number of folders, one folder per satellite, and drop wanted services into those new folders by copying or moving services from the services_all folder.
    The order in which the services will appear in your new channel list can be influenced by editing of the number in the beginning of the file names.
    For details see below.
    Edit the  'compose-mw-s1.py' script such that it will use the folders that you created to get the services that should be in the new channel list.
    The compose script will create a new mw-s1 file called dvb_s_mw_s1_new that, after renaming it, should take the place of the one with the raw scan of services.
    Then the complete set of files can be imported back into the Vigica box. 
    
    Before any work is done:
    1. Back up all mw_xxx files
    2. Make the satellite and transponder settings the way you want and need, using the set-top-box.
    3. Do a blind scan for selected satellites that you are interested in.
    4. Note that deselecting a satellite deletes all service definitions for that satellite!
    5. Any new service listing mw_s1 you create will have to be combined with that particular mw_st1 file that was used to do the blind scan.
    (mw_s1 does not contain absolute references to satellites and transponders; only indices, i.e. relative references)
    
    DECOMPOSE
    The decompose-mw-s1 Python script makes a file per service in the 'services_all' directory.
    The scripts gives each file a name that is formed as follows
    
    'R/TV/U ~ n ~ servicename ~ E0 ~ Nn ~ Pn'
    
    Legends:
    R/TV/U: Radio, TV, or Unknown type of service
    n: count given from first service found in order of the blind scan [decimal]
    servicename: a name derived from the service name found in the record and adapted to be fit for use in a file path name. Can be edited if the E0 flag is set E1.
    E0: a flag string. When composing the new channel list can be edited by you.
      E0 means service name not to be edited: use the service name in the record as found in the scan
      E1 means change the service name: use the string between the second and third '~' as a new service name. 
    Nn: networkID i.e. nid found in the record. Sometimes the same service is found on a satellite but via different networks [decimal]. 
      Only given to make keeping apart the same services via different providers easier.
    Pn: the preference setting found in the record [decimal representation of a bit pattern]. Can be edited by you for the new channel list. 
    
    To try the decompose-mw-s1.py script put the mw_s1 data file from your box in the directory where the script resides and run it on a PC that has Python installed.  
    Rename is to dvb_s_mw_s1 , which is the same file but found under that name when you have access to the OS of the set-top-box.  
    Alternatively in the decompose script change the input file name to mw_s1. 
    
    MANUAL SORTING
    Creation of a new channel list is done by creation of folders that may represent grouping by satellite and/or by preference.
    Wanted channels can be copied from the services_all folder to those custom folders using the OS's file management program.
    Inside these folders the order of the services in the new list can be determined by editing the n in the file names.
    Not the absolute value of n is important but the relative value. The lowest n will be channel 1 for that folder.
    The order in which inside each directory a scan is done for files is naturally sorted, not alphabetically.
    TV-20~name... comes before
    TV-1000~name...
    If there would be only these two, the TV-20~name... will be channel 1 and the TV-1000~name... will be channel 2
    
    EDITING OF THE SERVICE NAME
    Current firmware of the Vigica C100S contains a bug that causes the service names given by the satellite operators not to show up correctly when they contain characters outside the basic ASCII range. Of course a hex editor can be used to change individual records. But with some limitations also your file management program can be used.
    Change the ~E0~ into ~E1~ in the file name. The compose script will see this flag and will use as a new service name the text in the filename between the second ~ and third ~.
    Most file systems and file managers allow UTF-8 characters in filenames, so character from many languages are at your dipsosal.
    The limitations stem from the fact that your OS will not accept certain characters as part of a file name.
    < > : " / \ | ? * are not allowed. The decompose script puts % signs where it encountered characters that are not allowed in file names. It is also not advisable to have spaces in a filename. To alllow spaces to be in the new service name a character _ (underscore) will be interpreted to mean a space when ~E1~ is set. 
    The ~ character is not to be used either as it is aplied here to mark start and ending of the name string.
    If you want an _ (underscore) in the service name you can put two consecutive ones, __,  in the filename. This will produce one _ in the name inside the new listing.
    
    PREFERENCE SETTING
    The file name given to a service record will end with ~P and a number. During composition of a new channel list this number will be used to set preferences.
    A service can have up to 10 preference groups to which it belongs. 0, zero, means no preference set.
    The wanted preference setting follows from a calculation as follows
    pref1	1	
    pref2	2
    pref3	4
    pref4	8
    pref5	16
    pref6	32
    pref7	64
    pref8	128
    pref9	256
    pref10	512
    Add up the values for those preferences you want and make that the file name ending. 
    The compose script will interpret the given value after the last '~P' in the filename and change the record before adding it to the new list.
    E.g. a ~P5 or ~P05 ending of the file name will make the service having preferences 1 and 3.
    
    COMPOSE
    In the compose-mw-s1 script the names have to be entered, using an editor, of the custom directories from which you want the services being collected.
    
    Keep the directories that will be scanned clean; only wanted and correct records should be in them. 
    The compose-mw-s1 script does no checks and just concatenates everything it finds in sorted order and adds the right file header to the resulting total.
    
    The script produces a file called dvb_s_mw_s1_new ; this name choice can be set in the script, using an editor.
    
    The crc-32-mpeg checksum gets calculated using the pycrc.py package, just very slightly modified to eliminate an utf-8 check that throws an error.
    (the records contain random bytes and hence do not allow to be utf-8 interpreted)
    All credits to the makers of pycrc.py for having added the mpeg variety of that checksum to their package! pycrc.py is distributed under MIT license.
    
    INSTALL
    the new service list can be installed as mw_s1 using a SD card in combination with the other mw_xxx files, or as dvb_s_mw_s1 using a file transfer program directly into /data/data/th.dtv followed by a restart of the th.dtv app.
    
    February 2016
    willy wortel
    Portugal
    Attached Files Attached Files
    Sh40, prime focus 1,5m si altele ...

  2. #2
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    Un alt editor de canale, scris in java.
    Inca nu m-am prins cum se poate folosi.

    Vigica EDIT
    Attached Files Attached Files
    Sh40, prime focus 1,5m si altele ...

  3. #3
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    Un tutorial cu metoda de flash la S805 si S812 aici.
    Dupa cum scrie acolo, se alimenteaza playerul doar prin cablul USB A-A !
    Sh40, prime focus 1,5m si altele ...

  4. #4
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    Flash K1 S2 T2 img Firmware with USB Burning Tool


    Azi am descoperit prin incarcari si bazandu-ma pe experienta de la alte aparate cum se scre imaginea de flash in mod rescue.

    Pentru asta avem nevoie de un cablu USB A-A



    Aparatul nu se alimenteaza de la sursa in timpul procedurii.
    Cablul USB se introduce direct in portul USB al calculatorului.


    Pentru conectare apasam cu o scobitoare si mentinem asa, butonul reset situat in partea de jos a aparatului.





    Acum introducem cablul USB in portul marcat in imaginea urmatoare:






    Dupa cateva secunde de la conectarea cablului putem elibera reset.




    Rezultatul:






    Sh40, prime focus 1,5m si altele ...

  5. #5
    Standard RSP member
    Join Date
    14 Apr 2008
    Posts
    1,683
    Post Thanks / Like

    Default

    O sa incerc si eu din nou ! bravo ! dar ...
    mai la toamna ca-s intrat la ... "stapani" ...
    si nu ma ingaduie ...

  6. #6
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    Sper sa ii dai de cap !
    Am cercetat asta din 2 motive:
    1. E riscant sa nu ai o versiune de rescue
    2. Vreau sa fac o imagine de firma care sa nu contina semnaturile aplicatiei DTV.
    Daca nu o contine nu ii mai verifica semnatura si pot sa o semnez privat, nu mai am surpriza ca o baneaza.
    Sper sa nu ma insel.
    Evident m-am gandit ca reusesti si tu sa pui o imagine "curata" pe aparat si scapi de * la linii .
    Sh40, prime focus 1,5m si altele ...

  7. #7
    Standard RSP member
    Join Date
    14 Apr 2008
    Posts
    1,683
    Post Thanks / Like

    Default

    Ciudat ! acest mesaj apartine lui @Konstantine ... l-am primit pe mail ca fiind postat ... si nu-l gasesc nicaieri !!!

  8. #8
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    E mutat la e2, pana e verificata treaba.
    Sh40, prime focus 1,5m si altele ...

  9. #9
    Standard RSP member
    Join Date
    19 Feb 2009
    Posts
    43
    Post Thanks / Like

    Default

    Versiunea 0.5 a editorului de canale _sm0ke_ pentru softul original.
    Attached Files Attached Files

  10. #10
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    Code:
    Editor channels for the built-in TV viewing application.
    
    version 0.6.0.0 by _sm0ke_
    Now, starting with this version, with our DiZil1 joint project.
    As the saying goes, "one head is good ...";)[*] Changed almost all code[*] The application design with multi-window interface with a tabbed interface
    [+] Following function template (template includes favorite channels, regardless of the version of the channel list;
    those. imposing a pattern on the channel list, favorites are restored)
    [+] For foreigners added 2 languages ​​- English and German (toggle through the "Help" menu item)
    [+] To choose the audio track by default.
    [+] Filter to use to search for the channel (s) (for example, when searching for 3 satellites (astra, hotbird, sirius) finds more than 4000 channels; look for scrolling through the list would take a lot of time, but knowing that the desired channel has a specific signature ( name, frequency, etc.), it is possible to apply a filter)
    [+] Column indicating the channel type (HD, encrypted)
    Attached Files Attached Files
    Sh40, prime focus 1,5m si altele ...

  11. #11
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    A aparut si versiunea 0.6.1 a editorului de canale.
    Code:
     Added the ability to upload / download config directly to the receiver (menu "K1 + Receiver");
     The minimum version of .Net framework 4.5;
     Removed the old bugs, added new: D
    Attached Files Attached Files
    Sh40, prime focus 1,5m si altele ...

  12. #12
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    version 0.6.2.0
    [+] Concluded NID-TID (network & provider id);
    Attached Files Attached Files
    Sh40, prime focus 1,5m si altele ...

  13. #13
    Standard RSP member marcghi's Avatar
    Join Date
    17 Jan 2008
    Posts
    229
    Post Thanks / Like

    Default

    Ce trebuie facut , in afara de alegerea ip-ului, pentru a se conecta la receptor ? Multumesc.

  14. #14
    RSP - TEAM zildan's Avatar
    Join Date
    05 Dec 2007
    Location
    SUD
    Posts
    5,037
    Post Thanks / Like

    Default

    Nu sunt sigur ca merge bine !
    Teoretic doar atâtar trebui sa faci.
    Dacă ar avea forumul 4pda deschis si la alte tari le dădeam soluția găsită de mine de conectare sigura pe adb.
    Sh40, prime focus 1,5m si altele ...

  15. #15
    Standard RSP member marcghi's Avatar
    Join Date
    17 Jan 2008
    Posts
    229
    Post Thanks / Like

    Default

    Am incercat cu receptorul conectat prin cablu, apoi wifi, zice ca nu se poate conecta.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •