<?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>about:benjie &#187; surprise</title>
	<atom:link href="http://www.benjiegillam.com/tag/surprise/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benjiegillam.com</link>
	<description>Benjie Gillam&#039;s blog, and home of MythPyWii - probably the best Wii remote (Wiimote) interface to MythTV - see sidebar.</description>
	<lastBuildDate>Tue, 06 Apr 2010 14:14:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>N900: the tale of the indestructible box</title>
		<link>http://www.benjiegillam.com/2009/12/n900-the-tale-of-the-indestructible-box/</link>
		<comments>http://www.benjiegillam.com/2009/12/n900-the-tale-of-the-indestructible-box/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 08:51:03 +0000</pubDate>
		<dc:creator>Benjie</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[hackerbox]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[indestructible]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[surprise]]></category>

		<guid isPermaLink="false">http://www.benjiegillam.com/?p=251</guid>
		<description><![CDATA[This post is part 1 of a 3 part series. You may also be interested in: Part 2: N900: first impressions Part 3: N900: a phone for hackers? (coming soon&#8230;) A week ago I was contacted by Lydia of WOMWorld.com/nokia who asked me if I would be interested in receiving an indestructible box. I was [...]]]></description>
			<content:encoded><![CDATA[<p><strong><em>This post is part 1 of a 3 part series. You may also be interested in:<br />
<a href="http://www.benjiegillam.com/2009/12/n900-first-impressions/">Part 2: N900: first impressions</a><br />
Part 3: N900: a phone for hackers? (coming soon&#8230;)</em></strong></p>
<p>A week ago I was contacted by Lydia of <a title="WOMWorld/Nokia" href="http://www.womworld.com/nokia/" target="_blank">WOMWorld.com/nokia</a> who asked me if I would be interested in receiving an indestructible box. I was told that she found me via <a title="Benjie Gillam on Twitter" href="http://twitter.com/BenjieGillam" target="_blank">my twitter profile</a> and felt it would appeal to my passions. After confirming the email was not spam I replied, intrigued, &#8220;yes please&#8221; and sent her my address.</p>
<div style="float:left;margin-right:10px;"><a href="http://www.benjiegillam.com/wp-content/uploads/2009/12/NokiaPackageArrives.jpg"><img src="http://www.benjiegillam.com/wp-content/uploads/2009/12/NokiaPackageArrives-150x150.jpg" alt="Package Arrives" title="Package Arrives" width="150" height="150" class="alignleft size-thumbnail wp-image-266"></a></div>
<p>Yesterday it arrived. I opened the door to a delivery man who offered me a large cardboard box. Jof had suggested to me that it would likely be an N900 (which I had heard a little about but had not had time to look into) so I was expecting a small package. Surprised I was when the box the man handed me was so large and heavy &#8211; 35x35x35cm and 7.5kg!</p>
<div style="float:right;margin-left:10px;"><a href="http://www.benjiegillam.com/wp-content/uploads/2009/12/NokiaBoxHybrid.jpg"><img src="http://www.benjiegillam.com/wp-content/uploads/2009/12/NokiaBoxHybrid-150x150.jpg" alt="Nokia Box" title="Nokia Box" width="150" height="150" class="alignright size-thumbnail wp-image-270"></a></div>
<p>I took it indoors and opened it, to find a large package, cold to the touch, wrapped up in brown parcel paper and surrounded by polystyrene balls.&nbsp;Unwrapping this (and making a hell of a mess with the styrofoam balls which attempted to mirror the snow outside onto my living room floor) unveiled a 25x25x25cm black shiny box with a <a class="zem_slink" href="http://nokia.com" title="Nokia Siemens" rel="homepage">Nokia</a> logo on top, a hinge and a small <a href="http://en.wikipedia.org/wiki/Universal_Serial_Bus#Connector_types" target="_blank">USB mini-B socket</a> barely visible on one side. It was obvious that the top would open&#8230; but how?</p>
<p>I wanted to attempt to hack it right away, but two things stopped me: firstly, I should be working; and secondly the box was wet with condensation from the sudden contrast with the cold outside. I went back to work.</p>
<p>A hour and a half later I got temporarily stumped with a programming problem and decided to attempt to hack the box.</p>
<p>My first step was to see what happened when I plugged it in to the USB. I booted into <a class="zem_slink" href="http://www.ubuntu.com/" title="Ubuntu (operating system)" rel="homepage">Ubuntu</a> 9.10, ran <tt>dmesg -c</tt> to clear all the kernel messages, plugged it in, waited a few seconds, and ran <tt>dmesg</tt> again to see just the new logs:</p>
<pre style="color:green;font-weight:bold;">[  314.544034] usb 6-2: new full speed USB device using uhci_hcd and address 2
[  314.747104] usb 6-2: configuration #1 chosen from 1 choice
[  314.811722] usbcore: registered new interface driver usbserial
[  314.811734] USB Serial support registered for generic
[  314.811764] usbcore: registered new interface driver usbserial_generic
[  314.811766] usbserial: USB Serial Driver core
[  314.823161] USB Serial support registered for FTDI USB Serial Device
[  314.823263] ftdi_sio 6-2:1.0: FTDI USB Serial Device converter detected
[  314.823283] usb 6-2: Detected FT232RL
[  314.823285] usb 6-2: Number of endpoints 2
[  314.823287] usb 6-2: Endpoint 1 MaxPacketSize 64
[  314.823289] usb 6-2: Endpoint 2 MaxPacketSize 64
[  314.823291] usb 6-2: Setting MaxPacketSize 64
[  314.825064] usb 6-2: FTDI USB Serial Device converter now attached to ttyUSB0
[  314.825077] usbcore: registered new interface driver ftdi_sio
[  314.825079] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
</pre>
<p>I spotted the <tt>/dev/ttyUSB0</tt> and instantly thought &#8220;<tt>minicom</tt>.&#8221; It took me a while to refamiliarise myself with the program and get it to connect, but soon I had fiddled with the speed settings (reduced it to just 9600baud from 115200) and was greeted the following output on my screen:</p>
<pre style="color:green;font-weight:bold;">  _   _  ___  _  _____    _
 | \ | |/ _ \| |/ /_ _|  / \
 |  \| | | | | ' / | |  / _ \
 | |\  | |_| | . \ | | / ___ \
 |_| \_|\___/|_|\_\___/_/   \_\
 *******************************
    W3lc0m3 t0 n0k14 h4x0rb0x!
 *******************************                                               

 ? - displays help dialog                                                      

$-nokia h4x0rb0x-&gt;
</pre>
<p>Unfortunately I could not type into minicom. I experimented with the speed and parity settings some more (as they had helped before) but no use. Finally I disabled hardware <a class="zem_slink" href="http://en.wikipedia.org/wiki/Control_flow" title="Control flow" rel="wikipedia">flow control</a> and voilà I could type. Then it was simply a case of typing &#8220;?&#8221; to find out what commands were available:</p>
<pre style="color:green;font-weight:bold;">$-nokia h4x0rb0x-&gt; ?
Available commands:                                                            

 ? - prints this help dialog                                                    

 connecting &lt;argument&gt; - opens box                                              

$-nokia h4x0rb0x-&gt;
</argument></pre>
<p>And guessing what the argument to the nokia connecting command was&#8230;</p>
<pre style="color:green;font-weight:bold;">$-nokia h4x0rb0x-&gt; connecting people                                            

Initiation complete.                                                            

Start Connecting.                                                               

$-nokia h4x0rb0x-&gt;
</pre>
<div style="float:left;margin-right:10px"><a href="http://www.benjiegillam.com/wp-content/uploads/2009/12/DSCF4070.JPG"><img src="http://www.benjiegillam.com/wp-content/uploads/2009/12/DSCF4070-150x150.jpg" alt="The Box Opens" title="The Box Opens" width="150" height="150" class="alignleft size-thumbnail wp-image-273"></a></div>
<p>Hardly a challenge! A nice clichéd progress bar appeared for a few seconds and then *click* the lid popped open a little. I opened it fully and was pleased to see that they had even included <a class="zem_slink" href="http://en.wikipedia.org/wiki/Dry_ice" title="Dry ice" rel="wikipedia">dry ice</a> to maximise theatrics, with the N900 packed safely waiting to be admired.</p>
<div style="float:right;margin-left:10px"><a href="http://www.benjiegillam.com/wp-content/uploads/2009/12/NokiaWinnings.jpg"><img src="http://www.benjiegillam.com/wp-content/uploads/2009/12/NokiaWinnings-150x150.jpg" alt="Nokia Winnings" title="Nokia Winnings" width="150" height="150" class="alignright size-thumbnail wp-image-274"></a></div>
<p>They really put a lot of thought into this! I delved deeper and here are all of my winnings:</p>
<p>That&#8217;s: an N900 with accessories plus a butane soldering iron, sports band, cake, and a little fox figurine. </p>
<p style="clear:both;">The box itself was powered by a Roboduino Nano (which I intend to repurpose later&#8230; not sure what as yet) hooked up to a solenoid:</p>
<div style="text-align:center;"><a href="http://www.benjiegillam.com/wp-content/uploads/2009/12/20091219_001.jpg"><img src="http://www.benjiegillam.com/wp-content/uploads/2009/12/20091219_001-300x168.jpg" alt="Internals of the indestructible box" title="Internals of the indestructible box" width="300" height="168" class="aligncenter size-medium wp-image-276"></a></div>
<p><strong>UPDATE:</strong> Techcrunch have a <a href="http://eu.techcrunch.com/2009/12/22/insane-video-of-nokia-n900-unboxing-requires-you-to-hack-into-it/trackback/">video of the opening</a> &#8211; check it out!</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/SvKL7To6VbM&#038;hl=en_GB&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/SvKL7To6VbM&#038;hl=en_GB&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<p><strong><em>Continue reading:<br />
<a href="http://www.benjiegillam.com/2009/12/n900-first-impressions/">Part 2: N900: first impressions</a><br />
Part 3: N900: a phone for hackers? (coming soon&#8230;)</em></strong></p>
<div class="zemanta-pixie" style="margin-top:10px;height:15px"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/a1ddef28-4180-4a08-bc41-36db7671a790/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://img.zemanta.com/reblog_e.png?x-id=a1ddef28-4180-4a08-bc41-36db7671a790" alt="Reblog this post [with Zemanta]" style="border:none;float:right"></a><span class="zem-script more-related pretty-attribution"><script type="text/javascript" src="http://static.zemanta.com/readside/loader.js" defer="defer"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.benjiegillam.com/2009/12/n900-the-tale-of-the-indestructible-box/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
