OSCam 11378 emu 739 armv7 Enigma2 для WeTeK Play
Спутниковый медиа бокс WeTeK Play чудо иностранной техники которое я предлагаю доделать в плане открытия платных спутниковых телеканалов. Это станет возможно заменив штатный, или штатно установленный OSCam на новый OSCam версии svn 11378 emu 739.
Данная версия эмулятора OSCam Emu 1.20 svn 11378 emu 739 скомпилирована под процессор Cortex a9 ARMv7 для использования на цифровых HD ресиверах WeTek Play с прошивкой Enigma 2: Mnigma, OpenPli и др.
Unix starttime: 1489354992 Starttime: 12.03.2017 23:43:12 Version: oscam-1.20-HPB-r714-EMU-r383-739-r11378 Compiler: arm-linux-gnueabihf-libusb Box type: wetek (generic) PID: 1683 TempDir: /tmp/.oscam GBox TempDir: /tmp/.oscam ConfigDir: /etc/tuxbox/config/oscam/ WebifPort: 8888 Web interface support: yes LiveLog support: yes jQuery support intern: yes Touch interface support: no SSL support: no DVB API support: yes DVB API with AZBOX support: no DVB API with MCA support: no DVB API with COOLAPI support: no DVB API with COOLAPI2 support: no DVB API with STAPI support: no DVB API with STAPI5 support: no DVB API read-sdt CHARSETS support: yes Irdeto guessing: yes Anti-cascading support: yes Debug mode: yes Monitor: yes Loadbalancing support: yes Cache exchange support: yes CW Cycle Check support: yes LCD support: yes LED support: yes Clockfix with realtime clock: yes IPv6 support: no Emulator support: yes camd 3.3x: yes camd 3.5 UDP: yes camd 3.5 TCP: yes newcamd: yes CCcam: yes CCcam share: yes gbox: yes radegast: yes scam: yes serial: yes constant CW: yes Pandora: yes ghttp: yes Reader support: yes Nagra: yes Irdeto: yes Conax: yes Cryptoworks: yes Seca: yes Viaccess: yes NDS Videoguard: yes DRE Crypt: yes TONGFANG: yes Bulcrypt: yes Griffin: yes DGCrypt: yes cardreader_phoenix: yes cardreader_internal_azbox: no cardreader_internal_coolapi: no cardreader_internal_coolapi2: no cardreader_internal_sci: yes cardreader_sc8in1: yes cardreader_mp35: yes cardreader_smargo: yes cardreader_pcsc: no cardreader_smartreader: yes cardreader_db2com: yes cardreader_stapi: no cardreader_stapi5: no cardreader_stinger: yes cardreader_drecas: yes
К делу, прошивка Mnigma, при первоначальной настройке системы выбираем и устанавливаем эмулятор OSCam (без emu). Для замены эмулятора OSCam на более новый OSCam Emu 1.20 svn 11378 emu 739 требуется заменить бинарник (исполняемый bin файл) который можно безвозмездно скачать по ссылке :
bin.oscam-11378-emu-739-arm-linux-gnueabihf.7z 611 KB
MegaOSCam svn 11378 emu 739 - Now with GBox - Coolstream and Coolstream HD2 - Fix tandberg ecm and emm - Add validity check for new ECM keys - Fix caid 0910 nds videoguard 2 - Fix for streamguard caid 0x4AD2 Special features: =========== Pid-File control : without start-parameter "-B" and with "pidfile=[blank]" in oscam.conf --> no Pid-File WebIf - Readers-/Users-Menu --> Disabled-/Enabled-Symbol changed WebIf - Status-Menu --> Skript-/Shutdown-Button "properties" individually programmable via CSS-File (LI.menu_script ... and/or LI.menu_shutdown ...) WebIf - OSCamLogo with OSCamLabel (WebIf --> config --> webif --> OSCam Label) (Example: set it to Box-Name ...) Write channelcache and emmcache/emmstat: Enable/disable parameter over webif (not with usecache from parameter emmcache) - "Save channelcache" in Config/Dvbapi - "Write emmcache/emmstat to file" in Config/Logging Default for both: disabled All three files are written to config-dir If "emmlogdir" is defined, oscam.emmcache and oscam.emmstat are written to this defined dir. Provider-Picons on Status-Page: Important: For this feature you must activate the parameters "Poll (initial refresh)" and "Http show Picons". Also you must copy a picon (named IC_provider.tpl) to template-dir (parameter "Http tpl") or picons-dir (if defined - parameter "Path for picons") User specific loadbalancer parameters: User force always reopen: Webif -> Config -> Loadbalancer -> User force always reopen 0 - disabled (default) 1 - enabled or in oscam.user: [account] lb_force_reopen_user = 0 or 1 Only if count reached lb_min_ecmcount: Webif -> Config -> Loadbalancer -> only if count reached lb_min_ecmcount 0 - disabled (default) 1 - enabled or in oscam.user: [account] lb_force_reopen_user_lb_min = 0 or 1 General date format: dd.mm.yyyy Support tongfang version 3 NTIC2 Support ORF ICE Card with Caid 0650 (complete Austria-SAT with "Irdeto"-Mode) WebIf - Special WebIf-Design included This version creates a virtual card reader, which is configured automatically. You may save the default reader configuration with the webif and then modify it to your own liking. SoftCam.Key: OSCam-EMU does not require, but will make use of "SoftCam.Key" if available. "SoftCam.Key" is searched in the oscam config folder (where oscam.conf is located) and also in "/var/keys". OSCam dvbapi config: ==================== If dvbapi is activated, the "delayer" option is forced to have a value of at least 60. This is to avoid freezes/crashes because of too fast ecm responses. New Parameter: ============== Process EMM from stream: Webif -> Config -> Stream Relay -> Process EMM from stream 0 - disabled (default) 1 - enabled or in oscam.conf: [streamrelay] stream_emm_enabled = 0 or 1 BISS/ConstCW config: ==================== Syntax for keys in SoftCam.Key: (key number can be '00' or '01') F <service id><ecm pid> <key number> <key> Example: service id: 2222 ecm pid: 1111 key: 0102030405060708 F 22221111 00 0102030405060708 Important: The correct ecm pid is only available when using oscam dvbapi. For example: oscam (dvbapi) <-> OSEmu oscam (dvbapi) <-> oscam <-> OSEmu When using another client like cccam, the ecm pid seen by OSEmu will always be '1FFF' For example: cccam <-> oscam <-> OSEmu cccam <-> OSEmu In this case the above example key line needs to be changed to: F 22221FFF 00 0102030405060708 PowerVU config: =============== Keys in SoftCam.Key: P <groupid><srvid> <nb> <key> Where: groupid = any 4 hex digits of your choice for this group (leading zeros are optional) srvid = SID (Service ID) of channel in hex with leading zeros to make 4 hex digits. nb = key number (00/01) key = ecm key Example groupid=0x1, sid=0x1234, keys 00 and 01: P 00011234 00 11223344556677 P 011234 01 22334455667788 Example groupid=0x2, sid=0x34, keys 00 and 01: P 00020034 00 00112233445566 P 0020034 01 00223344556677 For channels with the same srvid the correct key will be detected automatically, but each key needs a unique groupid. P 009E0234 01 11223344556677 P 00040234 01 22334455667788 P 013E0234 01 33445566778899 WARNING - duplicate <groupid><srvid> are not allowed anymore - only the last instance will be used! AU keys: P <groupid> <UA> <key> example: P 009E 11223344 11223344556677 P 009E 44332211 22334455667788 P 0004 22334455 33445566778899 P 013E 00112233 00112233445566 Multiple UA keys are allowed for each group and each UA will update ALL ecm keys in the group. NOTE: in order to work, the ecm keys must be "seeded" in the file for each SID you want to update since the UA has no information about sids. So to add a key that is unknown, enter a dummy key to get updated, for example: P 00010004 00 00000000000000000 P 00010004 01 00000000000000000 Also note: Duplicate powervu keys are no longer allowed (unnecessary since duplicate SIDs should now have a unique group ID.) So, if there are any duplicates, only the last key in the file will be used. This also means that as new keys are found and appended to the file, they will automatically replace earlier keys. On compatible Dreambox STBs: 1) Disable the Stream Relay: Webif -> Config -> Stream Relay -> Mode 0 - disabled (default) 1 - enabled or in oscam.conf: [streamrelay] stream_relay_enabled = 0 2) Select the correct DVB-Api extended CW API: Webif -> Config -> DVB-Api -> API for extended CWs 0 - disabled (default) 1 - OE 2.2 2 - OE 2.0 or in oscam.conf: [dvbapi] extended_cw_api = 2 On other devices the Stream Relay must be used: IMPORTANT: The stream relay needs a fast CPU. Not every STB is fast enough. If you cannot fix stuttering with the following guide, likely your CPU is too slow. For best performance, the "Include ECM in http streams" setting must be enabled. If your image supports it (openpli, openatv), you can find it here: OpenWebif -> Settings -> Customize If the setting is not available, you may need to adjust the "ECM fix delay" setting in oscam webif (Config -> Stream Relay). Increase/Lower it until there is no stuttering. When using VU+ devices, make sure to use the latest drivers (June 2015), if you encounter any problems. Channel Config: 1. Go to the OpenWebif and click on the "Stream" button for the channel you want to add. 2. Download and save the .m3u file. 3. Open the .m3u file with a text edior and get the stream link. It looks like this: https://stb:8001/1:0:19:0123:3EF:1:C00000:0:0:0: 4. Replace the port (8001) with the relay port (default: 17999) and the host name ("stb") with 127.0.0.1 https://127.0.0.1:17999/1:0:19:0123:3EF:1:C00000:0:0:0: 5. Add the new stream link to your channel list (for example with DreamBoxEdit) IMPORTANT: Do NOT use the correct Transponder ID/Network ID/Namespace for the stream link. Use Transponder ID: "11", Network ID: "22" and Namespace: "33". Set Service Type to "1", and enter the correct Service ID for the channel. Note: When using DreamBoxEdit: A. Go to the list in the middle "Bouquet details". B. Right click on a channel, select "IPTV and other streaming services", select "Add". C. Select "DVB/TS". D. Chosse a name and use the new stream link as URL. E. Use the "Service ID" of the original channel. You can find it in the left list ("Services") Drecrypt config: ================ Keys from ee.bin files: Put "ee36.bin" and "ee56.bin" into the config folder (where SoftCam.Key is). Or: set a custom path for these files with the "extee36" and "extee56" reader settings. Keys in SoftCam.Key: Overcrypt keys (16 keys): D 0 <number> <key> example: D 0 0 1122334455667788 ... D 0 F 1122334455667788 AU keys: D <caid><provider> MK<key type><key index> <key> example: D 4AE1FF MKAA01 112233445566778899AABBCCDDEEFF0011223344556677889900AABBCCDDEEFF Tandberg config: =============== Keys in SoftCam.Key: T <entitlement> 01 <key> for example (entitlement = 1234): T 00001234 01 1122334455667788 leading zeros maybe be skipped. same key as above: T 1234 01 1122334455667788 AU keys: for old key set: T <key index (hex)> MK <key> 64 keys are needed: T 40 MK 1122334455667788 T 41 MK 1122334455667788 ... T 7F MK 1122334455667788 for new key set: T <key index (hex)> MK01 <key> 64 keys are needed: T 40 MK01 1122334455667788 T 41 MK01 1122334455667788 ... T 7F MK01 1122334455667788
Для OSCam имеют место два пути, путь к настройкам OSCam /etc/tuxbox/config/oscam/ и к самому исполняемому файлу /usr/bin/ который мы и заменим. И так что менять мы знаем на что мы имеем. Менять будем по фтп, логин root пароль любой, для этого я использую Total Commander
Файл /usr/bin/oscam сперва переименовываем в любой другой, к примеру __oscam, потом вытянутый из скачанного архива файл oscam (который новый OSCam Emu 1.20 svn 11378 emu 739 ), и скопировать его в папку /usr/bin/ . После выставить атрибуты файлу 755, для возможности запуска и выполнения нового OSCam Emu 1.20 11378 emu 739.Осталось перезагрузить тюнер WeTeK Play и наслаждаться просмотром раскодированных цифровых спутниковых телепрограмм.
[reader] label = emulator protocol = emu device = emulator fallback = 1 caid = 0D00,0D02,0500,1801,0604,2600,FFFF,0E00,4AE1 deskey = 4A1123B14599CF10211B18CD02D4A11F0756ABB44531AA23CDF255A1134CF17657D93175139889C8A3365B18C28345E219F73508C3DAE128E719B5D88DE323A4A7ECD2158B4259C51349832EFBAD7CD3372578E3721953D97A15A4C7154932E863D596A727D8B268425E1A8C41698EE8C2AB3729D3CF93A749D333C2EB71D314 detect = cd ident = 0D00:000000,000004,000010,000014,000020,0000C0,0000C4,0000C8,0000CC;0D02:000000,00008C,0000A0,0000A4,0000A8;0500:000000,030B00,023800,021110,007400,007800;1801:000000,007301,001101;0604:000000;2600:000000;FFFF:000000;0E00:000000;4AE1:000011,0000FE group = 2 emmcache = 2,3,2,0 blockemm-unknown = 1 blockemm-u = 1 blockemm-s = 1 lb_weight = 200 lb_force_fallback = 1 emu_auproviders = 0500:030B00;0604:010200;0E00:000000;4AE1:000011,0000FE extee36 = /etc/tuxbox/config/oscam/ee36.bin extee56 = /etc/tuxbox/config/oscam/ee56.bin dre36_force_group = 05
oscam.user
[account] user = root betatunnel = 1833.FFFF:1702 au = emulator group = 1,2 max_connections = 5 [account] user = monitor pwd = monitor monlevel = 4 group = 1
oscam.conf
[global] logfile = /tmp/oscam.log logduplicatelines = 1 disableuserfile = 0 clienttimeout = 9999 fallbacktimeout = 7000 clientmaxidle = 9999999 nice = -1 maxlogsize = 1500 waitforcards = 0 preferlocalcards = 1 block_same_ip = 0 block_same_name = 0 usrfile = /tmp/oscamuser.log cwlogdir = /tmp/oscamcwdw.log lb_save = 500 lb_min_ecmcount = 3 lb_savepath = /tmp/.oscam/oscam.stat failbantime = 15 failbancount = 3 suppresscmd08 = 1 getblockemmauprovid = 1 [cache] [streamrelay] [dvbapi] enabled = 1 writechannelcache = 1 pmt_mode = 3 request_mode = 1 delayer = 60 ecminfo_type = 4 user = root read_sdt = 2 write_sdt_prov = 1 extended_cw_api = 2 boxtype = dreambox [monitor] port = 988 nocrypt = 127.0.0.1,192.168.0.0-192.168.255.255 aulow = 120 monlevel = 4 [webif] httpport = 8888 httphelplang = ru httprefresh = 10 httppollrefresh = 10 httpshowmeminfo = 1 httpshowecminfo = 1 httpshowloadinfo = 1 httpallowed = 127.0.0.1,192.168.0.1-192.168.255.255,10.0.0.1-10.255.255.255 aulow = 120 httposcamlabel = MegaOSCam httpemmsclean = 0 httpemmgclean = 0
oscam.dvbapi
####### EMU ######## P:2600:000000 P:0E00:000000 ######Tricolor 36E###### P:4AE0:000015 M:4AE0:000015 4AE0:0 P:4AE0:0 ####### NTV+ 36E ######## I: 0500:040610 I: 0500:050100 I: 0500:050B00 I: 0500:060C00 P: 0500:060A00 P: 0500:040620 I: 0500:040600 P: 0500:041200#TRK_Ukraine & Football(5°E) P: 0500:023800#SRG_Swiss(13E) P: 0500:024F00#Max TV(13E) P: 0500:032830#CanalSat_France(19.2E) P: 0500:041700#Red_light New Elite(13E) P: 0500:042300#RTVI(13E) P: 0500:042400#JSC_Sports(13E) P: 0500:042800#BIS_TV(13E) P: 0500:042700#SCT(13E) P: 0500:043800#SCT/Red light HD(13E) P: 0500:040810#SRG_Swiss(13E) P: 0500:030B00#TNT_France(19.2°E) P: 0500:007400#Mezzo(13E) P: 0B0F:000000#Xtra_TV(4W) P: 0602:000000#Kontinent(85,2E) P: 0652:000000#Raduga(75E) ######CYFRA+ и Полсат######### P:0100:000068:13F7:0afb#CINEMAX I:1803:000000:13F7:12C1#CINEMAX P:1803:000000:3D61:0B9D#Filmox I:0100:000068:3D61:0B61#Filmox I:0B01:000000:3D61:0B75#Filmox P:1803:000000:114D:066A#HBO I:0100:000068:114D:0A45#HBO ######N####### P:0b01:000000#N P: 0100:00006A#Canal_Digitall ASTRA (19.2E), (23.5E) P: 090F:000000#Viasat_Baltic(5E/75E) P: 093E:000000#ViaSat_Litva(5E/75E) P: 09CD:000000#Sky_Italian(13E) P: 098C:000000#Sky_Deutschland (19.2E) P: 1702:000000#SKY_Germany(19.2E) ######Cyfrowy Polsat 13Е###### P:1803:000000#Cyfrowy Polsat 13Е I:1813:000000#Cyfrowy Polsat 13Е I:1861:000000#Cyfrowy Polsat 13Е I:0500:030100#Cyfrowy Polsat 13Е P: 1810:000000#Digital+ HD(19.2E) P: 1830:000000#HD+ (19.2E) P: 183D:000000#TivuSat(13E) P: 0D05:000000#ORF_Digital(19.2°E) P:1010:000000 #####SEKA####### I: 0100:00003D I: 0100:000080 I: 0100:000086 I: 0100:000088 ####VIA####### I: 0500:032A10 I: 0500:032A00 I: 0500:032920 I: 0500:022A00 I: 0616:000000 I: 0919:000000 I: 4ABF:000000 I:0