<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: Android G1]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?android_g1</link>
<description></description>
<pubDate>Tue, 04 Jan 2011 21:01:37 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Android G1]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?android_g1</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: Android</div><hr/><div class="wiki">
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#service_manual">Dobrica Pavlinušić's random unstructured stuff (Service manual)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Service manual} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#how_to_brick_your_phone">Dobrica Pavlinušić's random unstructured stuff (How to brick your phone)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] How to brick your phone} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#how_to_unbrick_your_phone">Dobrica Pavlinušić's random unstructured stuff (How to unbrick your phone)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] How to unbrick your phone} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#serial_cable">Dobrica Pavlinušić's random unstructured stuff (Serial cable)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Serial cable} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#extusb_connector">Dobrica Pavlinušić's random unstructured stuff (ExtUSB connector)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ExtUSB connector} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#nokia_dku_5">Dobrica Pavlinušić's random unstructured stuff (Nokia DKU-5)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Nokia DKU-=5} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#home_made_alternative">Dobrica Pavlinušić's random unstructured stuff (home-made alternative)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] home-=made alternative} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#output">Dobrica Pavlinušić's random unstructured stuff (output)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] output} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#boot_loader">Dobrica Pavlinušić's random unstructured stuff (Boot loader)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Boot loader} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#jtag">Dobrica Pavlinušić's random unstructured stuff (JTAG)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] JTAG} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#jtag_board_with_connector">Dobrica Pavlinušić's random unstructured stuff (JTAG board with connector)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] JTAG board with connector} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#low_power_wiggler">Dobrica Pavlinušić's random unstructured stuff (Low-power WIGGLER)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Low-=power WIGGLER} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#info">Dobrica Pavlinušić's random unstructured stuff (Info)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Info} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#openmoko_debug_board">Dobrica Pavlinušić's random unstructured stuff (OpenMoko Debug Board)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] OpenMoko Debug Board} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#rom">Dobrica Pavlinušić's random unstructured stuff (ROM)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] ROM} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#radio">Dobrica Pavlinušić's random unstructured stuff (Radio)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Radio} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#recovery_img">Dobrica Pavlinušić's random unstructured stuff (recovery.img)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] recovery.img} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#stats">Dobrica Pavlinušić's random unstructured stuff (Stats)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Stats} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#board_testpoints">Dobrica Pavlinušić's random unstructured stuff (Board testpoints)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Board testpoints} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><p>
If you are not into hardware <a href="https://saturn.ffzg.hr/rot13/index.cgi?android_development" title="(189 months) I will try to collect here useful tips for making Android development work for command-line loving p...">Android development</a> is better page for you.</p>
<h1 id="service_manual">Service manual</h1>
<span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/HTC%20Dream%20SM%20(A04).pdf?action=attachments_download;page_name=android_g1;id=20100906123721-0-26109">HTC Dream SM (A04).pdf</a><!-- wiki: {file: HTC Dream SM (A04).pdf} --></span><br /><br /><h1 id="how_to_brick_your_phone">How to brick your phone</h1>
<ul>
<li>downgrade do <a target="_blank" title="(external link)" href="http://code.google.com/p/android-roms/downloads/detail?name=DREAIMG-RC29.zip">RC29<!-- wiki-renamed-hyperlink "RC29"<http://code.google.com/p/android=-roms/downloads/detail?name=DREAIMG=-RC29.zip> --></a> to get root</li>
<li>this will install 1.22 radio</li>
<li>install AmonRA</li>
<li>be inpatient and flash DangerSPL</li>
<li>correct way would be to first flash Radio 2.22 (?)</li>
</ul>
<h1 id="how_to_unbrick_your_phone">How to unbrick your phone</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://cafe.mobil.hr/threads/68894-HTC-G1-Dream-JTAG-i-serijski-kabel-za-unbrick">http://cafe.mobil.hr/threads/68894-HTC-G1-Dream-JTAG-i-serijski-kabel-za-unbrick</a></li>
<li><a target="_blank" title="(external link)" href="http://wiki.cyanogenmod.com/index.php?title=JTAG_for_Dream/Magic">http://wiki.cyanogenmod.com/index.php?title=JTAG_for_Dream/Magic</a></li>
</ul>
<h1 id="serial_cable">Serial cable</h1>
<h2 id="extusb_connector">ExtUSB connector</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://handy-datenkabel.de/deutsch/produkte/datenstecker/index_usb.htm">http://handy-datenkabel.de/deutsch/produkte/datenstecker/index_usb.htm</a></li>
<li><a target="_blank" title="(external link)" href="http://www.sparkfun.com/commerce/product_info.php?products_id=9167">http://www.sparkfun.com/commerce/product_info.php?products_id=9167</a></li>
</ul>
<span class="nlw_phrase"><img alt="09167-01.jpg" src="https://saturn.ffzg.hr/rot13/index.cgi/09167-01.jpg?action=attachments_download;page_name=android_g1;id=20100919142929-2-25230" /><!-- wiki: {image: 09167-=01.jpg} --></span><br /><br /><span class="nlw_phrase"><img alt="09167-02.jpg" src="https://saturn.ffzg.hr/rot13/index.cgi/09167-02.jpg?action=attachments_download;page_name=android_g1;id=20100919142941-0-29448" /><!-- wiki: {image: 09167-=02.jpg} --></span><br /><br /><ul>
<li>RS232&lt;-&gt;TTL <a target="_blank" title="(external link)" href="http://bestcelldist.com/htc_dream_serial_data_cable.html">http://bestcelldist.com/htc_dream_serial_data_cable.html</a></li>
</ul>
<ul>
<li>Upute: <a target="_blank" title="(external link)" href="http://www.hackolog.com/2010/08/06/constructing-the-android-g1-serial-to-usb-cable/">http://www.hackolog.com/2010/08/06/constructing-the-android-g1-serial-to-usb-cable/</a></li>
</ul>
<ul>
<li><strong>swap rx/tx</strong>: <a target="_blank" title="(external link)" href="https://groups.google.com/group/android-platform/browse_thread/thread/439d3f3af7a88a09/a0eb2d193975fbb4?lnk=gst&amp;q=serial+pinout#a0eb2d193975fbb4">https://groups.google.com/group/android-platform/browse_thread/thread/439d3f3af7a88a09/a0eb2d193975fbb4?lnk=gst&amp;q=serial+pinout#a0eb2d193975fbb4</a></li>
</ul>
<ul>
<li><strong>3.3V</strong> or 2.8V: <a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showpost.php?p=4271889&amp;postcount=28">http://forum.xda-developers.com/showpost.php?p=4271889&amp;postcount=28</a></li>
</ul>
<h2 id="nokia_dku_5">Nokia DKU-5</h2>
<p>
<a target="_blank" title="(external link)" href="http://pinouts.ru/forum/index.php?PHPSESSID=f3d7d4eae7be553fc6847f227bda1330&amp;topic=358.msg5390#msg5390">http://pinouts.ru/forum/index.php?PHPSESSID=f3d7d4eae7be553fc6847f227bda1330&amp;topic=358.msg5390#msg5390</a></p>
<p>
I got an ark3116-based DKU-5 cable, and its pin layout is as following.</p>
<p>
1: blue (ground-shield)<br />
3: yellow<br />
4: orange (3.3v)<br />
6: green (rx)<br />
7: white (tx)<br />
8: red (ground)</p>
<p>
I haven't tested them yet, so before connecting them, check the voltage btw orange and red.</p>
<p>
<strong>use only non-nokia CA-42 calble</strong> <a target="_blank" title="(external link)" href="http://www.dealextreme.com/details.dx/sku.45715">http://www.dealextreme.com/details.dx/sku.45715</a></p>
<h2 id="home_made_alternative">home-made alternative</h2>
<p>
sim+cable strip</p>
<p>
<a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showpost.php?p=7236424&amp;postcount=724">http://forum.xda-developers.com/showpost.php?p=7236424&amp;postcount=724</a></p>
<h2 id="output">output</h2>
<pre>
x200:/virtual/openmoko# ./neocon/neocon /dev/ttyUSB0
[Open /dev/ttyUSB0]

