Record TV with PVR+ and a CI+ module inserted

Here for general support for B series TVs, request and problem solve area.

sbav1
Official SamyGO Developer
Posts: 374
Joined: Fri Jan 15, 2010 10:20 am

Re: Record TV with PVR+ and a CI+ module inserted

Post by sbav1 »

viper3k wrote: Does anyone has a thought about this method to fake DVB-C signals to work over DVB-T ???
That does sound like a good idea ..
Uhm, not really (just IMO). Samsung TSD/PVR is operating on TS (transport stream) level -from external (serial and/or parallel) or internal source[s].
Generally speaking, CI+ CAM is getting already demodulated signal (it doesn't care/doesn't know about particular DTV modulation - DVB-T/DVB-C/DVB-whatever - it's not even mentioned in the CI+ specifications). I don't think "problematic" CI+ cards in CI+ B-series are actively preventing anything PVR-related.. In theory, network/content provider can restrict (or deny) recording etc. by CI+ URI (Usage Rules Information) "feature" - but I really doubt that's real underling problem here.
samybill
Posts: 50
Joined: Mon Nov 07, 2011 10:07 am
Location: "s-Hertogenbosch, Netherlands

Re: Record TV with PVR+ and a CI+ module inserted

Post by samybill »

sbav1 wrote:I don't think "problematic" CI+ cards in CI+ B-series are actively preventing anything PVR-related.. In theory, network/content provider can restrict (or deny) recording etc. by CI+ URI (Usage Rules Information) "feature" - but I really doubt that's real underling problem here.
Without the CI+ Cam only I am able to record uncripted channels. However of these channels there are just a few, 2 or 3
So the problem is the cam. Watch the(german) video:
http://www.youtube.com/watch?v=cvroR8cN6To
majonezz wrote: In link mentioned above there was another link to compiled binary. The binary was called "regwatch". This binary is for watching mem area at 0x30110100 and modifyng it to switch off CAM protection.
I'm pretty sure, that my solution do not work with many CAM's, but try it first - maybe it will work for you
-Copy regwatch to USB dongle
-Insert the dongle to TV
-Telnet to your TV
-cd to /dtv/usb/.... and find the directory where regwatch is
-set tv to any DVB channel
- run regwatch by typing ./regwatch
- pray to God
If you are lucky, then TV signal won't disappear and now you are able to record something :)

Wish you luck!
The telnet is a bridge to far for me as I don't know how to enter this. With a external computer with linux :?: :?:
juuso wrote:some simple content library game could help here... ;)
For non Linux or non developer this would be a good idea
viper3k wrote:YEa .. first we need to find out what memory block to change on certain cam modules ;)...
the regwatch you wrote didn;t work for me .. so Am gonna play around with the memory blocks manually some more maybe that could work...
As I recall in the other forum(record over usb) you(viper3k) and majonezz have the same cam module.
You are working both with changing the memory blocks only the method is different aswell as the signal DVB S versus DVB C
Am I right :?: :?:
Last edited by moras86 on Wed Jan 11, 2012 7:03 pm, edited 2 times in total.
Reason: blend user posts
LE40B652 CI+ Firmware 2006.0 unpatched
cable TV , DVB-C over CI+
volksvertreter
Posts: 6
Joined: Thu Dec 08, 2011 12:54 am

Re: Record TV with PVR+ and a CI+ module inserted

Post by volksvertreter »


The telnet is a bridge to far for me as I don't know how to enter this. With a external computer with linux :?: :?:

For non Linux or non developer this would be a good idea
you don't need linux for that.

Telnet client is included on Mac OS X, Windows till XP, since vista you've to install it manualy -> startmenu -> add / remove features.... search for telnet client....


Where can i get the binary? I would give it a try on my box with german provider "Kabel Deutschland". The strange is, that recording worked fine few months ago. But the Kabel-Deutschland FAQ says that recording of the private none-paytv-channels is allowed, and time-shift till 90minutes is granted too!


CI+ Module and SmartCard Specs:

The blue CI+ Module produced by SMIT
Picture of the card is attached...
P/N: RET.BTLDR.1.1.3
V/N: 1660N_4.0.3.1

KabelDeutschland SmartCard (german provider)
- it's a G09 card
edit:
got the file, will give it a try now!
edit2:
Got it with my Kabel-Deutschland CI+ Module, the blue one...

- put on tv with inserted module
- get this file http://83.15.87.186/samy/tools.tar.gz
- extract it, copy it to stick, put stick in tv, telnet tv
on command line:

- mount
- find path where the stick is mounted to: /dev/sdb1 on /dtv/usb/sdb1 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed)
- go to that path cd /dev/sdb1 on /dtv/usb/sdb1 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed)
- chmod +x devmem2 regrange

now load pvr+ version 3

now type these commands:
- ./regrange 0x30110100 1
it gives you something like this as output message:

Code: Select all

# ./regrange 0x30110100 1
0x30110100: 0x141B77A
- for us important are the last four charactersadress: B77A > its always a different value, replace it in the next command ./devmem2 0x30110100 w 0xYOURFOURCHARACTERS with yours:
- ./devmem2 0x30110100 w 0xB77A
it gives you something like this as output message:

Code: Select all

# ./devmem2 0x30110100 w 0xB77A
/dev/mem opened.
Memory mapped at address 0x40001000.
Value at address 0x30110100 (0x40001100): 0x9E899
Written 0xB77A; readback 0xB77A
- if your picture doesn't freeze try to record something and it should do.

now i'll give the binary regwatch a try, i don't know what it should do... probably automate the steps i made above with devmem2 & regrange....

atteched the binaries by the way.. good luck
edit3:
Much easier is the tool REGWATCH.... i think it does the same...

