TiVo Community Forum banner
  • TiVoCommunity.com Ambassador Program Now Open! >>> Click Here

Enhance Your Hacked Tivo With This Script

652K views 3K replies 420 participants last post by  darrin75 
#1 ·
Attached is an automated script that tweaks and enhances your already-hacked Tivo. This script is included with The Zipper, so you don't need to run it if you've already completed a full Zipper install. If you hacked your Tivo with PTVnet, this script can be installed right over it.

Usage: unzip the attached script, FTP it to your Tivo, and run it. It’s interactive, so you can pick and choose exactly what it installs, and it comes with an uninstall script so you can remove everything easily. It works will all Series 2/2.5 Tivos, including the HR10-250 (3.1.5f and 6.3x). Here’s what it does:

1. Installs channel logos on the guide banner and Now Playing list.

2. Replaces the “Almost There” splash screen with this more interesting one. If you don’t like it, you can download any one of these splash screens, and FTP it to replace the one stored in /tvbin/AlmostThere.png. Be sure to change the name of the replacement screen to “AlmostThere.png” to match the existing one before you FTP it to your Tivo.

3. Installs a profile with “aliases” that provide shortcuts to commonly used commands. For example, to mount your root drive as read-write, instead of typing out the full “mount –o remount,rw /”, you simply type “rw”. See the readme for the full list of aliases installed.

4. Installs a Customized Version of Tivowebplus. Now based on Tivowebplus version 2.0.
  • Tivowebplus main menu is modified to show the name of your Tivo at the top of each menu – helpful if you have multiple Tivos. Here’s what it looks like:


5. Installs a fully functional cron setup for improved performance and logging. Creates all required directories and files, and installs a crondtab to do the following:

  • Create a tarball (archive) of your logs once/week, and save it in your root directory for easy FTP’ing. Helpful to have if something ever goes wrong with your Tivo, or you just want to explore your logs for well-defined time periods.

  • Wipe your logs once/week (after archiving them) to keep them from getting to big and hindering performance. Also wipes the tarball archive above.

  • Run fakecall every night at 3am.

  • Reboot your Tivo twice/week at 3am. This cleans things out for better performance if you have several hacks running. Also restarts logs, and allows fakecall to reset the last successful call indicator, so your Tivo won't call home (fakecall doesn't update mfs entries without a reboot). This allows you to keep your phone line connected for PPV ordering or CallerID.

6. Searches for and removes MRV/HMO expiration certificates from MFS. If you are using multi-room viewing on a DirecTivo, it's possible you'll receive expiration certificates, which will stop MRV/HMO from working 180 days after your latest Tivo software download occurred.

7. Makes a Backup of Your Season Passes and Wishlists. This is extremely useful if your drive ever fails, or you have to rehack your Tivo, upgrade to a new software version, or buy a new Tivo. Many thanks to agw who wrote the core tcl script that makes this feature possible.

8. Appends Your Crontab to Make a Weekly Backup of Your Season Passes and Wishlists. I always forget to make manual backups in TWP, and when I clobber one of my Tivos, I’m always restoring an outdated backup. This feature uses cron to make weekly backups and store them in /seasonpass-backups/<date>backup. Be sure to frequently FTP the backups to your PC for safe keeping.

9. Adds or Removes Showcases and Yellow Stars. If your Tivo is hacked, you most likely don’t get Showcases and Yellow Stars anymore.

10. Updates the Profile to Easily Edit the Crontab. I added an alias to the .profile called “root” that opens up the crondtab (var/spool/cron/crontabs/root) in vi. Just type “root” from bash to edit this file.

11. Installs NCID CallerID Application. Both the client and server are installed on your Tivo. Also, you can manually configure it to run the server on one Tivo and have it communicate with multiple Tivo clients. Other options can be tweaked to your taste. See the NCID website for details. The on-screen display program used by NCID does not work for Series 2.5 Tivos, so this feature gets skipped.

12. Installs Jamie's USB 2.0 Drivers. Also modifies your usb.map to support backported drivers. There's always a chance that replacing drivers will kill your connection, so be prepared to break out the serial cable or pull the drive.

