Method of Opening PowerVu Channels in Enigma2 Using Oscam

kebien

Registered
Messages
1,329
It's currently in this folder below. I tried to dump it into USR but, it wasn't letting me.Is there anyway to make oscam write to my current folder?
/storage/.kodi/userdata/addon_data/service.softcam.oscam/config

Rickk is correct,you can make Oscam write anywhere you want.
Just make sure you have softcam.key in that folder,and the base keys for the service.
If you cannot write to /usr you can try writing to
/storage/config/softcam.key as a way of test
 

Kb Cool

Registered
Messages
61
Rickk is correct,you can make Oscam write anywhere you want.
Just make sure you have softcam.key in that folder,and the base keys for the service.
If you cannot write to /usr you can try writing to
/storage/config/softcam.key as a way of test

This is what i'm seeing in the main config file.

#
# main configuration
#

[global]
nice = -1
WaitForCards = 1

usrfile = /storage/.kodi/userdata/addon_data/service.softcam.oscam/log/oscamuser.log
logfile = /storage/.kodi/userdata/addon_data/service.softcam.oscam/log/oscam.log
cwlogdir = /storage/.kodi/userdata/addon_data/service.softcam.oscam/log/cw
saveinithistory = 1

[monitor]
port = 988
aulow = 120
hideclient_to = 15
monlevel = 1
appendchaninfo = 0

[webif]
httpport = 8888
httpuser = oscam
httppwd = oscam
httpallowed = 0.0.0.0-25

[dvbapi]
enabled = 1
pmt_mode = 4
boxtype = pc


Then there is another one where I have my key file.



[global]
logfile = stdout
fallbacktimeout = 3
bindwait = 5
initial_debuglevel = 64
nice = -1
maxlogsize = 200
waitforcards = 0
preferlocalcards = 1
lb_mode = 1
lb_save = 100
lb_savepath = /storage/
lb_auto_timeout_t = 26000

[cache]

[streamrelay]
stream_relay_enabled = 0

[dvbapi]
enabled = 1
au = 1
pmt_mode = 4
listen_port = 9001
delayer = 60
ecminfo_type = 4
user = tvheadend
read_sdt = 1
extended_cw_api = 1
boxtype = pc

[webif]
httpport = 8888
httprefresh = 2
httppollrefresh = 2
httpallowed = 127.0.0.




I tried messing around with it. But, ended up breaking it. Do you see anything I can change?
 

Kb Cool

Registered
Messages
61
where is your emu reader, user?
you show us only your oscam config
make a log

Yeah, I don't know. I cant find it anywhere in the config files. The log always says "no matching reader". I think I going to abandon Coreelec and try Libreelec. I was hoping hisakatano chimed in as he would be the one to know if it'll roll or not. I'm just a rookie and don't even know what most of this stuff(files) even means and it's purpose. I'm sure if I knew that. I would be much farther along.
 

Kb Cool

Registered
Messages
61
This is the load screen



2019/03/27 22:41:16 00000000 s debug_level=64
2019/03/27 22:41:16 00000000 s (main) System name = Linux
2019/03/27 22:41:16 00000000 s (main) Host name = CoreELEC
2019/03/27 22:41:16 00000000 s (main) Release = 3.14.29
2019/03/27 22:41:16 00000000 s (main) Version = #1 SMP Wed Feb 27 00:10:49 GMT 2019
2019/03/27 22:41:16 00000000 s (main) Machine = aarch64
2019/03/27 22:41:16 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 7485
2019/03/27 22:41:16 00000000 s (config) services reloaded: 0 services freed, 1 services loaded, rejected 0
2019/03/27 22:41:16 00000000 s (emu) OSCam-Emu version 791
2019/03/27 22:41:16 00000000 s (config) userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
2019/03/27 22:41:16 00000000 s (main) signal handling initialized
2019/03/27 22:41:16 00000000 s (config) 5 provid's loaded
2019/03/27 22:41:16 00000000 s (config) 193 service-id's loaded in 2 ms
2019/03/27 22:41:16 00000000 s (reader) emulator [emu] creating thread for device emulator
2019/03/27 22:41:16 00000000 s (emmcache) loading emmcache disabled since no reader is using it!
2019/03/27 22:41:16 00000000 s (emmcache) loading emmstats disabled since no reader is using it!
2019/03/27 22:41:16 0773DACD r (reader) emulator [emu] Reader initialized (device=emulator, detect=cd, mhz=357, cardmhz=357)
2019/03/27 22:41:17 2D4DC36B c (client) plain dvbapi-client granted (tvheadend, au=auto (1 reader))
2019/03/27 22:41:17 2D4DC36B c (dvbapi) dvbapi channelcache loaded from /storage/.kodi/userdata/addon_data/service.softcam.oscam/config/oscam.ccache
2019/03/27 22:41:17 2D4DC36B c (dvbapi) Using TCP listen socket, API forced to DVBAPIv3 (0), userconfig boxtype: 11
2019/03/27 22:41:17 38D05F38 h (webif) webif: decompressed 165754 bytes back into 404192 bytes
2019/03/27 22:41:17 38D05F38 h (webif) HTTP Server running. ip=0.0.0.0 port=8888
2019/03/27 22:41:17 0773DACD r (reader) emulator [emu] card detected
2019/03/27 22:41:18 0773DACD r (reader) emulator [emu] found card system emu
2019/03/27 22:41:18 0773DACD r (reader) emulator [emu] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
2019/03/27 22:41:18 0773DACD r (emu) Reading key file: /storage/.kodi/userdata/addon_data/service.softcam.oscam/config/Softcam.Key
2019/03/27 22:41:19 0773DACD r (emu) Total keys in memory: W:0 V:0 N:0 I:0 S:0 F:13 P:482 D:0 T:0 A:0
2019/03/27 22:42:16 2D4DC36B c (dvbapi) Client connected: 'Tvheadend 4.3-1774 ~ LibreELEC Tvh-addon v9.0.444' (protocol version = 2)
 

