<?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>JD&#039;s Blog &#187; Fastboot</title>
	<atom:link href="http://www.jdsblog.it/tag/fastboot/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jdsblog.it</link>
	<description>no, Scrubs non c&#039;entra proprio niente.</description>
	<lastBuildDate>Mon, 22 Feb 2010 16:08:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Far riconoscere l&#8217;HTC Dream G1 all&#8217;Android SDK/ADB/Fastboot sotto Ubuntu 9.10 Karmic Koala</title>
		<link>http://www.jdsblog.it/informatica/797/far-riconoscere-lhtc-dream-g1-allandroid-sdkadbfastboot-sotto-ubuntu-9-10-karmic-koala/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=far-riconoscere-lhtc-dream-g1-allandroid-sdkadbfastboot-sotto-ubuntu-9-10-karmic-koala</link>
		<comments>http://www.jdsblog.it/informatica/797/far-riconoscere-lhtc-dream-g1-allandroid-sdkadbfastboot-sotto-ubuntu-9-10-karmic-koala/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:54:55 +0000</pubDate>
		<dc:creator>JD</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Informatica]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ADB]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Fastboot]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[HTC Dream]]></category>

		<guid isPermaLink="false">http://www.jdsblog.it/?p=797</guid>
		<description><![CDATA[Guida su come far riconoscere un HTC Dream G1 all'Android SDK/ADB/Fastboot sotto Ubuntu 9.10 Karmic Koala]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-803" title="Logo Android" src="http://www.jdsblog.it/wp-content/uploads/2009/10/android_logo.png" alt="Logo Android" width="64" height="64" />Sono oramai sette giorni esatti che smanetto col mio nuovo HTC Dream G1. E solo ora ho trovato il tempo per scrivere qualche guida che lo riguarda.</p>
<p>In questo articolo cercherò di spiegare come <strong>far riconoscere il Dream all&#8217;Android SDK e ai tools ADB e Fastboot sotto Ubuntu 9.10 Karmic Koala</strong><sup><a href="http://www.jdsblog.it/informatica/797/far-riconoscere-lhtc-dream-g1-allandroid-sdkadbfastboot-sotto-ubuntu-9-10-karmic-koala/#footnote_0_797" id="identifier_0_797" class="footnote-link footnote-identifier-link" title="questa procedura dovrebbe funzionare comunque anche sotto Ubuntu 9.04 Jaunty Jackalope">1</a></sup>.<span id="more-797"></span></p>
<p>Per prima cosa si deve scaricare l&#8217;<a href="http://developer.android.com/sdk/">Android SDK per Linux</a>. Terminato il download e decompresso l&#8217;archivio ci si deve recare con un terminale nella sottodirectory <span style="font-family: courier new,courier;">tools/</span> dell&#8217;SDK che contiene l&#8217;eseguibile <span style="font-family: courier new,courier;">adb</span>.</p>
<p>Adesso sarà necessario digitare i seguenti comandi per permettere il corretto riconoscimento del device da parte di Ubuntu:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span></div></div>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'SUBSYSTEM==&quot;usb&quot;, SYSFS{idVendor}==&quot;0bb4&quot;, MODE=&quot;0666&quot;'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tee</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>udev<span style="color: #000000; font-weight: bold;">/</span>rules.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">50</span>-android.rules</div></div>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'SUBSYSTEM==&quot;usb&quot;, ATTR{idVendor}==&quot;0bb4&quot;, MODE=&quot;0666&quot;'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tee</span> <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>udev<span style="color: #000000; font-weight: bold;">/</span>rules.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">90</span>-android.rules</div></div>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">exit</span></div></div>
<p>Con i comandi sopra riportati si sono creati due files contenenti delle regole per il device manager del kernel Linux, ora si devono rendere eseguibili questi files:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> a+rx <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>udev<span style="color: #000000; font-weight: bold;">/</span>rules.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">50</span>-android.rules</div></div>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> a+rx <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>udev<span style="color: #000000; font-weight: bold;">/</span>rules.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">90</span>-android.rules</div></div>
<p>A questo punto rimane solo da riavviare udev:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> service udev restart</div></div>
<p>Per poter comunicare con adb è necessario <strong>abilitare USB Debugging</strong> sull’HTC Dream.</p>
<p>Prendendo in mano il Dream e partendo dalla Home compiamo in sequenza le seguenti azioni: Tasto Menu -&gt; Impostazioni -&gt; Applicazioni -&gt; Sviluppo -&gt; Abilitare Debug USB.</p>
<p>Se già non lo è, collegare il Dream tramite il cavo USB e, accertandosi di essere nella directory <span style="font-family: courier new,courier;">tools/</span> dell&#8217;Android SDK, digitiare:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>adb kill-server</div></div>
<p>Seguito da un:</p>
<div class="codecolorer-container bash geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> .<span style="color: #000000; font-weight: bold;">/</span>adb devices</div></div>
<p>L&#8217;output del comando dovrebbe restituire un qualcosa di simile:</p>
<p style="padding-left: 30px;">
<div class="codecolorer-container text geshi" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:630px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">* daemon not running. starting it now *<br />
* daemon started successfully *<br />
List of devices attached<br />
HT93XXXXXXXX&nbsp; &nbsp; device</div></div>
<p>A questo punto il vostro HTC Dream G1 dovrebbe essere perfettamente riconosciuto da qualunque tool.</p>
<h2>Fastboot</h2>
<p>Approfitto di questo articolo per riportare anche le semplici istruzioni su come scaricare e avviare fastboot sotto Linux.</p>
<p>I passi sono veramente semplici: si deve scaricare il tool da <a href="http://developer.htc.com/adp.html#s2" target="_blank"><strong>questo</strong></a> indirizzo, decomprimerlo nella sottodirectory <span style="font-family: courier new,courier;">tools/</span> dell&#8217;Android SDK e assegnargli i permessi di esecuzione (tasto destro sul file, Proprietà, Permessi e mettere la spunta su «Consentire l&#8217;<span style="text-decoration: underline;">e</span>secuzione del file come programma»).</p>
<strong><p>Note all'articolo:</strong></p><ol class="footnotes"><li id="footnote_0_797" class="footnote">questa procedura dovrebbe funzionare comunque anche sotto Ubuntu 9.04 Jaunty Jackalope</li></ol>]]></content:encoded>
			<wfw:commentRss>http://www.jdsblog.it/informatica/797/far-riconoscere-lhtc-dream-g1-allandroid-sdkadbfastboot-sotto-ubuntu-9-10-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
