Site hosted by Angelfire.com: Build your free website today!

www.angelfire.com/darkside/wanker

DarkWing's DTiVo Basics And Beyond

NOTICE: Everything here, including the basics and beyond docs are for Series 1 DTiVo’s (Sony Sat-T60, Phillips DSR6000, or Hughes GXCEBOT)

For DTiVo Version 2.5.x ONLY

Table of Contents

  1. What's New
  2. Important Information - Tips, Rules, Must read information
  3. Thumbs upPrep Backup and Test - Important if you ever need to return your unit to 'factory'
  4. Thumbs upExtreme 2.5 - Installs many hacks and is the starting point for all hacks in this document
  5. Thumbs upActivating Your DTiVo Functions - Fake out DTiVo to make it think it's calling home
  6. Extreme 2.5 Update - Installs several of the hacks in this document and a few other things
  7. Thumbs upDual Tuners - If you can get two sat hookups to your DTiVo, enable this feature!
  8. Thumbs upMaking TeraTerm Faster - Speed up serial access to your DTiVo
  9. Thumbs up30 Second Skip - Change your 'advance' button on your remote to skip ahead 30secs
  10. Thumbs upSC.TCL - Enable TiVolution Magazine and Showcases
  11. Thumbs upLogsNull - Zeros (nulls) log files and prevents them from growing too large
  12. FixDemo - Prevents DTiVo from going into Demo mode (some 3ms allow DTiVo to go Demo)
  13. Thumbs upNoPPV - This enables DTiVo to record PPV channels like regular channels (only useful for 3m or Emulation)
  14. Automate 30 Sec Skip On Bootup - Warning, this hack can have unexpected results
  15. Automate Enable Backdoors On Bootup - Warning, this hack can have unexpected results
  16. SelectLocals - Forces one or more local markets to show up in the guide
  17. Thumbs upMoveChannels - Forces one or more local markets to show up in the guide and can move channel numbers
  18. Thumbs upUnScramble - Loadable/unloadable module to prevent DTiVo from scrambling recorded programs
  19. NoScramble - Kernel patch to prevent DTiVo from scrambling recorded programs
  20. Thumbs upTurboNet - Driver and setup for TurboNet network card
  21. Thumbs upFTPdaemon - FTP server on your DTiVo for transferring files via TurboNet (Ethernet)
  22. TiVoWEB - Web Server for your DTiVo, requires TurboNet
  23. MFS_Stream - Plug in for TiVoWEB to allow downloading of recorded programs
  24. VSplit - Tool to split ty streams (recorded programs) into audio and video components
  25. Thumbs upTYTool - TiVo side, and PC side software to allow downloading of recorded programs (includes VSplit)
  26. Thumbs upTMPGEnc - Muxes (puts together) VSplit files into a MPEG compatible file
  27. Thumbs upNoSDD - Program to unschedule Service Data Downloads (this may prevent unauthorized updates)
  28. Thumbs upSetPri - Sets priority of hacks to the lowest level to avoid audio/video glitches
  29. Thumbs upCron - Schedules scripts and hacks to run at specific times
  30. Thumbs upTivoTitle - Automatically renames recorded shows in Now Showing for descriptive titles
  31. Thumbs upChangeFont - Change to a narrower font to display more information (especially useful for TivoTitle)
  32. Thumbs upEditTitle - Change titles and other information on recorded shows, even undelete

  33. Links - Useful WWW links and other information

  34. Common Operations - Common Linux Commands, Transferring a File, Using Joe, etc.
  35. Credits - Who had time to write all this? Who wrote all these hacks?

Thumbs up = Hacks I recommend

Document Conventions:

Be aware of line wrap. Some lines may be too long to be displayed all on one line in this document and may wrap to a second line. When in doubt, copy and paste to notepad, or change the width of your web browser.


What's New

Updated TiVoWEB section to version 1.9.4 (fixed files enables use with an extremed DTiVo)

Added hacks:

Updated section for Kraven's extreme 2.5 update

A note about /hack vs /var/hack:

    Kraven wrote an update to 25xtreme which installs many of the hacks in this document, and also moves the /var/hack directory to /hack/ which is on a different partition. This was done to prevent the /var/hack/ directory from being deleted when DTiVo decides it needs to rebuild the /var partition.

    If you run Kraven's update (delete /var/hack) then you will need to keep that in mind, as many of these hacks assume you are using the old /var/hack method. Most hacks can simply be moved from either /var/hack/ to /hack/ or from /hack/ to /var/hack/, with a few exceptions; nosdd and cron being two.

    If you run into trouble with a hack, ask yourself if the confusion between /hack/ and /var/hack/ could be the cause.

    With the update installed, I've been putting hacks into /hack/bin/ instead of /var/hack/

Back to Top

Important Information - Please read this section entirely before beginning.

 

Back to Top

Prep, Backup and Test

Save some time, complete 1 and 2 before receiving your DTiVo

  1. Create the two cd-rom boot disks you'll need (Extreme 2.5 image for your brand of DTiVo and Kazymyr's Utility Disk). Use CDRWin or Easy CD Creator to burn the .iso images. Note: Experience says do not use Nero

  2. Obtain the necessary Torx Bits: T-10 and T-15

  3. Carefully open your DTiVo and remove the hard drive(s), label them Drive A and B for future reference (Drive A is the one set to Master, or the last one on the cable) (most DTiVos only have one hard drive)

  4. Install your hard drive(s) in a pc (capable of seeing the full size of the drives) according to Hinsdale's How-To

  5. Backup up your DTiVo drive(s) with Mfs Tools Option #1 or #2 depending on whether your DTiVo had one or two hard drives

  6. Perform restore on a different hard drive according to Hinsdale How-To, place this drive in your DTiVo and see if it boots

  7. If your backup is good, connect your backup dos drive to a windows computer boot, zip your tivo.bak file (for crc protection) and copy to a cd, or other safe place. This file is the only way to restore your DTiVo to it's factory configuration
  8. An alternative to backing up your original DTiVo hard drive(s) is to simply set it/them aside in a safe place and use new drive(s)
