PDA

View Full Version : Killing the "error #51" nag without doing a "clear and delete everything"


AlphaWolf
07-20-2003, 06:51 PM
This script will remove the error #51 nag that shows up when you either move a hard drive from one tivo to another, or screw with your crypto chip (e.g. change the serial number).

Note though that if you run this script, any scrambled recordings that you currently have will no longer work. This means that you should only use this script if all of your recordings were recorded with noscramble. The reason being is that the particular keys stored on your tivos hard drive that are used to match the drive with the crypto chip are also used to encrypt your recordings, hence if you delete them, new keys will be generated, and the old streams will not decrypt properly.

SR712
07-20-2003, 06:59 PM
Thanks.

captain_video
07-20-2003, 08:35 PM
Another fine addition to the DDB library of useful hacks. Nice work, AW.

Stephen
08-04-2003, 06:15 PM
Ok Im lost why is this... the File IS there

/var/hack# chmod +x 51killer.tcl
/var/hack#
/var/hack# ./51killer.tcl
bash: ./51killer.tcl: No such file or directory
/var/hack#
/var/hack# ls -la 5*
-rwxr-xr-x 1 0 0 989 Aug 4 21:49 51killer.tcl
/var/hack# mv 51killer.tcl 1.tcl
/var/hack# ./1.tcl
bash: ./1.tcl: No such file or directory
/var/hack# ls -la 1*
-rwxr-xr-x 1 0 0 989 Aug 4 21:49 1.tcl

Hack351
08-04-2003, 06:27 PM
too funny. I just started a thread about this. I am having the same problems as you... file is there, but it won't let me run it. I'm stumped!

Stephen
08-04-2003, 06:32 PM
BTW I FTPed over this file in bin mode I guess Ill try non bin mode as well

AlphaWolf
08-04-2003, 06:47 PM
looks like I accidently uploaded it with the winderz carraige returns, just use dos2unix on it, or whatever your favorite equivalent method is.

Hack351
08-04-2003, 07:01 PM
That did the trick! Thank you very much AW.

JJBliss
08-04-2003, 08:38 PM
I just fixed the version that was posted at www.tivostuff.com

It now has the proper unix formatting.

It should work "out of the box" now.....

JJ

Stephen
08-04-2003, 09:57 PM
Thank you much worked fine for me :)

tdavis80
01-23-2004, 04:30 PM
Hi guys, many people are having difficulty in FTPing small scripts to their TiVo.

The problem is the file becomes a DOS file instead of a Linux file. Instead of downloading some sort of dos2unx converter, try this simple suggestion....

Using Windows notepad, view the TiVo script on your PC.
Using the dropdown menus in notepad, Try [Edit], Select All, then [Edit] Copy. For those of you who like using the keyboard, it is control-a, control-c

once you have done that, use the windows telnet command to login to your TiVo. To put the file onto your TiVo, try this:

cat > your-file-name-here (hit enter and the TiVo will appear to just sit there)
Paste your text into the telnet window. If you used XP DOS/CMD to start telnet, click in the menu bar and select [Edit], paste. For Windows PowerUsers, the control-v (normal paste character) will not work.
You will see the text suddenly appear on your tivo.
Hit control-d to save the text.


example:

$ cat > 51killer.tcl
(paste text)
(control-d to save)
$ chmod 755 51killer.tcl
$ ./51killer.tcl


Hope it helps. I do it all the time, even on 'real' Unix machines. (no offense, I am simply stating that this is a common trick to get a script onto an unix machine)

contemplativo
07-21-2004, 05:04 PM
I just fixed the version that was posted at www.tivostuff.com

It now has the proper unix formatting.

It should work "out of the box" now.....
Now that tivostuff.com is down (and I'm not getting through to pvrfiles.com's download page), is this unix formatted version otherwise available?

Also, I'm planning on swapping a drive back and forth frequently between two tivo's (the old tivo will still be used for recording unscrambled files and the new tivo for playback only). I take it I will need to run this script each time I swap the drive between tivo's, is that right?


use the serial cable
make it executable

