PDA

View Full Version : Hughes Directivo hack with image questions?


Cassius
07-19-2003, 04:26 PM
Ok, I've been reading threads on a couple of different sites now, and I have learned a lot. But I still have some questions.

I have downloaded hdvr2-31U5.mfs and I have the mfstools2.iso.

2) So is all I have to do is boot from the CD, and then restore that image file to a new hard drive, and then it would work?

3) The image is supposed to have ftp, telnet, tivoweb, and usb support, so does that mean that I do not need a serial cable? I do have a usb ethernet adapter that should be supported.

4) Assuming the USB ehternet is working, is there a way to use DHCP? I'm not sure if it even matters, but I know my router is setup to use DHCP.

5) Also from what I've read I need to make a backup of my original drive, and then use that backup to restore the background movies for the menu system. Is this still true, or can I get a newer image file that has the background movies?

Thanks for any help you can give.

mrblack51
07-19-2003, 08:18 PM
1) thats not a question

2) yes, you should be able to restore it and it should work (otherwise, what would be the point). if you are asking about any extra necessary steps, well, you need to do a clear and delete everything to get rid of the inevitable error 51 message.

3) that image (unless it notes otherwise) is just a straight backup of a 3.1.u5 drive. therefore, while the hacks you mentioned can be applied to it, that image doesnt have them pre-installed.

4) not currently. realistically, you dont want dhcp for the tivo, because you want to know what its ip address is so you can connect to tivoweb, telnet, etc.

CJPC
07-19-2003, 08:57 PM
Cassius, the image your talkin about is the "u5-151-hacked.mfs", but im not totally sure if it works! mr black and some others just helped me get mine goin again, but w/ the hdvr2-31U5.mfs , now only if i can get the codes for my remote!

Cassius
07-19-2003, 09:36 PM
CJPC, what comes with that image file hdvr2-31U5.mfs?

And can I add the image file to the iso for mfstools2, and then be able to use my PC, which has ntfs hard drive?

CJPC
07-19-2003, 09:43 PM
Well the "hdvr2-31U5.mfs" comes with no hacks, gotsa do em all yourself (good learning experience)

You COULD, but then how are you backin up your tivos hdd?

Cassius
07-19-2003, 09:45 PM
I was just going to use a new hard drive and then save the old drive as the backup.

Oh, btw I found that img you mentioned. Do you know what comes with that one?

CJPC
07-19-2003, 10:14 PM
ok! thats the best idea

lemme see....


It already is hacked for BASH out the serial, and has USB enabled, as well as Telnet, FTP, and TivoWeb.

There ya go!

Cassius
07-19-2003, 10:23 PM
Ok, so this must be the one that I thought I had originally.

So when I boot from the cd that contains the image, then I use:

mfsrestore -s 127 -xzpi /mnt/cdrom/u5-151-hacked.mfs /dev/hdc

and it should put that image on my drive. Once it is on there, will I be able to access the drive from my pc, so that I can edit files if I need to?

Because I think I need to edit something using this command:

bootpage -P "root=/dev/hda7 BASH_ENV=\`mount\$IFS-n\$IFS/dev/hdaXX\$IFS/mnt;echo\$IFS/mnt/hacks\`" -C /dev/hdc

where hdaXX=the last partition from pressing SHIFT-PAGE UP

I did find a thread that is for this image, and it says it is for the linksys 200M usb ethernet adapter. I have a SMC 202 adapter, do you know if these are compatible, or will i have to edit files in order for my adapter to work?

Thanks again for your help.

CJPC
07-19-2003, 10:37 PM
Slow down!!!!

Dont edit ANY files yet till you are up and runnin, then we can do it w/ bash (helps lower errors, if you screw up, it could put it into a "endless loop of probs")

So

Just do it step by step using the guide, and im pretty sure that you need another command in the "mfsrestore", as the imaged hdd that was used for the "u5-151-hacked.mfs" was bigger than the default one!

Cassius
07-19-2003, 10:45 PM
Well here are the steps I have so far that I think I need to do based on what I've read:

mount /dev/hdb /cdrom
use hda for primary master, hdb for primary slave, hdc for secondary master, hdd for secondary slave.