Back to Top

Extreme 2.5

Installs many hacks and is the starting point for all hacks in this document

  1. Connect your new A drive to the secondary master of your pc (hdc) and your new B drive (if you use one) to your secondary slave (hdd) and your cd-rom drive to primary master

  2. Boot with your Extreme 2.5 cd

  3. Press <enter> at each of the two # login prompts

  4. Finally type 25xtreme and follow onscreen prompts

  5. Place new hard drive(s) in your DTiVo (don't forget to plug in the fan) and let it boot (it will do this twice)

  6. If you're watching TV, great, proceed to activate your DTiVo

Back to Top

Activating Your DTiVo Functions

Fake out DTiVo to make it think it's calling home

  1. Connect Serial Cable from DTiVo to a free com port on your computer. See below on constructing a cable

  2. Install TeraTerm, then configure:

    1.    Click on Setup, Serial Port and select the com port you connected the serial cable to, set baud rate to 9600 and flow control to none

    2.    Click Setup, Terminal and change size from 80x24 to 80x25

    3.    Click Setup, Save Setup and overwrite your teraterm.ini in the directory you installed teraterm to

  3. Press <enter> and you should get a bash-2.02# prompt. If you don't, you've got the wrong com port, or a bad cable

  4. To activate the TiVo subscription, type the following command at the bash# prompt:

touch /etc/SubTest     (Linux is case sensitive, that's a capitol S and capitol T)

  1. Now press the TiVo button on your remote, then go to Messages and Setup then Receiver and Phone Setup then Phone Connection and finally Make Daily Call Now

  2. Your DTiVo will think it's making a successful call to verify your subscription

  3. Last Call Status should read Succeeded after a few minutes

  4. You should now be watching TV and have full DTiVo functionality. That's all for the basics, now for some hacks

Note: I highly recommend performing the NoScramble or UnScramble hack at this time, even if you don't plan on extracting recorded programs. Since after performing these hack you must delete all recorded programs, this is an ideal time to do this hack...before you have any recorded programs.

Back to Top

Extreme 2.5 Update

Script by KRaVEN

Installs several of the hacks in this document and a few other things

File(s) Needed: upgrade.tar.gz

Notes: Presented here are just the steps to install the update, for further information on what it does, read the tivo-upgrade.txt file in the zip file. In my experience this update does not work well on the Sony T60, and if you don't have a turbonet, it will install many things you don't need. You can do any of the hacks in the update one at a time with DTiVo Basics and Beyond. For these reasons I do not recommend it, but that's just my opinion, I could be wrong :-)

  1. Download and unzip xtreme_upgrade.zip to a directory you can find

  2. Transfer upgrade.tar.gz to the / directory

  3. At Bash prompt enter:

cd /

rm -rf /var/hack     (Note: this will delete this directory, if you have previous hacks you've installed here you may not want to do this, ie mvchannels).

rm /bin/joe /bin/joerc

rm /etc/SubTest

gzip -d upgrade.tar.gz

cpio -iu -H tar -d -F upgrade.tar

/tvbin/reboot

  1. At this point your DTiVo's serial port will run at 115200, change your TeraTerm Pro parameters to match this speed

  2. Wait until your DTiVo finishes rebooting

  3. At Bash prompt enter:

    mount -o remount,rw /

    /tvbin/noppv.tcl dump

    sync

  4. Now we'll change the time zone offset for noppv. At Bash prompt enter:

    cd /tvlib/tcl/tv

    cp TClient-lib.itcl TClient-lib.itcl.bak     (note: this makes a backup of the file in case you need to recover the original).

    joe TClient-lib.itcl

  5. Search for where noppv is being run and change the time zone offset from GMT for your time zone. (-8 pacific, -5 eastern etc.)

  6. Save and exit Joe (ctrl-k then x)

  7. You can force a Daily Call to execute NoPPV

ADDENDUM 1: For further hacks, you'll need to write enable the partition that /hack is on to make changes, and it's a good idea to write protect when you're done making your change (requires /var/hack to be in your path, see here for adding this to your path, or place the two new files in a directory already in your path)

To make this easier, lets make two scripts:

  1. At Bash prompt enter:

    mount -o remount,rw /

    cd /hack/bin

    joe rmrw

  2. Type the following line into Joe (be sure to press enter at the end):

    mount -o remount,rw /

  3. Save and exit Joe (ctrl-k then x)

  4. At Bash prompt enter:

    joe rmro

  5. Type the following line into joe (be sure to press enter at the end):

    mount -o remount,ro /

  6. Finally, make them executable enter:

    chmod 755 rmro rmrw

  7. That's it...now when you need to write enable the partition type  rmrw  and to write protect it again, type  rmro

ADDENDUM 2: If you'd like to hard code your ip address (the update enables DHCP), do the following:

  1. At Bash prompt enter:

    mv /sbin/dhclient /sbin/dhclient.bak

    cd /etc/rc.d

    joe rc.remote-login

  2. At the start of the file, just after #!/bin/bash add the following lines (Set the IP address appropriate to your network):

    ifconfig eth0 192.168.1.5 netmask 255.255.255.0

    route del default > /dev/null

    route add default gw 0.0.0.0 netmask 0.0.0.0 dev eth0    (note: or if you want to give your DTiVo Internet access, change the first 0.0.0.0 to your actual gateway)

  3. Save and exit Joe (ctrl-k then x)

  4. Reboot your DTiVo

Back to Top

Dual Tuners

If you can get two sat hookups to your DTiVo, enable this feature! When enabled you can a) record two programs at the same time, or b) record two programs and watch a recorded program, or c) record one program and watch another program live

