Modify the HR10-250 HD Tivo

Information on and dealing with the Tivo and its various applications.

Modify the HR10-250 HD Tivo

Postby curlee » Thu May 11, 2006 7:52 am

1) Your gonna need some files to start with:

Your gonna need the PTVupgrade LBA48 CD with MFStools boot disk to mount your tivo drive into anothe computer:
http://www.ptvupgrade.com/products/soft ... index.html

You will want to put the next programs on a floppy:

tivoftp.mips - This is the ftp server for Tivo
http://prdownloads.sourceforge.net/tivo ... z?download

killhdinitrd - The program that mods your kernel to accept mods to the Tivo like teltnet
http://www.dealdatabase.com/forum/showt ... hp?t=36692

The rest of the programs you will want ready to install Via FTP after you have your tivo up and running again.

Series 2 devbin archive - http://prdownloads.sourceforge.net/tivo ... z?download
Series 2 netbin archive - http://prdownloads.sourceforge.net/tivo ... z?download
Series 2 ps executable - http://prdownloads.sourceforge.net/tivo ... z?download
MIPS Joe - http://prdownloads.sourceforge.net/tivo ... z?download


Then, for convenience, you'll want:

TivoWeb Plus - http://tivo.fp2000.org/twp/tivowebplus-1.0-final.zip
OTA HD patched TivoWeb files - http://www.imbetterthanyou.com/hr10-250 ... atched.tar



2) Connect the Tivo drive to your PC

Pull your hard drive out of your tivo and attach it to your computer. You are also going to need a fat32 hard drive to back up to and restore. I connected my drives as follows:

Pri Master: FAT32 Drive
Pri Slave: CDROM
Sec Master: Tivo hard drive
Sec Slave: Empty

3) Boot off of the LBA48 MFS Tools CD

4) Back up your system!!!!!

I cannot stress enough how important it is to have a working backup in case something goes wrong.

If you know your FAT32 drive, your cable and your PC support DMA, turn it on with
#hdparm -d1 /dev/hda (this turns it on for your FAT32 disk connected to primary master)
#hdparm -d1 /dev/hdc (this turns it on for the drive connected to secondary master (hdtivo drive))
    A) Mount drive using following commands
    #mkdir /mnt/dos
    #mount /dev/hda1 /mnt/dos
    B) Backup using this command (should take 5-20 minutes)
    #mfsbackup -f 9999 -1so /mnt/dos/hd_tivo.bak /dev/hdc
    ***To restore from your backup using the following command (should take 5-15 minutes)
    #mfsrestore -s 127 -zpi /mnt/dos/hd_tivo.bak /dev/hdc

5) Killing initrd
This can be the most confusing part. You need a kernel that will allow mods to the Tivo. killhdinitrd will mod the existing tivo kernel to accept your mods. Not all Tivo kernels are supported by killhdinitrd. You might have to get a kernel that is supported or pre-modded and copy it over to your Tivo hard drive.
    A) Mount the floppy that we copied tivoftpd.mips and killhdinitrd onto:
    #mount /dev/fd0 /floppy
    B) Run killhdinitrd from the floppy. You will either use 3 or 6 as the active kernel partition (mine was 3).
    #/floppy/killhdinitrd /dev/hdc3
    ***My kernel was not supported. I payed my $5 and purchased the upgraded lba48 boot disk with the kernel images included.
    A) Copy the 3.1.5 kernel over to your fat32 hard drive and run
    #mkdir /mnt/cdrom
    #mount -t iso9660 /dev/hdb /mnt/cdrom
    #cp
    #gunzip vmlinux.px.gz
    B) Copy the kernel to the active partition with the command:
    #dd if=/mnt/dos/vmlinux.px of=/dev/hda3
6) Mount the HR10-250's var partition to copy over the ftpd:
    #mkdir /mnt/var
    #mount /dev/hdc9 /mnt/var
    #mkdir /mnt/var/hack
    #cp /floppy/tivoftpd.mips /mnt/var/hack
    #chmod 755 /mnt/var/hack/tivoftpd.mips
    #mkdir /mnt/var/hack/bin
    #mkdir /mnt/var/hack/lib
    #mkdir /mnt/var/hack/root

7) Configuring rc.sysinit.author and .profile

We will now configur rc.sysinit.author to apply settings to your network setup. If you complete the following steps and nothing happens repeat them using hdc7 instead of hdc4.
    A) Mount the partition
    #mkdir /mnt/mnt4
    #mount /dev/hdc4 /mnt/mnt4
    B) Change to the directory that will house rc.sysinit.author
    #cd /mnt/mnt4/etc/rc.d
    C) Create rc.sysinit.author
    #pico rc.sysinit.author
    content:
      #!/bin/bash

      #load usb and ethernet modules
      insmod /lib/modules/usbcore.o
      insmod /lib/modules/ehci-hcd.o
      insmod /lib/modules/ax8817x.o
      sleep 15

      #configure Linksys USB200M
      ifconfig eth0 192.168.1.100 broadcast 192.168.1.255 netmask 255.255.255.0
      sleep 60

      #start telnetd
      tnlited 23 /bin/bash -login &

      #start ftpd
      /var/hack/tivoftpd.mips

    D) Make the file executable:
    #chmod 755 rc.sysinit.author
    E) Create .profile
    #cd /mnt/mnt4
    #pico .profile
    content:
      export PATH=/tivo-bin/:$PATH":"/var/hack/bin/:/var/mfs_ftp:/var/hack:
      export LD_LIBRARY_PATH=/var/hack/lib/":"$LD_LIBRARY_PATH
      export HOME=/var/hack/root
F) Unmount the directory and halt the PC:
    #cd /
    #umount /mnt/mnt4
    #halt

8) Put your drive back into your Tivo and boot your new network capable DirecTivo

9)Add all of the important utilities: ls, tar, etc
    A) Telnet into your Tivo

    B) FTP Files into your /var/hack directory:
      devbin-s2.tar (from devbin-s2.tgz)
      netbin-s2.tar (from netbin-s2.tgz)
      ps-s2 (from ps-s2.gz)
      TivoWebPlus-1.0-final.tivo.tpm (from tivowebplus-1.0-final.zip)
      twebplus-patched.tar
    C) Extract tar from devbin-s2.tgz and ftp it into your /var/hack directory

    D) Make it executable:
    #chmod 755 /var/hack/tar

    D) Change into the /var/hack/bin directory and extract the binaries:
    #cd /var/hack/bin
    #tar -xzvf ../devbin-s2.tgz
    #tar -xzvf ../netbin-s2.tgz
    #cd /var/hack
    #gzip -d ps-s2.gz
    #mv ps-s2 bin/ps
    #chmod 755 /var/hack/bin/*
curlee
Site Admin
 
Posts: 49
Joined: Wed May 03, 2006 12:01 pm

Return to Tivo

Who is online

Users browsing this forum: No registered users and 1 guest

cron