I don't have a serial cable for my T60. Presumably the important thing is just to run it while it's in the Tivo itself, which can be done via telnet, for instance. In my case, the recipient tivo will not be networked and I've lost telnet on one of my drives anyway, so I would want to execute 51killer from my rc.sysinit or something, right?

SR712
07-21-2004, 09:18 PM
Here is a clean version. There is a handy DOS2UNIX.exe program that removes all of the windows formatting for you in a file. Search Google. Its good to keep around.

You upload it to a directory on your TiVo, and then execute it at a bash prompt with:

./51killer.tcl

then reboot your TiVo.

iwantmydtvnow
07-28-2004, 10:47 PM
In the readme.txt of the zip file included from pvrfiles.com, there's a caution to only use this file with noscramble recordings. Can anyone advise if it functions properly with kmem & CSO decrypted recordings? Also, is there a way to save the crypto keys this file deletes, in case it somehow fails and one needs to get back the ability to play their previously recorded shows? Thanks!

airf00
01-24-2005, 11:52 PM
Just tried this on a DSR6000 and after I type yes I get Not changing anything.

Tried yes YES YeS and all variations. Also made sure my disk had rw access. Any suggestions?

And this was the 2nd file listed on this thread. Not the 1st one which was dos.

-----

Edited to say:
Did some searching and found out the terminal window XP was adding some characters or something. Ran the script from the serial port and it worked. Rebooting now to see if the 51 nag is gone.

kelsirose02
05-07-2006, 08:01 PM
This script will remove the error #51 nag that shows up when you either move a hard drive from one tivo to another, or screw with your crypto chip (e.g. change the serial number).

Note though that if you run this script, any scrambled recordings that you currently have will no longer work. This means that you should only use this script if all of your recordings were recorded with noscramble. The reason being is that the particular keys stored on your tivos hard drive that are used to match the drive with the crypto chip are also used to encrypt your recordings, hence if you delete them, new keys will be generated, and the old streams will not decrypt properly.

This may help someone?? It worked for me, Thanks to all!!

Bash-2.02# cd /var/hack
Bash-2.02# dos2unix 51killer.tcl
Bash-2.02# chmod +x 51killer.tcl
Bash-2.02# ./51killer.tcl

kelsirose02
05-07-2006, 08:02 PM
This script will remove the error #51 nag that shows up when you either move a hard drive from one tivo to another, or screw with your crypto chip (e.g. change the serial number).

Note though that if you run this script, any scrambled recordings that you currently have will no longer work. This means that you should only use this script if all of your recordings were recorded with noscramble. The reason being is that the particular keys stored on your tivos hard drive that are used to match the drive with the crypto chip are also used to encrypt your recordings, hence if you delete them, new keys will be generated, and the old streams will not decrypt properly.

This may help someone?? It worked for me, Thanks to all!!

Bash-2.02# cd /var/hack
Bash-2.02# dos2unix 51killer.tcl
Bash-2.02# chmod +x 51killer.tcl
Bash-2.02# ./51killer.tcl

monttivo
06-29-2006, 05:05 PM
Just a quick "thanks" for this script. My old HDVR2 had a flakey tuner, so I snagged another on Ebay. DTV updated the serial, but then I got the evil #51. A quick Google brought me here and this worked like a charm.

For anyone with all sorts of unix tools on their tivos, you can also just open the file in vi and do the following to get rid of the DOS linebreaks:

:%s/CTRL-vm//g

That's literally holding down the "CTRL" key and hitting "v" and while still holding "CTRL" hitting "m". In unix parlance, the ctrl-v sequence means "take the next thing typed literally" and ctrl-m means "carriage return" (of the DOS variety). The whole vi command above says to replace all occurences of a DOS linebreak with "nothing", globally.

Thanks again for the script, I really didn't want to lose all my recordings on an almost-full 120GB drive. :)

Smee
07-21-2006, 02:55 AM
AlphaWolf,

Thanks!! House got hit by lightning and lost most of my electronics. I replaced my tivos and swapped the drives and the script worked perfectly. Many thanks...

Smee