File(s) Needed: n/a

  1. First, hook up two satellite connections to your DTiVo (this requires both connections of a dual lnb, or two 'output' connections of an approved dss media switch)

  2. On your remote, press the TiVo Button, select Messages and Setup then Receiver and Phone Setup then Satellite Dish Setup and finally Repeat Satellite Dish Guided Setup

  3. Follow the onscreen directions, and you're done

Back to Top

Making TeraTerm Faster

Speed up serial access to your DTiVo

File(s) Needed: n/a

  1. At Bash prompt enter:

stty 115200

  1. On the TeraTerm menu, click Setup, then Serial Port. Change the Baud rate to 115200 and click "OK"

  2. Press Enter and if you get a Bash prompt, it's working and we can make the change permanent. If you don't get a prompt, a reboot will return your DTiVo to the default 9600 Baud Rate

  3. In TeraTerm click Setup, Save Setup and overwrite your teraterm.ini in the directory you installed TeraTerm to. This saves your new Baud Rate in TeraTerm

  4. At Bash prompt enter:

cd /

joe .bashrc

  1. Add the following line (or edit if it exists) below stty sane:

    stty 115200

  2. Save and exit Joe (ctrl-k then x) and you're done

Back to Top

30 Second Skip

Change your 'advance' button on your remote to skip ahead 30secs

File(s) Needed: n/a

Notes: you have to repeat this 'hack' whenever you reset/powercycle your DTiVo

  1. Watch any recorded program

  2. On your remote, press select, play, select, 30, select

  3. Test: your Advance >| button should now skip ahead 30 seconds

  4. Reboot or Repeat this procedure to undo

Back to Top

SC.TCL

Script by PGM

Enable TiVolution Magazine and Showcases

File(s) Needed: sc.tcl

  1. Download and unzip sc.zip to a directory you can find

  2. Transfer sc.tcl to the /var/hack/ directory and mark it executable

  3. At Bash prompt enter:

    /var/hack/sc.tcl

  4. It will take overnight for the information to be downloaded. Check that feature in your DTiVo tomorrow. TiVo button, TiVolution Magazine or Showcases

Back to Top

LogsNull

Script by superzap

Zeros (nulls) log files and prevents them from growing to large

File(s) Needed: fixsub.tcl, logsNull

  1. Download and unzip logsnull.zip to a directory you can find
  2. At Bash prompt enter:

cd /etc/rc.d

cp rc.sysinit rc.sysinit.bak       (This is a critical file, better make a backup)

joe rc.sysinit

  1. Search for the path statement (ctrl-k then f, search for word path, and (I)gnore options)

  2. Press up arrow before the # Set the path comment and insert the following line:

    runsyslog=false

  3. Save and exit Joe (ctrl-k then x)

  4. At Bash prompt enter:

    cd /tvbin

    mv fixsub.tcl fixsub.tcl.bak      (Clears the way for the new file, and backs up the current one)

  5. Transfer fixsub.tcl and logsNull to the /tvbin/ directory and mark them executable

  6. Force your DTiVo to make a Daily Call

  7. If you type    ls -lart /var/log    at your Bash prompt, you'll see that all files have the 'c' attribute and are null files (1, filesize). Also, the system will perform less logging, saving valuable cpu time, but not much).

Back to Top

FixDemo

Script by dsboyce8624

Prevents DTiVo from going into Demo mode (some 3ms allow DTiVo to go Demo)

File(s) Needed: fixdemo.tcl

Notes: This hack may not be necessary, if you find that your DTiVo is going into Demo Mode then try it.

  1. Download and unzip fixdemo.zip to a directory you can find

  2. Transfer fixdemo.tcl to the /var/hack/ and mark it executable

  3. At Bash prompt enter:

chmod 755 fixdemo.tcl

cd /etc/rc.d

cp rc.sysinit rc.sysinit.bak       (This is a critical file, better make a backup)

joe rc.sysinit

  1. Go to the end of the file (ctrl-k then v)

  2. Press the arrows to move the cursor to the line right after /bin/bash </dev/ttys3 > and insert the following line:

/var/hack/fixdemo.tcl > /dev/null &

  1. Save and exit Joe (ctrl-k then x)

  2. Reboot your DTiVo

ADDENDUM 1: Running fixdemo with cron

This script employs the sleep function to run every 15 minutes. This will impact your DTiVo's performance. A better way to run this script is via cron. To run with cron skip all of the above and perform the following:

  1. Install cron

  2. Download and unzip fixdemo_noloop.zip to a directory you can find

  3. Transfer fixdemo.tcl to the /var/hack/ and mark it executable

  4. Add the following to your /var/hack/etc/crontab file (adjust to run when as desired):

14,44 * * * * /var/hack/fixdemo.tcl > /dev/null

Back to Top

NoPPV

Script by _Formula

