I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / DigitalVideoRecorders / DTV Recorders, Replay, TiVo, Etc...
The TiVo 52 hour upgrade hack

New MessageThe TiVo 52 hour upgrade hack (modified 0 times) thack
Posted by cc:

Here's how to add a B drive to your TiVo by "blessing" it. This is approximately how we did it. We've only done it a few times so far. We will be refining the process. We simply wanted to get the initial information out quickly.

This has only been verified to work on a few units so far. A HDR112 has been upgraded to 52 hours with a 30 gig Quantum, another HDR112 has been upgraded to 40 hours with a 20 gig Quantum, and a Sony 30 hour unit has been upgraded as well with a Maxtor B drive, although the newer Sony/Phillips units have a drive locking mechanism that makes it very hard to mount their A drives in a non-TiVo Linux box.

WARNING: This modification is not "easy". You take all responsibility for modifying your TiVo in this way. It does involve opening the case and breaking the warranty sticker. Do not call TiVo support if you make a mistake and break your TiVo. If you break it, you own both pieces. If you mess up, don't expect us to fix it for you either. Maybe some day someone will release a utility that will just bless a drive in 1 easy command on your PC, but at this point, it's pretty tricky. It requires that you have various technical knowledge about Linux and other software tools. You could easily render your TiVo inoperable and possibly unrecoverable.

WARNING 2: There hasn't been a lot of testing so far on this procedure of course. Mine seems to be working perfectly at 52 hours, but you must accept the risk that something bad may happen down the road. We suggest that you back up your original A drive in some fashion in case you make a mistake. How to do that we leave up to you.

PDISK DISCLAIMER: We had to modify the source code to pdisk. Use it at your own risk. There may be bugs. We're not responsible for any loss of data.

And PLEASE - be careful when you open the unit. It's power supply is unshielded. Stay away from it.

In short - if you don't _understand_ what is going on below, don't do it. Just being able to read a list of steps may not be enough at this point.

When I refer to hard drive partitions on the Linux box, I'll use hdX where X is whatever letter is appropriate for that drive.

I used a Quantum lct10 30 gig drive (part number QML30000LB-A) that I bought from
http://www.onsale.com
My off the shelf Quantum seems to have the Quickview and TiVo extensions in it, perhaps they all do. It is the same drive used in HDR31202's and presumably the newer Sonys. Any drive may work as a B drive, but I've only tried my Quantum. Also be aware - the version of Linux on the TiVo doesn't seem to support drives larger than 33.8 gig. I don't know if TiVo patched their older kernel to support them. Set the B drive's jumper to slave.

You need to be able to access the original A drive and new B drive from another Linux box. To do this on an x86 box, you need to integrate TiVo's modifications to the Mac partition code. There are some patches on
ftp://ftp.curry.org/pub/tivo
ftp://ftp.rotorway.org/incoming/tivo
http://www.wasteland.org/tivo
Please, if anyone can mirror these few files it would be very helpful. If we get hit too hard, we'll have to take the files down. You also need to be able to turn on byte swapping for those 2 drives (hdX=bswap). I had the most luck with Linux 2.4.0-test1. You also need to enable the Mac partitioning in the kernel.

If that all works, you'll see the TiVo's partitions on the A drive hooked to your Linux box. There should be 11 of them. Mount partition 4 (hdX4) somewhere, it's an ext2 filesystem. Edit the bottom of etc/rc.d/rc.sysinit so it starts a bash shell on /dev/ttyS3.

Also you need to blank out the first few sectors on the new B drive, with this command: "dd if=/dev/zero of=/dev/hdX bs=512 count=32".

Get the hard drives back in the TiVo (both of em) and hook up the DSS serial cable to your computer. You'll need a null modem adapter and gender changer at the minimum. The terminal settings are 9600,8N1. You should get a bash prompt shortly after the "please wait a few more seconds" screen. Run this command: "/sbin/bootpage -D /dev/hdb". Then shut down your TiVo and hook the B drive back up to the Linux box.

Now you need a modified version of pdisk which is available on the sites I mentioned above. Compile it if necessary (it's in RCS format). With the B drive in the Linux box, run "pdisk /dev/hdX" and type in these commands:

i
w
y
q

Then run: "pdisk -d /dev/hdX" and type these commands:

C 2p 4M "Second MFS application region" MFS
C 3p 3p "Second MFS media region" MFS
x
m
3
x
w
y
q

That will create the new partitions. Shut down the Linux box now and mount the B drive in the TiVo permanently. Turn the TiVo back on and get into the bash shell on it again.

You need to mount the diagnostics partition next. Type this on your TiVo: "mount -t ext2 -o ro /dev/hda7 /mnt". Then run this to add the magic bit sequence to your new B drive: "/mnt/diag/genAddDiskTiVoID /dev/hdb3". Type "umount /mnt" to unmount that diagnostics partition, and reboot your TiVo. That should do it. Check the system information and see if your capacity increased. If not, you can try this one last thing that I don't believe is necessary, but it might be: mount the diagnostics partition again, and run "/mnt/diag/setkeys -globalkeys /dev/hdb".

That's it. If you want to now, you can edit the rc.sysinit to stop the bash shell from starting (or if you were smart, you made a backup copy when you started and can just copy the backup over the modified one).

Credit for figuring out this procedure goes to cc, Peter Creath, TivoTechie, and Ron Curry.

06-22-2000 11:58:03

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) thack
It looks like the current kernel won't support anything above he 33.8gb limit, this is a limit in the Linux Kernel, not a Tivo thing.

