1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Enhance Your Hacked Tivo With This Script

Discussion in 'TiVo Underground' started by rbautch, Jul 21, 2005.

  1. bhang

    bhang New Member

    25
    0
    Oct 26, 2005
    I used the sapper disk I got made today on my sa2, and it seemed to work fine but when I go to my.tivo.ip(192.168.1.104) I get the "you just installed networking, blahblahblah" I changed the port in tivoweb.cfg to 8080, when I go to my.tivo.ip/:8080 I get "resource not found"

    I tried twprs, it said it was restarting but I didnt see the usual stuff that shows up on the screen when its loading.

    I tried loading with "twp" but I get another http server found, exiting to stop reboot loop, or sumthing like that

    I used "ps ax" but I don't see tivoweb listed

    it seems like everything else is working, I just read a thread about "adding logos" killing TWP? is this my prob? can I fix it without re SAppering?

    telnet, ftp work fine

    thanks

    bhang

    edit:

    tried twprs, still "resource not found"
    tried starting tivoweb via /TivoWebPlus/tivoweb console
    Code:
    Warning: An http server was already running
    -<SERIES_2>- {Wed Nov 28 -01:00am}-TiVo
    /# Starting TWP pid=1604
    TivoWebPlus - series_2 - v2.0.0 (2.0.0 (oztivo-070205))
    The program comes with ABSOLUTELY NO WARRANTY.
    This program is licensed under the GPL.
    See the 'docs/copyright' and 'docs/index.html' files
    for copyright and credit information.
    PoolSize=2916352
    Loading libs...
    btutils
    html
    http
    index
    rec
    sendkey
    ui
    util
    -running init_channelList--- completed in 0 seconds
    -running init_logoindex--- completed in 0 seconds
    -running init_sp_cache--- completed in 0 seconds
    rss_util
    Loading modules...
    -Registered backup
    -Registered channelgrid
    -Registered channelprefs
    -Registered confresManual
    -Registered folders
    -Registered gallery
    -Registered gdchecker
    -Registered higuide
    -Registered info
    -Registered logos
    -Registered logs
    -Registered mail
    -Registered manrec
    -Registered mfs
    -Registered mrv
    -Registered netconfig
    -Registered reorder
    -Registered rowformat
    -Registered rss
    -Registered sysadmin
    -Registered theme
    -Registered channellist
    -Registered deletedshows
    -Registered history
    -Registered nowshowing
    -Registered search
    -Registered seasonpass
    -Registered wishlists
    -Registered todo
    -Registered todo/1
    -Registered todo/2
    -Registered update
    -Registered whatson
    couldn't open socket: address already in use
    while executing
    "socket -server ::session $::conf(Port)"
    invoked from within
    "set ::sock [socket -server ::session $::conf(Port)]"
    (file "/TivoWebPlus/load.tcl" line 582)
    invoked from within
    "source $source_dir/load.tcl"
    (procedure "load" line 4)
    invoked from within
    "load 0"
    (file "/TivoWebPlus/httpd-tt.tcl" line 31)
    Warning: An http server was already running
    Starting TWP pid=1621
    TivoWebPlus - series_2 - v2.0.0 (2.0.0 (oztivo-070205))
    The program comes with ABSOLUTELY NO WARRANTY.
    This program is licensed under the GPL.
    See the 'docs/copyright' and 'docs/index.html' files
    for copyright and credit information.
    PoolSize=2916352
    Loading libs...
    btutils
    html
    http
    index
    rec
    sendkey
    ui
    util
    -running init_channelList--- completed in 0 seconds
    -running init_logoindex--- completed in 0 seconds
    -running init_sp_cache--- completed in 0 seconds
    rss_util
    Loading modules...
    -Registered backup
    -Registered channelgrid
    -Registered channelprefs
    -Registered confresManual
    -Registered folders
    -Registered gallery
    -Registered gdchecker
    -Registered higuide
    -Registered info
    -Registered logos
    -Registered logs
    -Registered mail
    -Registered manrec
    -Registered mfs
    -Registered mrv
    -Registered netconfig
    -Registered reorder
    -Registered rowformat
    -Registered rss
    -Registered sysadmin
    -Registered theme
    -Registered channellist
    -Registered deletedshows
    -Registered history
    -Registered nowshowing
    -Registered search
    -Registered seasonpass
    -Registered wishlists
    -Registered todo
    -Registered todo/1
    -Registered todo/2
    -Registered update
    -Registered whatson
    couldn't open socket: address already in use
    while executing
    "socket -server ::session $::conf(Port)"
    invoked from within
    "set ::sock [socket -server ::session $::conf(Port)]"
    (file "/TivoWebPlus/load.tcl" line 582)
    invoked from within
    "source $source_dir/load.tcl"
    (procedure "load" line 4)
    invoked from within
    "load 0"
    (file "/TivoWebPlus/httpd-tt.tcl" line 31)
    Warning: An http server was already running
    Error: The last session did not complete successfully
           Exiting to prevent possible reboot loop
    did ps -ef | grep tivoweb
    Code:
    root      1570     1  0 00:59 ttyp0    S      0:00 /bin/bash /TivoWebPlus/tivoweb restart
    root      1641   592  0 01:01 ttyp0    S+     0:00 grep tivoweb
    so it seems to be running but I cant connect, Im wondering if its theme related? I dunno I'm grabbing at straws, Ive read thru alot of this post but Ill keep looking, searches have gotten me nowhere...

    edit:
    I just did the tweak uninstall then ran tweak.sh again but said no to installing logos, so of course I dont have any chan logos :( and I changed the twp http port to 8080(since the tivo uses 80 for the "you installed networking, blahblah) and I still get the resource not found error...

    what am I doing wrong, Im trying to read the whole 88 pages but Im not finding much on this problem, which leads me to believe its user error on my end.... ANYBODY?

    Ok I reran tweak.sh to get my logos back, I then changed my tivoweb port to 8080 in all 3 copies of tivoweb.cfg but I still get "resource not found", I've tried everything I can think of, Im no linux guru but Im not a total noob either, maybe I should start my own thread, on this...ATM, I need an advil and a power-nap, Ive spent ~3 hours today and maybe 2 yesterday, I want to try re installing, but after the script im not sure about where to put it or the symlink thing, so I gotta read up before I try that...
     
  2. bhang

    bhang New Member

    25
    0
    Oct 26, 2005
    All I can get is resource not found, my question is can I just use the "normal" install instructions for tivowebplus? I'm looking to try the 2.1 beta

    thanks for anyhelp anybody has,

    bhang
     
  3. paris5

    paris5 New Member

    9
    0
    Mar 7, 2007
    Sure, you can install TWP anyway you want. The enhancement script just copies TWP to your root directory and puts a line in the author file to start it when your tivo boots. Try connecting to TWP from a different PC, and confirm you don't have any firewalls on your PC blocking access. If you still have trouble, try posting in the TWP thread.
     
  4. bhang

    bhang New Member

    25
    0
    Oct 26, 2005
    ok, so I have twp installed and its running I just cant connect, I can however connect to another sa1 tivo on my network, if I install twp again, I will have to re run the tweak.sh to get it moved to the new location, correct me if im wrong but this is how i understand it..

    ok, so im headed to the twp thread with this problem, but on the 3rd rerunning of tweak.sh I got another problem it didnt happen on the first 3 installs, but when I telnet in I get this before the first prompt then I dont see it again till I re open a telnet session...***FIXED 9:25pm est***

    Code:
    declare -x DEBUG_BOARD="false"
    declare -x DEBUG_INTERFACE_NAME="none"
    declare -x EMERGENCY_REINSTALL="0"
    declare -x HDA_ID="F1GT7W8E"
    declare -x HDB_ID="S01CJ10Y913033"
    declare -x HOME="/"
    declare -x HOSTNAME="(none)"
    declare -x HOSTTYPE="i686"
    declare -x IrdSerialNumber="538269F6"
    declare -x LD_LIBRARY_PATH="/lib"
    declare -x MACHTYPE="i686-pc-linux-gnu"
    declare -x MFS_DEVICE="/dev/hda10"
    declare -x MODEM_DEVICE="/dev/cua1"
    declare -x MODEM_REV="F"
    declare -x MODEM_TYPE="Si2433"
    declare -x OSTYPE="linux-gnu"
    declare -x PATH="./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/busybox:/enhancements"
    declare -x PROMVERSION="
    
    TiVo p0 version 1.18"
    declare -x PWD="/var/tmp"
    declare -x SHELL="/bin/sh"
    declare -x SHLVL="3"
    declare -x SerialNumber="2400000808269F6"
    declare -x SwSystem="9.1.L5-01-2"
    declare -x TERM="xterm"
    declare -x TIVO_REMOTE="TIVO"
    declare -x TIVO_ROOT=""
    declare -x TV_STD="NTSC"
    declare -x dsscon="true"
    declare -x hpk_implementation="Series2"
    declare -x internal_drive="hda hdb"
    declare -x primary_drive="hda"
    declare -x root="/dev/hda7"
    declare -x upgradesoftware="false"
    declare -x varpartition="/dev/hda9"
    what the heck is it and why is it happening this time and not the others?
    **FIXED** I dont know what or why but re tweaking seemes to have fixed it, the resource not found & time difference still screwed up.

    sorry to keep asking such dumb questions, but there ain;t to many tivo resources around.

    bhang

    edit:
    this may be part of my problem, the time on my tivo(guide) is 5 hours different than the time my shell shows(on the same box) [ie its now 7.39eastern dalight savings, the shell says 00:39am UTC] I ttried setting the shell date and TZ, but that throws the tivo time off..?
     
  5. Dec 9, 2007 #2625 of 2880
    Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    Russ,

    Does the latest version also have patches for 6.2a? I've got a couple old DTIVOs on 4.01b that I'm going to redo with 6.2a and was wondering if I'd have to apply all these patches or if your latest version has all them for 6.2a as well.
     
  6. Dec 9, 2007 #2626 of 2880
    HellFish

    HellFish I can dress myself.

    217
    0
    Jan 28, 2007
    The zipper instructions advise you to download a specific superpatch if you have 6.2a. I believe you need to download the file from stonersmurf's post.
     
  7. Dec 9, 2007 #2627 of 2880
    Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    Yeah, that was included when I created the Zipper tools CD. I was just wondering whether the additional patches referenced above were included with Russ's tweak.sh script.
     
  8. Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    Well, here we go again, dang it!

    I imaged a new drive with 6.2a, Zippered it, then found out that rbautch's tweak doesn't have the encryption and 30-second skip patches, so I applied those manually. So I reboot, and what happens? It hangs again at the TIVO unleashed splash screen!

    Just what the heck is causing this, and why does this keep happening? It's irritating to say the least. Now I've got to take the darn box apart again! :mad:
     
  9. HellFish

    HellFish I can dress myself.

    217
    0
    Jan 28, 2007
    At the end of October, I used the Zipper v4.1 with the superpatch specially designed for 6.2a by stonersmurf I referenced yesterday, and it work flawlessly.

    The superpatch has all those patches, so if you are using the Zipper, the tweak script does not need to have it. It calls the superpatch.

    edit: obviously this is for a dtivo using 6.2a
     
  10. Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    Well, apparently it's not using Superpatch properly, because after I Zipper the drive and run tweak.sh, which is part of the whole process of imaging with 6.2a then Zippering the drive, the 30-second skip function, among other patches, aren't working. This is where I'm rather puzzled. If Zipper is supposed to include and run superpatch, why don't the superpatches actually work? :confused:
     
  11. HellFish

    HellFish I can dress myself.

    217
    0
    Jan 28, 2007
    It doesn't natively include any superpatch, you have to download the correct one. To make things easier for you, don't even download superpatch-67all-1.2 (We're playing tag) :)

    edit: on the zipper page it has a photo of what you're folder should look like before burning to CD. instead of having Superpatch v1.5, you should have superpatch-6.2a.tcl in the folder. DO NOT have any other version of superpatch in the folder.
     
  12. Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    I think I've got it figured out. Check my question re. set_mrv_name, though. Now here's another question: if I wish to use bufferhack41.tcl, should I do that after all the superpatch stuff?
     
  13. HellFish

    HellFish I can dress myself.

    217
    0
    Jan 28, 2007
    Yes, install bufferhack after you get this working. Except use the version in my signature, not the regular bufferhack41.tcl. And make sure you read my edit above.
     
  14. Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    Well, I know I do it after Zipper; I just wanted to know if I do it before superpatch62a or after superpatch62a is run.
     
  15. HellFish

    HellFish I can dress myself.

    217
    0
    Jan 28, 2007
    Do tweak.sh (which will run superpatch62a) as soon as you turn on the tivo after Zippering it.

    I don't even know if the superpatch will work if you do bufferhack first (I think superpatch needs to be run on a clean tivoapp, and bufferhack modifies the tivoapp file).
     
  16. Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    That's what I did before: I Zippered, then ran tweak.sh, but noticed the patches weren't present, so I manually applied them, which is what led to the booting up hanging at the splash screen.
     
  17. rbautch

    rbautch User

    3,629
    0
    Feb 5, 2004
    Chicago, IL
    Instead of manually applying patches, which is prone to error, try manually running superpatch.
     
  18. Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    Russ, I think I did it right now. (This would be much easier if I didn't do these things like once every few months--I get stale doing that!)

    I Zippered, ran tweak, then after rebooting the unit, I ran superpatch.tcl. After that, I THEN ran bufferhack and rebooted. Everything now seems OK. (Crossing my fingers...)

    One thing I do notice, however, is that superpatch created a tivoapp backup called "tivoapp.original" then bufferhack created its own tivoapp backup called "tivoapp.bufferhack.backup". Is it safe to delete via the "rm" command one of those backups? Basically I want to make sure if I do delete one, upon reboot the thing doesn't get stuck again at the splash screen.
     
  19. CrashHD

    CrashHD I am the me.

    757
    0
    Nov 10, 2006
    MO, USA
    you can delete them, after rebooting. If you delete them without a reboot between the time they're created and the time you delete them, it results in orphaned inodes, and you loose that much usable drive space from your root partition.

    The short explanation is that when tivoapp.original or tivoapp.bufferhack.backup are created, they are still the in-use tivoapp until the system is rebooted, and deleting an in-use file is what causes that problem.

    What you do with those backup files is a matter of personal preference. I gzip my tivoapp.original, and delete the bufferhack backup.
     
  20. Lord Vader

    Lord Vader Dark Lord ofthe Sith

    1,087
    0
    Aug 29, 2004
    The...
    That was probably my problem from the beginning. Dummy me should have remembered that.
     

Share This Page