This enables DTiVo to record PPV channels like regular channels (only useful for 3m or Emulation)

This will NOT enable you to view free PPV

File(s) needed: noppv.tcl

  1. Download and unzip noppv12.zip to a directory you can find

  2. Transfer noppv.tcl to the /var/hack/ directory and mark it executable

  3. At Bash prompt enter:

/var/hack/noppv.tcl dump

/var/hack/noppv.tcl -x &    (Where x is your time zone offset from GMT, defaults to -6 Central, -8 Pacific, etc)

  1. If all runs fine, then we'll add the last command to the file that gets executed during the daily call

  2. At Bash prompt enter:

cd /tvlib/tcl/tv

cp TClient-lib.itcl TClient-lib.itcl.bak

joe TClient-lib.itcl

  1. Find the exec /tvbin/fixsub.tcl line (ctrl-k then f) and add the following line right after it.

exec /var/hack/noppv.tcl -x > /dev/null    (where x is your time zone offset from GMT)

  1. Save and exit Joe (ctrl-k then x)

  2. Force a Daily Call

  3. If it succeeds you're done. If not, restore your backup of TClient-lib.itcl

ADDENDUM 1: Running NoPPV with cron

With the above method, this script will only run during the daily call, but this may not be enough. A better way to run this script is via cron. To run with cron skip steps 5 through 9 and perform the following:

  1. Install cron

  2. Add the following to your /var/hack/etc/crontab file (adjust to run when as desired):

09,24,39,54 * * * * /var/hack/noppv.tcl -x > /dev/null    (where x is your time zone offset from GMT)

  1. Reboot your DTiVo

 

Back to Top

Automate 30 Sec Skip On Bootup

Script by superzap

Warning, this hack can have unexpected results

File(s) Needed: SendKey, Toggle30secSkip

Notes:

  1. Download and unzip SendKey.zip and Toggle30secSkip.zip to a directory you can find

  2. Transfer SendKey and Toggle30secSkip to the /tvbin/ directory and mark them executable

  3. Add the following line to the end of the /etc/rc.d/rc.sysinit file:

    Toggle30secSkip > /dev/null &

  1. Reboot you DTiVo to test

Back to Top

Automate Enable Backdoors On Bootup

Script by JJBliss