Rickk

Registered
Messages
2,375
that looks good
emu started, keys loaded, tvheadend connected
would have to go
if emm is ok, the keys will be written in 2 to 5 minutes
go to the webif livelog there you can see that
 

luizaum

Registered
Messages
15
It was off with the OSCAM 11505/11507 emu 792
Satellites 65/75/84W

IsDecrypted: True
DVB Scrambling Algo: DES
Needs Unmasking: True
ECM Counter: $CC
Nanos: [5]->($20, $3E)
Nano $20 Extra Data Length: 8
Mode CW: 0 (in use)
Mode Unmask: 4 (in use)
Hash Mode CW: 31 (in use)
Hash Mode Unmask: 1 (not in use)


2019/03/28 12:51:52 4AE4453E r (emu) Key not found: P 0098 01
2019/03/28 12:51:52 4AE4453E r (emu) ECM failed: Key not found
2019/03/28 12:51:52 281A8B95 r (emu) Key not found: P 0098 01
2019/03/28 12:51:52 281A8B95 r (emu) ECM failed: Key not found
2019/03/28 12:51:52 25F28F49 r (emu) csaUsed=0, xorMode=0, ecmSrvid=0098, hashModeCw=31, modeCW=0
2019/03/28 12:51:52 25F28F49 r (emu) Key not found: P 0098 01
2019/03/28 12:51:52 25F28F49 r (emu) ECM failed: Key not found
2019/03/28 12:51:52 4F797FB1 c (ecm) dvbapi (0E00@000000/0000/0098/48:D760419C049745573436BAAA44B923BA): not found (19 ms) by SoftCam.Key (F/3/3/3) - TC Action HD
2019/03/28 12:51:52 4F797FB1 c (dvbapi) Demuxer 0 restarting decodingrequests after 1 ms with 1 enabled and 0 disabled ecmpids!
2019/03/28 12:51:52 4F797FB1 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 0E00 PROVID 000000 ECMPID 1771 ANY CHID PMTPID 1420 VPID 0208
2019/03/28 12:51:52 4F797FB1 c (ecm) cw:
2019/03/28 12:51:52 4F797FB1 c (ecm) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

The emu did the auto roll and found the keys, written on the softcam.key .... Bad gets showing keys not found and does not do the emulation.
 

kebien

Registered
Messages
1,329
Check your softcam.key file and see if new keys are written.
Should be last ones.
Unless you have no base keys 00 and 01 for service 0098
 

luizaum

Registered
Messages
15
He writes the keys yes, but he is not seeing, and therefore does not do the emulation.
It worked fine in hashModeCw = 1.
Changed to hashModeCw = 31 and stopped working.
Using Oscam 11507 emu 792, the latest.
 
Last edited:

luizaum

Registered
Messages
15
I have the AFN here, 34.5W satellite and it works in the same hash mode 31. And it works normally.