- copy attached tool called regwatch to stick
- telnet tv
- cd /dtv/usb/sda1/ <- or which path the tv has mounted your stick to - find out with the command mount
- Content->Content Management -> Children> DCA Module (this is needed for me to play the recorded *.TS files with the TV's mediaplayer, otherwise i get a "File not supported" message)
- Content->Games->PVR+ Version3
- on command line type ./regwatch and it detects the affected memory address ...

Code: Select all

Mac-Pro:~ flo$ telnet 192.168.1.2
Trying 192.168.1.2...
Connected to 192.168.1.2.
Escape character is '^]'.

localhost login: root
-sh: id: not found
# cd /dtv/usb/sdb1
# ./reg
./regrange   ./regwatch 
# ./regwatch 
Detected!! 41A899
- press record if the picture DOES NOT freeze :)

works for me on my tv (read my signature)

I copied regwatch to /mtd_rwarea/regwatch and added a line to my SamyGO.sh...
Can i load PVR+3 & Samygo DCA-Module boot automatically with the /mtd_rwarea/SamyGO.sh ?

Code: Select all

#!/bin/sh

# Enable Telnetd
if [ `cat /proc/mounts | grep -c "/dev/pts"` -lt "1" ] ; then
echo "telnetd Enabled"
mount -t devpts devpts /dev/pts
telnetd
else
echo "/dev/pts is mounted"
fi
                                
# Open back-door for fixing boot-loop situations
sleep 20            # Allow USB-stick to settle
USB="/dtv/usb/sda1" # USB mount-point
                                
if [ -f $USB/usb.sh ];then
echo "USB-File detected"
$USB/usb.sh
exit
else
echo "Running Normal SamyGO Startup"
fi
                                                                
#Your lines here!
#/mtd_tlib/GGame/SamyGO/rcSGO                                                                
mount -o nolock 192.168.1.99:/Volumes/RAID0-4TB /dtv/usb/sda1/nfs -t nfs &
/mtd_rwarea/regwatch &
Now i have to find out how to change the path PVR+3 records to, i would like to set it to my mounted NFS-Share: /dtv/usb/sda1/nfs
You do not have the required permissions to view the files attached to this post.
Last edited by moras86 on Wed Jan 11, 2012 9:48 pm, edited 2 times in total.
Reason: blend user multi posts [last time] !!!
My TV:
- firmware is patched by the script in the wiki
- Version: 2009/11/12_002006
- T-CHLCIPDEUC-2006.0
- Modellcode: LE40B650
- telnet is enabled by boot
flo-ogb
Posts: 23
Joined: Sun Sep 19, 2010 9:43 am

Re: Record TV with PVR+ and a CI+ module inserted

Post by flo-ogb »

i get freezes on some HDTV channels, if I use regwatch. nontheless it works as expected for the channels that don't lock up the tv. can i provide any logs or dumps? i habe debian environment prepared on the tv.
majonezz
SamyGO Project Donor
Posts: 63
Joined: Sat Feb 06, 2010 10:44 am
Location: Wroclaw, Poland

Re: Record TV with PVR+ and a CI+ module inserted

Post by majonezz »

-Did it freeze like at a weak signal, or just freeze and stay frozen?
-After that freezing, can you watch other channels, or does tv stays blank and needs to be rebooted?
-Yes, you should provide memory dump as described in this topic before (with and without regwatch, on working and non-working channel)
flo-ogb
Posts: 23
Joined: Sun Sep 19, 2010 9:43 am

Re: Record TV with PVR+ and a CI+ module inserted

Post by flo-ogb »

sorry for the late reply, i did not enable notifications. here is some more info:

i do not have any signal issues. freezing happens only on certain channels (german "VOX" for example and not on "kabel 1"). with regwatch enabled and VOX, the picture freezes after about 3 seconds. the picture becomes black and shows the "scrambled" message some seconds later. i can switch to another channel (kabel 1) which works fine. when i switch back to the problematic channel (VOX) it works for 1 second and then freezes again like before. no issues if i do not load regwatch.

let me just fetch the dumps

EDIT: Like this? Was the closest to a dump I could find in this topic. By the way: Is it normal that regwatch does not return to prompt? Either I have to append "&" or put it in background with CRTL-Z and "bg"

Code: Select all

VOX (broken channel), without regwatch:
# ./regrange 0x30110100 1
0x30110100: 0x141A21F
# ./devmem2 0x30110100 w 0xA21F
/dev/mem opened.
Memory mapped at address 0x40001000.
Value at address 0x30110100 (0x40001100): 0x141A21F
Written 0xA21F; readback 0xA21F


VOX (broken channel), with regwatch:
# /mtd_rwarea/SamyGO/regwatch.dis 
Detected!! 41A21F
[1] + Stopped                    /mtd_rwarea/SamyGO/regwatch.dis
# bg
[1] /mtd_rwarea/SamyGO/regwatch.dis
# ./regrange 0x30110100 1
0x30110100: 0x41A21F


Kabel 1 (working channel), without regwatch
# ./regrange 0x30110100 1
0x30110100: 0x141A215
# ./devmem2 0x30110100 w 0xA215
/dev/mem opened.
Memory mapped at address 0x40001000.
Value at address 0x30110100 (0x40001100): 0x141A215
Written 0xA215; readback 0xA215


Kabel 1 (working channel), with regwatch
# /mtd_rwarea/SamyGO/regwatch.dis 
Detected!! 41A215
[1] + Stopped                    /mtd_rwarea/SamyGO/regwatch.dis
# bg
[1] /mtd_rwarea/SamyGO/regwatch.dis
# ./regrange 0x30110100 1
0x30110100: 0x41A215

Post Reply

Return to “[B] Support”