(This enables backdoor codes, see http://www.tivonews.com/features/backdoors.shtml for more info):

Warning: Performing automated SendKey commands can have unexpected results, including deleting recorded shows or worse. Use at your own risk!

File(s) Needed: SendKey, EnableBackdoors

Notes:

 

  1. Download and unzip SendKey.zip and EnableBackdoors.zip to a directory you can find

  2. Transfer SendKey and EnableBackdoors to the /tvbin/ directory and mark them executable

  3. Add the following line to the end of the /etc/rc.d/rc.sysinit file:

    EnableBackdoors > /dev/null &

  1. Reboot your DTiVo

Back to Top

SelectLocals

Script by Juppers

Forces one or more local markets to show up in the guide

These instructions for selectlocals were contributed by JustCuz

Warning: If you are running DTiVo version 2.5.2 (make sure you have the version that supports 2.5.2 else your DTiVo will get stuck at aquiring satelite data)

File(s) Needed: selectlocals.tcl

Notes:

  1. Download and unzip selectlocals25.zip or selectlocals252.zip to a directory you can find

  2. Transfer selectlocals.tcl to /var/hack/ and mark it executable

  3. Execute the script with the desired local markets from the list below.  There may be other cities, but these are the ones I have documented. Example:  To add New York and Los Angeles Locals in the 0-99 range, enter:

/var/hack/selectlocals.tcl NY LA

--- Selectlocals.tcl Market Abbreviations ---

AT = Atlanta, GA

BA = Baltimore, MD

BN = Boston, MA

CH = Chicago, IL

CL = Cleveland, OH

CN = Cincinnati, OH

CO = Columbus, OH

CT = Charlotte, NC

DC = Washington, DC

DL = Dallas, TX

DN = Denver, CO

DT = Detroit, MI

HN = Houston, TX

IN = Indianapolis, IN

LA = Los Angeles, CA

MI = Miami, FL

ML = Milwaukee, WI

MN = Minneapolis, MN

NA = Nashville, TN

NY = New York, NY

OR = Orlando, FL

PH = Philadelphia, PA

PN = Phoenix, AZ

PO = Portland, OR

SA = Sacramento, CA

SC = Salt Lake City, UT

SE = Seattle, WA

SF = San Francisco, CA

ST = St. Louis, MO

TA = Tampa, FL

Back to Top

MoveChannels

Script by _Formula

Forces one or more local markets to show up in the guide and can move channel numbers

Warning:

File(s) Needed: channels.dat, main.dat, mvchannels.tcl

Notes:

  1. Download and unzip mvch136.zip to a directory you can find

  2. Transfer main.dat and mvchannels.tcl to the /var/hack/ directory and mark mvchannels.tcl executable

  3. First, let's generate a new channels.dat file. At Bash prompt enter:

    cd /var/hack

    ./mvchannels.tcl dumpall

  4. Edit channels.dat with Joe, or transfer to your pc and edit it with Textpad, then transfer it back. Use Joe's block commands to delete large sections, see notes on how to edit channels.dat. ctrl-k b = start of block, ctrl-k k = end of block, ctrl-k y = delete block. If you use Textpad, be sure to save as a UNIX file.

  5. At Bash prompt enter:

cd /var/hack

./mvchannels.tcl reload

./mvchannels.tcl -file=/var/hack/channels.dat

  1. Mvchannels will run once then quit, check your guide to see if it had the desired effect. Edit channels.dat and re-run the above three commands until you get it just right

  2. At Bash prompt enter:

cd /etc/rc.d

joe rc.sysinit

  1. Add the following line (this is all one line) to the end of the /etc/rc.d/rc.sysinit file:

/var/hack/mvchannels.tcl -loop=0 -sdelay=3 -file=/var/hack/channels.dat > /dev/null &

  1. Reboot your DTiVo

ADDENDUM 1: Running mvchannels with cron

This script employs the sleep function to run every so often (depends on -sdelay setting). This will impact your DTiVo's performance. A better way to run this script is via cron. To run with cron skip steps 7 through 10 and perform the following:

  1. Install cron

  2. Add the following line (this is all one line) to your /var/hack/etc/crontab file (adjust to run when as desired):

*/5 * * * * /var/hack/mvchannels.tcl -file=/var/hack/channels.dat > /dev/null

  1. Reboot your DTiVo

Back to Top

UnScramble

Hack by kowesoft

Loadable/unloadable module to prevent DTiVo from scrambling recorded programs

File(s) Needed: noscramble.o

Notes:

  1. Download and unzip noscramble.zip to a directory you can find

  2. Transfer noscramble.o to the /lib/modules/ directory

  3. At Bash prompt enter:

insmod /lib/modules/noscramble.o

  1. If your DTiVo doesn't reboot itself add the following line to the end of the /etc/rc.d/rc.sysinit file:

insmod /lib/modules/noscramble.o

  1. Reboot your DTiVo

  2. I recommend deleting any scrambled shows. If you try to play them with the module loaded, your DTiVo may reboot. This method does allow you to unload the module to view scrambled shows, but if anything is recorded while the module isn't loaded, they'll be scrambled. Also, don't view non-scrambled shows with the module loaded.

  3. To check if noscramble.o module is loaded, at Bash prompt enter:

cat /proc/modules

  1. noscramble.o should be listed among the loaded modules

  2. To unload the module, remove the line from /etc/rc.d/rc.sysinit, and reboot. (It's possible to unload it without rebooting, search DealDatabase forums for details

Back to Top

NoScramble

Script and Hack by Ghost Coder

Kernel patch to prevent DTiVo from scrambling recorded programs

Warning: This will corrupt the kernel on DTiVo version 2.5.2 and 3.1.

File(s) Needed: noscramble.sh, unscramble

Notes: Doing this mod will prevent you from viewing any currently saved shows because they are scrambled. Choose between this permanent method and the loadable/unloadable module UnScramble method.

  1. Download and unzip unscramble.zip to a directory you can find

  2. Transfer noscramble.sh and unscramble to the /var/hack directory and mark them executable

  3. At Bash prompt enter:

cd /var/hack

./noscramble.sh

  1. It will take a minute to run, you'll see the following output:

    2+0 records in

    2+0 records out

  2. Reboot your DTiVo

  3. Delete any scrambled shows. If you try to play them, your DTiVo may reboot

Back to Top

TurboNet

Driver and setup for TurboNet network card

File(s) Needed: ax88796.o

Notes: purchase a Turbonet card from www.9thtee.com

  1. Download and unzip turbonet.zip to a directory you can find
  2. Transfer ax88796.o to the /lib/modules/ directory

  3. At Bash prompt enter:

cp /sbin/route /sbin/route.tivo

  1. Add the following lines (there are 4 lines, be aware of wraparounds) to the bottom of the /etc/rc.d/rc.sysinit file:

tnlited 23 /bin/bash -login &
insmod -f /lib/modules/ax88796.o macaddr=020203 timing=5 devicename=net0
ifconfig net0 192.168.1.5 netmask 255.255.255.0 up
route.tivo add default gw 0.0.0.0

  1. You can edit the ip address as desired. The default gw of 0.0.0.0 will disable Internet access (a good thing). The device name of net0 will also disable the DTiVo from 'phoning home'

  2. Reboot your DTiVo

  3. Check connectivity to your DTiVo from your PC after the reboot, from a dos prompt in windows, enter:

ping 192.168.1.5

  1. You should get the following results, if you don't, check your cables and tcp/ip settings:

Pinging 192.168.1.5 with 32 bytes of data:

Reply from 192.168.1.5: bytes=32 time<10ms TTL=255

Reply from 192.168.1.5: bytes=32 time<10ms TTL=255

Reply from 192.168.1.5: bytes=32 time<10ms TTL=255

Reply from 192.168.1.5: bytes=32 time<10ms TTL=255

Ping statistics for 192.168.1.5:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

  1. You can now get a bash prompt via Ethernet from your PC. See Configuring TeraTerm Pro for instructions on how to do this.

Back to Top

FTPDaemon

FTP server on your DTiVo for transferring files via TurboNet (Ethernet)

File(s) Needed: tivoftpd

Notes: This is not really necessary for extracting video from the DTiVo, but will enable you to transfer files if you decide to only connect to your DTiVo with Ethernet as opposed to serial connection.

  1. Download and unzip tivoftpd.zip to a directory you can find

  2. Transfer tivoftpd to the /var/hack/ directory and mark it executable

  3. Add the following line to the end of the /etc/rc.d/rc.sysinit file:

/var/hack/tivoftpd > /dev/null &

  1. That's it, use your favorite ftp program to ftp to your DTiVo, no username/password necessary, although anything will work. (I recommend FlashFXP or WS_FTP set them to transfer files as binary by default)

Back to Top

TiVoWEB

Web Server for your DTiVo, requires TurboNet

File(s) Needed: tivoweb-tcl-1.9.4.tar.gz, httpd-tt.tcl, tivoweb, util.itcl, 0ui.itcl, logos.itcl

  1. Download tivoweb-tcl-1.9.4.tar.gz to a directory you can find on your pc

  2. Download and unzip TivoWeb1.9.4FixedFiles.zip to a directory you can find on your pc

  3. Transfer tivoweb-tcl-1.9.4.tar.gz to the /var/hack/ directory on your DTiVo

  4. At Bash prompt enter:

cd /var/hack

gzip -d tivoweb-tcl-1.9.4.tar.gz

cpio -H tar -i < tivoweb-tcl-1.9.4.tar

rm tivoweb-tcl-1.9.4.tar

rm /var/hack/tivoweb-tcl/httpd-tt.tcl

rm /var/hack/tivoweb-tcl/tivoweb

rm /var/hack/tivoweb-tcl/util.itcl

rm /var/hack/tivoweb-tcl/modules/ui.itcl

rm /var/hack/tivoweb-tcl/modules/logos.itcl

  1. Transfer httpd-tt.tcl, tivoweb and util.itcl to the /var/hack/tivoweb-tcl/ directory from the fixed files rar

  2. Transfer 0ui.itcl and logos.itcl to the /var/hack/tivoweb-tcl/modules/ directory from the fixed files rar

  3. At Bash prompt enter:

cd /var/hack/tivoweb-tcl

chmod 775 httpd-tt.tcl tivoweb

chmod 664 util.itcl

cd /var/hack/tivoweb-tcl/modules

chmod 664 0ui.itcl logos.itcl

/var/hack/tivoweb-tcl/tivoweb console

  1. Wait for the message Accepting Connections

  2. Point your web browser at the ip address of your DTiVo (http://192.168.1.5 for example) and you should get a menu.

  3. Add the following line to the end of the /etc/rc.d/rc.sysinit file:

/var/hack/tivoweb-tcl/tivoweb

  1. Reboot your DTiVo

Back to Top


MFS_Stream

Script and Hack by gosquad

Plug in for TiVoWEB to allow downloading of recorded programs

File(s) Needed: mfs_stream, mfsstream.itcl, tyhttpd, mfsstream.cfg

  1. Download and unzip mfswebmodule97.zip to a directory you can find

  2. Transfer mfs_stream and tyhttpd to the /var/hack/tivoweb-tcl/ directory and mark them executable

  3. Transfer mfsstream.itcl and mfsstream.cfg to the /var/hack/tivoweb-tcl/modules/ directory and mark mfsstream.itcl executable

  4. Add the following line to the end of the /etc/rc.d/rc.sysinit file:

/var/hack/tivoweb-tcl/tyhttpd 2000 4 > /dev/null &

  1. While you have rc.sysinit open with Joe, search for the path statement (ctrl-k then f then type path) Add the following onto the end of your path statement:

:/var/hack/tivoweb-tcl

  1. Reboot your DTiVo

  2. Point your web browser at the ip address of your DTiVo and you should get a menu
  3. Click on MfsStream | Download TY Streams to download the show of your choice to your pc as a .ty file
Back to Top

VSplit

Program by jdiner

Tool to split ty streams (recorded programs) into audio and video components

Files Needed: vsplit13c.zip

  1. Unzip to a directory on your hard drive (to c:\vsplit for example)

  2. Download your show from your DTiVo (to c:\vsplit for example)

  3. Run VSplit13 to create separated video and audio files:

vsplit simpsons.ty simpsons.m2v simpsons.m2a (for example)

  1. After it's done, you can delete your .ty file.

Back to Top

TYTool

Program by jdiner

TiVo side, and PC side software to allow downloading of recorded programs (includes VSplit)

File(s) Needed: tserver_mfs6, NowShowing.tcl, TyTool6r1.exe

Notes: Alternatives are TiVoWEB and MFS_Stream (you'll also need VSplit)

  1. Download and unzip tytool6r1a.zip to a directory you can find

  2. Transfer tserver_mfs6 and NowShowing.tcl to the /var/hack/ directory and mark them executable

  3. Add the following to the end of the /etc/rc.d/rc.sysinit file:

/var/hack/tserver_mfs6 > /dev/null &

  1. On your PC, move TyTool6r1.exe to a directory from which you will run the program, C:\Program Files\TyTool (for example)

  2. Run TyTool6r1.exe and set the ip address of your DTiVo, the directory to which you want to download saved videos to, and from the File menu, select whether you want to split the streams during download, or just save the raw .ty file (for demux with TyTool later)

  3. Click Refresh to get a list of shows, highlight one and click Get

  4. Enjoy the wait :)

Back to Top

TMPGEnc

Muxes (puts together) VSplit files into a MPEG compatible file

  1. Buy, download and install TMPGEnc

  2. Run TEMPGEnc and cancel the wizard that starts on startup

  3. Click on Files then MPG Tools, this will bring you to the Simple Multiplexing screen.

  4. Change type to "MPEG-2 Super VideoCD (VBR)" or type of your choice.

  5. Enter your video File (c:\vsplit\simpsons.m2v for example).

  6. Enter your audio file (c:\vsplit\simpsons.m2a for example).

  7. Enter your output file (c:\vsplit\simpsons.mpg for example).

  8. Click Run

  9. After it's done, you can delete your .m2v and .m2a files.

See www.vcdhelp.com for information on converting to DIVX and back to VCD for compression, or conversion to standard VCDs.

Back to Top

NoSDD

Script by AlphaWolf

Program to unschedule Service Data Downloads (this may prevent unauthorized updates)

File(s) Needed: nosdd.tcl, runnosdd.tcl

Notes:

  1. Download and unzip nosdd.zip to a directory you can find

  2. Transfer nosdd.tcl and runnosdd.tcl to the /hack/ directory and mark them executable

  3. Add the following lines to the /etc/rc.d/rc.sysinit file:

/hack/nosdd.tcl > /dev/null &

/hack/runnosdd.sh > /dev/null &

  1. Reboot your DTiVo

 

ADDENDUM 1: Running NoSDD with cron

This script employs the sleep function to run every 28, 29, 58 and 59th minute of every hour. This will impact your DTiVo's performance. A better way to run this script is via cron. To run with cron add only the first line (/hack/nosdd.tcl > /dev/null &) in step 3 above and perform the following:

  1. Install cron

  2. Add the following line (this is all one line) to your /var/hack/etc/crontab file (adjust to run when as desired):

*/5 * * * * /hack/nosdd.tcl > /dev/null

  1. Reboot your DTiVo

Back to Top

SetPri

Hack by  AlphaWolf

Sets priority of hacks to the lowest level to avoid audio/video glitches

File(s) Needed: setpri

  1. Download and unzip setpri.zip to a directory you can find.

  2. Transfer setpri to the /var/hack directory and mark it executable

  3. Add the following line to the end of the /etc/rc.d/rc.sysinit file, but before any added hacks:

/var/hack/setpri fifo 1 $$

  1. Reboot your DTiVo
Back to Top

Cron

Hack by dtype

Schedules scripts and hacks to run at specific times

File(s) Needed: cron, crontab

Notes:

  1. Download and unzip cron-3.0pl1_TiVo-2.zip to a directory you can find

  2. At Bash prompt enter:

mkdir /var/hack/etc

mkdir /var/hack/etc/cron.d

mkdir /var/hack/cron

  1. Transfer cron to the /var/hack/cron/ directory and mark it executable

  2. Transfer crontab to the /var/hack/etc/ directory

  3. Add the following line to the end of the /etc/rc.d/rc.sysinit file:

/var/hack/cron/cron > /dev/null &

  1. Edit /var/hack/etc/crontab to schedule programs to run:

    You can remove the following line:

*/10 * * * * date >> /var/hack/cron.test.out

Add your programs at the end of the file separated by a black line, here are some examples (each is just one line beware of word wrap):

Example #1 Run mvchannels every 5 minutes:

*/5 * * * * /var/hack/mvchannels.tcl -file=/var/hack/channels.dat > /dev/null

Example #2 Run NoPPV at 9, 24, 39, 54 minutes past the hour (I do it this way to prevent applications kicking off at the same time):

09,24,39,54 * * * * /var/hack/noppv.tcl -6 > /dev/null

Example #3 Run NoSDD at 29 and 59 minutes past the hour:

29,59 * * * * /var/hack/nosdd.tcl > /dev/null

Example #4 Run TiVoTitle ever 1 and 31 minutes past the hour:

01,31 * * * * /var/hack/TivoTitle.tcl -c > /dev/null

Example #5 Run FixDemo (the non-looping version of FixDemo) at 14 and 44 minutes past the hour:

14,44 * * * * /var/hack/fixdemo.tcl > /dev/null

  1. Reboot your DTiVo

ADDENDUM 1: The cron log file

Cron will create and grow a log file /var/hack/cron/log After you get cron running and no longer need it's log, enter the following to make it a null file (this is what LogsNull does to DTiVo's logs):

rm /var/hack/cron/log

mknod -m666 /var/hack/cron/log c 1 3

 

Back to Top

TiVoTitle

Script by Eric2048 plus updates by others (see the file for full credits)

Automatically renames recorded shows in Now Showing for descriptive titles

File(s) Needed: TivoTitle_0.94.tcl

Notes: These are only install instructions, read inside TivoTitle_0.94.tcl for usage instructions.

  1. Download and unzip tivotitle0.94.zip to a directory you can find

  2. Transfer TivoTitle_0.94.tcl to the /var/hack/ directory and mark it executable

  3. To run it manually, enter the following at the bash prompt (read usage information before running!):

/var/hack/TivoTitle_0.94.tcl -c

If you're using cron and want to schedule TivoTitle to run at 1 and 31 minutes past the hour, add the following to the /var/hack/etc/crontab file:

01,31 * * * * /var/hack/TivoTitle_0.94.tcl -c

Back to Top

ChangeFont

Script by

Change to a narrower font to display more information (especially useful for TivoTitle)

Files(s) Needed: flushres.tcl, fontinst.tcl, futura.ttf

Notes: tivofont.ttf is your backup of the original DTiVo font, if you want to restore it, the command becomes:

/var/hack/fontinst.tcl /var/hack/tivofont.ttf

/var/hack/flushres.tcl

  1. Download and unzip ChangeFont.zip to a directory you can find

  2. Transfer flushres.tcl, fontinst.tcl, futura.ttf to the /var/hack/ directory and mark fontinst.tcl and flushres.tcl executable

  3. At Bash prompt enter the following two lines (there are only two lines):

/var/hack/fontinst.tcl /var/hack/futura.ttf /var/hack/tivofont.ttf

/var/hack/flushres.tcl

  1. Reboot your DTiVo
Back to Top
 

EditTitle

Script By Netboy

Change titles and other information on recorded shows, even undelete.

File(s) Needed: EditTitle3.tcl

  1. Download and unzip edittitle3.zip to a directory you can find
  2. Transfer EditTitle3.tcl to the /var/hack/ directory and mark it executable

  3. At Bash prompt enter:

    /var/hack/EditTitle3.tcl

  4. Follow the prompts

    1. To change a title type r to get the FSID of the show you want to change. Then, back at the main menu, press c and enter the FSID you got from the listing.

    2. Everything else is self explanatory

Back to Top

LINKS

Files:

How-To's:

Forums - Use the search features at these sites before asking questions already answered:

Serial Cable:

DB9     1/8" Plug

-----------------

pin 2 = tip

pin 3 = middle (aka ring)

pin 5 = base (aka sleeve)

Back to Top

Common Operations

Configuring TeraTerm Pro:

Serial Communication:

  1. Install TeraTerm Pro

  2. Run TeraTerm Pro

  3. Click on Setup, Serial Port and select the com port you connected the serial cable to

  4. Click Setup, Terminal and change size from 80x24 to 80x25

  5. Click Setup, Save Setup and overwrite your teraterm.ini in the directory you installed TeraTerm

Ethernet Communication (requires TurboNet):

  1. Install TeraTerm Pro

  2. Run TeraTerm Pro

  3. Click Setup, Terminal and change size from 80x24 to 80x25

  4. Click Setup, Save Setup and overwrite your teraterm.ini in the directory you installed TeraTerm

  5. Close TeraTerm Pro

  6. Right-click on the TeraTerm Pro Icon and choose Properties

  7. Edit the Target to (including the quotes, change the ip address to match your DTiVo and the path to the .exe to it's actual location)

"C:\Program Files\ttermpro\ttermpro.exe" 192.168.1.5

  1. Click OK

Common Linux Commands:

Directory listing: ls (Dos equiv DIR)

ls -lart    List files in current directory also show file details

ls /etc -lart    List files in /etc directory and show file details

Change directory: cd (Dos equivalent: CD)

cd /    Change to the root directory

cd ..    Change to the parent directory "up"

cd /etc    Change to the absolute directory /etc

cd hack    Change to the relative directory hack under the current sub (example, if you're currently in /var, you'll end up in /var/hack)

Check current directory: pwd (Dos equivalent: CD)

pwd    Print Working Directory, displays the directory you're currently in

Copy a file: cp (Dos equivalent: COPY)

cp file file2    creates a copy of file called file2

cp /etc/rc.d/rc.sysinit rc.sysinit    Copies rc.sysint from the /etc/rc.d directory to the current directory)

Move or Rename a file: mv (Dos equivalent: MOVE/REN)

mv file file2    Renames file to file2

mv file /etc    Moves file to the /etc directory

mv file /var/hack/file2    Renames file to file2 and puts it in the /var/hack/ directory

Erase/remove file: rm (Dos equivalent: DEL/ERASE)

rm tempfile    Deletes the file tempfile

rm -rf /var/hack    Deletes all files in /var/hack/ and removes the directory

Make a directory: mkdir (Dos equivalent: MD)

mkdir /hack    Creates a folder/directory in the root called hack

mkdir tivoweb    Creates a folder/directory in current directory called tivoweb

Erase/remove a directory: rmdir (dos equivalent: RD)

rmdir /hack    Removes the directory hack from the root (directory must be empty of files first)

rmdir temp    Removes the directory temp from the current directory

Make a file executable: chmod (Dos equivalent: n/a)

chmod +x file    Makes file executable so that it can be run, like a .exe or .bat file in Dos

chmod 755 file    Makes file executable and readable but not writable, this is the setting that TiVo uses on their executable files so it is the setting that I use.

chmod 755 file1 file2 file3    Chmod several files at once

Transferring A File To Your DTiVo With TeraTerm Pro:

This is for serial transfers only. TeraTerm or the DTiVo do not behave well when attempting to transfer a file via Ethernet/turbonet with this method. For Ethernet transfers, use ftp)

  1. Start TeraTerm and press <enter> for a #bash prompt
  2. Change to the directory where you want the file to go (ex: cd /var/hack)
  3. Delete or rename any existing file(s) that have the same name as the file(s) you're going to upload or the transfer will fail.
  4. On the TeraTerm menu, click File, then Transfer, then Zmodem, then Send (Note: typing rz at the #bash prompt first is not necessary since TeraTerm will automatically issue that command)
  5. Locate and highlight the file(s) you wish to transfer and click Open (you can send multiple files by holding the CTRL key and highlighting all the files that you wish to send)
  6. If this is a executable file (a program or script) make sure to mark it executable

Using Joe Editor:

Forcing DTiVo To Make A Daily Call Now:

  1. Press the TiVo button on your remote, then go to Messages and Setup then Receiver and Phone Setup then Phone Connection and finally Make Daily Call Now

  2. The DTiVo will think that it's calling home and after a while, status will show succeeded
Back to Top

Credits

Info compiled by DarkWing, credit for all hacks, extreme 2.5 and other useful information goes to others...I merely put it all in one place.

Section describing the use of SelectLocals contributed by JustCuz.

This is a work in progress, use at your own risk. When in doubt, search the DealDatabase archives and learn what the hack does and it's possible side effects.

For help or to contact me I can be reached via IRC at dreamskape.com channel #dreams4all  or  zero.uicn.net #PVR

Revised: 01/17/04.