mfsrestore -s 127 -xzpi /mnt/cdrom/u5-151-hacked.mfs /dev/hdc


Press and hold SHIFT and use the "Page Up" key to scroll back through the kernel boot messages, looking for the "Partition Check" where it will list all the partitions found on /dev/hdc. Make a note of the LAST hdcXX, with blank line after the name. Also, The line above the blank one we want should list a partition type called "Apple_Free", YOU WILL BE USING THE BLANK PARTITION FOR THE ROMFS STEPS BELOW! Mine was 16, which may not be one used on your drive, but NO MATTER WHAT, THE NUMBER WILL BE OVER 10! If for some stange reason it is not, DO NOT PROCEED!

bootpage -P "root=/dev/hda7 BASH_ENV=\`mount\$IFS-n\$IFS/dev/hdaXX\$IFS/mnt;echo\$IFS/mnt/hacks\`" -C /dev/hdc

(Note: The blue XX should be replaced with the blank partition number determined earlier)

CJPC
07-19-2003, 11:15 PM
Yes!

But somewhere in there, i believe when you do the

mfsrestore -s 127 -xzpi /mnt/cdrom/u5-151-hacked.mfs /dev/hdc

you need to add a flag that says that the hdd was bigger and now its gonna be smaller...not totally 100% sure tho!

mrblack51
07-19-2003, 11:48 PM
the 'x' in '-xzpi' means expand the drive image to the full possible size

Cassius
07-19-2003, 11:54 PM
Ok, so does that mean that what I have is correct then?

Cassius
07-20-2003, 02:46 AM
CJPC, you are right. I tried to put the image on, and it gives me an error saying the hard drive is to small. I guess I need to find the right syntax.

pyrodex
07-20-2003, 10:56 AM
Originally posted by mrblack51
4) not currently. realistically, you dont want dhcp for the tivo, because you want to know what its ip address is so you can connect to tivoweb, telnet, etc.

He could use "static" dhcp if he wanted.... just have a dhcp server on your network and assign the ip based on the mac address. That way the tivo gets the same ip address over and over again. I use this on my network at home since two of the 7 machines will be moved between to internet connections and dhcp "staticly" assigned was the best choice.

CJPC
07-20-2003, 01:50 PM
Yeah, it was ummm...think it was a 120 giger that was used for the img...gonna look around

mrblack51
07-20-2003, 02:06 PM
Originally posted by pyrodex
He could use "static" dhcp if he wanted.... just have a dhcp server on your network and assign the ip based on the mac address. That way the tivo gets the same ip address over and over again. I use this on my network at home since two of the 7 machines will be moved between to internet connections and dhcp "staticly" assigned was the best choice.

true, i have been aware of that...however, based on the effort needed to get it going on the hdvr2, static dhcp is a much bigger pain for the newbie than just giving it an ip address.

Cassius
07-20-2003, 02:13 PM
So by setting it statically it will still work with my router right?

I read that the image I have came from a 120gig drive, so can I get it to work on a 40gig? If not, is there a hacked 40gig image somewhere? Thanks.

CJPC
07-20-2003, 02:14 PM
You can, theres a flag for mfsrestore, but im not sure what it is

pyrodex
07-20-2003, 03:53 PM
Originally posted by Cassius
So by setting it statically it will still work with my router right?

I read that the image I have came from a 120gig drive, so can I get it to work on a 40gig? If not, is there a hacked 40gig image somewhere? Thanks.

If your router supports MAC address based DHCP handing out then yes. You would need the mac address from the Tivo's network device. Usually sometimes there is a sticker on them and the mac address is a 12 character/digit format.

Cassius
07-20-2003, 04:10 PM
Ok I think I know what you mean. You are saying that in my router config I have to tell it to reserve an IP address for the mac address of the ethernet adapter. I have a Dlink 614+ and I'm not seeing this, I'll have to look around some more to find it.

mrblack51
07-20-2003, 06:33 PM
Originally posted by Cassius
Ok I think I know what you mean. You are saying that in my router config I have to tell it to reserve an IP address for the mac address of the ethernet adapter. I have a Dlink 614+ and I'm not seeing this, I'll have to look around some more to find it.