2019/03/28 20:50:33 2A7840E3 r (-) -- Skipped 1 duplicated log lines --
2019/03/28 20:50:33 2A7840E3 r (emu) csaUsed=1, xorMode=0, ecmSrvid=0130, hashModeCw=31, modeCW=0
2019/03/28 20:50:33 3B96B9B2 r (-) -- Skipped 1 duplicated log lines --
2019/03/28 20:50:33 3B96B9B2 r ecm:
2019/03/28 20:50:33 3B96B9B2 r 80 30 96 50 3F 20 0E 00 09 08 B9 02 2A 6F 32 0B
2019/03/28 20:50:33 3B96B9B2 r A8 0F 00 BE A0 80 E9 4E 88 45 3E EF 20 DF 1F 59
2019/03/28 20:50:33 3B96B9B2 r 49 58 94 98 57 13 00 00 00 0C 2F E1 17 0E E0 60
2019/03/28 20:50:33 3B96B9B2 r A9 CD B6 39 68 1B 18 72 9C B6 8D 22 A9 BD 6F 10
2019/03/28 20:50:33 3B96B9B2 r 4E 99 CC 5B 30 10 27 0E 00 00 00 80 00 BB 18 96
2019/03/28 20:50:33 3B96B9B2 r 6D 51 C0 C7 34 9E 30 10 27 0E 00 00 00 20 00 A8
2019/03/28 20:50:33 3B96B9B2 r 5F E6 75 8D FF 0B 9B 4C 30 0D 28 0E 00 00 00 8D
2019/03/28 20:50:33 3B96B9B2 r 7F 27 DC 95 02 88 12 30 1C 29 0E 00 00 00 18 22
2019/03/28 20:50:33 3B96B9B2 r 72 AD C9 17 5E 9D 07 B2 6B 50 87 7D 2A D0 47 5E
2019/03/28 20:50:33 3B96B9B2 r 18 73 9F C1 2E C3 97 E6 7B
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 0: E399C5411FF23546
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 1: 05AB40F04E32F272
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 2: E399C5411FF23546
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 3: 75E175CB920D3EDD
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 4: 75E175CB920D3EDD
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 5: 75E175CB920D3EDD
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 6: A79F286E7551A268
2019/03/28 20:50:33 2A7840E3 r (emu) calculated cw 7: 95D428917551A268
2019/03/28 20:50:33 3B96B9B2 r (emu) csaUsed=1, xorMode=0, ecmSrvid=0130, hashModeCw=31, modeCW=0
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 0: E399C5411FF23546
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 1: 05AB40F04E32F272
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 2: E399C5411FF23546
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 3: 75E175CB920D3EDD
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 4: 75E175CB920D3EDD
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 5: 75E175CB920D3EDD
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 6: A79F286E7551A268
2019/03/28 20:50:33 60E125C3 r (emu) calculated cw 7: 95D428917551A268
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 0: E399C5411FF23546
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 1: 05AB40F04E32F272
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 2: E399C5411FF23546
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 3: 75E175CB920D3EDD
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 4: 75E175CB920D3EDD
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 5: 75E175CB920D3EDD
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 6: A79F286E7551A268
2019/03/28 20:50:33 3B96B9B2 r (emu) calculated cw 7: 95D428917551A268
2019/03/28 20:50:33 5C9A7D9B c (ecm) dvbapi (0E00@000000/0000/0130/99:C9E3754EB142E93E208609E4AD39348C): found (25 ms) by SoftCam.Key (L/3/3/3) - AFN
2019/03/28 20:50:33 5C9A7D9B c (ecm) cw:
2019/03/28 20:50:33 5C9A7D9B c (ecm) E3 99 C5 41 1F F2 35 46 00 00 00 00 00 00 00 00
 

luizaum

Registered
Messages
15
My Oscam configuration files.
Dreambox DM800se HD, openpli 4.0

oscam server
[reader]
label = emulator
protocol = emu
device = emulator
fallback = 1
disablecrccws_only_for = 0E00:000000
caid = 090F,0500,1801,0604,2600,FFFF,0E00,1010,0607
detect = cd
ident = 090F:000000;0500:000000,023800,021110,007400,007800;1801:000000,007301,001101,002111;0604:000000;2600:000000;FFFF:000000;0E00:000000;1010:000000
group = 1
emmcache = 2,2,2,0
saveemm-u = 1
emu_auproviders = 0604:010200;0E00:000000;1010:000000;2600:000000
extee36 = /usr/keys/oscam_emu_twin/ee36.bin
extee56 = /usr/keys/oscam_emu_twin/ee56.bin