boot reason: PM_KPD_PWR_KEY_ON_RT_ST

(PowerOn Status,Boot Reason)=(1,1)
NAND_FLASH_READ_ID : SAMSUNG_256MB_FLASH_128MB_SDRAM

ARM9_BOOT_MODE1
</pre>
<br /><h1 id="boot_loader">Boot loader</h1>
<ul>
<li><a target="_blank" title="(external link)" href="http://forum.xda-developers.com/wiki/index.php?title=Hermes_BootLoader">http://forum.xda-developers.com/wiki/index.php?title=Hermes_BootLoader</a></li>
<li><a target="_blank" title="(external link)" href="http://forum.xda-developers.com/wiki/index.php?title=Hermes_BootLoaderPassword">http://forum.xda-developers.com/wiki/index.php?title=Hermes_BootLoaderPassword</a></li>
<li><a target="_blank" title="(external link)" href="http://forum.xda-developers.com/wiki/index.php?title=Hermes_RadioBootLoader">http://forum.xda-developers.com/wiki/index.php?title=Hermes_RadioBootLoader</a></li>
<li>IMEI check: <a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showthread.php?t=280819&amp;page=2">http://forum.xda-developers.com/showthread.php?t=280819&amp;page=2</a></li>
</ul>
<h1 id="jtag">JTAG</h1>
<span class="nlw_phrase"><img alt="G1_JTAG_signals.jpg" src="https://saturn.ffzg.hr/rot13/index.cgi/G1_JTAG_signals.jpg?action=attachments_download;page_name=android_g1;id=20100905221002-0-30812" /><!-- wiki: {image: G1_JTAG_signals.jpg} --></span><br /><br /><p>
<a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showpost.php?p=6169249&amp;postcount=481">http://forum.xda-developers.com/showpost.php?p=6169249&amp;postcount=481</a></p>
<span class="nlw_phrase"><img alt="arm-jtag-layout.gif" src="https://saturn.ffzg.hr/rot13/index.cgi/arm-jtag-layout.gif?action=attachments_download;page_name=android_g1;id=20100924164502-0-17314" /><!-- wiki: {image: arm-=jtag-=layout.gif} --></span><br /><br /><h2 id="jtag_board_with_connector">JTAG board with connector</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://www.multi-com.pl/index.php/en_US,details,id_pr,7183,menu_mode,categories.html">http://www.multi-com.pl/index.php/en_US,details,id_pr,7183,menu_mode,categories.html</a></li>
<li>info: <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/jtag_htc_dream_google_g1_en.pdf?action=attachments_download;page_name=android_g1;id=20100919141942-0-25230">jtag_htc_dream_google_g1_en.pdf</a><!-- wiki: {file: jtag_htc_dream_google_g1_en.pdf} --></span></li>
</ul>
<span class="nlw_phrase"><img alt="product_1283419791_423993952_HTC_G1_RIFF_big.png" src="https://saturn.ffzg.hr/rot13/index.cgi/product_1283419791_423993952_HTC_G1_RIFF_big.png?action=attachments_download;page_name=android_g1;id=20100919142558-1-25230" /><!-- wiki: {image: product_1283419791_423993952_HTC_G1_RIFF_big.png} --></span><br /><br /><h2 id="low_power_wiggler">Low-power WIGGLER</h2>
<ul>
<li><span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/LPT2LVJTAG_WIG.pdf?action=attachments_download;page_name=android_g1;id=20100905205849-0-8587">LPT2LVJTAG_WIG.pdf</a><!-- wiki: {file: LPT2LVJTAG_WIG.pdf} --></span></li>
<li><a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showpost.php?p=6055979&amp;postcount=412">http://forum.xda-developers.com/showpost.php?p=6055979&amp;postcount=412</a></li>
<li><span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/dream_wiggler.cfg.txt?action=attachments_download;page_name=android_g1;id=20100906142544-3-26109">dream_wiggler.cfg.txt</a><!-- wiki: {file: dream_wiggler.cfg.txt} --></span></li>
</ul>
<h2 id="info">Info</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://forum.xda-developers.com/wiki/index.php?title=JTAG_Softboot_for_Magic_and_Dream">http://forum.xda-developers.com/wiki/index.php?title=JTAG_Softboot_for_Magic_and_Dream</a></li>
<li><a target="_blank" title="(external link)" href="http://www.htcmania.com/mediawiki/index.php/JTAG_DREAM_AND_MAGIC">http://www.htcmania.com/mediawiki/index.php/JTAG_DREAM_AND_MAGIC</a></li>
<li><a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showthread.php?p=6100287&amp;highlight=radata#post6100287">http://forum.xda-developers.com/showthread.php?p=6100287&amp;highlight=radata#post6100287</a></li>
<li><a target="_blank" title="(external link)" href="http://www.omnia-repair.com/forum/topic/htc-dream-g1-jtag">http://www.omnia-repair.com/forum/topic/htc-dream-g1-jtag</a></li>
<li>debugging: <a target="_blank" title="(external link)" href="http://forum.xda-developers.com/showthread.php?t=591048&amp;page=67">http://forum.xda-developers.com/showthread.php?t=591048&amp;page=67</a></li>
</ul>
<p>
Reflash whole device: <a target="_blank" title="(external link)" href="http://www.omnia-repair.com/forum/topic/htc-dream-g1-jtag/page/2">http://www.omnia-repair.com/forum/topic/htc-dream-g1-jtag/page/2</a></p>
<h2 id="openmoko_debug_board">OpenMoko Debug Board</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://wiki.openmoko.org/wiki/Debug_Board_v3">http://wiki.openmoko.org/wiki/Debug_Board_v3</a></li>
</ul>
<span class="nlw_phrase"><img alt="800px-Neo1973_debugboard_v3_top.jpg" src="https://saturn.ffzg.hr/rot13/index.cgi/800px-Neo1973_debugboard_v3_top.jpg?action=attachments_download;page_name=android_g1;id=20100919142413-0-26012" /><!-- wiki: {image: 800px-=Neo1973_debugboard_v3_top.jpg} --></span><br /><br /><h1 id="rom">ROM</h1>
<p>
<a target="_blank" title="(external link)" href="http://code.google.com/p/htc-flasher/">http://code.google.com/p/htc-flasher/</a></p>
<h2 id="radio">Radio</h2>
<ul>
<li><a target="_blank" title="(external link)" href="http://nah6.com/~itsme/cvs-xdadevtools/xda2nbftool/parsegsmv2.pl">http://nah6.com/~itsme/cvs-xdadevtools/xda2nbftool/parsegsmv2.pl</a></li>
</ul>
<h2 id="recovery_img">recovery.img</h2>
<p>
<a target="_blank" title="(external link)" href="http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images">http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images</a></p>
<h1 id="stats">Stats</h1>
<p>
camera+power</p>
<pre>
DREAM PVT 320 ENG S-OFF
HBOOT-1.33.2005 (DREA10000)
CPLD-4
RADIO-2.22.19.261
Apr 20 2009, 15:30:43
</pre>
<br /><h1 id="board_testpoints">Board testpoints</h1>
<p>
Pictures are too large to be opened in browser!</p>
<ul>
<li><span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/dream_main_pcb.zip?action=attachments_download;page_name=android_g1;id=20100906141503-0-31133">dream_main_pcb.zip</a><!-- wiki: {file: dream_main_pcb.zip} --></span></li>
</ul>
</div>
<hr/><div>Attachments: 09167-01.jpg, 09167-02.jpg, 800px-Neo1973_debugboard_v3_top.jpg, arm-jtag-layout.gif, dream_main_pcb.zip, dream_wiggler.cfg.txt, G1_JTAG_signals.jpg, HTC Dream SM (A04).pdf, jtag_htc_dream_google_g1_en.pdf, LPT2LVJTAG_WIG.pdf, product_1283419791_423993952_HTC_G1_RIFF_big.png</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>Android</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?android_g1</guid>
<pubDate>Tue, 04 Jan 2011 21:01:37 -0000</pubDate>
</item>
</channel>
</rss>