not so fast. remember, you have to have dhcp set up on the tivo for this to work. if you want to go through the steps to reserve the ip and then configure the tivo manually, then go for it. but messing with your router will not give the tivo dhcp ability

Cassius
07-20-2003, 07:05 PM
I dont' care if it uses DHCP. I just want to make sure that setting a static IP on the tivo will be compatible with my router, which is a DHCP server for all the other stuff connected to it.

I'm just trying to figure out all the steps before I get started. I still haven't figured out the problem with the image. The other image I have people have been saying it doesn't have the background movies for the menus.

mrblack51
07-20-2003, 07:33 PM
there should be a lower and upper limit of what addresses your dhcp based router will alot. just pick an address above or below those limits. (but between 1 and 255). you can pick any address within the 1-255 range that you want as long as it doesnt conflict, but if you can reserve an ip via the router's "static DHCP" deal or by setting the limits properly, its a good idea. dhcp is never truely required, but many companies will not support you unless you are using their dchp setup.

Cassius
07-20-2003, 07:37 PM
Ok, that makes sense. mrblack51 in the thread you made about hacking the dtivo you said that you used an image. Is this the image you used: hdvr2-31U5.mfs 68.0MB? Because if I can't get a hacked image to work, then I'll have to use that I think because my tivo version is 3.1.0-01-2-151.

I have read that that image is missing the backgrounds for the menus, but maybe you can tell me where to get a good fully working image.

CJPC
07-20-2003, 07:51 PM
Look!

hdvr2-31U5.mfs - default, no backgrounds on menus

The hacked img works, but you need a certian flag to get it to run (cuz it was imaged on a 120gb hdd)

Cassius
07-20-2003, 08:07 PM
I haven't been able to find that flag, so I wanted to get ready to do it the hard way.

CJPC
07-20-2003, 08:10 PM
Ahhh... well if mr black is around, he might know!

Cassius
07-20-2003, 08:28 PM
I just booted off the cd and I typed in mfsrestore /? and it told me all the flags. One that seemed interesting was -X scale. It said Expand the backup with block size scale. But when ever I tried to use it, it would say unknown command --X.

CJPC
07-20-2003, 08:30 PM
Well, how big is the hdd your gonna be using? you need a downgrade type of thing (make smaller)


Edit

Mighta found somethin:

Some of you have already found it and had problems with it working once you installed it. The reason for this is I created the image on a large (120GB) drive, so the partition layout will be different if you're installing it on a smaller drive. All you need to do is run bootpage with the appropriate parameters for your drive. (My free partition was hda16, yours may be hda12..etc..)

Cassius
07-20-2003, 08:32 PM
Its 40 gig. So I figured the scale would be 1/3. But that didn't work either did .3333 or even just 2. Any time I put the -X in it would give the error. Is there a chat room or some place I could go to request an image that I can use, or maybe find someone that knows how to scale it?

CJPC
07-20-2003, 08:40 PM
Check the flags on bootpage... i believe there in there

Cassius
07-20-2003, 08:50 PM
So you think there is a bootpage command that I run on the image file to resize it?

CJPC
07-20-2003, 09:14 PM
I think that there is, just check the flags!

Cassius
07-20-2003, 09:32 PM
I did check before I posted last :). I didn't see anything that made any sense.

I did just try mfsrestore again, but this time I left out the -s 127 and it actually was doing the restore, but then it gets to what must be 99.99% complete and it gives this error:

Restore Failed: Decompression error.0.00% (1245% compression)

CJPC what image did you use when you did this?

CJPC
07-20-2003, 09:34 PM
I used the NON hacked image, then hacked it up!

Cassius
07-20-2003, 09:35 PM
So you have the same non hacked that I have? If so did it have the background for the menus?

CJPC
07-20-2003, 09:36 PM
I do, and it doesnt have the background images

Cassius
07-20-2003, 09:37 PM
So is it usable still like that, or is it really bad?

CJPC
07-20-2003, 09:39 PM
Its usable fine, unless the tv show / movie is like white or a bright color

Cassius
07-20-2003, 09:41 PM
Ok, so are the menus that are missing the background the ones that you get to when you press the Direct TV button, and the list button? Because in that case I think it would be kind of nice to be able to see the tv still while in those menus anyway.

