<?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>blog.redstoyland.com &#187; software</title>
	<atom:link href="http://blog.redstoyland.com/tag/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.redstoyland.com</link>
	<description>Random Writings &#38; Rants by Red</description>
	<lastBuildDate>Sat, 11 Jun 2011 22:56:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Why I jailbroke (unlocked) an iPhone and How</title>
		<link>http://blog.redstoyland.com/2010/11/30/why-i-jailbroke-unlocked-an-iphone-and-how/</link>
		<comments>http://blog.redstoyland.com/2010/11/30/why-i-jailbroke-unlocked-an-iphone-and-how/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 15:00:02 +0000</pubDate>
		<dc:creator>Red Byer</dc:creator>
				<category><![CDATA[Parenting]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.redstoyland.com/?p=386</guid>
		<description><![CDATA[First, the mini &#60;rant&#62;: F-U Apple &#38; AT&#38;T.    You pissed me off this weekend, and I&#8217;m a bloody self-admitted Apple fanboy!  Why on earth can&#8217;t I take an iPhone and yank the SIM chip and have an effective iPod Touch?  Why doesn&#8217;t this work?  Why do you force me to sign up for AT&#38;T or [...]]]></description>
			<content:encoded><![CDATA[<p><em>First, the mini &lt;rant&gt;:<strong> F-U</strong></em> Apple &amp; AT&amp;T.    You pissed me off this weekend, and I&#8217;m a bloody self-admitted Apple fanboy!  Why on earth can&#8217;t I take an iPhone and yank the SIM chip and have an effective iPod Touch?  Why doesn&#8217;t this work?  Why do you force me to sign up for AT&amp;T or brick the phone?  Why would you both do such a stupid, shortsighted, retarded, AT&amp;T monopolistic thing.   It&#8217;s time for the federal government to once again break AT&amp;T up into little bitty pieces that actually serve <em>customers</em>.     While I&#8217;m at it, WHY THE F@#&amp; can&#8217;t I forward text messages from one phone to another???  I can auto-forward my phone calls, why can&#8217;t I forward text messages!  ARGH.  &lt;/rant&gt;</p>
<p>Which brings me to the post.  <em>Disclaimer&#8230;.if you are from AT&amp;T or Apple Legal, then be advised that this entire post is a work of fan fiction from one hell of an angry &#8216;fan&#8217;.</em></p>
<h2>Why?</h2>
<p>So I have this extra 2G iPhone lying around that was gathering dust (reason #1).   We like to keep it around as a backup, so selling it off on eBay was not an option.    Dagny is cute (reason #2) and always tries to play with our phones (reason #3).  In fact, Dagny has learned how to unlock an iPhone without missing a beat.  She&#8217;s so good at manipulating our iPhones that we can no longer let her near them (reason #4) (deleted apps, random dialed calls, removed contacts, etc).</p>
<p>I figured I would simply back up, then do a factory restore on this old 2G iPhone and hand the new baby rattle over.  Without a SIM card, Dagny couldn&#8217;t dial out, and who cares what else she did, &#8217;cause I could just restore it over and over.    But that&#8217;s where AT&amp;T and Apple screwed me and my toddler over.</p>
<p>AT&amp;T Executives:  <em>&#8220;Sorry, consumer.  That phone that you paid $200 for a few years ago is a stupid glass monolithic brick.  You don&#8217;t reallly own it&#8230;think of it more like an extended $60/month lease with a big down payment.  In it&#8217;s current state, it wouldn&#8217;t even interest a 6 month old.  Would you like to buy a data plan and a hefty 2 year contract?&#8221;</em></p>
<p>Me: <em>&#8220;Screw you, AT&amp;T and Apple.   I&#8217;m jailbreaking this thing so that my toddler can play with it the way Geek intended.  After all, the iPhone 2G is a marvelous baby rattle</em><em> and a baby rattle needs no cell tower access!&#8221;</em></p>
<p><em><br />
</em></p>
<h2>How I did it</h2>
<p><em>Disclaimer:  This post is for informational purposes only&#8230;.and might even be a work of fiction. Any instructions in here are merely illustrative of what one could do if one lived in a realm free of retarded government regulations, Bristol Palin and AT&amp;T.  Don&#8217;t do anything illegal, okay, even if you own the device outright and want it to just f&#8217;ing work without needing a 2 year contract to a horrible service provider.<br />
</em></p>
<p>As of November 2010, unlocking a 2G iPhone took about a day of dedication, as the jailbreakers out there don&#8217;t actively support the older phones (e.g. the 2G iPhone).  I had to piece some things togther, but managed to get it done with a few tidbits of luck.   Those sneaky details are below.</p>
<h3>Step 1:  Gather ye tools</h3>
<p>You will need PwnageTool 3.1.5 (the 4.1 line doesn&#8217;t support the 2G).    I am told that <a href="http://search.yahoo.com" target="_blank">google</a> has said links to said torrents.  On the mac, <a href="http://www.transmissionbt.com/" target="_blank">Transmission.app</a> is seemingly decent at getting ahold of torrent files.</p>
<p>You are also going to want a copy of the iPhone1,1_3.1.2_7D11_Restore.ipsw file.   The IPSW (iPhone SoftWare) file can also be found around the net.  You could use 3.1.3, but I stuck with 3.1.2 out of blind luck and stubborness.  PwnageTool will take this off-the-shelf .ipsw file and create a custom one capable of unlocking your iPhone.</p>
<h3>Step 2: Create your custom .ipsw file</h3>
<p>I then followed a great post on <a href="http://www.iclarified.com/entry/index.php?enid=4255">iClarified </a>on how to use pwnagetool to unlock your 2G iPhone. <strong>The most important step here</strong> is to use the Expert setting and make sure that openSSH is installed with Cydia.   We&#8217;re going to need this later to fix some Cydia crap.   I eventually learned that Cydia is like the AppStore for unlocked iPhones, there&#8217;s a lot of cool free and paid stuff in there, and it serves as a sort of central distribution point for getting things on and off the unlocked phone.</p>
<p>While I was at it, I installed some other packages. <em>However, not all packages work with 3.1.x and they won&#8217;t tell you this until too late</em>, so be careful here.</p>
<p>Now, finish up and create your custom .ipsw file and save it where you can find it.</p>
<h3>Step 3: Load your custom .ipsw file</h3>
<p>Follow pwnagetools guide for getting your iPhone into DFU mode.  In this mode, iTunes will ask to restore the software, and that&#8217;s exactly what we want.   Once again, we&#8217;re following <a href="http://www.iclarified.com/entry/index.php?enid=4255">iClarified </a> and their sweet post.</p>
<p>So, you&#8217;ll launch iTunes and it will ask you to restore the phone.  The little trick here is to hold the <strong>option</strong> (or &#8220;alt&#8221;) key down when you click the restore button.   This will get iTunes to ask you for the location to your custom .ipsw file.   Thanks for loading my hacked file onto the phone, iTunes.  You&#8217;re like a free piece of music software to me.</p>
<h3>Step 4:  Allow your phone to do its thing</h3>
<p>This isn&#8217;t really a step, but your phone will get all the bits onto it, then it will reboot (with the hacked pineapple logo from pwnagetool) and then it will upgrade stuff for a few minutes and then it will reboot again and you will have an unlocked phone in less time than it took to read this long runon and poorly structured sentence.</p>
<h3>Step 5:  Now the fun begins</h3>
<p>This is where the instructions leave off, and my possibly fictional help leads you to unlocked bliss.</p>
<p>First, get your wifi connection up and running (just as you normally would).</p>
<p>Second, launch the Cydia app that is on your phone.  It&#8217;s slow as a dog, but eventually should show something.    But when I tried to apply it&#8217;s upgrades or install packages, I would keep getting error messages, and this is where it got interesting. (If your Cydia app works fine at this point, then there is no reason to read further&#8230;)</p>
<p>After much stumbling, re-installing of the .ipsw file, re-tweaking of the installed packages, etc&#8230;.I pieced together some posts and figured out a sequence of events that mostly worked.</p>
<h3>Step 6: Getting Cydia and installed packages to work</h3>
<p>First, SSH into your device.  (Under your iPhone settings, to to WiFi and figure out your iPhone&#8217;s IP address).  On your mac, launch Terminal.app and type <strong>ssh root@my.ip.add.ress</strong></p>
<p>Your terminal will freeze for minutes as the iPhone generates a series of ssh keys.   Eventually you will be asked to accept the fingerprint of the iPhone, and you obviously agree.</p>
<p>The password for this version of pwnagetool/cydia is <strong>alpine</strong>.  (You can change it from your iPhone&#8217;s command line by using the <strong>passwd</strong> command).</p>
<p>Wow&#8230;..you&#8217;re in!   If you&#8217;re a geek, you are excited by the fact that you are on the command line of your iPhone.   If you&#8217;re not a geek, you may never get this far, or are pissed off at having to type commands to get simple things to actually happen<strong> </strong></p>
<p>On the command line of the iPhone:</p>
<ul>
<li><strong>su</strong> to get to root access</li>
<li><strong>dpkg &#8211;configure -a</strong> to fix the messed up package system</li>
<li><strong>apt-get update</strong></li>
<li><strong>apt-get install cydia </strong>(or  apt-get install cydia &#8211;fix-missing)</li>
<li><strong>apt-get upgrade</strong></li>
</ul>
<p>But that didn&#8217;t seem to work completely for me.  I kept getting errors from other packages.  The super secret trick.</p>
<ul>
<li><strong>cd /usr/sbin</strong></li>
<li><strong>ls -a</strong> check to see if there is a file &#8220;nvram&#8221;.  Most likely it isn&#8217;t there</li>
<li><strong>touch nvram </strong>create a file that apparently was missing in the first place</li>
<li><strong>apt-get -f install</strong></li>
<li><strong>apt-get -f update</strong></li>
<li><strong>apt-get -f upgrade</strong></li>
</ul>
<p>That did it.   By creating the nvram file, I was able to re-run the other commands and get them to work.  If the &#8220;dpkg &#8211;configure -a&#8221; command still doesn&#8217;t work, you may have to remove some packages that aren&#8217;t compatible.  At this point, &#8220;apt-get install cydia&#8221; should work as well.</p>
<h3>Step 7:  Final tweaks</h3>
<p>I was still getting some Cydia issues when starting the app.  It would get stuck on some repositories, and make the app almost unusable (Dear Cydia, your timeouts are too long.)   First, try to figure out what repositories are not responding (Cydia will typically pop up an error message with the link names that failed).</p>
<p>Now, fire up Terminal.app and SSH into your iPhone.  On the iPhone&#8217;s command line:</p>
<ul>
<li><strong>cd /etc/apt/sources.list.d/</strong></li>
<li>Depending on the version of Cydia, you will either see one file (&#8220;Cydia.list&#8221;) or several files.  I had to go through each of the files (using either &#8220;more&#8221; or &#8220;less&#8221;) to find the repository in question.</li>
<li><strong>rm name-of-file</strong> to get rid of it.</li>
</ul>
<p>Once you re-open/re-launch Cydia, it should no longer look for the repository you just removed.</p>
<h2>Living with the jailbroken Baby Rattle</h2>
<p>Dagny just <strong>loves</strong> her new phone.  However, we learned two things quickly.</p>
<ol>
<li>We desperately needed a soft case on the phone to keep her from chewing on the metal/glass.</li>
<li>Once we give the phone to her to play with&#8230;.. we don&#8217;t get it back!</li>
</ol>
<h3>Making the baby rattle better</h3>
<p>I immediately signed Dagny up (using a junk email address) for an iTunes account without a secured credit card).  That enabled us/her to download free apps, like Animal Sounds Free and other age appropriate tidbits.</p>
<p>I also took a little Daddy time and played with Cydia and some of the nice apps out there.  After all, if I can be interested enough to play with a baby rattle, it&#8217;s a pretty fun baby rattle.  Note that there are some Cydia apps that supposedly enable backups of unlocked apps to be downloaded through iTunes &#8212; this should make restoring a bit easier should something go awry.</p>
<h3>Keeping the rattle jailbroken</h3>
<p>Once I had Cydia fixed and things stable, I immediately made a backup through iTunes.   Hopefully this will provide a parachute for when Dagny inevitably messes up some key setting.</p>
<p>That said, I also plan to <strong>never allow iTunes to upgrade the firmware on the iPhone.</strong> This is key to keep things unlocked.</p>
<h2>Wrapping it up</h2>
<p>Sorry if this wasn&#8217;t the most complete tutorial, and I hope soembody finds the last few command line tidbits useful.   After all (1) this isn&#8217;t a bad way to get some utility out of an older backup phone that you might have lying around and (2) it was kind of a fun side project.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redstoyland.com/2010/11/30/why-i-jailbroke-unlocked-an-iphone-and-how/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoLive Rant</title>
		<link>http://blog.redstoyland.com/2005/01/17/golive-rant/</link>
		<comments>http://blog.redstoyland.com/2005/01/17/golive-rant/#comments</comments>
		<pubDate>Mon, 17 Jan 2005 15:54:21 +0000</pubDate>
		<dc:creator>Red Byer</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.redstoyland.com/?p=27</guid>
		<description><![CDATA[As a mechanical engineer, I am truly in awe with how certain portions of the software industry (you can't blame all of them, because there *is* good software out there) keep charging for beta-level software.]]></description>
			<content:encoded><![CDATA[<p>First off. I&#8217;m an Adobe loyalist. I love Illustrator and Photoshop and even like Acrobat on occasion (although 6.0 is a memory pig). Maybe this blog entry will get its own rant if the GoLive team doesn&#8217;t release an update. <strong>Fact</strong>: GoLiveCS is buggy and crashes often. <strong>Fact</strong>: Lots of users have complained and &#8220;stability&#8221; is the number one requested &#8220;new&#8221; feature. <strong>Fact</strong>: There has not been a bugfix release since 3/2004!!! <strong>Rumor</strong>: GoLiveCS is due for version 2.0, which will likely come with a $100 &#8220;upgrade fee&#8221;.</p>
<p><span id="more-27"></span></p>
<p>As a mechanical engineer, I am truly in awe with how certain portions of the software industry (you can&#8217;t blame all of them, because there *is* good software out there) keep charging for beta-level software. And if that wasn&#8217;t enough, they hide behind the &#8220;everybody&#8217;s doing it&#8221; excuse! If I hadn&#8217;t spent all this time learning GoLive (it is *far* from intuitive, so be prepared to study the manual) and constructing this site, I think I might have gone Dreamweaver. There are days, when due to planetary misalignment and the cold weather outside, GoLive will spontaneously crash at least every 30 minutes. I am starting to wonder where GoLive&#8217;s QA engineers were during the time of release. And if that isn&#8217;t enough, numerous other users are complaining of the same issues&#8230;with no update in sight!</p>
<p>The way I figure it, Adobe is going to have to cut me a check for using GoLive&#8230;as a QA tester!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.redstoyland.com/2005/01/17/golive-rant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