[reader]
label = SoftCam.Key
description = SoftCam
protocol = emu
device = /usr/keys/oscam_emu_twin/SoftCam.Key
cacheex = 2
caid = 090F,0500,1801,0604,2600,FFFF,0E00,4AE1,1010
detect = cd
ident = 090F:000000;0500:000000,023800,021110,007400,007800;1801:000000,007301,001101,002111;0604:000000;2600:000000;FFFF:000000;0E00:000000;4AE1:000011,000014,0000FE;1010:000000
group = 2
emmcache = 2,1,2,1
emu_auproviders = 0604:010200;0E00:000000;4AE1:000011,000014,0000FE;1010:000000;2600:000000

[reader]
label = AFN
description = AFN-EMU
protocol = emu
device = Emulator
services = afn
caid = 0E00
detect = cd
group = 1
emmcache = 1,5,31,1
emu_auproviders = 0E00:000000
auprovid = 000E00

oscam config
[global]
logfile = /tmp/oscam.log
initial_debuglevel = 64
clienttimeout = 8
fallbacktimeout = 2
nice = -1
maxlogsize = 512
preferlocalcards = 1

[cache]

[streamrelay]
stream_relay_enabled = 000

[dvbapi]
enabled = 1
au = 1
pmt_mode = 0
delayer = 60
ecminfo_type = 1
user = dvbapi
read_sdt = 1
write_sdt_prov = 1
extended_cw_api = 2
boxtype = dreambox

oscam user
[account]
description = dvbapi
user = dvbapi
au = 1
group = 1,2,3,4,5
keepalive = 1

oscam services
[afn]
caid = 0E00
provid = 000000
srvid = 0130,012F,012E,0098
 

nautilus7

VIP
Messages
607
Why do you have 3 emu readers? :eek:

Why do you people keep messing with your config without having any idea what you're doing?
 

luizaum

Registered
Messages
15
True, 65w / 75w / 84w satellites do not work. Neither with one nor with three readers. AFN works normal in hash modeMode 31.
 

kebien

Registered
Messages
1,329
The problem isn't the reader

So,given you know what the problem is,you should be able to figure it out yourself,correct?
But yours is not the right way to ask for help,in case that was your intention.

Please,be kind to the people that is trying to help you.
Thank you.

Work with only one reader as you were told,if you have no idea what the problem is, the more you do on your own the lesser chances people can help you.

Record a full TS,post it here,together with the working key,as to see if can be decrypted offline.

Also,try making a new softcam.key file in linux format (spell it correctly,Linux requires correct spelling and format).
Insert ONLY the working key for the service,not any other.
And restart the emu and see if those keys are picked up.
 
Last edited:

kebien

Registered
Messages
1,329
I just informed you that the problem was not the reader.

It's ok,just consider the people that is trying to help you been doing this for a long while,and their efforts are commendable.

Now,tell us if you did as you were told : remove the readers,restart oscam so it creates a new one,create a new softcam.key file with only the working key,post 1 minute of full TS.
In order to see what's going on your information is much needed.
 

hisakatano

Member
Messages
924
Intelsat-19 3747/4180 TP - Now use Hash Mode 32

019/03/31 00:33:47 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:47 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:160E14109A5697958BC5941E86DA10EA): found (1 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:47 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:48 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:48 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:ACBC2CD5C6FDD93AD90B6D29904D1759): found (1 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:48 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:49 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:49 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:C5110E0514D4F5E1982D51C53321788E): found (1 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:49 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:50 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:50 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:DF16836683481E5F1EF8F5D8904C3E07): found (1 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:50 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:51 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:51 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:1A2080913C349AECEFDCE83ECFB97384): found (2 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:51 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:52 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:52 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:BEB75900F96D875926BEA62B01F4ECAD): found (2 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:52 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:53 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:53 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:5F4AA5F0C98D88A2EB2DA8B016C0B116): found (2 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:53 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:53 00000000 **** OSCam << cardserver log switched, version 1.20_svn, build r11507 (arm-newnigma2-linux-gnueabihf)
2019/03/31 00:33:53 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:54 676E8FE1 c (-) -- Skipped 6 duplicated log lines --
2019/03/31 00:33:54 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:49B3E6C44AA7E00314DBA4BDF144C01A): found (2 ms) by emulator (L/1/2/2) - ABS-CBN
2019/03/31 00:33:54 2BB192DE r (emu) A new hash mode [32] is in use.
2019/03/31 00:33:55 676E8FE1 c (-) -- Skipped 7 duplicated log lines --
2019/03/31 00:33:55 676E8FE1 c (ecm) linuxsatsupport (0E00@000000/0000/0C80/48:CF0751F03580F43CEAFA6E12334624F9): found (2 ms) by emulator (L/1/2/2) - ABS-CBN
 
Top