<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dellanave &#187; Projects</title>
	<atom:link href="http://www.dellanave.com/blog/category/projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dellanave.com/blog</link>
	<description></description>
	<lastBuildDate>Tue, 29 Nov 2011 02:45:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Add a Power Adapter to your Withings Scale</title>
		<link>http://www.dellanave.com/blog/2010/02/19/add-a-power-adapter-to-your-withings-scale/</link>
		<comments>http://www.dellanave.com/blog/2010/02/19/add-a-power-adapter-to-your-withings-scale/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 18:00:52 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Haxor]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=400</guid>
		<description><![CDATA[I recently picked up a Withings scale because I am tracking as much data as I possibly can while using the Perpetual Progress protocol.  It is neat and everything, but it has one massive design flaw.  It is a Wifi scale that uses AAA batteries. Suffice to say it chewed through a set of batteries [...]]]></description>
			<content:encoded><![CDATA[<p>I recently picked up a Withings scale because I am tracking as much data as I possibly can while using the <a href="http://www.adamtglass.com/biofeedback/">Perpetual Progress protocol</a>.  It is neat and everything, but it has one massive design flaw.  It is a Wifi scale that uses <strong>AAA batteries.</strong> Suffice to say it chewed through a set of batteries in 1 week.  There is no option to use a power adapter at all.  Horrible, horrible design decision.  Fortunately, it was pretty trivial to hack.</p>
<blockquote><p>UPDATE: A few hours after posting this I got an email from the CTO of Withings.  He checked out the debug logs, and determined that the batteries that shipped with the scale were defective (voltage logs at the bottom).  According to Withings, the batteries should last 6 months on a good set of alkaline batteries.</p>
<p>The prompt and thorough follow-up by the CTO just shows how well they&#8217;ve thought out this product.  I don&#8217;t want this to be a full review, just a quick hack post, but I have to say the product is <strong>exceptional</strong>.  All the setup and out-of-box stuff was fantastic.  The Withings scale is a great product.</p>
<p>Nonetheless, I am sticking with AC power.</p></blockquote>
<p>First thing you need is a <strong>power adapter </strong>or wall wart.  You&#8217;ll need something that outputs roughly 6 volts, and I&#8217;m just guessing on current requirements but 500mA should be more than enough.  I happened to have a Nokia phone charger laying around that was rated at 5.7V and 800mA.  Perfect.  If you don&#8217;t have things like that laying around, make a trip to Radio Shack and buy a 6V wall wart.</p>
<p>Next step was to determine the polarity and which of the battery contacts mattered.  The way these things work is that the metal tabs are just connect different ends of the batteries to each other in series.  So only 2 matter, the negative and the positive connected to the device.  They&#8217;re marked on this image:</p>
<p><img class="size-full wp-image-407 alignnone" title="IMG_0001.JPG (7 documents, 7 total pages)-1" src="http://www.dellanave.com/blog/wp-content/uploads/2010/02/IMG_0001.JPG-7-documents-7-total-pages-13.png" alt="IMG_0001.JPG (7 documents, 7 total pages)-1" width="306" height="296" /></p>
<p>Next up you&#8217;re going to strip the wires and determine the polarity of the wall wart.  I can&#8217;t think of any way to explain how to do this without using a voltmeter or at worst an LED.  Then again, if you don&#8217;t have a voltmeter around the house you probably aren&#8217;t trying to hack your Wifi scale to add a power adapter.</p>
<p><img class="aligncenter size-full wp-image-406" title="IMG_0003.JPG (7 documents, 7 total pages)" src="http://www.dellanave.com/blog/wp-content/uploads/2010/02/IMG_0003.JPG-7-documents-7-total-pages3.png" alt="IMG_0003.JPG (7 documents, 7 total pages)" width="538" height="318" /></p>
<p>I could have made this next part a lot more complicated, but I am a fan of getting things done, not coming up with impressive complex solutions.   All I did was strip the wires, insert them behind the batter tabs, and pop the batteries in.  This pushed the wires against the case so hard, that there is no way they are going anywhere.</p>
<p><img class="aligncenter size-full wp-image-405" title="IMG_0004.JPG (7 documents, 7 total pages)" src="http://www.dellanave.com/blog/wp-content/uploads/2010/02/IMG_0004.JPG-7-documents-7-total-pages3.png" alt="IMG_0004.JPG (7 documents, 7 total pages)" width="571" height="287" /></p>
<p>Since the batteries are there for no purpose but to hold the wires, and you&#8217;re leaving the middle 2 batteries out, they aren&#8217;t even part of the circuit.  I added a couple pieces of tape to keep everything in place, but they are very very snug anyway.</p>
<p><img class="aligncenter size-full wp-image-403" title="IMG_0006.JPG (7 documents, 7 total pages)" src="http://www.dellanave.com/blog/wp-content/uploads/2010/02/IMG_0006.JPG-7-documents-7-total-pages4.png" alt="IMG_0006.JPG (7 documents, 7 total pages)" width="327" height="330" /></p>
<p>Magic:</p>
<p><img class="aligncenter size-full wp-image-402" title="IMG_0008.JPG (7 documents, 7 total pages)" src="http://www.dellanave.com/blog/wp-content/uploads/2010/02/IMG_0008.JPG-7-documents-7-total-pages3.png" alt="IMG_0008.JPG (7 documents, 7 total pages)" width="443" height="343" /><br />
I would really hope that the rev 2 of this scale would have a jack for a power adapter.  Using batteries for something like this is inexcusable.</p>
<blockquote><p><span style="font-family: Arial; color: #0000ff; font-size: x-small;">[DBLIB] DBLIB_IE_PWR_DEBUG            : &#8220;6.49V (6.15V, 2.77Ohm)  97%&#8221;</span></p>
<p><span style="font-family: Arial; color: #0000ff; font-size: x-small;"><span><span style="font-family: Arial; color: #0000ff; font-size: x-small;">4 days after you packed out the scale</span></span></span></p>
<p><span style="font-family: Arial; color: #0000ff; font-size: x-small;"><span><span style="font-family: Arial; color: #0000ff; font-size: x-small;"><span><span style="font-family: Arial; color: #0000ff; font-size: x-small;">[DBLIB] DBLIB_IE_PWR_DEBUG            : &#8220;6.23V (5.78V, 3.89Ohm)  77%&#8221; </span></span></span></span></span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2010/02/19/add-a-power-adapter-to-your-withings-scale/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Homebrewing Beer</title>
		<link>http://www.dellanave.com/blog/2005/09/30/homebrewing-beer/</link>
		<comments>http://www.dellanave.com/blog/2005/09/30/homebrewing-beer/#comments</comments>
		<pubDate>Fri, 30 Sep 2005 20:47:45 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Homebrewing]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=324</guid>
		<description><![CDATA[Homebrewing Beer Last updated: 9.30.05 3:00 PM David Dellanave &#8211; ddn &#8211; http://www.dellanave.com/projects/ Update: The beer turned out excellent. It takes like a slightly less sweet, and more hoppy Newcastle. We&#8217;re going to tweak to get it closer to Newcastle. Check back for more adventures in homebrewing. I&#8217;ve had a bug up my ass to [...]]]></description>
			<content:encoded><![CDATA[<p><html><br />
<head></p>
<p><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><br />
</head></p>
<p><body></p>
<p align="center">
<font size="6" face="Arial, Helvetica, sans-serif"><strong>Homebrewing Beer</strong><br />
<font size="1"><strong>Last updated: 9.30.05 3:00 PM</strong></font></p>
<p><font size="0"><a href="mailto:david@dellanave.com">David Dellanave</a> &#8211; ddn &#8211; <a href="http://www.dellanave.com/projects/">http://www.dellanave.com/projects/</a></font></font>
</p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><b><i>Update: The beer turned out excellent.  It takes like a slightly less sweet, and more hoppy Newcastle.  We&#8217;re going to tweak to get it closer to Newcastle.  Check back for more adventures in homebrewing.</i></b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">I&#8217;ve had a bug up my ass to start brewing beer for a long time, and stopping at <a href="http://www.northernbrewer.com">Northern Brewer</a> for a CO2 refill was the catalyst I needed.  I picked up a catalog and looked at it every day for a week.  Then I bought all the equipment, and here we are.</p>
<p><b>The First Batch</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">This is my (our, my roommate Adam and I) first attempt, obviously.  We&#8217;re doing a Nut Brown Ale as both of us peg Newcastle as our favorite beer.  It&#8217;s a &#8220;dark&#8221; beer, but its light enough that most people who don&#8217;t like dark beer even enjoy it.  The chocolatey tones of Newcastle are excellent, and hopefully we will get some of that action.  Yes we look like tools in these pictures, we tried for that effect.  When we run a brewery we&#8217;ll be laughing at you, don&#8217;t worry.</p>
<p><b>Making Wort</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">I&#8217;m not going to go through all the steps as I&#8217;m not an expert anyway.  I&#8217;ve read John Palmer&#8217;s <a href="http://www.howtobrew.com/">How to Brew</a> and read all of Northern Brewer&#8217;s documentation.  The only guide I plan to do is how to fit a Corny keg that shouldn&#8217;t fit in a dorm fridge, into one.  So, here are the pictures with a brief description:</p>
<table>
<tr>
<td>
<a href="/projects/brewing/IMG_2756.JPG"><img src="/projects/brewing/IMG_2756_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/brewing/IMG_2757.JPG"><img src="/projects/brewing/IMG_2757_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/brewing/IMG_2758.JPG"><img src="/projects/brewing/IMG_2758_thumb.JPG" border=0></a>
</td>
</tr>
<tr>
<td>
Steeping the grains&#8230;
</td>
<td>
Looking like a tool..
</td>
<td>
That didn&#8217;t take long to get like that
</td>
</tr>
</table>
<p><b>Malt Extract</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">So the water boiled, we take it off the burner and add the malt extract which is what the happy little yeast will eat up to ferment.  Before you become an expert brewer and learn to extract fermentable sugars from grain, you use a syrupy-extract instead.  It saves a lot of time and there is less room for error.  Honestly, I will do all-grain brewing at some point, but I think this method will stick around for a while with me.</p>
<table>
<tr>
<td>
<a href="/projects/brewing/IMG_2759.JPG"><img src="/projects/brewing/IMG_2759_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/brewing/IMG_2760.JPG"><img src="/projects/brewing/IMG_2760_thumb.JPG" border=0></a></p>
</td>
<td>
<a href="/projects/brewing/IMG_2762.JPG"><img src="/projects/brewing/IMG_2762_thumb.JPG" border=0></a>
</td>
</tr>
<tr>
<td>
Adding malt extract..
</td>
<td>
Looking like tools..
</td>
<td>
More toolish behavior
</td>
</tr>
</table>
<p><b>Adding Hops</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Hops give the beer flavor and aroma, as well as acting as a natural preservative.</p>
<table>
<tr>
<td>
<a href="/projects/brewing/IMG_2766.JPG"><img src="/projects/brewing/IMG_2766_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/brewing/IMG_2767.JPG"><img src="/projects/brewing/IMG_2767_thumb.JPG" border=0></a>
</td>
<td>
<p><a href="/projects/brewing/IMG_2776.JPG"><img src="/projects/brewing/IMG_2776_thumb.JPG" border=0></a>
</td>
</tr>
<tr>
<td>
Adding the first (Challenger) hops..
</td>
<td>
Hops hops
</td>
<td wrap=hard>
The hops before falling back (I&#8217;m blowing on it trying to get the steam down)
</td>
</tr>
</table>
<p><b>Chilling Wort</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">We hauled the wort to the shower to get iced and cooled with cold water.  You need to get it down to about 70F for the yeast.  This was not cool at all (no pun intended) and I plan to invest in a counterflow chiller.  I also lost my worthy assistant when it was just about ready, so I had to pitch the yeast and pour the wort into the carboy myself.  You&#8217;ll notice the jump in pictures.</p>
<table>
<tr>
<td>
<a href="/projects/brewing/IMG_2777.JPG"><img src="/projects/brewing/IMG_2777_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/brewing/IMG_2779.JPG"><img src="/projects/brewing/IMG_2779_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/brewing/IMG_2780.JPG"><img src="/projects/brewing/IMG_2780_thumb.JPG" border=0></a>
</td>
</tr>
<tr>
<td>
Moving 3 gallons of hot wort..
</td>
<td>
On the bed of ice
</td>
<td wrap=hard>
This took way too long..
</td>
</tr>
</table>
<p><b>Fermenting</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">There&#8217;s nothing left for me to do now.  Lets hope the yeast take to life.</p>
<table>
<tr>
<td>
<a href="/projects/brewing/IMG_2783.JPG"><img src="/projects/brewing/IMG_2783_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/brewing/IMG_2784.JPG"><img src="/projects/brewing/IMG_2784_thumb.JPG" border=0></a>
</td>
</tr>
<tr>
<td>
69deg Farenheit
</td>
<td>
<p>Please start bubbling
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/09/30/homebrewing-beer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6.2 Slice Upgrade Guide</title>
		<link>http://www.dellanave.com/blog/2005/08/17/6-2-slice-upgrade-guide/</link>
		<comments>http://www.dellanave.com/blog/2005/08/17/6-2-slice-upgrade-guide/#comments</comments>
		<pubDate>Wed, 17 Aug 2005 20:11:26 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Tivo]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=304</guid>
		<description><![CDATA[6.2 Slice Upgrade Guide Last updated: 8.17.05 12:00 PM David Dellanave &#8211; ddn &#8211; projects &#8211; david In standard form, this guide is a composition of information from DDB. The Only Druid has posted a lengthy description of everything you would want to know about 6.2. However, despite cries to the contrary, it seems that [...]]]></description>
			<content:encoded><![CDATA[<p><script language="JavaScript">
<!--
function popup(url){
var winpop = window.open(url,"","height=500, width=600, location=0, status=0, scrollbars=1");
}
//-->
</script></p>
<p align="center">
<font size="8" face="Arial, Helvetica, sans-serif" color=#111111><strong>6.2 Slice Upgrade Guide</strong></font><br />
<font size="1"><strong>Last updated: 8.17.05 12:00 PM</strong></font><br />
<font size="0"><a href="mailto:david@dellanave.com">David Dellanave</a> &#8211; ddn &#8211; <a href="http://www.dellanave.com/projects/tivo">projects</a> &#8211; <a href="http://www.dellanave.com/">david</a></font></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><b>In standard form, this guide is a composition of information from DDB.  The Only Druid has <a href="http://www.dealdatabase.com/forum/showthread.php?t=42325&#038;page=1&#038;pp=15">posted</a> a lengthy description of everything you would want to know about 6.2.  However, despite cries to the contrary, it seems that a step-by-step guide remains useful.  If you start to notice how similiar this is to the <a href="http://www.dellanave.com/projects/tivo/4xrid.html">4.x Installation Guide</a> you are probably starting to actually learn what is going on as opposed to just typing commands.  As usual, thanks are in order to the people who figure this stuff out to begin with.  If only they were a little friendlier.  AlphaWolf, rc3105, adh and others deserve thanks.  Of course, I&#8217;d like to improve this guide, so any SPECIFIC suggestions are welcome. &#8211; ddn</b></font></p>
<p><b>Warning</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif" color="#2a792a">As much as a step-by-step guide makes things both easier to understand and accomplish, you are still dipping into the realm of the unknown.  For most people, TiVo hacking is a hobby as time consuming as any other hobby.  Realize that what you are doing to your TiVo was probably not intended to be done.  You may break it, you may lose your recordings (even if you&#8217;re not supposed to) and you may piss off your family.  For an extra challenge, I recommend starting this process an hour before your teenage daughter wants to watch The O.C.  This should only take about half an hour, leaving you with plenty of time.  Or not.  Keep in mind, other people love the TiVo as much as you do, and if you break it they will be pissed.  The information presented here is a distillation of information, and all risks assumed are your own. &#8211; ddn</font></p>
<p><b>Assumptions</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"># This guide serves people who wish to upgrade to 6.2 via slices (retaining all settings and shows) from 3.1.1 or 4.0.1 to 6.2.  At this point, there are no instructions here to intially hack your TiVo to gain network access to this upgrade.  For now, thats an exercise for the reader.  If you&#8217;re at 4.0.1, you already have network access, if you&#8217;re at 3.1.1e I suggest <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> to get network access.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"># This guide assumes you have a working knowledge of unix and linux.  While I believe the steps here are fool-proof, it doesn&#8217;t always seem to be the case.  This is not a tutorial, and I will not answer basic Unix questions.  I did this in one day with tremendous previous Linux experience, and ZERO Tivo hacking experience.  </p>
<p>If you have no Linux/Unix experience, you will become frustrated if things don&#8217;t work exactly as they should.  I suggest a <a href="http://www.linux.org/lessons/beginner/">beginner tutorial</a> in Linux.  It should get you started on the basic commands.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">### You will need a USB Ethernet adapter to complete this and use all your new features.  A serial cable is not necessary to complete this guide.  However, if it doesn&#8217;t work a serial cable is mandatory for figuring out whats wrong.  Get yourself over to <a href="http://www.9thtee.com/tivo-sa2o.htm">9th tee</a> and get a TiVo Null Modem Serial Cable.  Or <a href="tivocable.html">make</a> yourself one.  Go get yourself a USB200M or USB10TX or similar.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">#### I applied this to my SD-DVR40.  This guide applies to both RID and Non-RID TiVos.  Unlike the 4.x guide, RID is not an issue here.  Carry on.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">##### This guide uses LBA48 kernels etc.  Technically you only need to do this if you plan to use disks larger than 137GB.  However, I know of no reason that using LBA48 with smaller disks would cause a problem, so there is no reason not to.</font></p>
<p><font size="3" face="Arial, Helvetica, sans-serif"><strong>*** Hard to read?</strong><font size="2" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp;<a href="62slices.html?fancy=1">Click here</a> for fancy stuff around the commands.</font></p>
<p><a name="step1">
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>1: Download the following files into a directory.  Unzip zips, and unrar rars.  Leave .tar&#8217;s intact.</strong></font></p>
<p></a></p>
<table width="80%"  border="1" cellspacing="0" cellpadding="5">
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif"><br />
62 init_framework_ddn.tgz</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><strong><a href="http://www.dellanave.com/projects/tivo/62_init_framework_ddn.tgz" target="_blank">Download Local</a></strong><br />This is a simple init_framework including the kernel AlphaWolf posted in his init.  Hopefully you don&#8217;t mind.</font></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">superpatch-67all-NutKase-1.0.tcl<br />
set_mrv_name_67.tcl</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?p=222139"><strong>Download here</strong></a></font></td>
</tr>
<tr>
<td bgcolor="#99cccc">
<p><font size="2" face="Arial, Helvetica, sans-serif">tivotools.<strong><em>tar</em></strong> (extract it from the .rar file)</font></p>
</td>
<td valign="middle"  bgcolor="#99cccc"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=37602" target="_blank"><strong>Download here</strong></a><br />Only needed if using <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> to initially hack the TiVo (or tivotools wasn&#8217;t installed)</font></td>
</tr>
<tr>
<td colspan=2><font size="2" face="Arial, Helvetica, sans-serif">Clicking these links and downloading the attachments is not a substitute for reading EACH of the threads they were posted in.  You will gain a tremendous amount of knowledge of each utility, and answer any questions you might have.</font></td>
</tr>
</table>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>2. Download a set of 6.2 slices.  I would really like to host these locally, and since 6.2 is germane on DTivo hopefully I can.  For now:</strong></font></p>
<p><code><br />
62_dtivo_slices.zip:<br />
<a href="ed2k://|file|62_dtivo_slices.zip|54621252|0C19FAA0C99F4724A412EF546FAA71C0|/">ed2k://|file|62_dtivo_slices.zip|54621252|0C19FAA0C99F4724A412EF546FAA71C0|/</a></p>
<p><a href="62_dtivo_slices_fixed.zip.torrent">BitTorrent</a><br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>3. The 6.2 slices you&#8217;ve download contain an error in them, so we&#8217;ll unpack them, fix it, and just package up the ones you need.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><br />
3a) Unzip the 62_dtivo_slices.zip file.<br />
3b) Take a look at the index.txt file (Notepad won&#8217;t display the Unix line endings correctly, use Wordpad or Metapad).  Your TiVo service number should start with 3 digits.  Yup, look on the back of the TiVo.  On my SD-DVR80, it is 321.  In the file you&#8217;ll see the slices for each service number.  For example, my DVR80 needs 6.2-01-2-321.  The string &#8220;<b>6.2-01-2-321</b>&#8221; is important, write it down or remember it.  So I want these files:</p>
<p>6.2-01-2-321/GZcore-44090111-2.slice.gz</p>
<p>6.2-01-2-321/GZkernel-44090113-2.slice.gz<br />
6.2-01-2-321/swsystem-44090120-2.slice.gz<br />
6.2-01-2-321/utils-44090115-2.slice.gz</p>
<p>3c) Figure out which ones you need, and un-gzip each one of them.  Then un-gzip loopset-dtv-Series2.slice.gz, and THEN do it AGAIN to the same file.  On Linux you need to rename the file to .gz again otherwise it won&#8217;t recognize it as a gzip file.  This could all be done quite easily on the TiVo, but now with those 5 files you have a nice package you don&#8217;t have to mess with again.<br />
</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>4. Upload the 5 6.2 slices to the TiVo into /var/packages/.  Since I use Linux as my main system, I usually tar these 5 files up into a tarball, and just upload that.  Also upload the tivotools AIO toolset if you TiVo doesn&#8217;t have it or lacks the dbload command.</strong></font></p>
<p><code><br />
ftp 192.168.3.105 <font color="#1111ff"># FTP to the IP of the tivo</font></p>
<p>cd /var/packages/<br />
put GZcore-44090111-2.slice<br />
put GZkernel-44090113-2.slice<br />
put swsystem-44090120-2.slice<br />
put utils-44090115-2.slice<br />
put loopset-dtv-Series2.slice<br />
put tivotools.tar<br />
<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>4. Telnet into the TiVo and execute this command to load the slices into the database:</strong></font></p>
<p><code><br />
mount -o remount,rw / # Get this out of the way, although not needed until later</p>
<p>mkdir /tivo-bin/ <font color="#cc2222"> # If you don't have tivotools</font><br />
cd /tivo-bin<font color="#cc2222"> # If you don't have tivotools</font><br />
mv /var/packages/tivotools.tar ./<font color="#cc2222"> # If you don't have tivotools</font><br />
tar -xvf tivotools.tar<font color="#cc2222"> # If you don't have tivotools</font></p>
<p>cd /var/packages<br />
/tivo-bin/dbload *.slice<br /> # You might have your toolset in /busybox instead of /tivo-bin.<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>5. Two modifications must be made to the installSw.itcl script.  One is to remove the reboot command, the other is to add an extra argument ($name) to the updateroot command call.  If this is nonsense to you, well, thats fine.</strong></font></p>
<p><code><br />
vi /tvbin/installSw.itcl <font color="#1111ff"># a vi <a href="http://www.troubleshooters.com/linux/viquick.htm">quickstart guide</a></font><br />
</code><br />
</p>
<table bgcolor="#dedede">
<tr>
<td>Original:</td>
<td>
<code><br />
                file mkdir /var/utils<br />
                exec $env(TIVO_ROOT)/tvbin/jpm -p $fil<br />
                putlog "Executing updateroot /dev/hda /install /var/packages"<br />
                exec /var/utils/updateroot /dev/hda /install /var/packages >&#038;@ stdout</p>
<p>                $swsys setActive<br />
                # Clean up<br />
</code>
</td>
</tr>
<tr>
<td>Edited: </td>
<td>
<code><br />
                file mkdir /var/utils<br />
                exec $env(TIVO_ROOT)/tvbin/jpm -p $fil</p>
<p>                <font color="#cc1111">putlog "Executing updateroot /dev/hda /install /var/packages $name"</font><br />
                <font color="#cc1111">exec /var/utils/updateroot /dev/hda /install /var/packages $name >&#038;@ stdout</font></p>
<p>                $swsys setActive<br />
                # Clean up<br />
</code>
</td>
</tr>
</table>
<table bgcolor="#dedede">
<tr>
<td>Original:</td>
<td>
<code><br />
# Say goodbye<br />
putlog "Attempting reboot..."<br />
reboot<br />
} else {<br />
putlog "ERROR could not find the utils archive"<br />
}<br />
</code></p>
</td>
</tr>
<tr>
<td>Edited: </td>
<td>
<code><br />
# Say goodbye<br />
putlog "Attempting reboot..."<br />
<font color="#cc1111">putlog "..not rebooting.."<br />
exit 0<br />
#reboot</font><br />
} else {<br />
putlog "ERROR could not find the utils archive"</p>
<p>}<br />
</code>
</td>
</tr>
</table>
<p><a name="step7">
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>6. Time to let TiVo update the software.  Hopefully all goes well here.  Keep an eye on the output and see which partition (hda4 or hda7) the new root goes to.  I have actually experienced errors here that should occur when the installSw.itcl file isn&#8217;t edited, but was.  A lot of people are having problems with the installSw script and I suspect that a lot of the issues stem from copying the file to a PC to edit it.  You really need to be careful when you&#8217;re doing that not to screw up line endings or anything else.  Maybe even more importantly, if you DO use vi, make sure not to screw up anything else in the file.</strong></font></p>
<p></a></p>
<p><code><br />
/tvbin/installSw.itcl 6.2-01-2-321 # Yes, that number from before is what you insert here to tell the TiVo, "Hey update to this software version from the MFS database".<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>7. All went well?  I sure hope so.  installSw.itcl will have installed a new root and flipped the bootpage, so if you reboot now everything will work but your system will revert to being &#8220;unhacked&#8221;.  Take note of the new root ie: &#8220;Old root is on /dev/hda7, new one goes on /dev/hda4&#8243;.  Hopefully you have some idea of where your hacks are, so you can make sure you get everything.  </strong></font></p>
<p><code><br />
mkdir /tivo</p>
<p>mount /dev/hda4 /tivo # Mount the new tivo root to /tivo (hda4 or hda7).<br />
cp -Rfpd /tivo-bin /tivo/<br />
cp /etc/rc.d/rc.sysinit.author /tivo/etc/rc.d/<br />
cp -Rfpd /hacks/ /tivo/ # If you have /hacks<br />
cp -Rfpd /ptvupgrade/ /tivo/ # If you used <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a><br />
mkdir /tivo/init<br />
cp -Rfpd /init/ptvflags /tivo/init/<br />
cp -Rfpd /var/hacks/ /tivo/ # If you have /var/hacks</p>
<p></code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>** At this point you have a choice.  You can either install a monte or chainload configuration, or you can boot a kernel directly.  There are advantages to using the monte process, such as easily being able to drop a replacement kernel into place.  If you want to use the traditional monte, continue on to step 8 and 9.  If not, skip 8 and 9, and go to step 9.8.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>8. Upload the new 62_init_framework_ddn.</strong></font></p>
<p><code><br />
ftp 192.168.3.105 <font color="#1111ff"># FTP to the IP of the tivo</font><br />
cd /tivo/<br />
put 62_init_framework_ddn.tgz<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>9. Unpack the init_framework and fix the bootpage.  Once again, since I am assuming your system is already hacked, you should have a killhdinitrd&#8217;ed TiVo kernel in your boot partition.  The nice thing is that we&#8217;re going to use this same kernel.  updateroot flipped the bootpage, but all we have to do is flip it back to boot from the same kernel.</strong></font></p>
<p><code><br />
cd /tivo/<br />
tar -zxvf 62_init_framework_ddn.tgz<br />
bootpage -f<br />
mv /tivo/etc/netfilter-enable /tivo/etc/netfilter-enable.not<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>9.8. Skip this step if you performed steps 8 and 9.  You&#8217;re going to need kernel version 2.4.20 for this, more often known as the kernel from 3.1.5.  The easiest way to get this is from the <a href="http://partners.ptvupgrade.com/z/35/CD45/">PTVupgrade Enhanced LBA48 CD</a> which you probably already own.  On the CD is a folder called s2_kernels, and then 3.1.5.  Grab the kernel out of there, and upload it to your TiVo.  This kernel already has had killhdinitrd applied to it, and is ready to go.  If you are sourcing your 2.4.20 (3.1.5 tivo version) kernel from somewhere else, you will need to killhdinitrd it.</p>
<p></strong></font></p>
<p><code><br />
ftp 192.168.3.105 <font color="#1111ff"># FTP to the IP of the tivo</font><br />
cd /var/packages/<br />
put vmlinux.px<br />
</code></p>
<p><code><br />
dd if=/dev/zero of=/dev/hda3 # write zeros to the boot partition<br />
dd if=/dev/zero of=/dev/hda6</p>
<p>dd if=/var/packages/vmlinux.px of=/dev/hda3 # write the kernel to the boot partitions<br />
dd if=/var/packages/vmlinux.px of=/dev/hda6<br />
mv /tivo/etc/netfilter-enable /tivo/etc/netfilter-enable.not<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>10. Unless I&#8217;ve forgotten something, reboot.  You&#8217;ll get a blue DirecTV screen that says &#8220;Preparing service update&#8230;this will take an hour&#8221;.  This is the TiVo updating its database, and will probably take significantly less than an hour.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>11. Upload superpatch and set_mrv_name</strong></font></p>
<p><code><br />
ftp 192.168.3.105 <font color="#1111ff"># FTP to the IP of the tivo</font></p>
<p>cd /var/packages/<br />
put superpatch-67all-NutKase-1.0.tcl<br />
put set_mrv_name_67.tcl</p>
<p></code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>12. Telnet to the IP of your tivo.  You should get a bash prompt like:</strong></font></p>
<p><code><br />
bash-2.02#<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>Type:</font></strong></p>
<p><code></p>
<p>mount -o remount,rw /  <font color="#1111ff"># TiVo mounts the drive read-only, changes would not be applied to the disk.  This remounts it read-write.</font><br />
cd /var/packages/<br />
chmod 755 superpatch-67all-NutKase-1.0.tcl<br />
./superpatch-67all-NutKase-1.0.tcl<br />
chmod 755 set_mrv_name_67.tcl<br />
./set_mrv_name_67.tcl YOURTIVONAME <font color="#1111ff"># (Type in the name for your Tivo, if you have more than 1, choose something descriptive ("Bedroom Tivo").  If you use spaces, you need quotes "around it")</font><br />
mount -o remount,ro / <font color="#1111ff"># If this errors, go ahead and reboot anyway.</font></p>
<p></code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>13.  Reboot.  That&#8217;s it.</strong></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>** Additional Things You Can Do **</strong></font></p>
<ul>
<li> Add crond to automate running fakecall daily or other things.  Keep in mind fakecall must be run weekly (or daily) to avoid the calling nag.  Consider this mandatory, but it is not part of this guide.  Explicit instructions <a href="http://www.dealdatabase.com/forum/showthread.php?p=189482&#038;highlight=crond#post189482">courtesy of AlphaWolf</a>.
<li> USB 2.0 network modules for improved speed.  See <a href="http://www.dellanave.com/projects/tivo/usb20net.html">guide</a></li>
<li> Thanks to everyone who did the Free mini Macs offer.  I got my mini a few months ago, and I love it.
<li> That said, I&#8217;d like to get my hands on an <a href="/freenano">iPod nano</a>.  Thanks for helping me out.
<li> Change the hostname of the TiVo and the bash prompt accordingly.  I like to do this so I don&#8217;t do the right command on the wrong TiVo.
<p><code><br />
hostname "hostname of your choice without quotes" # Insert your hostname<br />
echo "hostname " `hostname` >>/etc/rc.d/rc.sysinit.author # Just like its written<br />
echo "export PS1=\"\h #\"">/etc/profile</p>
<p></code></p>
<li> Buy me a beer.
<li> Offer me a job.
<li> Donate to the <a href="http://www.eff.org/">EFF</a>.
</ul>
<p><font size="4" face="Arial, Helvetica, sans-serif"><strong>It doesn&#8217;t work!  What should I do?</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><br />
Noticing that most of the links are from DealDatabase you might be tempted to go post there and expect someone to figure out the problem for you.  Fight the temptation.  Re-read the guide and make sure you&#8217;ve done every step correctly.  Read the threads with the linked files in them.  Search the DealDatabase forum for things relative to your problem.  Whatever problem you have, it is not unique to you or your setup.  Someone has had it before, and a solution has been presented.  Before posting, I strongly recommend reading the <a href="http://www.catb.org/~esr/faqs/smart-questions.html">guidelines</a> outlined by ESR.  If and when you do post a question, post in the Newbie Forum and make sure to be extremely specific.  Explain what hardware you are using, what software you are using, what you have done, and what you are trying to accomplish.  If you don&#8217;t, at best you will be ignored, and at worst they will make you cry.</p>
<p></font></p>
<p><center><a href="http://partners.ptvupgrade.com/z/19/CD45/"><img src="http://partners.ptvupgrade.com/42/45/19" alt="So easy a kid could do it!" border="0"></a><br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-6770748066934959";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="4180078530";
google_color_border = "6699CC";
google_color_bg = "003366";
google_color_link = "FFFFFF";
google_color_url = "AECCEB";
google_color_text = "AECCEB";
//--></script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</body><br />
</html></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/08/17/6-2-slice-upgrade-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fakecall Explanation</title>
		<link>http://www.dellanave.com/blog/2005/08/06/fakecall-explanation/</link>
		<comments>http://www.dellanave.com/blog/2005/08/06/fakecall-explanation/#comments</comments>
		<pubDate>Sat, 06 Aug 2005 20:37:36 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Tivo]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=316</guid>
		<description><![CDATA[Fakecall JohnSorTivo: Included in AlphaWolf&#8217;s All-In-One S2 utilities is a file called &#8216;fakecall.tcl&#8217;, which makes the Tivo think the daily call has been successfully made. This prevents the nag screen when your phone line is not plugged in, and also enables you to setup your network after your initial install, since the Tivo first wants [...]]]></description>
			<content:encoded><![CDATA[<p>Fakecall</p>
<p>JohnSorTivo:</p>
<p>Included in AlphaWolf&#8217;s All-In-One S2 utilities is a file called &#8216;fakecall.tcl&#8217;, which makes the Tivo think the daily call has been successfully made. This prevents the nag screen when your phone line is not plugged in, and also enables you to setup your network after your initial install, since the Tivo first wants to make an actual call before it will let you access the network configuration options. Running fakecall.tcl satisfies this requirment, making the Tivo think the first call has been made, so that you can continue and set your network up, without actually making a real call.</p>
<p>It&#8217;s best to either schedule fakecall.tcl to run from a scheduled cron job, or run it in an infinite loop at system startup, using a script such as callfixsub.sh. Do a search on &#8216;callfixsub&#8217; for more information if you are not running cron.</p>
<p>For those initially hacking their machine, while creating their rc.sysinit.author file, it&#8217;s probably not a bad idea to place a call to fakecall.tcl in rc.sysinit.author, so that fakecall.tcl gets run during the first-boot, again, enabling access to the network setup options. Note: this is of course included in the 4.x guide.</p>
<p>rpl adds:</p>
<p>fixsub aka fakecall does two things for you. It sets a flag telling the tivo that its completed guided setup, so that you do not need the initial call. It also tells the the tivo that it has successfully made a call. This prevents a nag message that starts when the tivo hasn&#8217;t made a call withing the past 30 days.</p>
<p>Keep in mind fakecall must be run weekly (or daily) to avoid the calling nag message. So as said above either set this up to run daily with crond or with a callsub script that runs it of a looped program. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/08/06/fakecall-explanation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4.x+ Slice Upgrade Guide</title>
		<link>http://www.dellanave.com/blog/2005/07/21/4-x-slice-upgrade-guide/</link>
		<comments>http://www.dellanave.com/blog/2005/07/21/4-x-slice-upgrade-guide/#comments</comments>
		<pubDate>Thu, 21 Jul 2005 20:10:25 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Tivo]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=302</guid>
		<description><![CDATA[4.x+ Slice Upgrade Guide Last updated: 7.21.05 11:00 AM David Dellanave &#8211; ddn &#8211; projects &#8211; david This was written entirely by myself from the steps outlined by AlphaWolf in his DDB post. I don&#8217;t claim to have invented this procedure, so save your breath. Hopefully this is a distillation of all the available information. [...]]]></description>
			<content:encoded><![CDATA[<p><script language="JavaScript">
<!--
function popup(url){
var winpop = window.open(url,"","height=500, width=600, location=0, status=0, scrollbars=1");
}
//-->
</script></p>
<p align="center">
<font size="8" face="Arial, Helvetica, sans-serif" color=#111111><strong>4.x+ Slice Upgrade Guide</strong></font><br />
<font size="1"><strong>Last updated: 7.21.05 11:00 AM</strong></font></p>
<p><font size="0"><a href="mailto:david@dellanave.com">David Dellanave</a> &#8211; ddn &#8211; <a href="http://www.dellanave.com/projects/tivo">projects</a> &#8211; <a href="http://www.dellanave.com/">david</a></font></font>
</p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><b>This was written entirely by myself from the steps outlined by AlphaWolf in his <a href="http://www.dealdatabase.com/forum/showthread.php?t=39558">DDB post</a>.  I don&#8217;t claim to have invented this procedure, so save your breath.  Hopefully this is a distillation of all the available information.  A large amount of information is copied from my <a href="http://www.dellanave.com/projects/tivo/4xrid.html">4.x Installation Guide</a>, that said thanks are in order to HUGE, rc3105, adh and others for their work on 4.0.  I&#8217;d like to improve this guide, so any SPECIFIC suggestions are welcome. &#8211; ddn</b></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><b>Note that a <a href="http://www.dellanave.com/projects/tivo/62slices.html">6.2 Slice Upgrade Guide</a> exists.</b></font></p>
<p><b>Warning</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif" color="#2a792a">As much as a step-by-step guide makes things both easier to understand and accomplish, you are still dipping into the realm of the unknown.  For most people, TiVo hacking is a hobby as time consuming as any other hobby.  Realize that what you are doing to your TiVo was probably not intended to be done.  You may break it, you may lose your recordings (even if you&#8217;re not supposed to) and you may piss off your family.  For an extra challenge, I recommend starting this process an hour before your teenage daughter wants to watch The O.C.  This should only take about half an hour, leaving you with plenty of time.  Or not.  Keep in mind, other people love the TiVo as much as you do, and if you break it they will be pissed.  The information presented here is a distillation of information, and all risks assumed are your own. &#8211; ddn</font></p>
<p><b>Assumptions</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"># There are <b>5</b> starting points to this guide:</p>
<p>1) You already have a hacked 3.1.1e/c system with network access (telnet and FTP) to the TiVo.  You want to preseve your recordings and season passes, so wiping the drive is not an option.  Read the rest of the introduction, then <a href="#step7">start the guide here.</a><br />
2) You have a Tivo with nothing on it and want to start from scratch.  If you&#8217;re not trying to save recordings or data, you can just install 4.0.1b to begin with using <a href="http://www.dellanave.com/projects/tivo/4xrid.html">this guide</a>.<br />
3) You have a completely stock 3.1.1e system and want to use <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> to hack it.  You also want to preseve your recordings and season passes, so wiping the drive is not an option.  <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> is unquestionably the easiest way to hack a stock system.  If you can remove the drive from your Tivo and install it in a PC, this CD is idiot proof.  Read the rest of the introduction, then <a href="#step1">start the guide here.</a><br />
4) You have a stock 3.1.1 system and you want to hack it yourself.  Go nuts, you&#8217;re on your own.  Get it hacked, read the rest of the introduction, then <a href="#step7">start the guide here.</a></p>
<p>5) You have a stock DirecTiVo and you are scared to modify the drive.  Your best best is probably going to be a <a href="http://partners.ptvupgrade.com/z/43/CD45">pre-hacked <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> replacement drive</a>.  You&#8217;ll spend some more money, but you&#8217;ll get a bigger drive and peace of mind of not having to mess with modifying your stock TiVo drive.<br />
<br />
</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"># This guide assumes you have a working knowledge of unix and linux.  While I believe the steps here are fool-proof, it doesn&#8217;t always seem to be the case.  This is not a tutorial, and I will not answer basic Unix questions.  I did this in one day with tremendous previous Linux experience, and ZERO Tivo hacking experience.  You will lose everything on your Tivo following this guide, bear in mind.</p>
<p>If you have no Linux/Unix experience, you will become frustrated if things don&#8217;t work exactly as they should.  I suggest a <a href="http://www.linux.org/lessons/beginner/">beginner tutorial</a> in Linux.  It should get you started on the basic commands.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">### You will need a USB Ethernet adapter to complete this and use all your new features.  A serial cable is not necessary to complete this guide.  However, if it doesn&#8217;t work a serial cable is mandatory for figuring out whats wrong.  Get yourself over to <a href="http://www.9thtee.com/tivo-sa2o.htm">9th tee</a> and get a TiVo Null Modem Serial Cable.  Or <a href="tivocable.html">make</a> yourself one.  Go get yourself a USB200M or USB10TX or similar.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">#### I applied these steps to my SD-DVR40.  This guide applies to both RID and Non-RID TiVos.  This means it will work on an HDVR2 and similar.  The commands in red can be skipped if you have a Non-RID receiver.  There are other parts of the guide that could be skipped, but no harm can be done by doing everything (except the commands in red).  Following this guide on a Non-RID receiver also sets it up for LBA48 (disks over 137GB).  If someone wants to enumerate the models this will work on, please feel free to <a href="mailto:david@dellanave.com">email</a> me.  Most importantly, it works on the uma6 revision boards.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">##### This guide uses LBA48 kernels etc.  Technically you only need to do this if you plan to use disks larger than 137GB.  However, I know of no reason that using LBA48 with smaller disks would cause a problem, so there is no reason not to.</font></p>
<p><font size="3" face="Arial, Helvetica, sans-serif"><strong>*** Hard to read?</strong><font size="2" face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp;<a href="4xslices.html?fancy=1">Click here</a> for fancy stuff around the commands.</font></p>
<p><a name="step1">
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>1: Download the following files into a directory.  Unzip zips, and unrar rars.  Leave .tar&#8217;s intact.</strong></font></p>
<p></a></p>
<table width="80%"  border="1" cellspacing="0" cellpadding="5">
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif"><br />
lba48_2.4.18.px</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><strong><a href="http://www.dealdatabase.com/forum/showthread.php?t=39354" target="_blank">Download here</a></strong></font></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif"><br />
init_framework_hybrid.tgz</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><strong><a href="http://www.dellanave.com/projects/tivo/init_framework_hybrid.tgz" target="_blank">Download Local</a></strong><br />This is a hybrid init framework derived from Riley&#8217;s original, with some modifications to (hopefully) seamlessly support RID and Non-RID as well as utilizing <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a>.</font></td>
</tr>
<tr>
<td>
<p><font size="2" face="Arial, Helvetica, sans-serif">tivotools.<strong><em>tar</em></strong> (extract it from the .rar file)</font></p>
</td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=37602" target="_blank"><strong>Download here</strong></a></font></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">superpatch-4all-NutKase-0.7.1.tcl<br />
set_mrv_name_ADH.tcl</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=37195" target="_blank"><strong> Download here</strong></a></font></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">guide_patch_v401b.tcl</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=39504" target="_blank"><strong>Download here </strong></a></font></td>
</tr>
<tr>
<td colspan=2><font size="2" face="Arial, Helvetica, sans-serif">Clicking these links and downloading the attachments is not a substitute for reading EACH of the threads they were posted in.  You will gain a tremendous amount of knowledge of each utility, and answer any questions you might have.</font></td>
</tr>
</table>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>2. Download a set of 4.0 loopsets and slices.  AlphaWolf has kindly provided this set, apparently extracted by someone else.  These are available on eMule using the link:</strong></font></p>
<p><code><br />
TiVo.4.01bslices.and.loopsets.AlphaWolf.tar.bz2:<br />
<a href="ed2k://|file|TiVo.4.01bslices.and.loopsets.AlphaWolf.tar.bz2|48197559|0BAC6FD5D5DC9DFBD24DEF6FA6389796|p=04B59922EF8FE29D36886037205F9D51:544FE37657A0B9B9D86A386575545F4C:02C28A01A19CF609FA3B82101AEEA4CB:209DE91FE82D492858527F4E1423D2A6:19B5458DD15F9146F22F7C534A5BDA62|h=JCUFLXVZTQNXYXV53UR5LSCZDS2LUEJH|/">ed2k://|file|TiVo.4.01bslices.and.loopsets.AlphaWolf.tar.bz2|48197559|0BAC6FD5D5DC9DFBD24DEF6FA6389796|p=04B59922EF8FE29D36886037205F9D51:544FE37657A0B9B9D86A386575545F4C:02C28A01A19CF609FA3B82101AEEA4CB:209DE91FE82D492858527F4E1423D2A6:19B5458DD15F9146F22F7C534A5BDA62|h=JCUFLXVZTQNXYXV53UR5LSCZDS2LUEJH|/</a><br />
</code></p>
<p><code><br />
TiVo.Stock.311Ckernel.and.315dssappAV.AlphaWolf.tar.bz2:<br />
<a href="ed2k://|file|TiVo.Stock.311Ckernel.and.315dssappAV.AlphaWolf.tar.bz2|1250422|83E86857A084373475C3A9D6695D737C|h=TWNMGK5ZNNYH6JSHCWVFGGFYMHRCDMBE|/">ed2k://|file|TiVo.Stock.311Ckernel.and.315dssappAV.AlphaWolf.tar.bz2|1250422|83E86857A084373475C3A9D6695D737C|h=TWNMGK5ZNNYH6JSHCWVFGGFYMHRCDMBE|/</a><br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>3. Acquire PTVUpgrade&#8217;s <a href="http://partners.ptvupgrade.com/z/43/CD45/"><a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a></a> CD.  Is your time worth $20?  Mine is.  Keep in mind all the tools on the <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> CD are freely available, and the same thing could be accomplished without.  That said, this guide will make use of <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> and you may run into some confusion if you&#8217;re not using it.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>4. Boot your PC off the PTV <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> CD with your Tivo drive connected as Secondary Master (hdc).</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>5. Follow the <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> instructions to build or hack your drive.  Basically what you&#8217;re doing here is hacking your 3.1.1 drive and setting it up for the upgrade to 4.0.  PTVnet is like a one-stop process for hacking, saving you a LOT of hassle.  Please read everything there is to say as you step through the <a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> installer and <a href="http://partners.ptvupgrade.com/z/32/CD45/">InstantCake</a>.  These are the answers, but you will again a lot of insight from reading what is going on.  Basically:</strong></font></p>
<p><code><br />
[enter]<br />
yes [enter]</p>
<p>no [enter] (yes if you're using instantcake to restore to a fresh drive)<br />
hdc [enter]<br />
1 [enter] (1 drive or 2) <br />
[enter]<br />
hdc [enter] (connected to hdc we presume?)<br />
E [enter] (Expand to fill the drive)<br />
y/n [enter] (swap file size)<br />
y<br />
[end instantcake restore]</p>
<p>y [enter]<br />
yes [enter]<br />
ok [enter]<br />
ok [enter]<br />
yes [enter]<br />
yes [enter]<br />
yes [enter]<br />
yes [enter]</p>
<p>yes [enter]<br />
halt [enter]<br />
</code></p>
<p><a name="step7">
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>6. Remove the hard drive and reinstall it into the Tivo.  The Tivo should boot up and operate as advertised, running 3.1.1e.  This is where you would be starting from an already running 3.1.1e/c system.</a></strong></font></p>
<p></a></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>7. You need to upload some files to the Tivo.  Try <a href="http://www.ipswitch.com/products/WS_FTP/home/index.html">WS_FTP</a> on Windows.  <a href="http://www.panic.com/transmit/">Transmit X</a> on MacOS.  My commands will be an example using a Linux FTP client, but it should be easy to figure out.</strong></font></p>
<p><code><br />
ftp 192.168.3.105 <font color="#1111ff"># FTP to the IP of the tivo</font><br />
cd /var/packages/<br />
put TiVo.4.01bslices.and.loopsets.AlphaWolf.tar<br />
put tivotools.tar<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>8. Extract and install the loopset/slices for 4.0.1 and edit the install script to deny the reboot.</strong></font></p>
<p><code><br />
mount -o remount,rw /</p>
<p>mkdir /tivo-bin<br />
cd /tivo-bin/<br />
mv /var/packages/tivotools.tar ./<br />
tar -xvf tivotools.tar</p>
<p>
cd /var/packages/<br />
tar -xvf TiVo.4.01bslices.and.loopsets.AlphaWolf.tar<br /> /tivo-bin/dbload *.slice</p>
<p>
<font color="#1111ff"># Time to edit the installSw.itcl file to remove the reboot</font></p>
<p>vi /tvbin/installSw.itcl <font color="#1111ff"># a vi <a href="http://www.troubleshooters.com/linux/viquick.htm">quickstart guide</a></font></p>
<p></code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>9a. Edit this following around line 74:</strong></font></p>
<table bgcolor="#dedede">
<tr>
<td>Original:</td>
<td>
<code><br />
&nbsp;&nbsp;&nbsp;    }</p>
<p>&nbsp;&nbsp;    return $fSafe<br />
&nbsp;}<br />
</code>
</td>
</tr>
<tr>
<td>Edited: </td>
<td>
<code><br />
&nbsp;&nbsp;&nbsp;}<br />
<font color="#cc1111">&nbsp;&nbsp;set fSafe 1</font><br />
&nbsp;&nbsp;return $fSafe</p>
<p>&nbsp;}<br />
</code>
</td>
</tr>
</table>
<table bgcolor="#dedede">
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>9b. Edit the following around line 174:</strong></font></p>
<table bgcolor="#dedede">
<tr>
<td>Original:</td>
<td>
<code><br />
# Say goodbye</p>
<p>putlog "Attempting reboot..."<br />
reboot<br />
} else {<br />
putlog "ERROR could not find the utils archive"<br />
}<br />
</code>
</td>
</tr>
<tr>
<td>Edited: </td>
<td>
<code><br />
# Say goodbye</p>
<p>putlog "Attempting reboot..."<br />
<font color="#cc1111">putlog "..not rebooting.."<br />
exit 0<br />
#reboot</font><br />
} else {<br />
putlog "ERROR could not find the utils archive"<br />
}<br />
</code>
</td>
</tr>
</table>
<p></code><br />
</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Save the installSw.itcl file with <Esc> ZZ.  Then execute this command to install the 4.0.1b system.  If there is an error here, STOP. STOP. STOP.<img src="stop.gif"></font></p>
<p><code><br />
/tvbin/installSw.itcl 4.0.1b-01-2-240 <font color="#1111ff"># Watch the output to see where the files go.  It will be hda4 or hda7</font><br />
</code><br />
<br />
<code><br />
bootpage -p /dev/hda <font color="#1111ff"># (The result of this command will be /dev/hda4 or /dev/hda7.  I will use hda4)</font><br />
bootpage -P "root=/dev/hda4 dsscon=true console=2,115200 upgradesoftware=false"</p>
<p><font color="#1111ff"># Check it again, does everything look good?</font><br />
bootpage -p /dev/hda<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>10. FTP into the TiVo again.  I'm not exactly sure why, but /var/packages gets wiped out during the installSw.  I'll look into finding a better place to hold this stuff.</strong></font></p>
<p><code><br />
ftp 192.168.3.105 <font color="#1111ff"># FTP to the IP of the tivo</font><br />
cd /var/packages/<br />
put TiVo.Stock.311Ckernel.and.315dssappAV.AlphaWolf.tar.bz2</p>
<p>put lba48_2.4.18.px<br />
put init_framework_hybrid.tgz<br />
</code><br />
</p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>11. Mount the new TiVo root, and copy existing files over to it.  Also takes care of dssapp for RID boxes.</strong></font></p>
<p><code><br />
mkdir /tivo<br />
mount /dev/hda4 /tivo # Usually /dev/hda4 but you need to watch the output of the dbload to determine where it went<br />
cd /</p>
<p>cp -Rfpd ptvupgrade/ /tivo/<br />
cp -Rfpd /tivo-bin/ /tivo/<br />
mv /tivo/tvbin/dssapp /tivo/tvbin/dssapp.orig<br />
cd /var/packages<br />
tar -jxvf TiVo.Stock.311Ckernel.and.315dssappAV.AlphaWolf.tar.bz2<br />
cp dssapp /tivo/tvbin/<br />
chmod +x /tivo/tvbin/dssapp<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>12.  Copy the init (monte) framework and kernel.</strong></font></p>
<p><code><br />
cd /tivo/<br />
mv /tivo/etc/netfilter-enable /tivo/etc/netfilter-enable.not<br />
cp /etc/rc.d/rc.sysinit.author /tivo/etc/rc.d/<br />
mv /var/packages/init_framework_hybrid.tgz /tivo/<br />
tar -zxvf init_framework_hybrid.tgz<br />
cp -Rpd /init/ptv* /tivo/init/<br />
cp /var/packages/lba48_2.4.18.px /tivo/init/vmlinux.px<br />
dd if=/dev/zero of=/dev/hda3</p>
<p>dd if=/dev/zero of=/dev/hda6<br />
dd if=/ptvupgrade/misc/vmlinux-311c.px of=/dev/hda3 <font color="#1111ff"> # Copy the killhdinitrd'ed kernel to the boot partition</font><br />
dd if=/ptvupgrade/misc/vmlinux-311c.px of=/dev/hda6<br />
rm init_framework_hybrid.tgz<br />
</code></p>
<p></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>13. Say a prayer, if you're into that, and reboot the Tivo.  If all is well in wonderland, you will boot up into 4.0.1b, which won't look a whole lot different.  You'll have to check System Information to be sure.  HMO and Music &#038; Photos will be available, but we still have some steps to complete.  Hopefully during bootup, your Tivo DHCP'ed an address onto your network.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>14. Telnet to the IP of your tivo.  You should get a bash prompt like:</strong></font></p>
<p><code><br />
bash-2.02#<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>Type:</font></strong></p>
<p><code><br />
mount -o remount,rw /  <font color="#1111ff"># TiVo mounts the drive read-only, changes would not be applied to the disk.  This remounts it read-write.</font><br />
cd /hacks/<br />
chmod 755 superpatch-4all-NutKase-0.7.1.tcl<br />
./superpatch-4all-NutKase-0.7.1.tcl</p>
<p>chmod 755 set_mrv_name_ADH.tcl<br />
./set_mrv_name_ADH.tcl YOURTIVONAME <font color="#1111ff"># (Type in the name for your Tivo, if you have more than 1, choose something descriptive ("Bedroom Tivo").  If you use spaces, you need quotes "around it")</font><br />
chmod 755 guide_patch_v401b.tcl<br />
cp /tvbin/tivoapp /tvbin/tivoapp.guide_patch<br />
./guide_patch_v401b.tcl /tvbin/tivoapp.guide_patch<br />
<font color="#1111ff"># If it says "File was patched" proceed.  If not, bail out, and search DD for guide patch</font><br />
mv /tvbin/tivoapp.guide_patch /tvbin/tivoapp<br />
mount -o remount,ro / <font color="#1111ff"># If this errors, go ahead and reboot anyway.</font></p>
<p></code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>14.  Reboot.  That's it.  If you started from a PTVupgrade/<a href="http://partners.ptvupgrade.com/z/48/CD45/">PTVnet</a> installation, you will already have TivoWebPlus installed.  If not, you can add Tivowebplus and other hacks etc.  Your local channels could take up to 24 hours to re-appear.  Or, from a great post by AlphaWolf:</strong></p>
<p><i>Also one more thing, if you find you've lost your local channels after you upgrade, the quickest way to get them back is to tune your tivo to one of your local channels, dial 1-800-DIRECTV, press 1, then press 711. If you are calling from your home phone then you don't even need to speak to a representative, and it'll take 30 seconds or so, and your tivo will go to the acquiring screen with like 85% complete. Once it finishes, your local channels will show up on the spot.</i><br />
</font></strong></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>** Additional Things You Can Do **</strong></font></p>
<ul>
<li> Add crond to automate running fakecall daily or other things.  Keep in mind fakecall must be run weekly (or daily) to avoid the calling nag.  Consider this mandatory, but it is not part of this guide.  Explicit instructions <a href="http://www.dealdatabase.com/forum/showthread.php?p=189482&#038;highlight=crond#post189482">courtesy of AlphaWolf</a>.
<li> USB 2.0 network modules for improved speed.  See <a href="http://www.dellanave.com/projects/tivo/usb20net.html">guide</a></li>
<li> Thanks to everyone who did the Free mini Macs offer.  I got my mini a few months ago, and I love it.
<li> That said, I'd like to get my hands on an <a href="/freenano">iPod nano</a>.  Thanks for helping me out.
<li> Change the hostname of the TiVo and the bash prompt accordingly.  I like to do this so I don't do the right command on the wrong TiVo.
<p><code><br />
hostname "hostname of your choice without quotes" # Insert your hostname</p>
<p>echo "hostname " `hostname` >>/etc/rc.d/rc.sysinit.author # Just like its written<br />
echo "export PS1=\"\h #\"">/etc/profile<br />
</code></p>
<li> Buy me a beer.
<li> Offer me a job.
<li> Donate to the <a href="http://www.eff.org/">EFF</a>.
</ul>
<p><font size="4" face="Arial, Helvetica, sans-serif"><strong>It doesn't work!  What should I do?</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><br />
Noticing that most of the links are from DealDatabase you might be tempted to go post there and expect someone to figure out the problem for you.  Fight the temptation.  Re-read the guide and make sure you've done every step correctly.  Read the threads with the linked files in them.  Search the DealDatabase forum for things relative to your problem.  Whatever problem you have, it is not unique to you or your setup.  Someone has had it before, and a solution has been presented.  Before posting, I strongly recommend reading the <a href="http://www.catb.org/~esr/faqs/smart-questions.html">guidelines</a> outlined by ESR.  If and when you do post a question, post in the Newbie Forum and make sure to be extremely specific.  Explain what hardware you are using, what software you are using, what you have done, and what you are trying to accomplish.  If you don't, at best you will be ignored, and at worst they will make you cry.<br />
</font></p>
<p><center><a href="http://partners.ptvupgrade.com/z/19/CD45/"><img src="http://partners.ptvupgrade.com/42/45/19" alt="So easy a kid could do it!" border="0"></a><br />
<br />
<script type="text/javascript"><!--
google_ad_client = "pub-6770748066934959";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="4180078530";
google_color_border = "6699CC";
google_color_bg = "003366";
google_color_link = "FFFFFF";
google_color_url = "AECCEB";
google_color_text = "AECCEB";
//--></script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p></body><br />
</html></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/07/21/4-x-slice-upgrade-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Init Framework Explanation</title>
		<link>http://www.dellanave.com/blog/2005/06/06/init-framework-explanation/</link>
		<comments>http://www.dellanave.com/blog/2005/06/06/init-framework-explanation/#comments</comments>
		<pubDate>Mon, 06 Jun 2005 20:35:30 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Tivo]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=313</guid>
		<description><![CDATA[Init Framework Once extracted to your TiVo drive mounted at /tivo, the init_framework.tgz will have placed the following files. Keep in mind that the actual path right now will be /tivo/, but once the drive is running in the tivo, this will be the absolute path. For example, when you&#8217;ve extracted it you will find [...]]]></description>
			<content:encoded><![CDATA[<p>Init Framework</p>
<p>Once extracted to your TiVo drive mounted at /tivo, the init_framework.tgz will have placed the following files. Keep in mind that the actual path right now will be /tivo/, but once the drive is running in the tivo, this will be the absolute path. For example, when you&#8217;ve extracted it you will find the path for 001_bash.init is /tivo/init/001_bash.init. This is all just clarification. Be sure the following files are in place:<br />
/test.conf<br />
/init/001_bash.init<br />
/init/010_lba48.init<br />
/init/011_uma6fix.init<br />
/init/kmonte.o<br />
/init/monte<br />
/init/vmlinux.px (renamed lba48_2.4.18.px)<br />
/init/uma6fix.o<br />
/init/uma6fix_license.txt</p>
<p>Notes:</p>
<p>The &#8216;test.conf&#8217; file in your system&#8217;s root directory is what kicks off the &#8216;init_framework&#8217; process, so if it is not found, nothing else that is present in your &#8216;/init&#8217; folder will be found, and therefore run.</p>
<p>The init_framework montes (chainloads) into the custom lba48 kernel with uma6 support (required for RID units, not required for Non-RID) units. In order to support the monte process, a 3.1.1c killhdinitrd kernel is used.</p>
<p>If you remove the monte process by virtue of deleting the &#8216;test.conf&#8217; file, you can no longer boot directly into 4.x using a 3.1.1c killhdinitrd kernel. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/06/06/init-framework-explanation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4.x+ RID Installation Guide</title>
		<link>http://www.dellanave.com/blog/2005/05/21/4-x-rid-installation-guide/</link>
		<comments>http://www.dellanave.com/blog/2005/05/21/4-x-rid-installation-guide/#comments</comments>
		<pubDate>Sat, 21 May 2005 20:08:28 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Tivo]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=297</guid>
		<description><![CDATA[4.x+ RID/Non-RID Installation Guide Last updated: 5.21.05 11:00 PM David Dellanave &#8211; ddn &#8211; projects &#8211; david The following is a guide that was largely (if not entirely) based on the steps presented by Riley. Special thanks goes to the creators of the hacks themselves as well as Riley, stevel, NutKase and inet22 who helped [...]]]></description>
			<content:encoded><![CDATA[<p><script language="JavaScript">
<!--
function popup(url){
var winpop = window.open(url,"","height=500, width=600, location=0, status=0, scrollbars=1");
}
//-->
</script></p>
<p align="center">
<font size="6" face="Arial, Helvetica, sans-serif"><strong>4.x+ RID/Non-RID Installation Guide</strong></p>
<p><font size="1"><strong>Last updated: 5.21.05 11:00 PM</strong></font><br />
<font size="0"><a href="mailto:david@dellanave.com">David Dellanave</a> &#8211; ddn &#8211; <a href="http://www.dellanave.com/projects/tivo">projects</a> &#8211; <a href="http://www.dellanave.com/">david</a></font></font>
</p>
<p><font size="2" face="Arial, Helvetica, sans-serif">The following is a guide that was largely (if not entirely) based on the steps presented by Riley. Special thanks goes to the creators of the hacks themselves as well as Riley, stevel, NutKase and inet22 who helped me put this together. I take no credit for coming up with any of this, all I did was write it down step by step &#8211; it is what I used to get my DSR704 up and running. I hope you find it helpful. &#8211; HUGE</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><b>This guide was originally written by HUGE.  The additions and modifications to this guide I have made are by no means an effort to take credit for this guide.  The original HUGE got me started, and worked perfectly for myself.  I&#8217;ve made no effort to distinguish the changes and additions I made.  If you have a problem with that <a href="mailto:david@dellanave.com">email</a> me.  Thanks to ALL the people who have emailed me with input.  I&#8217;d like to improve this guide, so any SPECIFIC suggestions are welcome. &#8211; ddn</b></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif" color="#dd3333">I&#8217;ve added a new guide for updating to 4.0 from slices.  This may not be for everyone.  If you don&#8217;t mind wiping your TiVo, this guide is probably &#8220;safer&#8221;, but then again maybe slices is safer.  Anyway, your <a href="http://www.dellanave.com/projects/tivo/4xslices.html">choice</a>.</font></p>
<p><center></p>
<p></center></p>
<p><b>Warning</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif" color="#2a792a">As much as a step-by-step guide makes things both easier to understand and accomplish, you are still dipping into the realm of the unknown.  For most people, TiVo hacking is a hobby as time consuming as any other hobby.  Realize that what you are doing to your TiVo was probably not intended to be done.  You may break it, you may lose your recordings (even if you&#8217;re not supposed to) and you may piss off your family.  For an extra challenge, I recommend starting this process an hour before your teenage daughter wants to watch The O.C.  This should only take about half an hour, leaving you with plenty of time.  Or not.  Keep in mind, other people love the TiVo as much as you do, and if you break it they will be pissed.  The information presented here is a distillation of information, and all risks assumed are your own. &#8211; ddn</font></p>
<p><b>Assumptions</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"># This guide assumes you have a working knowledge of unix and linux.  While I believe the steps here are fool-proof, it doesn&#8217;t always seem to be the case.  This is not a tutorial, and I will not answer basic Unix questions.  I did this in one day with tremendous previous Linux experience, and ZERO Tivo hacking experience.  You will lose everything on your Tivo following this guide, bear in mind.  If you&#8217;d rather not blow away your recordings and season passes, perhaps <a href="http://www.dellanave.com/projects/tivo/4xslices.html">this guide</a> will trip your trigger.  </p>
<p>If you have no Linux/Unix experience, you will become frustrated if things don&#8217;t work exactly as they should.  I suggest a <a href="http://www.linux.org/lessons/beginner/">beginner tutorial</a> in Linux.  It should get you started on the basic commands.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">## The steps assume your (new) Tivo drive is <em>hdc</em>, and CD ROM is <em>hdd</em>. This means your drive is secondary master, and CD-ROM is secondary slave.  I suggest this configuration, because it works.  Why argue.  Series 2 models: &#8211; When placing or removing your hard drives within your TiVo, be careful not to disturb the flat white ribbon cable running from the front panel to the TiVo motherboard.  Powering up your TiVo with this white ribbon cable unseated may cause permanent harm to some models.</p>
<p>An interesting note I received from someone:<br />&#8220;<i>It turns out that when I went to my Parents house over the weekend to set up their Tivo and I was using one of his Pentium III machines to do the setup mfsrestore command failed to do a Decompression Error around 42%.  I was a bit perplexed since I was using the same disks that I had used for the other two.  I then went to a AMD 2.3 machine that he happened to have there and I got the same message.  At this point I tried to run a diagnostic on the hard drive to see if it had a corrupt cluster and it came back in good condition.</p>
<p>
I searched the newsgroups and found that someone believes there is a issue with some motherboards and the decompression routine.  So finally we went to a Pentium Dell machine and it worked fine.&#8221;</i><br />
</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">### You will need a USB Ethernet adapter to complete this and use all your new features.  A serial cable is not necessary to complete this guide.  However, if it doesn&#8217;t work a serial cable is mandatory for figuring out whats wrong.  I can&#8217;t tell you how useful this is.  Get yourself over to <a href="http://www.9thtee.com/tivo-sa2o.htm">9th tee</a> and get a TiVo Null Modem Serial Cable.  Or <a href="tivocable.html">make</a> yourself one.  Go get yourself a USB200M or USB10TX or similar.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">#### I applied these steps to my SD-DVR40.  This guide applies to both RID and Non-RID TiVos.  This means it will work on an HDVR2 and similar.  The commands in red can be skipped if you have a Non-RID receiver.  There are other parts of the guide that could be skipped, but no harm can be done by doing everything (except the commands in red).  Following this guide on a Non-RID receiver also sets it up for LBA48 (disks over 137GB).  If someone wants to enumerate the models this will work on, please feel free to <a href="mailto:david@dellanave.com">email</a> me.  Most importantly, it works on the uma6 revision boards.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">##### Activate the DirecTV card before you start hacking the unit.  Maybe it will activate fine after hacking it, but why put yourself in a position to be up a creek without a paddle.  Just activate it, then hack.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">###### This guide uses LBA48 kernels etc.  Technically you only need to do this if you plan to use disks larger than 137GB.  However, I know of no reason that using LBA48 with smaller disks would cause a problem, so there is no reason not to.  As usual, please <a href="mailto:david@dellanave.com">email</a> me if this is wrong.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>1: Download the following files into a directory.  Unzip zips, and unrar rars.  Leave .tar&#8217;s intact.</strong></font></p>
<table width="80%"  border="1" cellspacing="0" cellpadding="5">
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">init_framework.tgz</p>
<p>dssapp<br />
lba48_2.4.18.px</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><strong><a href="http://www.dealdatabase.com/forum/showthread.php?t=39354" target="_blank">Download here</a></strong></font></td>
</tr>
<tr>
<td>
<p><font size="2" face="Arial, Helvetica, sans-serif">tivotools.<strong><em>tar</em></strong> (extract it from the .rar file)</font></p>
</td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=37602" target="_blank"><strong>Download here</strong></a></font></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">superpatch-4all-NutKase-0.7.1.tcl<br />
set_mrv_name_ADH.tcl</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=37195" target="_blank"><strong> Download here</strong></a></font></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">bootpage (extract, copy &#8220;bootpage&#8221; to CD)</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=39244" target="_blank"><strong>Download here </strong></a></font></td>
</tr>
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">guide_patch_v401b.tcl</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><a href="http://www.dealdatabase.com/forum/showthread.php?t=39504" target="_blank"><strong>Download here </strong></a></font></td>
</tr>
<tr>
<td colspan=2><font size="2" face="Arial, Helvetica, sans-serif">Clicking these links and downloading the attachments is not a substitute for reading EACH of the threads they were posted in.  You will gain a tremendous amount of knowledge of each utility, and answer any questions you might have.</font></td>
</tr>
</table>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>2. Acquire <a href="http://partners.ptvupgrade.com/z/35/CD45/">PTVupgrade Enhanced LBA48 CD</a> (the one w/ LBA48 and enhancements).  I&#8217;m sure there is another way but this seems like the best.  It was $5 well spent.  Keep in mind, you pay for it and can download it immediately.  Again, if someone wants to point out the &#8220;free&#8221; way of doing this, please go ahead and <a href="mailto:david@dellanave.com">email</a> me.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>3. Acquire a &#8220;known good image&#8221;.  There are two ways to go about this.  I strongly, strongly encourage you to use PTVUpgrade.</strong></font></p>
<table width=80% cellpadding=0 cellspacing=0>
<tr>
<td bgcolor="#99ff99">
PTVupgrade offers a legal, legitimate way to acuire a known good 4.0.1b image.  They also offer a good 3.x image.  PTVupgrade spends a lot of money to support DealDatabase, and in turn supports the tivo hacking community.  For $20, you get a known good image, no worries about legal hassles, and you make the lawyers happy that legal routes of TiVo hacking are being followed.  You also don&#8217;t have to worry about bad images, almost-bad images, or really bad images.</p>
<p><a href="http://partners.ptvupgrade.com/z/40/CD45/">PTVupgrade&#8217;s 4.0.1b Series 2 (SA) Image</a></p>
<p>If you are restoring to a 40GB drive, select <b>Model Number TCD240040</b>.  If you are restoring to a 80GB or larger drive, select <b>Model Number TCD240080</b>.</p>
<p>Yes, you want the SA image even if you have a DTivo.  The 4.x software contains all the DSS software.
</td>
</tr>
<tr>
<td>
<center><font size=-2>or</font></center>
</td>
</tr>
<tr>
<td bgcolor="#ff9999">
I can&#8217;t discourage using the this image strongly enough.  It works.  It is not guaranteed to work or be perfect.  <a href="http://www.ptvupgrade.com/">PTVUpgrade</a> provides a great service and they really are great guys.  They also support the community to make this all possible.  Don&#8217;t even think about asking for support if you use this image.  Don&#8217;t expect faster than 20k/s downloads unless other people start seeding it as well.<br />
</p>
<p>&nbsp;&nbsp;2a. Get <a href="http://www.phpninja.net/Tivo_4.0.1b_unhacked_standalone.mfs.torrent">torrent</a>&nbsp;&#038;nbsp<font size=-2>Yes, the image has changed.  I found a smaller one that works equally well.  I will no longer seed the other image but others might.</font> <font size=-3>Wow.  I just realized this torrent hasn&#8217;t been seeded for months.  Apologies.</font><br />
&nbsp;&nbsp;2b. Download the torrent.
</td>
</tr>
</table>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>4. Burn a standard ISO9660 CD with the files you downloaded above in the main directory.  Put the 4.x Tivo image (Tivo_4.0.1b_unhacked_standalone.mfs) in a directory called /image/ of the main directory.  I&#8217;ll call this the Tools CD, because I can.  Please follow this tree structure exactly, so you don&#8217;t have problems later in the guide.  Use a tool like <a href="http://www.magiciso.com">MagicISO</a> to pull the Tivo image out of the InstantCake ISO.  It is the largest file in the image, and is named something like 000001.  Feel free to rename this to match the file name I use (Tivo_4.0.1b_unhacked_standalone.mfs) or something else.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><br />
The file &#8220;tree&#8221; of your CD will look like this:<br />
</font></p>
<p>
<code><br />
/init_framework.tgz<br />
/bootpage<br />
/tivotools.tar<br />
/superpatch-4all-NutKase-0.7.1.tcl<br />
/set_mrv_name_ADH.tcl<br />
/guide_patch_v401b.tcl</p>
<p>/dssapp<br />
/lba48_2.4.18.px<br />
/image/Tivo_4.0.1b_unhacked_standalone.mfs<br />
</code>
</p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>5. Boot your PC off the PTV CD with your new Tivo drive connected.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>6. Pop the Tools CD in the drive and type:</strong></font></p>
<p><code><br />
<font color="#1111ff"># Make a directory to mount drives</font></p>
<p>mkdir /cdrom<br />
mount -t iso9660 /dev/hdd /cdrom<br />
<font color="#1111ff"># Restore image to the drive.  Decrease the number 127 if it fails until it works, OR omit "-s 127" completely.</font><br />
mfsrestore -s 127 -xzpi /cdrom/image/Tivo_4.0.1b_unhacked_standalone.mfs /dev/hdc<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">At this point you might run into an error about the disk not being large enough for the backup image.  Most likely you&#8217;re wondering what its talking about because your disk is plenty large.  This is because your disk happens to have a geometry that is smaller than the original disk, even if they&#8217;re both &#8220;40 Gigabyte&#8221; disks.  The way I found around it on one disk was just to decrease swap to 50M (-s 50) but that isn&#8217;t the best solution.  Apparently there is a better image out there, and it doesn&#8217;t have this problem no matter how small (>10G) the disk is.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>After Completion:</strong></font></p>
<p><code>cd /</code><br />
<code>umount -f -a -r</code></p>
<p><code>halt</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>Reboot is MANDATORY</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>7. Boot the <a href="http://partners.ptvupgrade.com/z/35/CD45/">PTV CD again.</a>  I have condensed these commands a LOT from the original guide.  The comments remain mostly intact though.  Execute the following commands:</a></strong></font></p>
<p><code><br />
<font color="#1111ff"># Make a couple directories to mount drives</font><br />
mkdir /cdrom</p>
<p>mkdir /tivo<br />
<font color="#1111ff"># Mount your Tivo drive.  Only one of these will succeed without an error msg.</font><br />
&nbsp;&nbsp;mount /dev/hdc4 /tivo<br />
&nbsp;&nbsp; <font color="#1111ff"># OR (whichever one doesn't cause an error.  not very scientific, I know)</font><br />
&nbsp;&nbsp;mount /dev/hdc7 /tivo<br />
<font color="#1111ff"># Mount CD-Rom</font><br />
mount -t iso9660 /dev/hdd /cdrom<br />
<font color="#1111ff"># Copy the kernel to the tivo drive.</font></p>
<p>cp /cdrom/s2_kernels/3.1.1c/vmlinux.px.gz /tivo/var/vmlinux.px.gz<br />
cd /tivo/var<br />
gunzip -d -v vmlinux.px.gz<br />
umount /cdrom<br />
<font color="#1111ff"># Put the killhdinitrd'd kernel in BOTH kernel partitions. one's not necessary but it saves having to check which with bootpage</font><br />
dd if=/tivo/var/vmlinux.px of=/dev/hdc3 (should say 1+1 records in, 1+1 records out)<br />
dd if=/tivo/var/vmlinux.px of=/dev/hdc6 (should say 1+1 records in, 1+1 records out)<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>- Swap to the Tools CD.</strong>  You can skip the commands in red if you have a non-RID unit (HDVR2).</font></p>
<p><code><br />
mount -t iso9660 /dev/hdd /cdrom<br />
<font color="#1111ff"># Make a /hacks directory on the TiVo and copy the scripts you will need once you've rebooted with the drive IN the TiVo.</font><br />
mkdir /tivo/hacks/<br />
cp /cdrom/superpatch-4all-NutKase-0.7.1.tcl /tivo/hacks/<br />
cp /cdrom/set_mrv_name_ADH.tcl /tivo/hacks/<br />
cp /cdrom/guide_patch_v401b.tcl /tivo/hacks/<br />
<font color="#1111ff"># Install the init framework complete with uma6fix</font><br />
cd /tivo</p>
<p>tar -zxvf /cdrom/init_framework.tgz<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">An <a href="/projects/tivo/init.html">explanation</a> of how things should look with init_framework.  Note that if this doesn&#8217;t come out right, you will be staring at a screen that says &#8220;Welcome..Powering up&#8221;</font></p>
<p><code><br />
<font color="#ff0000"><br />
<font color="#1111ff"># Update dssapp with the one from CD you burned (skip the next three lines for non-RID units)</font><br />
mv /tivo/tvbin/dssapp /tivo/tvbin/dssapp.orig<br />
cp /cdrom/dssapp /tivo/tvbin/dssapp<br />
chmod +x /tivo/tvbin/dssapp</p>
<p></font><br />
</code><br />
<code><br />
<font color="#1111ff"># Put the lba48 uma6 kernel where the init framework expects it</font><br />
cp /cdrom/lba48_2.4.18.px /tivo/init/vmlinux.px<br />
<font color="#1111ff"># Install busybox, tivoftpd etc</font><br />
mkdir /tivo/tivo-bin<br />
cd /tivo/tivo-bin<br />
tar -xvf /cdrom/tivotools.tar<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Make sure to get this right.  This writes your bootpage so that the Tivo knows where to boot, and sets a few things like not to take software upgrades.</font></p>
<p><code><br />
cd /cdrom/<br />
./bootpage -p /dev/hdc <font color="#1111ff"># (The result of this command will be /dev/hda4 or /dev/hda7.  I will use hda7)</font><br />
./bootpage -P "root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware=false" -C /dev/hdc<br />
<font color="#1111ff"># Check it again, does everything look good?</font><br />
./bootpage -p /dev/hdc<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>8. Create /etc/rc.d/rc.sysinit.author</strong></font></p>
<p><code><br />
cd /tivo/etc/rc.d<br />
pico rc.sysinit.author<br />
</code><br />
</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>8a. Type in the following then save:</strong></font></p>
<table bgcolor="#dedede">
<tr>
<td>
<blockquote>
<p><font>#!/bin/bash</font></p>
<p><font>export TIVO_ROOT=&#8221;"</p>
<p>     export MFS_DEVICE=/dev/hda10<br />
     export PATH=./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/tivo-bin <font color="#1111ff"># This is redundant, set by test.conf, but since many struggle with it<br />
</font></p>
<p><font color="#1111ff"># start telnet</font><br />
  tnlited 23 /bin/bash -login &amp;</font></p>
<p><font color="#1111ff"># start ftp</font></p>
<p>      tivoftpd</font></p>
<p><font color="#1111ff"># make fake daily call (stops nag) <a href="/projects/tivo/fakecall.html">see explanation</a></font><br />
      fakecall.tcl</font></p>
<p><font color="#1111ff"># add two static routes so the TiVo doesn&#8217;t phone home (stops breakage)</font><br />
route add -host 204.176.49.2 gw 127.0.0.1<br />
route add -net 204.176.49.0 gw 127.0.0.1 netmask 255.255.255.0</font></p>
</blockquote>
</td>
</tr>
</table>
<p><font size="2" face="Arial, Helvetica, sans-serif">Save the rc.sysinit.author file. When you are done editing the file, hit Control-x and pico will prompt you to save it. Then type:</font></p>
<p><code><br />
<font color="#1111ff"># Make the file executable</font><br />
chmod 755 rc.sysinit.author<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>9. One more command</strong></font></p>
<p><code><br />
<font color="#1111ff"># Disable netfilter (so your Tivo can connect to any IP) <em>(thank you NutKase)</em></font></p>
<p>mv /tivo/etc/netfilter-enable /tivo/etc/netfilter-notenabled<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>10. Now unmount everything and shutdown the pc</strong></font></p>
<p><code><br />
cd /<br />
umount -f -a -r<br />
halt<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>11. Put the drive back in the tivo and boot it up. Go through Guided Setup.  Then go to Tivo Messages &#038; Setup->Restart or Reset System->Clear and Delete Everything&#8221;.  If you get an error #51, you didn&#8217;t follow the directions and do a Clear &#038; Delete Everything.  The Parental Controls password is &#8220;0000&#8243;.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>12.  Now that the fakecall is made you can setup TCP/IP settings for your Tivo.  Reboot your Tivo again. Go to Main Menu->Tivo Messages and Setup->Phone &#038; Network Setup->Edit phone and network settings->TCP/IP Settings. Unplug your phone line obviously. YES YOU HAVE TO UNPLUG IT FOR DIRECTIVO. Get it set up on your home network, I recommend letting it DHCP an address.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>13. Telnet to the IP of your tivo.  You should get a bash prompt like:</strong></font></p>
<p><code><br />
bash-2.02#<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>Type:</font></strong></p>
<p><code><br />
mount -o remount,rw /  <font color="#1111ff"># TiVo mounts the drive read-only, changes would not be applied to the disk.  This remounts it read-write.</font><br />
cd /hacks/</p>
<p>chmod 755 superpatch-4all-NutKase-0.7.1.tcl<br />
./superpatch-4all-NutKase-0.7.1.tcl<br />
chmod 755 set_mrv_name_ADH.tcl<br />
./set_mrv_name_ADH.tcl YOURTIVONAME <font color="#1111ff"># (Type in the name for your Tivo, if you have more than 1, choose something descriptive ("Bedroom Tivo").  If you use spaces, you need quotes "around it")</font><br />
chmod 755 guide_patch_v401b.tcl<br />
cp /tvbin/tivoapp /tvbin/tivoapp.guide_patch<br />
./guide_patch_v401b.tcl /tvbin/tivoapp.guide_patch<br />
<font color="#1111ff"># If it says "File was patched" proceed.  If not, bail out, and search DD for guide patch</font></p>
<p>mv /tvbin/tivoapp.guide_patch /tvbin/tivoapp<br />
mount -o remount,ro / <font color="#1111ff"># If this errors, go ahead and reboot anyway.</font><br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>14.  Reboot.  That&#8217;s it.  You can now add Tivowebplus and other hacks etc.  Your local channels could take up to 24 hours to re-appear.  Or, from a great post by AlphaWolf:</strong></p>
<p><i>Also one more thing, if you find you&#8217;ve lost your local channels after you upgrade, the quickest way to get them back is to tune your tivo to one of your local channels, dial 1-800-DIRECTV, press 1, then press 711. If you are calling from your home phone then you don&#8217;t even need to speak to a representative, and it&#8217;ll take 30 seconds or so, and your tivo will go to the acquiring screen with like 85% complete. Once it finishes, your local channels will show up on the spot.</i><br />
</font></strong></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>** Additional Things You Can Do **</strong></font></p>
<ul>
<li> Add crond to automate running fakecall daily or other things.  Keep in mind fakecall must be run weekly (or daily) to avoid the calling nag.  Consider this mandatory, but it is not part of this guide.  Explicit instructions <a href="http://www.dealdatabase.com/forum/showthread.php?p=189482&#038;highlight=crond#post189482">courtesy of AlphaWolf</a>.
<li> USB 2.0 network modules for improved speed.  See <a href="http://www.dellanave.com/projects/tivo/usb20net.html">guide</a></li>
<li> Thanks to everyone who did the Free mini Macs offer.  I got my mini a few months ago, and I love it.
<li> That said, I&#8217;d like to get my hands on an <a href="/freenano">iPod nano</a>.  Thanks for helping me out.
<li> Change the hostname of the TiVo and the bash prompt accordingly.  I like to do this so I don&#8217;t do the right command on the wrong TiVo.
<p><code><br />
hostname "hostname of your choice without quotes" # Insert your hostname<br />
echo "hostname " `hostname` >>/etc/rc.d/rc.sysinit.author # Just like its written<br />
echo "export PS1=\"\h #\"">/etc/profile<br />
</code></p>
<li> Buy me a beer.
<li> Offer me a job.
<li> Donate to the <a href="http://www.eff.org/">EFF</a>.
</ul>
<p><font size="4" face="Arial, Helvetica, sans-serif"><strong>It doesn&#8217;t work!  What should I do?</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><br />
Noticing that most of the links are from DealDatabase you might be tempted to go post there and expect someone to figure out the problem for you.  Fight the temptation.  Re-read the guide and make sure you&#8217;ve done every step correctly.  Read the threads with the linked files in them.  Search the DealDatabase forum for things relative to your problem.  Whatever problem you have, it is not unique to you or your setup.  Someone has had it before, and a solution has been presented.  Before posting, I strongly recommend reading the <a href="http://www.catb.org/~esr/faqs/smart-questions.html">guidelines</a> outlined by ESR.  If and when you do post a question, post in the Newbie Forum and make sure to be extremely specific.  Explain what hardware you are using, what software you are using, what you have done, and what you are trying to accomplish.  If you don&#8217;t, at best you will be ignored, and at worst they will make you cry.<br />
</font></p>
<p><center><a href="http://partners.ptvupgrade.com/z/19/CD45/"><img src="http://partners.ptvupgrade.com/42/45/19" alt="So easy a kid could do it!" border="0"></a><br /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/05/21/4-x-rid-installation-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>47cc Pocket Bike Nitrous Oxide</title>
		<link>http://www.dellanave.com/blog/2005/05/14/47cc-pocket-bike-nitrous-oxide/</link>
		<comments>http://www.dellanave.com/blog/2005/05/14/47cc-pocket-bike-nitrous-oxide/#comments</comments>
		<pubDate>Sat, 14 May 2005 20:41:03 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Pocket Bike Nitrous]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=319</guid>
		<description><![CDATA[47cc Pocket Bike Nitrous Oxide Last updated: 5.14.05 9:00 PM David Dellanave &#8211; ddn &#8211; http://www.dellanave.com/projects/ The only thing more fun than a pocket bike, is a pocket bike with a kick. A nitrous oxide kick. This should be the documentary of how I added a home-built nitrous setup to one of my stable of [...]]]></description>
			<content:encoded><![CDATA[<p align="center">
<font size="6" face="Arial, Helvetica, sans-serif"><strong>47cc Pocket Bike Nitrous Oxide</strong><br />
<font size="1"><strong>Last updated: 5.14.05 9:00 PM</strong></font></p>
<p><font size="0"><a href="mailto:david@dellanave.com">David Dellanave</a> &#8211; ddn &#8211; <a href="http://www.dellanave.com/projects/">http://www.dellanave.com/projects/</a></font></font>
</p>
<p><font size="2" face="Arial, Helvetica, sans-serif">The only thing more fun than a pocket bike, is a pocket bike with a kick.  A nitrous oxide kick.  This should be the documentary of how I added a home-built nitrous setup to one of my stable of pocket bikes.  Engine parts beware.</p>
<p><b>The Clean Up</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">The bike I am doing it on had gotten pretty dirty and grimy.  A full disassembly and clean-up was in order.  These pictures aren&#8217;t the greatest, but hopefully they&#8217;re an ok &#8220;before&#8221; set.  I was trying to focus on the area the nitrous would have to be installed, but I think I failed.  There isn&#8217;t a whole lot of room to mount the solenoids.</p>
<table>
<tr>
<td>
<a href="/projects/pocket_nitrous/IMG_0058.JPG"><img src="/projects/pocket_nitrous/IMG_0058_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0059.JPG"><img src="/projects/pocket_nitrous/IMG_0059_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0060.JPG"><img src="/projects/pocket_nitrous/IMG_0060_thumb.JPG" border=0></a>
</td>
</tr>
</table>
<p><b>Engine/Intake</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Ideally, nitrous (and fuel) are injected after the carb (or EFI), as close to the engine as possible.  In this type of engine, that place ends up being the small adapter/manifold between the carb and the reed block.  There wasn&#8217;t a whole lot of room here, but I was convinced it was possible without the machining of a new, larger spacer.  Also, the carb intake faces the rear tire and there wasn&#8217;t a whole lot of clearance to add a larger intake manifold spacer.  In the middle picture you can see a nice shot of how thick the manifold is and where the nitrous injection has to go.  Ideally I would have had a new manifold machined, but I don&#8217;t know any CNC machinists.</font></p>
<table>
<tr>
<td>
<a href="/projects/pocket_nitrous/IMG_0061.JPG"><img src="/projects/pocket_nitrous/IMG_0061_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0064.JPG"><img src="/projects/pocket_nitrous/IMG_0064_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0062.JPG"><img src="/projects/pocket_nitrous/IMG_0062_thumb.JPG" border=0></a>
</td>
</tr>
</table>
<p><b>Manifold Modification</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">By drilling a couple holes, and inserting some custom made tubing/fogger nozzles I was able to create my own home-grown direct-port nitrous injector manifold without affecting the intake bore at all.  There may be a tiny bit of turbulence around the holes but, shit, its a pocket bike.  The socket fit in there perfectly to keep the tubing perfectly flush with the bore.  A little JB weld is keeping the nylon tubing connected to the fogger tubing connected to the manifold.  I&#8217;m curious to see if the JB will actually hold up.</font></p>
<table>
<tr>
<td>
<a href="/projects/pocket_nitrous/IMG_0068.JPG"><img src="/projects/pocket_nitrous/IMG_0068_thumb.JPG" border=0></a>
</td>
<td>
 <a href="/projects/pocket_nitrous/IMG_0067.JPG"><img src="/projects/pocket_nitrous/IMG_0067_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0069.JPG"><img src="/projects/pocket_nitrous/IMG_0069_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0073.JPG"><img src="/projects/pocket_nitrous/IMG_0073_thumb.JPG" border=0></a>
</td>
</tr>
</table>
<p><b>Manifold Modification 2</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Well, the first manifold didn&#8217;t hold up for 5 minutes.  The macroline was too hard to bend (even heated) and the brass ended up coming loose and bending.  Here is the second version, which I like much, much better.  Hopefully it won&#8217;t put too much heat into the nitrous.  Actually, I know it will in this configuration, but I don&#8217;t care.  You can see the solenoids mounted to a bracket I fabricated.</font></p>
<table>
<tr>
<td>
<a href="/projects/pocket_nitrous/IMG_0001.JPG"><img src="/projects/pocket_nitrous/IMG_0001_thumb.JPG" border=0></a>
</td>
<td>
 <a href="/projects/pocket_nitrous/IMG_0002.JPG"><img src="/projects/pocket_nitrous/IMG_0002_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0003.JPG"><img src="/projects/pocket_nitrous/IMG_0003_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0004.JPG"><img src="/projects/pocket_nitrous/IMG_0004_thumb.JPG" border=0></a>
</td>
</tr>
</table>
<p><b>Final Assembly</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Jetting was accomplished with a #80 drill bit.  Not much thicker than a hair, its about .38mm in diameter.  A hole that small tames the 900psi of nitrous down to a nice whisper for the small engine.  I think the bottle mounting location looks cool, but needs to be made more permanent.  At this point the wiring is complete, but not all tidy until it works.  I&#8217;m leaking a lot of fuel too.  Nitrous activation is fully electronic.</font></p>
<table>
<tr>
<td>
<a href="/projects/pocket_nitrous/IMG_0006.JPG"><img src="/projects/pocket_nitrous/IMG_0006_thumb.JPG" border=0></a>
</td>
<td>
 <a href="/projects/pocket_nitrous/IMG_0007.JPG"><img src="/projects/pocket_nitrous/IMG_0007_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0008.JPG"><img src="/projects/pocket_nitrous/IMG_0008_thumb.JPG" border=0></a></p>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0009.JPG"><img src="/projects/pocket_nitrous/IMG_0009_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0010.JPG"><img src="/projects/pocket_nitrous/IMG_0010_thumb.JPG" border=0></a>
</td>
<td>
<a href="/projects/pocket_nitrous/IMG_0011.JPG"><img src="/projects/pocket_nitrous/IMG_0011_thumb.JPG" border=0></a>
</td>
</tr>
</table>
<p><b>Video</b></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">I have to say the nitrous system is a success.  At this point, I think the nitrous is actually hindering the top speed of the bike.  At the top end I believe the bike is running into a lean condition and simply running out of fuel.  That said, the kick from the nitrous is great.  I&#8217;d say it accelerates at least 100% faster when the nitrous is on.  I&#8217;d really like to get a <a href="http://www.earthscooters.com/pocketcarb.html">Walbro WT-603</a> carb which would give a far greater range of adjustability.  I&#8217;ve already spent too much money on this project, no more.</p>
<table>
<tr>
<td><a href="/projects/pocket_nitrous/deathwish1.mov">H.264 Encoded QuickTime (2.5MB)</a></td>
<td><a href="/projects/pocket_nitrous/deathwish1_mp4.mov">MPEG4 Encoded QuickTime (25MB)</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/05/14/47cc-pocket-bike-nitrous-oxide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB 2.0 Network Modules Guide</title>
		<link>http://www.dellanave.com/blog/2005/02/15/usb-2-0-network-modules-guide/</link>
		<comments>http://www.dellanave.com/blog/2005/02/15/usb-2-0-network-modules-guide/#comments</comments>
		<pubDate>Tue, 15 Feb 2005 20:25:16 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Tivo]]></category>

		<guid isPermaLink="false">http://www.dellanave.com/blog/?p=309</guid>
		<description><![CDATA[USB 2.0 Network Modules Guide Last updated: 2.15.05 9:00 PM David Dellanave &#8211; ddn &#8211; projects &#8211; david This is a short guide on using the USB 2.0 network modules in kernel 2.4.18. While this process is exceptionally simple, misinformation and old information has made it difficult to understand. These drivers were compiled from the [...]]]></description>
			<content:encoded><![CDATA[<p><script language="JavaScript">
<!--
function popup(url){
var winpop = window.open(url,"","height=500, width=600, location=0, status=0,scrollbars=1");
}
//-->
</script><html></p>
<p align="center">
<font size="6" face="Arial, Helvetica, sans-serif"><strong>USB 2.0 Network Modules Guide</strong><br />
<font size="1"><strong>Last updated: 2.15.05 9:00 PM</strong></font><br />
<font size="0"><a href="mailto:david@dellanave.com">David Dellanave</a> &#8211; ddn &#8211; <a href="http://www.dellanave.com/projects/tivo">projects</a> &#8211; <a href="http://www.dellanave.com/">david</a></font></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">This is a short guide on using the USB 2.0 network modules in kernel 2.4.18.  While this process is exceptionally simple, misinformation and old information has made it difficult to understand.  These drivers were compiled from the USB 2.4.27 tree.  I am only including the modules for 2.4.18.  I use these on my 4.0.1b Series 2 DirecTivo boxen.  The advantages are mainly huge performance gains.  <font color="#dd2222">These modules are no longer the latest and greatest.  They still work, but I haven&#8217;t had time to do the latest yet. 5/12/05</font></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>1: Download the following files.  Directly to your tivo if you wish (tivotools includes wget).  That is the method I will use.  Otherwise download them to your PC and FTP them over.  I will use /hacks, but you can use whatever directory you want.  This file will only be there temporarily.  These modules are ADH&#8217;s usbobj2.4.27-20050104 build.</strong></font></p>
<table width="80%"  border="1" cellspacing="0" cellpadding="5">
<tr>
<td><font size="2" face="Arial, Helvetica, sans-serif">2.4.18 USB 2.0 Modules</font></td>
<td valign="middle"><font size="2" face="Arial, Helvetica, sans-serif"><strong><a href="usb20netmodules-2.4.18.tar.gz">Download here (local)</a></strong></font></td>
</tr>
</table>
<p>
<code><br />
mount -o remount,rw /   # Mount the filesystem read-write</p>
<p>cd /hacks<br />
wget http://www.dellanave.com/projects/tivo/usb20netmodules-2.4.18.tar.gz<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>2.  Download and unpack the modules.</strong></font></p>
<p><code><br />
cd /hacks<br />
tar -zxvf usb20netmodules-2.4.18.tar.gz<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>2.  Backup the old modules in case you screw it up.</strong></font></p>
<p><code><br />
cd /lib/modules/<br />
mkdir backup<br />
mv ax8817x.o backup/</p>
<p>mv usbcore.o backup/<br />
mv usb-ohci.o backup/<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>3. Replace with the new modules.</strong></font></p>
<p><code><br />
mv /hacks/usb20netmodules-2.4.18/usbcore.o /lib/modules/<br />
mv /hacks/usb20netmodules-2.4.18/usb-ohci.o /lib/modules/<br />
mv /hacks/usb20netmodules-2.4.18/usbnet.o /lib/modules/<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">AND&#8230;.link usbnet to ax8817x</font></p>
<p><code><br />
ln -s /lib/modules/usbnet.o /lib/modules/ax8817x.o<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Clean up the module package.  Skip this if you&#8217;re unsure, and clean it up later.</font></p>
<p><code><br />
rm -rf /hacks/usb20net*<br />
</code></p>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>4.  Edit your test.conf file, which should be at /test.conf and add this after the &#8220;done&#8221;.  If you don&#8217;t have a test.conf, feel free to create it at the root of the filesystem: /</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">The test.conf file is executed during the boot process long before system init scripts like rc.sysinit.author.  Adding these insmod&#8217;s allows you to tweak the options passed to the modules when they are loaded.  It also loads them before tivoapp would do so.  This is not necessary by any means, but obviously is an easy tweak.  I should have added this clarification earlier.  Thanks to JohnSorTivo for clarifying it on DD and his always-useful posts.</font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">In case you&#8217;re curious about what log2_irq_thresh does: lusb-devel: &#8220;Log2 of default interrupt delay, in microframes.  The default value is 0, indicating 1 microframe (125 usec).  Maximum value is 6, indicating 2^6 = 64 microframes.  This controls how often the EHCI controller can issue interrupts.&#8221;  Basically the higher you set this, the more time between interrupts.  I suspect this would have an adverse affect if you had a lot of devices contending for the bus, but only having a USB adapter it improves performance (notably).  Look for more performance-gaining options in the future.</strong></font></p>
<p><code><br />
vi /test.conf <font color="#1111ff"># a vi <a href="http://www.troubleshooters.com/linux/viquick.htm">quickstart guide</a></font></p>
<p></code></p>
<table bgcolor="#dedede">
<tr>
<td>
<code><br />
#!/bin/bash</p>
<p>echo "starting test.conf"<br />
export PATH=./:.:/utils:/bin:/sbin:/tvbin:/tivobin:/busybox<br />
export upgradesoftware=false<br />
for foo in /init/*.init ; do<br />
 echo "starting $foo"<br />
 $foo<br />
done</p>
<p>/sbin/insmod /lib/modules/usbcore.o log2_irq_thresh=4<br />
/sbin/insmod /lib/modules/usbnet.o<br />
/sbin/insmod /lib/modules/usb-ohci.o</p>
<p></code>
</td>
</tr>
</table>
<p><font size="2" face="Arial, Helvetica, sans-serif"><strong>4.  That&#8217;s it, reboot and enjoy faster transfers.</strong></font></p>
<p><font size="2" face="Arial, Helvetica, sans-serif">Example of the improved transfer:</font></p>
<p>ncftp /ty > get &#8220;{The Simpsons}{2004-12-12}{Fat Man and Little Boy}{02.30 AM T$<br />
&#8230;M Thu Aug 15, 2002}{MN9}.ty:    427822507 bytes  <b>493.10 kB/s</b></p>
<p>ncftp /ty+ > get &#8220;{The Simpsons}{2004-12-12}{Fat Man and Little Boy}{02.30 AM $<br />
&#8230;Thu Aug 15, 2002}{KMSP}.ty+:     55182760 bytes   <b>1.57 MB/s</b></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dellanave.com/blog/2005/02/15/usb-2-0-network-modules-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