13. Confirms network settings are appropriate for MRV. Checks to see if your IP parameters are permanently set in MFS, and if not, will set them for you if you choose. This is required for MRV to work properly.

14. Installs "netperf" to measure network performance between multiple Tivos. Actually, it just configures netperf paramters in a series of aliases that let you easily test MRV speeds by typing a single word a the bash prompt.

15. Installs EndPad (Plus).
Many thanks to Sanderton and Falcontx for their permission to use this fantastic tool. If you like EndPad (or even if you don’t), please consider making a donation to Cancer Research though this link, posted by Stuart Anderton, the author of EndPad.

16. Installs the joe Text Editor. For all who have cursed vi at one time or another, this is for you. It’s a bit more human friendly than vi.

17. Customizes Your Bash Prompt. This adds a descriptor to your bash prompt, which can be especially useful if you have multiple Tivos. There’s also an option to add the “TiVo colors” to the bash prompt. Here's what it looks like:

18. Keeps Your Hacks Out of /var.
The /var partition is the equivalent of a Windows recycle bin, and occasionally your Tivo will decide to wipe everything in there. The problem is that many hacks are hardcoded to use /var, and will not work if stored anywhere else. All such hacks installed by the enhancements script are stored in /enhancements/varhacks. The script creates symlinks in /var that point to the corresponding hacks in /enhancments/varhacks. It also appends the author file with commands to recreate the symlinks if /var ever gets wiped. If you want to move other hacks out of var, copy them to /enhancements/varhacks, and then run the script called var-symlinks.sh.

19. Adds an option to customize Tivo menus using TivoWare’s TuikHelper and Superpatch67Standby scripts. Options include adding/removing Standby and Music & Photos menu items.

20. Includes the following miscellaneous tools:
  • folders.tcl – folder manipulation tool.
  • deleteshows.tcl – delete orphan shows, searches by show name.
  • deleteepisodes – delete orphan shows, searches by episode name.
  • clock.sh – continuously displays the time in upper right corner of screen.
  • key_backup.tcl - backs your DiskConfiguration key to a file called /enhancements/diskconfig.bak
  • key_restore.tcl - restores the DiskConfiguration key from the backup script above
  • delmanual.tcl - converts all manual recordings to regular recordings, removing the word "Manual" from the list.
  • net-status.tcl - prints your current network settings
  • net-launch.tcl - sets/changes your network settings, and allows you to toggle safely between dhcp and static IP.
 

Attachments

See less See more
4
#1,328 ·
I have a quick question. I hope it has not already been discussed as I tried to search for the answer.

I recently purchased a modded DirecTiVo and I want to run this script. When I run it, I get the following message:
Original unpatched tivoapp found in /tvbin. This takes up lots of space and may interfere with running this script. Enter r to remove it, k to keep it or e to exit this script so you can FTP it to your PC.

What should I do here?

Thanks in advance!
 
#1,330 ·
Thanks, I did delete it after I made a copy to my PC. Thanks a lot!

New question..

The script did not detect that I have TWP installed (but it is installed) It is installed in \ptvupgrade\tivowebplus

I uninstalled the script and ran it again telling the script I did not already have tivowebplus installed and it did add it to the root. How do I know if I am running the customized version that is in the script or the original one?

I would also like to clean it up so I only have one copy on the HD. When I open tivewebplus, it looks just as it did before.

Thanks! BTW, that is a great script!
 
#1,336 ·
I installed and ran Zipper from a disc set built by a friend. Everything looks good but after hours of reading this and the Enhancement Script thread (and feeling my brain turn to jello) I find that some of the files referenced on the Tivo Zipper instruction page are newer than ones on my friend supplied disc. It appears that at least one of the newer functions is that new scripts are found and downloaded to my Tivo. Is the easiest way to gain any new functions to do the tweak_uninstall, run the newer Zipper on my drive and rerun tweak after doing so? Should I install the newer version of rbautch_files.tgz I have seen posted in this thread or just let the new Zipper install download it? If this has been previously covered I apologize as I didn't see it (that jello brain thing maybe). Thanks for making Tivo hacking a whole lot easier!
 