CJPC
07-20-2003, 09:43 PM
yep, its gone in all the menus , the guide, list, any "menu" function

But it is nice, if you dont wanna miss anythin!

Cassius
07-20-2003, 09:47 PM
Well I guess I'll have to do it the hard way. Will I be able to use vi, or another editor, so that I can edit the hackinit file to include the usb stuff?

CJPC
07-20-2003, 09:53 PM
nope, none of it on bash! (can be installed)

also no dir/ls w/o a hack


To enable vi :

http://www.dealdatabase.com/forum/showthread.php?s=&threadid=24797

Cassius
07-20-2003, 10:01 PM
I have no clue whast going on in that thread :). Where can I download the files they are refering to? And can I install them through bash after I get the tivo working?

CJPC
07-20-2003, 10:06 PM
Sorry, wrong thread

Here it is:

http://www.dealdatabase.com/forum/showthread.php?s=&postid=14737#post14737

Cassius
07-20-2003, 11:30 PM
Ok, I tried to put the stuff on. I did get the image on the drive, and I tried to follow the directions from a post ingineer made on tivocommunity.

Things that seemed wrong:

when I did ls /mnt/tivo there was nothing that showed up.

/var/hack didn't exist

there was no rc.sysinit file

Is this normal, or is something wrong?

CJPC
07-20-2003, 11:35 PM
Wait!

When did you do these??

And, you need to make /var/hack

and you need to

mount /dev/hdc /mnt/tivo (secondary master)

to get the ls /mnt/tivo

Cassius
07-21-2003, 12:13 AM
ok I created the /var/hack directories when they weren't there. The reasone I needed them was because I was trying to install vi. But the zip file didn't have the files the same as how the instructions said, so I just stopped with that.

I was able to do ls on /mnt/tivo, but nothing was in it. The instructions said there should be log files or something.

So I hope the ehternet works, so I can install some hacks.

Cassius
07-21-2003, 05:09 AM
Well I got it working. At least I have telnet access to the tivo through the usb ethernet.

One problem is that my local channels are gone now. Do you know what I have to do to get them back?

So I guess I also need to figure out how to get tivoweb working, and a program that will let me download the shows that I record to my PC. Any help with that would be very appreciated.

UPDATE: Its so late I need to get to bed now. I got tivoweb working, but its very very slow. So is telnet. I am using a wireless bridge for my connection. Is there any way to optimize the speed?

mrblack51
07-21-2003, 09:53 AM
Originally posted by Cassius
UPDATE: Its so late I need to get to bed now. I got tivoweb working, but its very very slow. So is telnet. I am using a wireless bridge for my connection. Is there any way to optimize the speed?

its nearly impossible to troubleshoot multiple items at once. plug the tivo directly into your switch/router via ethernet, and see if you get full speed. also, hook up a regular pc to the bridge to ensure that it operates at full speed.

CJPC
07-21-2003, 10:46 AM
It took a few hours for my locals to come in, why, i dunno

ericchile
07-21-2003, 01:39 PM
Yea it took a while for my locals also? Some sort of update from the stream... Wonder why.

Don't know if this is Directv Hacking or not, but is there a way to show all the locals from your spotbeam like on older recievers?

Cassius
07-21-2003, 03:11 PM
Yeah my locals are here now today.

mrblack51, the speed when I hook it up to a PC and then ftp is kind of wierd also. It will transfer files at about 700KB/s, but when I'm browsing around a lot of the time it will just sit there and do nothing for a while. Its like it is loosing the connection or something. I'll mess with my settings to see if I can fix it.

CJPC
07-21-2003, 03:21 PM
Could be your FTP client, what are you using? I suggest Flash FXP

Cassius
07-21-2003, 03:24 PM
The speed seems fine today. I think that maybe it was because the Tivo was downloading the channel info, and so it was slowing down the system.

CJPC, those vim instructions are telling me to move files that don't exist. So I'm not really sure how to install this.

Also could someone tell me the syntax for http_put, so I can get my hackinit file onto my PC so I can edit it. Thanks.

