<?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>The official website of RyeBrye. Sometimes known as Ryan Gardner. &#187; source code</title>
	<atom:link href="http://www.ryebrye.com/blog/tag/source-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ryebrye.com/blog</link>
	<description>Android, Flex, family, and random topics</description>
	<lastBuildDate>Wed, 08 Sep 2010 04:07:15 +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>G1 Multitouch Proof of Concept: Source code posted</title>
		<link>http://www.ryebrye.com/blog/2008/11/30/g1-multitouch-proof-of-concept-soure-code-posted/</link>
		<comments>http://www.ryebrye.com/blog/2008/11/30/g1-multitouch-proof-of-concept-soure-code-posted/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 07:18:24 +0000</pubDate>
		<dc:creator>RyeBrye</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[G1 hacking]]></category>
		<category><![CDATA[G1]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[multitouch]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://www.ryebrye.com/blog/?p=649</guid>
		<description><![CDATA[The ugly, thrown-together-hack that is the G1 multi-touch proof of concept now has the source code available. The instructions for working / playing with this are: Instructions: If you want to build your own kernel with the char device for multitouch enabled: Apply the patch to the synaptics touchscreen driver file. Build a new kernel [...]]]></description>
			<content:encoded><![CDATA[<p>The ugly, thrown-together-hack that is the G1 multi-touch proof of concept <a href="http://ryebrye.com/files/multitouch_archive.zip">now has the source code available</a>.<br />
<span id="more-649"></span><br />
The instructions for working / playing with this are:</p>
<h2>Instructions:</h2>
<p>If you want to build your own kernel with the char device for multitouch enabled:</p>
<ol>
<li>Apply the patch to the synaptics touchscreen driver file.</li>
<li>Build a new kernel with that modified version in it.</li>
<li>Build a new boot.img using that kernel</li>
<li>Flash the kernel on the G1 with the new boot.img</li>
</ol>
<p>If you don&#8217;t want to build your own kernel:</p>
<ul>
<li>Just copy the boot.img over to your sdcard and then:<br />
<code>flash_image boot /sdcard/boot.img </code></li>
</ul>
<ol start="5">
<li>Reboot the phone</li>
</ol>
<p>Once the phone reboots, you need to create the device node for it to be able to read it.</p>
<p>It&#8217;s easiest to do this from your machine:<br />
<code>adb shell busybox mknod /dev/tsout c 249 0</code></p>
<p>To test if this works, <code>cat /dev/tsout </code> on the device while you are touching the screen.</p>
<p>Next, build and install the multipoc app from your eclipse build, and install it.</p>
<p>The proof-of-concept app is EXTREMELY rough. If you make significant improvements to things, let me know and I&#8217;ll update the files here.</p>
<p>The multitouch proof-of-concept java is based heavily on Google&#8217;s fingerpaint program.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ryebrye.com/blog/2008/11/30/g1-multitouch-proof-of-concept-soure-code-posted/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
