Home arrow Forums 20 November 2008  
Main Menu
Home
News
Forums
Downloads
Contact Us
Search i-hacked
Become a Member
- - - - - - -
Computer Components
Consumer Electronics
Electronic Projects
Game Systems
Cell / Phone
Car / Home
Misc
- - - - - - -
Info and Contests
Reviews
Login Form





Lost Password?
Latest Edge
Advertisement
Privacy Policy
Vote for us in Top 100 Security Sites
Click here to Vote!
Newsflash
I-Hacked Forums  


Backing up TIVO to ur computer harddrive Part 1 - 2007/10/30 13:03 This is not my work found it on another site as well as i do not take any responsibilty for any damages that may be caused to ur tivo by doing this hack


A real good place to look for more in depth information is the absolute best TiVo forum: DealDatabase


[Note: this is NOT a hack to freely use either the DirecTV service, or the TiVo-service!
---------------------------------------------------------------------------------------------------- ------
Specially TiVo should be credited for it's effort to create an open system, so we can modify the TiVo to our needs!

I'm not so sure about DirecTV - since they still do not listen to their customers, they can be pretty arrogant and stubborn, not to mention plain insulting when talking to their customer service on questions why HMO is not available on DirecTV TiVo's.

The aim of this hack is:
Upgrade your TiVo and give it some more recording space (optional).
Enable the TiVo's USB ports
Use the ports for Ethernet connection.
Enable FTP/Telnet/TiVoWeb etc, so we can remote control our TiVo.
Enable TyTools so we can copy a movie from the TiVo harddisk to our PC, so we can burn our recordings to VCD, SVCD, DVD or DivX.

I HIGHLY recommend upgrading to a bigger harddrive as well.
By default the Hughes SD-DVR40 has a 40Gb disk, good for about 35 hours of movies. Get a 120Gb disk (You can get one for less than $100!), this will give you 110 hours ...

Another reason to use another harddrive is that this way the original drive remains in tact and can be put back in the TiVo if things do not work out the way they should.
What do we need?

Removing the harddisk from the TiVo

Install the TiVo harddrive in your PC

Running the 'Monte' script
- Prepare Sleeper CD Rom
- Boot the PC
- Initiate Monte Script
- Backup TiVo disk
- Fix kernel
- Install new disk(s) in your PC
- Restoring TiVo image to new disk(s)
- Test new disk(s)
- Apply Hacks and install extra tools
- Network setup
- - network driver list
- Test the hacked TiVo with the new drive(s)

Questions, Common Issues, and Problems - a.k.a. HELP!
- Weird screen colors
- Remote control goes nuts
- Network does not seem to work
- Generic harddisk and boot issues
- Can the TiVo be connected to my PC without a hub or router?
- Can I put a disk larger than 120Gb in my TiVo?
- Can I use wireless/WiFi with my TiVo?
- Can I watch DirecTV for free after applying this hack?
- I get an error message ofter running the scripts
- Is this hack protected against software updates?
- Do I need to make my new (un used) DirecTiVo to make a call before applying the hack?
- Can I disable certain hacks?
- What models will this hack work with?
- Do the hacks all start automatically?
- What is the difference between standard romfs and delayed romfs?
- Telnet issues with Mac OS X
- Is this hack suitable for so called RID models?
- How do I copy movies from my TiVo to my PC?

Links and more stuff to read
What do we need?
Screwdrivers
Basically we need a Torx T10 and a Torx T11 screwdriver.
Some models might need a Philips screwdriver.

Sleeper CD Rom
This CD Rom, called Sleeper - named after the creator of this CD Rom, is basically an adapted Linux distribution specifically created for making hacking the TiVo easy. Read more about it in this thread at DealDatabase.
Much credit to him, for without him this would not have been an easy job.

Download the most recent version of the Sleeper ISO file from DealDatabase or from our downloads page.
UnZip/UnRar the file and burn the ISO with your favorite CD Burning software.

Nero can burn this kind of CD very nicely - you can even download a functional version at their website.

An open PC
We need a PC, any PC, with at least one harddisk and a CD Rom player installed in it, and being able to boot from CD Rom
There are no speed limitations etc on the type of PC, as long as it can do this:

• The harddisk must at least have one partition (usually the C-drive) formatted with FAT or FAT32, with at least 2 Gb free space. This free space will hold the backup image of the original TiVo harddisk.
The harddisk must be installed as MASTER on the PRIMARY IDE (IDE-0).

• The CD Rom player must be installed as the SLAVE on the PRIMARY IDE (IDE-0).
We need this so we can boot the system from the Sleeper CD Rom

• The PC must be able and set to boot from CD Rom (in the PC BIOS, set FIRST BOOT DEVICE to CDROM).

IDE Flat cable
So we can connect our original TiVo harddisk to the PC we will utilize for hacking the drive.
Some PC's have this second IDE cable already installed - so check first!

Replacement harddisk (optional, but strongly recommended)
Since prices are so low, I would recommend getting a 120Gb disk (TiVo might not be able to handle larger disks - I installed a 160Gb and it did work, but it doesnot seem to use the full 160Gb).
5400 RPM (if you can get one) will work just fine (low noise level).
A 7200 RPM or even 10000 RPM drive will give you a better performance but they also produce a bit more noise.

Removing the harddisk from your TiVo

OK, so we're ready for step 1; opening the TiVo and removing the harddisk.


!! WARNING !!

1. although the power cord might be disconnected,
THE POWERSUPPLY OF THE TiVo can still
hold quite a nice voltage to zap you!

2. Either use an anti static (ESD) wrist thingy
or grab something that is grounded,
to discharge static electricity your body might CARY.
Static electricity might damage the sensitive parts OF the TiVo!

3. OPENING THE TIVO VOIDS WARANTY!


Remove ALL the cables from your TiVo (satellite antenna, video, audio, power, etc)!

Now put the TiVo on a table so you can easily access all connectors, screws etc.
Get the Torx T10 and remove the 4 screws on the back, indicated by the red arrows below:

Hughes DirecTV TiVo - Remove the 4 screws on the back

Once you removed the 4 screws, slide the hood of the TiVo to the backside of the TiVo. It might require some force to get it going.



Hughes DirecTV TiVo - Remove the hood by sliding it to the back

Once you opened, you will see the main components of your TiVo:

Hughes DirecTV TiVo - A: Harddrive, B: Power supply

Be very careful, avoid touching the power supply (B: the brown colored PC.

Now we have access to the harddrive (A). You will see that an IDE flat cable and a power cable (familiar to those who have opened a computer before) that connect the harddrive to the TiVo mainboard (the green PC.

Hughes DirecTV TiVo - Harddisk located

In the image above you see the harddrive. Notice the arrows:A Screw 1 of the harddrive bracket
B Screw 2 of the harddrive bracket
C Harddrive power connector
D Harddrive IDE cable
E After removing A, B, C and D, slide the bracket in this direction


I think the table above explains most of it;

Remove the screws (A and , the power cable (C)(watch out for the white flat cable!) and the IDE cable (D).

Now move the harddisk in the direction as indicated by the arrow (E) until you can lift it and take it out.

The 4 screws of the harddrive can be removed with a Torx T11.

Once removed, we can continue with the next steps,...

Installing the harddrive in your PC

OK, before we start doing this, make sure that the C-drive of your PC meets these requirements:
The C-drive should have at least 2 Gb free disk space (check this in Windows or DOS to make sure).
Make sure that the C-Drive is either FAT or FAT32 formatted. NTSF formatted drives WILL NOT WORK.
(NTFS won't work since this Linux version cannot mount NTFS drives as a read/write drive!)
The harddisk should be installed as the MASTER disk of the PRIMARY IDE (IDE-0).

This PC should also have a CD Rom player. Make sure the following requirements are met:
The computer should be able to BOOT from CDROM.
The CDROM player should be connected as SLAVE on the PRIMARY (IDE-0) IDE.

Tip: Verify in the BIOS of your PC that the first boot device is set to CDROM. Usually you can get into the PC's BIOS by pressing the "Del", "Ins", "F1" or "F10" button (at boot time it will usually show a brief message indicating which key to use). Commonly in the "Advanced settings" section of the BIOS you can change the boot device to "CDROM" or "IDE CDROM".

If your computer meets these requirements, then it's time to continue to the next step: Connect (if not already there) the FLAT CABLE to the SECONDARY IDE (IDE-1). Connect the other end of the flat cable to the TiVo harddrive.

Connect a power connector to the TiVo harddrive.

Verify that the jumpers of the TiVo harddrive are set to MASTER or CABLE SELECT.

Note: not all PC work well with CABLE SELECT, so for your PC setting it to MASTER might be required.
Please write down first how the jumper where set, so you can set them back later - if needed.

Tip: if you do not have documentation on the jumpers (either a manual or printed on the harddrive itself, then lookup the drive on the Internet on the manufacturers homepage. They usually have an online manual for the drive showing the jumper settings.

So basically you have this setup now:

DirecTiVo - Basic Backup setup

Note: this is just a sketch on how the connections should run - the position of IDE-0 and IDE-1 may differ, depending on the type/brand of mainboard your PC has. Please consult the manual of the mainboard to identify the right connectors, or incase you don't have a manual, look closely on the mainboard. Some mainboard's have text printed next to the connectors.

Running the 'Monte' script
If you reuse the original drive (not recommended!), then it is not unlikely that you make a mistake or that the hack didn't go as well as planned. In that case you want to be able to restore the original drive, so you have been warned.

If you plan to upgrade your TiVo using a bigger harddrive, then we will also need this backup to be copied to that new harddrive.

Prepare a "Sleeper" CD Rom
If you haven't done so yet:

- Download the sleeper file (either from DealDatabase, or from our Download page).

- UnZip/UnRar the file

- burn the ISO with your favorite CD Burning software.

Tip: Nero and Burn3Free can burn this kind of CD very nicely!

Boot the PC.

Start the computer and open the CD Rom tray as soon as possible.

Tips:
If the PC is already running before it can detect a bootable CD Rom: Restart the PC (CTRL+ALT+DEL or press the RESET button).
If the PC won't boot from CD Rom: Go into the BIOS and change the first boot device to CDROM and try again.

Once the PC starts booting of the CD Rom, it will start an adapted Linux version.
It will show you Available boot options; just press enter and the Linux distribution will boot from CD. This will work for most computers.

This Linux version is adapted in this sense, that it will have the appropriate file system drivers, tools, scripts and hacks onboard to make your life a lot easier. Credits for this one goes to Sleeper who did an excellent job on this.

Pretty soon a menu will appear:
Code:

 Press the letter of the script to run and then press 'enter'. pProm    Backup Original Tivo Drive to C Drive.    Restore stored image from C Drive to new drive.    Replace initrd and install hacks. mMonte    The Full Monte including hacks. rReset the autodetect and start from beginning. sShutdown Computer



Initiate Monte Script.

To make this start press "M" and press the Enter button. This overview will be shown.
Code:

 This script will perform some or all of the following: aBackup the original Tivo hard drive to the FAT32 drive. bRestore the backed up image to 1 or new hard drives. cInstall the 3.1U5-01-2-151 (Userlandkernel and file system on the     alternate partitions. dGenerate and copy the monte_romfs to the last partition (apple free). eWrite new boot parameters to the new hard drive to enable    the bash shell and execute the runmonte script. fKill the initrd in the kernel. gInstall /bin utilitiesinstall BusyBox utilities,    install network driversinstall tivoftpinstall telnet,    install mfs_ftpinstall tyserverinstall tivoweb,    install fixsubinstall sps30install sort. fCreate the rc.sysinit file in /etc/rc.sysinit. Press any key to continue...



It's pretty self explanatory what this script does. Press 'ENTER' to continue.
Code:

  This installation requires the following hardware setup: aA FAT32 hard drive installed as MASTER on the PRIMARY Controller bA bootable CDROM drive installed as SLAVE on the PRIMARY Controller cThe Original Tivo drive installed as MASTER on the SECONDARY Controller Press 'enter' to continue, any other key and 'enter' to abort.



Info on how to connect the disks and the CD Rom player - we already discussed them before.
So just press 'ENTER' to continue.

Backup TiVo disk.
Tip: To skip of most of these 'questions' simply type one or more random characters and press the 'ENTER' key.
However! Make sure that if you skip any of these that you're pretty sure what you're doing!
Code:

  Monte Install Backup Phase. Press 'enter' to continue, any other key and 'enter' to skip.


The script will now begin it's Backup Phase, meaning: it will backup the essential parts of your original TiVo disk to the FAT partition of the other harddisk.
Code:

 A FAT32 hard drive is about to be mounted as /cdrive The drive MUST be configured as MASTER and     MUST be connected to your PRIMARY controller. The commands that will be executed are: ------------------------------------------------------------------ mkdir /cdrive mount -t vfat /dev/hda1 /cdrive ------------------------------------------------------------------ Press 'enter' to execute these commands...


Press 'ENTER' to start detection of the FAT partition.
If successful, a success message will tell you something like this:
Code:

 SUCCESSFAT32 Drive on /dev/hda1 mounted as /cdrive Press 'enter' to continue...


Press 'ENTER' to continue.
The next step is to detect and mount the CD Rom drive and will try to mount it.
Code:

  A CDROM drive is about to be mounted as /cdrom The CDROM drive MUST be configured as SLAVE and     MUST be connected to your PRIMARY controller. The commands that will be executed are: ------------------------------------------------------------------ mkdir /cdrom mount -t iso9660 /dev/hdb /cdrom ------------------------------------------------------------------ Press 'enter' to execute these commands...



Press 'ENTER' to start detection of the FAT partition and will try to mount it.
If successful, a success message will tell you something like this:
Code:

 SUCCESSCDROM Drive on /dev/hdb mounted as /cdrom Press 'enter' to continue...



Press 'ENTER' to continue.
Now the script will try to identify the TiVo disk.
Code:

 The bootpage command is going to determine the boot signature     on the Tivo hard drive The command that will be executed is: ------------------------------------------------------------------ /cdrom/bootpage -/dev/hdc ------------------------------------------------------------------ Press 'enter' to execute these commands...



Press 'ENTER' to continue.
If successful, a message similar to this one will appear:
Code:

 SUCCESSThe bootpage command returned the following: root=/dev/hda7 Press 'enter' to continue...


Press 'ENTER' to continue.
Additional info will be shown (similar to this):
Code:

 INFO    Tivo boot partition is6 INFO    Tivo root (/) partition is7 Press 'enter' to continue...



We're now ready to perform a backup.
Press 'ENTER' to continue.
Code:

 The Tivo drive is going to be backed up to the FAT32 drive The command that will be executed is: ------------------------------------------------------------------ mfsbackup -f 4138 -6so /cdrive/tivo/Tivobackup-08-26-04_21_27.mfs /dev/hdc ------------------------------------------------------------------ Press 'enter' to execute these commands...



In the command displayed here you will see where you can find the image file (in case you'd like to back it up to a CD Rom or something like that). The filename of the backup also includes back date and time. In this example: August 16th, 2004, 21:27.

Press 'ENTER' to continue.

Your PC will be working for a while making an image of your TiVo disk onto the C-Drive.

The text shown below will show a while, so be patient.
Code:

  Scanning source drivePlease wait a moment.


After a while the real backup starts. Once it's done a screen similar to this one shows:
Code:

 Scanning source drivePlease wait a moment. Source drive size is 40 hours Backup image will be 40 hours Uncompressed backup size1466 megabytes Backing up 1466 of 1466 megabytes (100.00%) Backup done! SUCCESSmfsbackup complete. Press 'enter' to continue...



OK, so the backup is done.
Press 'ENTER' to continue.

Fixing the Kernel.
The next step is to extract and fix the kernel.
Code:

 A copy of the kernel is going to be extracted from the Tivo drive. The command that will be executed is: ------------------------------------------------------------------ dd if=/dev/hdc6 of=/cdrive/tivo/kernel.img ------------------------------------------------------------------ Press 'enter' to execute these commands...


Press 'ENTER' to continue.
The kernel will now be extracted from the Tivo disk.
Code:

  4+0 records in 4+0 records out SUCCESSCopy of kernel extracted to /cdrive/tivo/kernel.img Press any key to continue...



Press 'ENTER' to continue.
Some info similar to this will be displayed:
Code:

  INFO   Kernel real name found within kernel is2.4.4-TiVo-3.0 Press 'enter' to continue...



Press 'ENTER' to continue.
The process is finished for now:
Code:

 Backup Complete! The computer will now shutdown. Once shutdown is completepoweroff the computer. Remove the ORIGINAL tivo drive from the SECONDARY controller and install the new tivo drive as MASTER on the SECONDARY controller. If you have 2 new Tivo drivesinstall the second drive as SLAVE on the SECONDARY controller. Then power up the systemThe script will automaticall continue. Press any key to shutdown...



As you can see, the back is complete now.

Press 'ENTER' to continue.
[cde]
The computer will tell you when you can switch off the PC.The system is going down NOW !!
Sending SIGTERM to all processes.
Sending SIGKILL to all processes.
md: recovery thread got woken up ...
md: recovery thread finished.
mdrecorvery(10) flushing signals.
The system is halted. Press CTRL-ALT-DEL or turn off power.
stopping all md devices.
Power down.


When you see this message; you can switch the PC OFF.

Connecting the (new) disk(s).

The next step is to exchange the TiVo drive for the drive you want to use in the TiVo.

You have these options:

1) Use a new disk for the TiVo

this is the approach I would like to suggest.
Simply remove the TiVo disk and place the new disk on the Secondary IDE as a master.
Verify the jumper settings!

2) Reuse the original Tivo disk

Note: This I really cannot recommend! I keep my TiVo disk stored - in case I need to bring the receiver back to its original state.

You do not need to do anything. Leave the drive connected.

3) Use two new disks for the TiVo

This is similar to option 1. Keep in mind that the second disk needs to be SLAVE on the secondary IDE.
Do not forget to set the jumpers on the harddisk's!

Reboot PC

This process it pretty straight forward ad very similar to the first boot we did.
You might want to check in the BIOS if it recognized the new disks properly.

The Linux boot will show you Available boot options again; just press enter and the Linux distribution will boot from CD.
Code:

  Monte Install Restoration Phase Press 'enter' to continue, any other key and 'enter' to skip.



Press 'ENTER' to continue.

Restoring the TiVo image to the new disk(s).

We're now ready to prepare the new disk(s).

You will go through the same process where Linux identifies the disks and the CD Rom.
It will mount them as need in a similar way as you have seen in the backup-phase.

Follow the steps by pressing the 'ENTER' key a few times.

After identifying the disks, the restoration starts. It will take a while before it finishes (not very long though):
Code:

 Starting restore Uncompressed backup size1466 megabytes Restoring 1466 of 1466 megabytes (100.00%) (77.75compression) Cleaning up restorePlease wait a moment. Restore done! Adding pair /dev/hdc14-/dev/hdc15 New estimated standalone size130 hours (90 more) SUCCESSmfsrestore complete. Press any key to continue...



I didn't try to restore to an original TiVo disk, or a dual disk. So I miss that info, but it should respond in a similar fashion.
With the original TiVo disk you might get warnings.

Press 'ENTER' to continue.

Once the restore is completed, the PC will shutdown again. This gives you the chance to do a test of the new image, which I recommend doing.

Note: recordings that you had on the disk are lost! This means that all recordings in "Now showing" are not there anymore.
Delete each entry one by one. You do not need to do that right now, but you can if you want to.
Code:

  Restore Complete! The computer will now shutdown. Once shutdown is completereboot the computer. YOU MAY WANT TO POWER OFF AND INSTALL THE DRIVE IN THE TIVO AND CHECK THAT IT BOOTS BEFORE CONTINUING Installation will automatically continue after the system is booted. Press any key to shutdown...



Press 'ENTER' to continue.

Once you see the message again that you can "turn off power", please do so, or press CTRL+ALT+DEL to reboot if you do not wish to test the disk(s).

Testing the disk.
This step is OPTIONAL. I always do this step, just to make sure that the restore worked OK.

Remove the disk(s) from the PC and install the disk(s) in the TiVo.
Unfortunately, I have not used the dual disk setup (yet), but I noticed that one might need additional brackets or something like that to install the second disk. One also needs another IDE cable, since the original cable does not support two disks.

After reinstalling the disk(s) in your TiVo, you can power up the TiVo. You do not need any cables connected to your dish (it's optional). I tried with two TiVo's watching for this sequence:

DirecTiVo - Test boot the new disks

I waited about a minute at the "acquiring Information" screen and decided that the disks are fine and powered down the TiVo.

Note:

Weird screen colors;
if you do have you dish connected, I noticed some weird coloring briefly after acquiring the satellite data. This disappears pretty quickly, and did not seem to bother the TiVo. Below you will find an example of one of those weird colored screens.
A comment from NutKase:

Also, the weird colors are the result of the board in some tivos not being compatible with the kernel Sleeper used to monte them

You can manually add

contigmem=19m

to your bootpage but you'd need to pull your drive. If you used sleeper I'd just leave it. It mostly only reboots at night anyway.

Remote control went nuts;
For some weird reason the remote control seemed to go bananas. Remove the batteries of the remote control and reinsert them. This solves that problem.
NutKase commented on this; thanks for the tip!
The thing is that this is normal since the Sleeper script sends remote control codes to set certain "hacks" like the 30 seconds skip and the Directory Sort.

Once the TiVo is powered down, reinstall the disks into the PC so we can continue with the next step.

If you're doing this, just to upgrade your harddrive, then you're done now.
Close the TiVo and have fun with some more storage space!

Post edited by: dethdeks, at: 2007/10/30 13:07
  | | The administrator has disabled public write access.
I-Hacked's Most Popular
2006 I-Hacked T-Shirts
 I-Hacked T-Shirts
Have been released, Now with
3 versions!

Check them out here

Latest Articles
Top of Page

If you see information here that you know is inaccurate, out of date, misleading, confusing, or just blatantly wrong, please let us know. Updates and corrections are reviewed and updated as they are received.

 
Disclaimer
I-hacked.com does not take any responsibility with the information presented. Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk. If you blow up your car, home, computer, or anything else -- it's not our fault, use good judgement and play nice.


© I-Hacked.com LLC