David Bought
07-21-2003, 03:45 PM
Originally posted by ericchile
Yea it took a while for my locals also? Some sort of update from the stream... Wonder why.

Every few minutes an INS42 comes down that tells your IRD to enable a particular set of locals if (effectively) the correct localbyte is set. Therefore it takes several hours, on the average, before this happens, if you have not triggered the transmission of this packet by activating a new card with locals.

Search for "5th generation locals explained" by aol6945 for more information. (That is definitely something you will not find on this board.)

Don't know if this is Directv Hacking or not, but is there a way to show all the locals from your spotbeam like on older recievers?

This falls into the mvchannels.tcl category, not the service theft category, and therefore may be openly discussed.

There is currently no public way to do this on software rev 3.1 and later.

CJPC
07-21-2003, 03:55 PM
Did you download that attachment?

Cassius
07-21-2003, 04:00 PM
Yeah.

Step 2 says upload lib*.so to /var/hack/lib, and there isn't any files that end in .so, there is a file that is .so.2. So I just renamed it.

Steps 7,8, and 9 make no sense.

I followed it, so I guess I'll reboot and see what happens.

CJPC
07-21-2003, 04:13 PM
Ok, i dont got it , im downloadin and editin w/ the vim software on windows (ehhh)

i just did a nice search, but it should work!

Cassius
07-21-2003, 04:15 PM
How do you download the files? I've been using http_get to put files on the tivo, but there has to be an easier way then that. Plus I don't know how to get them off.

CJPC
07-21-2003, 04:26 PM
Easy

Using my bash cable (till i go to bestbuy) and tera term pro

@ the terminal

sz filename (to get.) then file -> transfer -> zmodem ->receive

or to send

rz sz filename (to get.) then file -> transfer -> zmodem ->send

!

Cassius
07-21-2003, 04:31 PM
Ok, I don't have a serial cable, but I assume it should still work over ethernet.

I tried to install mfsstream, and it shows up in tivoweb, but when I click the show it just takes me to a This Page Cannot be displayed. What do I have to do to get it working?

Cassius
07-21-2003, 04:51 PM
$hit I messed up something. I downloaded the hackinit file to my pc and edited it. Then I sent it back, and now my ethernet isn't working anymore. All I did was add tvbin to my path statement. What did I do?

CJPC
07-21-2003, 05:02 PM
yeah

lemme guess


you used notepad/word/wordpad right?

Cassius
07-21-2003, 05:11 PM
Yeah, and I put the drive back in my PC and noticed all these ^M so I removed them all and put the drive back in my tivo, and still the ethernet doens't work. Here is my hackinit file let me know if you see anything wrong. I added in the kmem stuff, because I want to be able to download the epsidoes I record. But that stuff makes no sense to me, so it's probably in wrong:

#!/bin/bash
date>>/var/hack/hackinit.log
PATH=/var/hack/bin:/sbin:/bin:/tivobin:/tvbin:.

/bin/bash</dev/ttyS2&>/dev/ttyS2&

TIVO_ROOT=
MFS_DEVICE=/dev/hda10
IGNOREEOF=1000
export PATH TIVO_ROOT MFS_DEVICE IGNOREEOF

insmod /diag/usbcore.o
insmod /diag/usb-ohci.o
insmod /diag/pegasus.o
sleep 15
ifconfig eth0 192.168.0.25 broadcast 192.168.0.255 netmask 255.255.255.0
route add default gw 192.168.0.1 netmask 0.0.0.0 metric 1

echo usb loaded >> /var/hack/hackinit.log
tnlited 23 /bin/bash -login &
tivoftpd

mount -o remount,rw /

#replace rc.sysinit with modified copy
rm -rf /etc/rc.d/rc.sysinit
cp /var/hack/rc.sysinit /etc/rc.d/

./kmem 800b23b4 00001021


EDIT: I downloaded VIM for windows from www.vim.org will this software not add all the extra chars?

David Bought
07-21-2003, 08:55 PM
Originally posted by Cassius
EDIT: I downloaded VIM for windows from www.vim.org will this software not add all the extra chars?

:set ff=unix

Existing files should retain the same formatting; new files are probably going to be in dos format.