Make a full back up because once you do this you can't go back.

Glad this board is here, never know if tivo might delete the posts on the AVS board.

I found other mirror sites for the files:

http://www.djxnetworks.com/tivo
http://www.keysersoze.net/tivo

Here is how cc backed up his drive:

Well, I can tell you how I did it, but there's no real good way just due to how much data we're talking about here. I hooked my A drive up to a Linux box, plus an extra 17 gig drive with a Linux filesystem on it. I turned off all the byte swapping since I wanted an image as it was on the drive. Then I used dd to image the drive into files (I piped the dd output through split into 512 meg files) on the 17 gig drive. Then I bzipped them (only the first 2 chunks and the last chunk compressed much at all, the rest has MPEG data in there). Then I backed all those files up onto a couple of DDS-3 tapes for safe keeping.

It should be noted that I haven't tried restoring an entire Tivo, because I managed not to hose mine. Others have restored certain partitions from backups made with dd.

06-22-2000 12:28:12

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) tidbit
Originally posted by bonehead:
It should also be noted that, without full backups, this appears to be a one way street.
Unless you keep your original drive around in some form, there isn't yet a way to back
out of the process once it's done. Once upgraded, there may not be a way to upgrade
further once large drive support becomes available (if it does).

----
This is incorrect. It can be backed out by restoring the 10th partition.

06-23-2000 09:56:09

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) ruckas
I got the files and tried to mount my TIVO 12 gig drive and read it looks all backwards but I did the biteswap and still need help. Do I have to have a powerpc to do this?
06-23-2000 20:43:36

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) sirking
looks like you can use a Quantum lct 10 or a Maxtor drive for the hack the original hackers used both with success
06-23-2000 23:04:36

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) area51
lgerbarg has been working on a perl script to bless a drive, still in development
http://www.rpi.edu/~gerbal/TiVo/blessDisk.pl

posted by lgerbarg
I have made available the files that are clearly distributable (gpl derived etc), at
http://www.rpi.edu/~gerbal/TiVo/tivo-bin.tar.gz

I also added ls -lR of my entire drive structure /dev/hda7 root and /dev/hda4 on /mnt.
Things I did include that were originally in that directory include the tcl scripts to build new drives and pdisk.
Can anyone tell me what kind of license pdisk is under. I know we have a working copy, but the if I can give out the tivo version I would love to, but if they made proprietary mods and it is under BSD style license (which it might be) then it would be illegal to distribute it....

Oh, I transfered these from the TiVo to a Macintosh, then sshed them them to AIX boz where I tar-gziped them. I think they survived the trip in tact, though they almost certainly have have bogus permissiions now, so you will need to chmod them before they can run.

posted by EB (from the boot PROM)

There is....in fact the TiVo guys are probably laughing at the current procedure because of its completxity.
Don't get me wrong, I think it's amazing that everyone has gotten this far, but there IS a much easier way.
The entire upgrade can be done with nothing more than a dumb terminal. Wouldn't a menu like this be
helpful:

B - Boot from disk
N - Network (tftp) boot
U - Update flash from tftp flash image
T - Teleworld menu
V - Print TiVo Prom Version
W - Word Write
R - Word Read
P - Change Boot Parameters
M - Configure Memory
C - Configure Video
E - Configure Ethernet
K - Set backdoor password
k - Verify backdoor password
z - Change Serial Number
Z - Run memory tests
1 - Enable/disable tests
2 - Enable/disable boot devices
3 - Change IP/MAC addresses
4 - Ping test
5 - Toggle auto disk locking
6 - Toggle automatic menu
7 - Display configuration
8 - Save changes to configuration
9 - Unlock TiVo Secure Disk
0 - Exit menu and continue
X - print extended menu

Option P can be used to turn the shondss boot parameter.

07-05-2000 01:03:26

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) area51
http://tivohack.sourceforge.net
07-05-2000 01:20:42

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) island
One disk does it all! Very easy upgrade!

http://www.geocities.com/tivohack/

07-11-2000 16:55:30

New MessageRE:The TiVo 52 hour upgrade hack (modified 0 times) BiggScreen
Profile
Damm... Now That Its This Simple To Hack...
I'm Running Out The Door To Go Buy One...
I Have been Waiting For Over A year For A
Resonable Sized Recording Time...
Since I Have A BigScreen I tried One
On My TV In the Lower Quality Mode And It looked Like S H-I T

Thanks... 4 The Hacks...

07-20-2000 09:28:01

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3