#1,338 ·
6stringbass said:
I installed and ran Zipper from a disc set built by a friend. Everything looks good but after hours of reading this and the Enhancement Script thread (and feeling my brain turn to jello) I find that some of the files referenced on the Tivo Zipper instruction page are newer than ones on my friend supplied disc. It appears that at least one of the newer functions is that new scripts are found and downloaded to my Tivo. Is the easiest way to gain any new functions to do the tweak_uninstall, run the newer Zipper on my drive and rerun tweak after doing so? Should I install the newer version of rbautch_files.tgz I have seen posted in this thread or just let the new Zipper install download it? If this has been previously covered I apologize as I didn't see it (that jello brain thing maybe). Thanks for making Tivo hacking a whole lot easier!
Run the uninstall script, and then run tweak.sh again. All new hacks will be downloaded automatically.
 
#1,339 ·
Entcee said:
Thanks NoCheese.

I was able to turn off the old TWP and uninstalled then reinstalled the script and now I have the customized version of TWP.

One problem though.... Hackman in no longer an option on TWP. How do I get it installed?
Dowload it from the Hackman thread here on TCF. Read about before you install it.
 
#1,343 ·
To clarify, it's still included in the enhancement script but not the Zipper. The enhacement script looks to see if you just ran the Zipper, and if so, deletes hackman. Experienced users can simply uninstall and reinstall the enhancement script to get hackman back. Inexperienced users can do the same if they want to upset me. ;)
 
#1,344 ·
I hope someone can help me out...I have tried to search the forums for an answer but no luck. I upgraded my samsumg 4040 using a new 200gb WD drive and instantcake. After a few weeks I used the enhancement script. Everything works fine except the system periodically freezes but never while watching tv. It seems to freeze in the middle of the night. The system will be totally unresponsive including the remote. I have to pull the plug to reboot. Should I check the logs for errors..If so which ones? I read an earlier post and you recommended shutting processes one at a time. By processes do you mean the hacks I have running? I know this may be an indicater that the drive is bad...if so in which log would I see any disk errors? The problem started after I used the enhancements script so my first thought is that it is not the drive. Any help would be greatly appreciated.
 
#1,345 ·
Can you use telnet from a box running linux so as to avoid the crlf issues of XP?

From a Linux environment I would think ftp and file editing with something as simple as 'kwrite' might be less dangerous than from XP as well.

Would file permissions be maintained or would you suggest chmod 777 on a file like the author, just to be safe from hosing your port 21 and 23 connectivity.

Any thoughts from other dual booters out there with more than my novice linux capability is appreciated.
 
#1,347 ·
alert5 said:
Can you use telnet from a box running linux so as to avoid the crlf issues of XP?

From a Linux environment I would think ftp and file editing with something as simple as 'kwrite' might be less dangerous than from XP as well.

Would file permissions be maintained or would you suggest chmod 777 on a file like the author, just to be safe from hosing your port 21 and 23 connectivity.

Any thoughts from other dual booters out there with more than my novice linux capability is appreciated.
I use teraterm pro under XP and have no cr-lf issue. Its free.
 
#1,348 ·
Thanks for the comments. The bigger issue that tends to bite the novice (me) is not crlf, but forgetting to reset file permissions or something else equally stupid. I don't want to do that again.

Oh yes, and would the linux environment avoid the necessity for dos2unix on stuff you ftp.

I don't know, but as a test I'm about to update both rbautch.tgz and tweak.sh on one of my zippered machines. I'll also edit the author file while I'm at it just to get used to using linux telnet, ftp and an editor in that environment.

I'm using a fully installed Mandriva 2006 (3 CDs) as the OS.

Learn by doing and learn from one's mistakes is my attitude.
 
#1,351 ·
My var file seems to have been wiped. I can still Telnet to the tivo but cannot access via FTP or TWP. Any idea if this can be fixed without pulling the hard drive?

This is an HR10-250 that was hacked using the hacking guide from the yahoo group before the zipper was available. I have subsequently used several versions of the enhancement script on this unit. Never had the FTP access go down before.

I also have a standard definition TiVo that had the var file wiped but I was still able to FTP to it, so I just reinstalled the enhancement script and all is well with that unit.
 
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top