Lordbyte sent me a new version of PVRDecoder for testing. It has the possibility to use netcat instead of telnet.
My conclusion: It works like a charm, both in telnet and netcat mode. I have been testing it with a number of recordings with different buffer sizes in batch mode without restarting the program and the TV has not hanged a single time. Also, the download of the list of recordings from the TV is MUCH faster than before. There are more changes in this version than just the possibility to use netcat...
I have not yet tested decoding and downloading simultaneously.
Example log output in telnet mode. Note that there is an ERROR line at the end. I don't know what it is about, since the decoding and download worked correctly and neither the TV nor PVRDecoder hanged.
Code: Select all
(23) ---> cat /.version > /mtd_rwcommon/PVRDecoder.msg
(23) <--- "Golf.S 0143" KERNEL MODULE VERSION : "0138.1184, DTV, Golf.S, product, MAIN_GOLFS_RCA"
(23) ---> df | grep -E "dev.*sd" | awk '{print ""X""$1"",""$2"",""$3,""$4,""$5""}' | sed 's/\/dev\///g' > /mtd_rwcommon/PVRDecoder.msg
(23) <--- sda1 244004320 161240152 82764168 66% | sdb1 7569424 2115984 5453440 28% | sdc 482 20 462 4%
(21) ---> NOOP
(23) ---> df | grep -E "dev.*sd" | awk '{print ""X""$1"",""$2"",""$3,""$4,""$5""}' | sed 's/\/dev\///g' > /mtd_rwcommon/PVRDecoder.msg
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150328181004.srf > /mtd_rwcommon/PVRDecoder.msg
(23) <--- 00000000 47 10 06 97 19 45 00 12 |G....E..| | 00000008
/mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150328181004.srf 2503
(23) ---> /mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150328181004.srf 2503 > /mtd_rwcommon/PVRDecoder.msg
(23) <--- samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 | Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' | mprotect: 0x4227c020 | dlopen: 0x424a0d80 | dlclose: 0x424a0e14 | dlsymaddr: 0x424a0e78 | pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 | r0=e1da46c r1=80 | r2=1 r3=0 | stack: 0xbe19b000-0xbe1bc000 length = 135168 | executing injection code at 0xbe1bafec | library injection completed! | Succeeded.
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 |
Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' |
mprotect: 0x4227c020 |
dlopen: 0x424a0d80 |
dlclose: 0x424a0e14 |
dlsymaddr: 0x424a0e78 |
pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 |
r0=e1da46c r1=80 |
r2=1 r3=0 |
stack: 0xbe19b000-0xbe1bc000 length = 135168 |
executing injection code at 0xbe1bafec |
library injection completed! |
Succeeded. |
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150328181004.srf > /mtd_rwcommon/PVRDecoder.msg
(23) <--- 00000000 47 10 06 97 19 45 00 12 |G....E..| | 00000008
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150411171005.srf > /mtd_rwcommon/PVRDecoder.msg
(23) <--- 00000000 47 10 06 9a 1b 68 dc e5 |G....h..| | 00000008
/mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150411171005.srf 2503
(23) ---> /mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150411171005.srf 2503 > /mtd_rwcommon/PVRDecoder.msg
(23) <--- samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 | Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' | mprotect: 0x4227c020 | dlopen: 0x424a0d80 | dlclose: 0x424a0e14 | dlsymaddr: 0x424a0e78 | pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 | r0=e1da46c r1=80 | r2=1 r3=0 | stack: 0xbe19b000-0xbe1bc000 length = 135168 | executing injection code at 0xbe1bafec | library injection completed! | Succeeded.
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 |
Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' |
mprotect: 0x4227c020 |
dlopen: 0x424a0d80 |
dlclose: 0x424a0e14 |
dlsymaddr: 0x424a0e78 |
pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 |
r0=e1da46c r1=80 |
r2=1 r3=0 |
stack: 0xbe19b000-0xbe1bc000 length = 135168 |
executing injection code at 0xbe1bafec |
library injection completed! |
Succeeded. |
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150411171005.srf > /mtd_rwcommon/PVRDecoder.msg
(23) <--- 00000000 47 10 06 9a 1b 68 dc e5 |G....h..| | 00000008
(23) ---> df | grep -E "dev.*sd" | awk '{print ""X""$1"",""$2"",""$3,""$4,""$5""}' | sed 's/\/dev\///g' > /mtd_rwcommon/PVRDecoder.msg
(23) <--- sda1 244004320 161431864 82572456 66% | sdb1 7569424 2116080 5453344 28% | sdc 482 20 462 4%
ERROR:
(21) ---> NOOP
(23) ---> df | grep -E "dev.*sd" | awk '{print ""X""$1"",""$2"",""$3,""$4,""$5""}' | sed 's/\/dev\///g' > /mtd_rwcommon/PVRDecoder.msg
(23) <--- sda1 244004320 161441460 82562860 66% | sdb1 7569424 2116080 5453344 28% | sdc 482 20 462 4%
Example log output in netcat mode :
Code: Select all
(23) ---> cat /.version > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- "Golf.S 0143" KERNEL MODULE VERSION : "0138.1184, DTV, Golf.S, product, MAIN_GOLFS_RCA"
(23) ---> df | grep -E "dev.*sd" | awk '{print ""X""$1"",""$2"",""$3,""$4,""$5""}' | sed 's/\/dev\///g' > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- sda1 244004320 158355224 85649096 65% | sdb1 7569424 2115888 5453536 28% | sdc 482 20 462 4%
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150328181004.srf > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- 00000000 47 10 06 97 19 45 00 12 |G....E..| | 00000008
/mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150328181004.srf 2503
(23) ---> /mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150328181004.srf 2503 > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 | Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' | mprotect: 0x4227c020 | dlopen: 0x424a0d80 | dlclose: 0x424a0e14 | dlsymaddr: 0x424a0e78 | pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 | r0=e1da46c r1=80 | r2=1 r3=0 | stack: 0xbe19b000-0xbe1bc000 length = 135168 | executing injection code at 0xbe1bafec | library injection completed! | Succeeded.
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 |
Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' |
mprotect: 0x4227c020 |
dlopen: 0x424a0d80 |
dlclose: 0x424a0e14 |
dlsymaddr: 0x424a0e78 |
pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 |
r0=e1da46c r1=80 |
r2=1 r3=0 |
stack: 0xbe19b000-0xbe1bc000 length = 135168 |
executing injection code at 0xbe1bafec |
library injection completed! |
Succeeded. |
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150328181004.srf > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- 00000000 47 10 06 97 19 45 00 12 |G....E..| | 00000008
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150411171005.srf > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- 00000000 47 10 06 9a 1b 68 dc e5 |G....h..| | 00000008
/mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150411171005.srf 2503
(23) ---> /mtd_rwcommon/samyGOso -d -A -l /mtd_rwcommon/libUnDRM.so /dtv/usb/sda1/CONTENTS/20150411171005.srf 2503 > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 | Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' | mprotect: 0x4227c020 | dlopen: 0x424a0d80 | dlclose: 0x424a0e14 | dlsymaddr: 0x424a0e78 | pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 | r0=e1da46c r1=80 | r2=1 r3=0 | stack: 0xbe19b000-0xbe1bc000 length = 135168 | executing injection code at 0xbe1bafec | library injection completed! | Succeeded.
samyGOso v1.2.4 (c) bugficks 2013, sectroyer 2014 |
Injecting '/mtd_rwcommon/libUnDRM.so' resident: '0' |
mprotect: 0x4227c020 |
dlopen: 0x424a0d80 |
dlclose: 0x424a0e14 |
dlsymaddr: 0x424a0e78 |
pc=42324eec lr=42324ed0 sp=be1bb150 fp=e1da468 |
r0=e1da46c r1=80 |
r2=1 r3=0 |
stack: 0xbe19b000-0xbe1bc000 length = 135168 |
executing injection code at 0xbe1bafec |
library injection completed! |
Succeeded. |
(23) ---> hexdump -C -n 8 /dtv/usb/sda1/CONTENTS/20150411171005.srf > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- 00000000 47 10 06 9a 1b 68 dc e5 |G....h..| | 00000008
(23) ---> df | grep -E "dev.*sd" | awk '{print ""X""$1"",""$2"",""$3,""$4,""$5""}' | sed 's/\/dev\///g' > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- sda1 244004320 161240152 82764168 66% | sdb1 7569424 2115968 5453456 28% | sdc 482 20 462 4%
(21) ---> NOOP
(23) ---> df | grep -E "dev.*sd" | awk '{print ""X""$1"",""$2"",""$3,""$4,""$5""}' | sed 's/\/dev\///g' > /mtd_rwcommon/PVRDecoder.msg
NOOP Send
(23) <--- sda1 244004320 161240152 82764168 66% | sdb1 7569424 2115968 5453456 28% | sdc 482 20 462 4%