Ibdel OSCam ma OSCam 11342 emu 735 arm Enigma2 для WeTeK Play
213Спутниковый медиа бокс WeTek Play чудо иностранной техники которое я предлагаю доделать в плане открытия платных спутниковых телеканалов. Это станет возможно заменив штатный, или штатно установленный OSCam на новый OSCam версии svn r11342 emu r735.
Din il-verżjoni tal-emulator oscam emu 1.20 svn 11342 emu r735 miġbura taħt il-proċessur ċOrtex A9 ARMV7 для использования на цифровых HD ресиверах WeTek Play с прошивкой Enigma 2: Mnigma, OpenPli и др.
Unix Starttime: 1484691982 Ħin tal-bidu: 18.01.2017 00:26:22 Verżjoni: oscam-1.20-HPB-r661-EMU-r375-735-r11342 Compiler: arm-linux-gnueabihf-libusb Box type: mara (ġeneriċi) PID: 1683 TempDir: /tmp/.oscam GBox TempDir: /tmp/.oscam ConfigDir: /eċċ/tuxbox/config/oscam/ WebifPort: 8888 Appoġġ għall-interface tal-web: iva Appoġġ LiveLog: iva Appoġġ intern jQuery: iva Appoġġ għall-interface touch: le Appoġġ SSL: le Appoġġ DVB API: iva DVB API b'appoġġ AZBOX: le DVB API b'appoġġ MCA: le DVB API b'appoġġ COOLAPI: le DVB API b'appoġġ COOLAPI2: le DVB API b'appoġġ STAPI: le DVB API b'appoġġ STAPI5: le Appoġġ DVB API read-sdt CHARSETS: iva Irdeto guessing: iva Appoġġ kontra l-kaskata: iva Mod ta' debug: iva Monitor: iva Appoġġ għall-ibbilanċjar tat-tagħbija: iva Appoġġ għall-iskambju tal-cache: iva Appoġġ ta' CW Cycle Check: iva Appoġġ LCD: iva Appoġġ LED: iva Clockfix b'arloġġ f'ħin reali: iva Appoġġ IPv6: le Appoġġ emulatur: iva camd 3.3x: iva camd 3.5 UDP: iva camd 3.5 TCP: iva newcamd: iva CCcam: iva CCcam sehem: iva gbox: iva radegast: iva frodi: iva serjali: iva CW kostanti: iva Pandora: iva ghttp: iva Appoġġ għall-qarrej: iva Nagra: iva Irdeto: iva Conax: iva Cryptoworks: frieket nixxef: iva Viaccess: iva NDS Videoguard: iva Kripta DRE: iva TONGFANG: iva Bulcrypt: iva Griffin: iva DGCrypt: iva cardreader_phoenix: iva cardreader_internal_azbox: le cardreader_internal_coolapi: le cardreader_internal_coolapi2: le cardreader_internal_sci: iva cardreader_sc8in1: iva cardreader_mp35: iva cardreader_smargo: iva cardreader_pcsc: le cardreader_smartreader: iva cardreader_db2com: iva cardreader_stapi: le cardreader_stapi5: le cardreader_stinger: iva cardreader_drecas: iva
К делу, прошивка Mnigma, при первоначальной настройке системы выбираем и устанавливаем эмулятор OSCam (без emu). Для замены эмулятора OSCam на более новый oscam emu 1.20 svn 11342 emu r735 требуется заменить бинарник (исполняемый bin файл) который можно безвозмездно скачать по ссылке :
bin.oscam-emu-r11342_735-arm-linux-gnueabihf.7z 690 KB
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"-Mod) 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 <ID tas-Servizz><ECM PID> <numru ewlieni> <ċavetta> Example: ID tas-Servizz: 2222 ECM PID: 1111 ċavetta: 0102030405060708 F 22221111 00 0102030405060708 Important: The correct ecm pid is only available when using oscam dvbapi. pereżempju: 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: ================ Ċwievet f'SoftCam.Key: P <groupid><srvid> <nb> <ċavetta> Where: groupid = any 4 hex digits of your choice for this group (leading zeros are optional) srvid = SID (ID tas-Servizz) 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! Ċwievet AU: P <groupid> <UA> <ċavetta> 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, pereżempju: 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 -> Mod 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 "Żid". Ċ. Select "DVB/TS". D. Chosse a name and use the new stream link as URL. E. Use the "ID tas-Servizz" 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 "Exte56" reader settings. Keys in SoftCam.Key: Overcrypt keys (16 keys): D 0 <number> <ċavetta> example: D 0 0 1122334455667788 ... D 0 F 1122334455667788 Ċwievet AU: D <Caid><Fornitur> MK<key type><key index> <ċavetta> example: D 4AE1FF MKAA01 112233445566778899AABBCCDDEEFF0011223344556677889900AABBCCDDEEFF Tandberg config: ================ Ċwievet f'SoftCam.Key: T <entitlement> 01 <ċavetta> pereżempju (intitolament = 1234): T 00001234 01 1122334455667788 żerijiet ewlenin forsi jinqabżu. istess ċavetta bħal hawn fuq: T 1234 01 1122334455667788 Ċwievet AU: għal sett ta 'ċavetta qodma: T <key index (hex)> MK <ċavetta> 64 huma meħtieġa ċwievet: T 40 MK 1122334455667788 T 41 MK 1122334455667788 ... T 7F MK 1122334455667788 għal sett ta 'ċwievet ġdid: T <key index (hex)> MK01 <ċavetta> 64 huma meħtieġa ċwievet: 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 r11342 emu r735 ), и скопировать его в папку /usr/bin/ . После выставить атрибуты файлу 755, для возможности запуска и выполнения нового oscam emu 1.20 R11342 emu r735.
[Qarrej] 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,00008Ċ,0000A0,0000A4,0000A8;0500:000000,030B00,023800,021110,007400,007800;1801:000000,007301,001101;0604:000000;2600:000000;FFFF:000000;0E00:000000;4Ae: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;4Ae: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: 098Ċ: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