<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.org/1999/xhtml">
  <title xmlns="http://www.w3.org/2005/Atom">Dobrica Pavlinušić's random unstructured stuff: search for openmoko</title>
  <id xmlns="http://www.w3.org/2005/Atom">https://saturn.ffzg.hr/rot13/</id>
  <link xmlns="http://www.w3.org/2005/Atom" type="text/html" rel="alternate" href="https://saturn.ffzg.hr/rot13/index.cgi?action=search;search_term=openmoko"/>
  <link xmlns="http://www.w3.org/2005/Atom" type="application/atom+xml" rel="self" href="https://saturn.ffzg.hr%2C%20saturn.ffzg.hr:443/feed/workspace/rot13?search_term=openmoko;type=Atom"/>
  <updated xmlns="http://www.w3.org/2005/Atom">2019-06-30T07:49:32Z</updated>
  <entry xmlns="http://www.w3.org/2005/Atom">
    <title xmlns="http://www.w3.org/2005/Atom">OpenMoko</title>
    <link xmlns="http://www.w3.org/2005/Atom" type="text/html" rel="alternate" href="https://saturn.ffzg.hr/rot13/index.cgi?openmoko"/>
    <content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;div&gt;Creator: Dobrica Pavlinušić&lt;/div&gt;&lt;hr/&gt;&lt;div&gt;Tags: openmoko&lt;/div&gt;&lt;hr/&gt;&lt;div class="wiki"&gt;
&lt;div class="nlw_phrase"&gt;&lt;table class="wafl_container"&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;div class="wafl_box"&gt;
        
          &lt;div class="wafl_titlebox"&gt;
            &lt;div class="wafl_title"&gt;
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="wafl_items"&gt;
            
              &lt;div class="wiki"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#u_boot"&gt;Dobrica Pavlinušić's random unstructured stuff (u-boot)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] u-=boot} --&gt;&lt;/span&gt;&lt;/li&gt;

&lt;ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#info"&gt;Dobrica Pavlinušić's random unstructured stuff (Info)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Info} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#dfu_util"&gt;Dobrica Pavlinušić's random unstructured stuff (dfu-util)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] dfu-=util} --&gt;&lt;/span&gt;&lt;/li&gt;

&lt;ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#flash_kernel"&gt;Dobrica Pavlinušić's random unstructured stuff (flash kernel)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] flash kernel} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#flash_rootfs"&gt;Dobrica Pavlinušić's random unstructured stuff (flash rootfs)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] flash rootfs} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#openocd"&gt;Dobrica Pavlinušić's random unstructured stuff (openocd)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] openocd} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#android"&gt;Dobrica Pavlinušić's random unstructured stuff (Android)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Android} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#open_issues"&gt;Dobrica Pavlinušić's random unstructured stuff (Open Issues)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Open Issues} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#pending_issues"&gt;Dobrica Pavlinušić's random unstructured stuff (Pending issues)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Pending issues} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#resolved_issues"&gt;Dobrica Pavlinušić's random unstructured stuff (Resolved issues)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Resolved issues} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#qemu"&gt;Dobrica Pavlinušić's random unstructured stuff (Qemu)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Qemu} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#see_also"&gt;Dobrica Pavlinušić's random unstructured stuff (See also)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] See also} --&gt;&lt;/span&gt;&lt;/li&gt;

&lt;ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#other_pages_on_this_wiki_about_openmoko"&gt;Dobrica Pavlinušić's random unstructured stuff (Other pages on this wiki about OpenMoko)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Other pages on this wiki about OpenMoko} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#my_blog_posts_about_openmoko"&gt;Dobrica Pavlinušić's random unstructured stuff (My blog posts about OpenMoko)&lt;/a&gt;&lt;!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] My blog posts about OpenMoko} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;
&lt;/div&gt;

            
            
          &lt;/div&gt;
        
      &lt;/div&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;!-- wiki: {toc: }
--&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1 id="u_boot"&gt;u-boot&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a target="_blank" title="(external link)" href="http://wiki.openmoko.org/wiki/NeoCon"&gt;http://wiki.openmoko.org/wiki/NeoCon&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" title="(external link)" href="http://wiki.openmoko.org/wiki/NAND_bad_blocks"&gt;http://wiki.openmoko.org/wiki/NAND_bad_blocks&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Recover from bad blocks procedure&lt;/p&gt;
&lt;pre&gt;
x200:/virtual/openmoko# ./neocon/neocon /dev/ttyACM*
[Open /dev/ttyACM3]
In:    usbtty
Out:   usbtty
Err:   usbtty
DEVICE_CONFIGURED: 1
Enabling automatic fast charge

GTA01Bv4 # nand bad

Device 0 bad blocks:
  00070000
  00ab0000
  00f00000
  03ff0000
  03ff4000
  03ff8000
  03ffc000

GTA01Bv4 # nand scrub

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? &amp;lt;y/N&amp;gt;

NAND 64MiB 3,3V 8-bit: MTD Erase failure: -5

NAND 64MiB 3,3V 8-bit: MTD Erase failure: -5

NAND 64MiB 3,3V 8-bit: MTD Erase failure: -5
Bad block table not found for chip 0
Bad block table not found for chip 0
OK


GTA01Bv4 # nand createbbt
Create BBT and erase everything ? &amp;lt;y/N&amp;gt;
Skipping bad block at  0x00070000                                            
Skipping bad block at  0x00ab0000                                            
Skipping bad block at  0x00f00000                                            
Skipping bad block at  0x03ff0000                                            
Skipping bad block at  0x03ff4000                                            
Skipping bad block at  0x03ff8000                                            
Skipping bad block at  0x03ffc000                                            

Creating BBT. Please wait ...Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x03ffc000, version 0x01
Bad block table written to 0x03ff8000, version 0x01


GTA01Bv4 # dynpart
mtdparts mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-boot_env),0x00204000(kernel),0x000a0000(splash),0x03d18000(rootfs)


GTA01Bv4 # dynenv set u-boot_env
device 0 offset 0x40000, size 0x4000
45 4e 56 30 - 00 00 04 00


GTA01Bv4 # saveenv
Saving Environment to NAND...
Saving ESaving EnvironmnvironmWriting to Nand... done
&lt;/pre&gt;
&lt;br /&gt;&lt;h2 id="info"&gt;Info&lt;/h2&gt;
&lt;pre&gt;
GTA01Bv4 # bdinfo
arch_number = 0x0000049E
env_t       = 0x00000000
boot_params = 0x30000100
DRAM bank   = 0x00000000
-&amp;gt; start    = 0x30000000
-&amp;gt; size     = 0x08000000
ethaddr     = 00:00:00:00:00:00

ip_addr     = 0.0.0.0
baudrate    = 115200 bps


GTA01Bv4 # printenv
baudrate=115200
bootcmd=setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 0x32000000 kernel; bootm 0x32000000
bootdelay=1
menu_1=Set console to USB: setenv stdin usbtty; setenv stdout usbtty; setenv stderr usbtty
menu_2=Set console to serial: setenv stdin serial; setenv stdout serial; setenv stderr serial
menu_3=Power off: neo1973 power-off
menu_4=Boot from SD: setenv bootargs root=/dev/mmcblk0p1 rootdelay=5 console=ttySAC0,115200 console=tty0 loglevel=8 ${mtdparts} ro; mmcinit; ext2load mmc 0 0x32000000 /boot/${sd_image_name}; bootm 0x32000000
mtdids=nand0=neo1973-nand
quiet=1
sd_image_name=uImage
splashimage=nand read.e 0x32000000 splash 0x5000; unzip 0x32000000 0x33d00000 0x96000
stderr=usbtty
stdin=usbtty
stdout=usbtty
usbtty=cdc_acm
bootargs_base=rootfstype=jffs2 root=/dev/mtdblock4 console=tty0 loglevel=8
mtdparts=mtdparts=neo1973-nand:0x00040000(u-boot),0x00004000(u-boot_env),0x00204000(kernel),0x000a0000(splash),0x03d18000(rootfs)
mtdparts=mtdparts=nmtddevnum=0
mtddevname=u-boot
pcf50606_int1=0x4a

Environment size: 1028/16380 bytes


GTA01Bv4 # mtd

device nand0 &amp;lt;neo1973-nand&amp;gt;, # parts = 5
 #: name                        size            offset          mask_flags
 0: u-boot              0x00040000      0x00000000      0
 1: u-boot_env          0x00004000      0x00040000      0
 2: kernel              0x00204000      0x00044000      0
 3: splash              0x000a0000      0x00248000      0
 4: rootfs              0x03d18000      0x002e8000      0

active partition: nand0,0 - (u-boot) 0x00040000 @ 0x00000000

defaults:
mtdids  : nand0=neo1973-nand
mtdparts: &amp;lt;NULL&amp;gt;

&lt;/pre&gt;
&lt;br /&gt;&lt;h1 id="dfu_util"&gt;dfu-util&lt;/h1&gt;
&lt;p&gt;
Disable bluetooth which also responds to dfu:&lt;/p&gt;
&lt;pre&gt;
x200:/home/dpavlin# echo disable &amp;gt; /proc/acpi/ibm/bluetooth
&lt;/pre&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;a target="_blank" title="(external link)" href="http://wiki.openmoko.org/wiki/Flashing_the_Neo_1973"&gt;http://wiki.openmoko.org/wiki/Flashing_the_Neo_1973&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Boot moko by pressing AUX (top-left smooth button) and power (on the right below usb cable)&lt;/p&gt;
&lt;pre&gt;
x200:/virtual/openmoko# dfu-util --list
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Found Runtime: [0x1457:0x5119] devnum=38, cfg=0, intf=2, alt=0, name=&amp;quot;USB Device Firmware Upgrade&amp;quot;

&lt;/pre&gt;
&lt;br /&gt;&lt;p&gt;
Hm. We need to reset device in DFU mode&lt;/p&gt;
&lt;pre&gt;
x200:/virtual/openmoko# dfu-util --device 0x1457:0x5119 --download xx
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Opening USB Device 0x1457:0x5119...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=0, name=&amp;quot;RAM 0x32000000&amp;quot;
We have 6 DFU Interfaces/Altsettings, you have to specify one via --intf / --alt options

x200:/virtual/openmoko# dfu-util --device 0x1457:0x5119 --list
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Found DFU: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=0, name=&amp;quot;RAM 0x32000000&amp;quot;
Found DFU: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=1, name=&amp;quot;u-boot&amp;quot;
Found DFU: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=2, name=&amp;quot;u-boot_env&amp;quot;
Found DFU: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=3, name=&amp;quot;kernel&amp;quot;
Found DFU: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=4, name=&amp;quot;splash&amp;quot;
Found DFU: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=5, name=&amp;quot;rootfs&amp;quot;

&lt;/pre&gt;
&lt;br /&gt;&lt;h2 id="flash_kernel"&gt;flash kernel&lt;/h2&gt;
&lt;pre&gt;
x200:/virtual/openmoko/fso# dfu-util -a kernel -R -D uImage-2.6.24-oe5+gitrfb42ce6724576fc173faf8abfb04aa2c36d213b7-r1-om-gta01.bin 
dfu-util- (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Opening USB Device 0x0000:0x0000...
Found Runtime: [0x1457:0x5119] devnum=39, cfg=0, intf=0, alt=3, name=&amp;quot;kernel&amp;quot;
Claiming USB DFU Interface...
Setting Alternate Setting #3 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
bytes_per_hash=38298
Starting download: [##################################################] finished!
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode

&lt;/pre&gt;
&lt;br /&gt;&lt;h2 id="flash_rootfs"&gt;flash rootfs&lt;/h2&gt;
&lt;pre&gt;
x200:/virtual/openmoko/fso# dfu-util -a rootfs -R -D openmoko-fso-console-image-glibc-ipk--20090223-om-gta01.rootfs.jffs2 
dfu-util- (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

dfu-util does currently only support DFU version 1.0

Opening USB Device 0x0000:0x0000...
Found Runtime: [0x1457:0x5119] devnum=41, cfg=0, intf=0, alt=5, name=&amp;quot;rootfs&amp;quot;
Claiming USB DFU Interface...
Setting Alternate Setting #5 ...
Determining device status: state = dfuERROR, status = 14
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
bytes_per_hash=452853
Starting download: [##################################################dfu_download: usb_control_msg returned -110: error sending control message: Connection timed out] finished!
unable to read DFU status

&lt;/pre&gt;
&lt;br /&gt;&lt;p&gt;
No worky&lt;/p&gt;
&lt;h1 id="openocd"&gt;openocd&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a href="https://saturn.ffzg.hr/rot13/index.cgi/openocd.cfg?action=attachments_download;page_name=openmoko;id=20100923153547-0-23341"&gt;openocd.cfg&lt;/a&gt;&lt;!-- wiki: {file: openocd.cfg} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" title="(external link)" href="http://wiki.openmoko.org/wiki/Neo1973_OpenOCD"&gt;http://wiki.openmoko.org/wiki/Neo1973_OpenOCD&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;
x200:/virtual/openmoko# openocd 
Open On-Chip Debugger 0.4.0 (2010-02-23-17:04)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : clock speed 6000 kHz
Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0)
Info : Embedded ICE version 2
Info : s3c2440.cpu: hardware has 2 breakpoint/watchpoint units
Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0)
Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'.
Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x20000053 pc: 0x33f966d8
MMU: disabled, D-Cache: enabled, I-Cache: enabled
Info : accepting 'telnet' connection from 0
Runtime error, file &amp;quot;command.c&amp;quot;, line 650:
    invalid command name &amp;quot;run&amp;quot;
Info : JTAG tap: s3c2440.cpu tap/device found: 0x0032409d (mfg: 0x04e, part: 0x0324, ver: 0x0)
Warn : NOTE! DCC downloads have not been enabled, defaulting to slow memory writes. Type 'help dcc'.
Warn : NOTE! Severe performance degradation without fast memory access enabled. Type 'help fast'.

&lt;/pre&gt;
&lt;br /&gt;&lt;hr /&gt;
&lt;p&gt;
Scratch pad for my notes about OpenMoko&lt;/p&gt;
&lt;h1 id="android"&gt;Android&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a target="_blank" title="(external link)" href="http://onlinedev.blogspot.com/2008/11/porting-android-phase-4-done.html"&gt;http://onlinedev.blogspot.com/2008/11/porting-android-phase-4-done.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre&gt;
dpavlin@llin:/rest/cvs/qemu-neo1973/openmoko/android$ wget -r -np -m http://people.openmoko.org/sean_mcneil/

&lt;/pre&gt;
&lt;br /&gt;&lt;h1 id="open_issues"&gt;Open Issues&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;how to start &lt;a target="_blank" title="(external link)" href="http://svn.o-hand.com/view/matchbox/trunk/matchbox-stroke/"&gt;matchbox-stroke&lt;!-- wiki-renamed-hyperlink "matchbox=-stroke"&lt;http://svn.o=-hand.com/view/matchbox/trunk/matchbox=-stroke/&gt; --&gt;&lt;/a&gt; ?&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" title="(external link)" href="http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=755"&gt;gsmd problem&lt;!-- wiki-renamed-hyperlink "gsmd problem"&lt;http://bugzilla.openmoko.org/cgi=-bin/bugzilla/show_bug.cgi?id=755&gt; --&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="pending_issues"&gt;Pending issues&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a target="_blank" title="(external link)" href="http://lists.openmoko.org/pipermail/community/2007-November/011916.html"&gt;gps driver&lt;!-- wiki-renamed-hyperlink "gps driver"&lt;http://lists.openmoko.org/pipermail/community/2007=-November/011916.html&gt; --&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;using keyboard without mouse -- &lt;a target="_blank" title="(external link)" href="http://projects.openmoko.org/projects/finger-keyboard/"&gt;Finger Keyboard&lt;!-- wiki-renamed-hyperlink "Finger Keyboard"&lt;http://projects.openmoko.org/projects/finger=-keyboard/&gt; --&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="resolved_issues"&gt;Resolved issues&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;correct time -- &lt;tt&gt;ipkg install ntpdate&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="qemu"&gt;Qemu&lt;/h1&gt;
&lt;p&gt;
Alternative way to build qemu with Neo 1973 emulation:&lt;/p&gt;
&lt;pre&gt;
# checkout source

svn co https://svn.openmoko.org/trunk/src/host/qemu-neo1973
cd qemu-neo1973

# run configure

./configure --target-list=arm-softmmu --enable-gadgetfs

# needed for gadgetfs to work

ln -s /usr/src/linux/include/linux

# build it

make

&lt;/pre&gt;
&lt;br /&gt;&lt;h1 id="see_also"&gt;See also&lt;/h1&gt;
&lt;h2 id="other_pages_on_this_wiki_about_openmoko"&gt;Other pages on this wiki about OpenMoko&lt;/h2&gt;
&lt;div class="nlw_phrase"&gt;&lt;table class="wafl_container"&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;div class="wafl_box"&gt;
        
          &lt;div class="wafl_titlebox"&gt;
            &lt;div class="wafl_title"&gt;
              
                &lt;a href="/rot13/index.cgi?action=search;search_term=openmoko"&gt;Search for openmoko&lt;/a&gt;
              
            &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="wafl_items"&gt;
            
              &lt;div class="wiki"&gt;
&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="inter-workspace link: rot13" href="https://saturn.ffzg.hr/rot13/index.cgi?ubertooth_one"&gt;Ubertooth One&lt;/a&gt;&lt;!-- wiki: {link: [Ubertooth One]} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="inter-workspace link: rot13" href="https://saturn.ffzg.hr/rot13/index.cgi?android_g1"&gt;Android G1&lt;/a&gt;&lt;!-- wiki: {link: [Android G1]} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="inter-workspace link: rot13" href="https://saturn.ffzg.hr/rot13/index.cgi?openmoko"&gt;OpenMoko&lt;/a&gt;&lt;!-- wiki: {link: [OpenMoko]} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="inter-workspace link: rot13" href="https://saturn.ffzg.hr/rot13/index.cgi?openmoko_as_a_phone"&gt;OpenMoko as a phone&lt;/a&gt;&lt;!-- wiki: {link: [OpenMoko as a phone]} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="nlw_phrase"&gt;&lt;a title="inter-workspace link: rot13" href="https://saturn.ffzg.hr/rot13/index.cgi?openmoko_arrived"&gt;OpenMoko arrived&lt;/a&gt;&lt;!-- wiki: {link: [OpenMoko arrived]} --&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

            
            
          &lt;/div&gt;
        
      &lt;/div&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
&lt;!-- wiki: {search: openmoko}
--&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2 id="my_blog_posts_about_openmoko"&gt;My blog posts about OpenMoko&lt;/h2&gt;
&lt;div class="nlw_phrase"&gt;&lt;div class="fetchrss_box"&gt;
  &lt;div class="fetchrss_titlebox"&gt;
    
  
  
 &lt;div class="fetchrss_title"&gt;
   &lt;a href="https://blog.rot13.org/mt/mt-search.cgi?IncludeBlogs=1&amp;search=openmoko"&gt;Search Results for openmoko&lt;/a&gt;
 &lt;/div&gt;


  &lt;/div&gt;
  
 &lt;ul class="fetchrss_items"&gt;
  
  
    
  &lt;li class="fetchrss_item"&gt;
    &lt;a href="https://blog.rot13.org/2007/12/openmoko-gps-tracking.html"&gt;OpenMoko GPS tracking&lt;/a&gt;
    
  &lt;/li&gt;

  
    
  &lt;li class="fetchrss_item"&gt;
    &lt;a href="https://blog.rot13.org/2007/11/openmoko-flashing.html"&gt;OpenMoko flashing&lt;/a&gt;
    
  &lt;/li&gt;

  
    
  &lt;li class="fetchrss_item"&gt;
    &lt;a href="https://blog.rot13.org/2007/09/openmoko-as-a-phone.html"&gt;OpenMoko as a phone&lt;/a&gt;
    
  &lt;/li&gt;

  
    
  &lt;li class="fetchrss_item"&gt;
    &lt;a href="https://blog.rot13.org/2007/08/openmoko-arrived.html"&gt;OpenMoko arrived&lt;/a&gt;
    
  &lt;/li&gt;

  
    
  &lt;li class="fetchrss_item"&gt;
    &lt;a href="https://blog.rot13.org/2007/08/openmoko-paid.html"&gt;OpenMoko paid&lt;/a&gt;
    
  &lt;/li&gt;

  
    
  &lt;li class="fetchrss_item"&gt;
    &lt;a href="https://blog.rot13.org/2007/07/openmoko-and-why-i-ordered-one.html"&gt;OpenMoko and why I ordered one&lt;/a&gt;
    
  &lt;/li&gt;

  
 &lt;/ul&gt;

&lt;/div&gt;
















&lt;!-- wiki: {fetchrss: http://blog.rot13.org/mt/mt-=search.cgi?tag==openmoko&amp;Template==feed&amp;IncludeBlogs==1}
--&gt;&lt;/div&gt;&lt;br /&gt;.pre
&lt;/div&gt;
&lt;hr/&gt;&lt;div&gt;Attachments: openocd.cfg&lt;/div&gt;</content>
    <id xmlns="http://www.w3.org/2005/Atom">https://saturn.ffzg.hr/rot13/index.cgi?openmoko</id>
    <author xmlns="http://www.w3.org/2005/Atom">
      <name xmlns="http://www.w3.org/2005/Atom">Dobrica Pavlinušić</name>
    </author>
    <updated xmlns="http://www.w3.org/2005/Atom">2010-09-23T17:15:50Z</updated>
    <category xmlns="http://www.w3.org/2005/Atom" term="openmoko" label="openmoko"/>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.org/1999/xhtml">
    <title xmlns="http://www.w3.org/2005/Atom">OpenMoko as a phone</title>
    <link xmlns="http://www.w3.org/2005/Atom" type="text/html" rel="alternate" href="https://saturn.ffzg.hr/rot13/index.cgi?openmoko_as_a_phone"/>
    <content xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.org/1999/xhtml" type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: openmoko</div><hr/><div class="wiki">
<p>
For quite a long time I was complaining (in person) how nice and half-usable my OpenMoko is. However, thanks to few <a target="_blank" title="(external link)" href="http://rejon.org/2007/09/10/openmoko-wiki-face-late-om-indoctrination/">great hints<!-- wiki-renamed-hyperlink "great hints"<http://rejon.org/2007/09/10/openmoko=-wiki=-face=-late=-om=-indoctrination/> --></a> I'm now make a dial out and dial in.</p>
<p>
First, you will really want to install <tt>cu</tt> package. It contains old UUCP serial tool which will be much more unseful than you might think! Think of <tt>cu</tt> as <tt>cat</tt> for console.</p>
<p>
Turn on your OpenMoko (while holding AUX button) and type following:</p>
<pre>
chown uucp:uucp /dev/ttyACM0 ; cu -l /dev/ttyACM0
</pre>
<br/><p>
You might try to just run <tt>cu</tt> as root, but it still doesn't work (for me) without chown first. If someone could say me to make this automatic, I would be grateful. So, dear lazyweb, I'm quite sure that there is some <tt>udev</tt> option for that, and if you know what, drop me a note. If not, this might become topic for another post.</p>
<p>
Then, change boot parametars:</p>
<pre>
GTA01Bv4 # setenv bootargs_base rootfstype=jffs2 root=/dev/mtdblock4 console=tty0 loglevel=8
GTA01Bv4 # saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
GTA01Bv4 # boot


NAND read: device 0 offset 0x44000, size 0x1fc000
 2080768 bytes read: OK
 ## Booting image at 32000000 ...
 Image Name: OpenMoko Kernel Image Neo1973(GT
 Created: 2007-08-31 11:29:10 UTC
 Image Type: ARM Linux Kernel Image (gzip compressed)
 Data Size: 1637653 Bytes = 1.6 MB
 Load Address: 30008000
 Entry Point: 30008000
 Verifying Checksum ... OK
</pre>
<br/><p>
This will disable output on serial console which in interfering with <tt>gsmd</tt> that tries to open serial port to communicate with GSM part.</p>
<p>
This is my journey so far... Now I have to wait for my poor old desktop to compile all packages to get freshest copies on my Neo...</p>
</div>
</div>
    </content>
    <id xmlns="http://www.w3.org/2005/Atom">https://saturn.ffzg.hr/rot13/index.cgi?openmoko_as_a_phone</id>
    <author xmlns="http://www.w3.org/2005/Atom">
      <name xmlns="http://www.w3.org/2005/Atom">Dobrica Pavlinušić</name>
    </author>
    <updated xmlns="http://www.w3.org/2005/Atom">2007-09-29T11:39:56Z</updated>
    <category xmlns="http://www.w3.org/2005/Atom" term="openmoko" label="openmoko"/>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom">
    <title xmlns="http://www.w3.org/2005/Atom">OpenMoko arrived</title>
    <link xmlns="http://www.w3.org/2005/Atom" type="text/html" rel="alternate" href="https://saturn.ffzg.hr/rot13/index.cgi?openmoko_arrived"/>
    <content xmlns="http://www.w3.org/2005/Atom" type="html">&lt;div&gt;Creator: Dobrica Pavlinušić&lt;/div&gt;&lt;hr/&gt;&lt;div&gt;Tags: gsm, linux, openmoko, ups&lt;/div&gt;&lt;hr/&gt;&lt;div class="wiki"&gt;
&lt;p&gt;
After four (4) weeks of waiting from the moment credit card has been charged, it finally arrived. It seems that shipping GSM-like devices to Croatia as person (as opposed to company) isn't something envisioned by &lt;a target="_blank" title="(external link)" href="http://www.telekom.hr/"&gt;Hrvatske agencije za telekomunikacije&lt;!-- wiki-renamed-hyperlink "Hrvatske agencije za telekomunikacije"&lt;http://www.telekom.hr/&gt; --&gt;&lt;/a&gt; so we had to get additional papers (most of which I don't have) and in the end they settled with hardware specification of Neo1973 from OpenMoko wiki.&lt;/p&gt;
&lt;p&gt;
I must say that people all over the process where helpful and nice: we had to communicate much more with them then I hoped, but in the end it worked out o.k.&lt;/p&gt;
&lt;p&gt;
And now several obligatory pictures (hopefully not redundant :-)&lt;/p&gt;
&lt;p&gt;
&lt;img alt="http://blog.rot13.org/2007/08/24/openmoko-goodies.jpghttp://blog.rot13.org/2007/08/24/openmoko-size.jpghttp://blog.rot13.org/2007/08/24/openmoko-assembly_required.jpg" src="http://blog.rot13.org/2007/08/24/openmoko-goodies.jpghttp://blog.rot13.org/2007/08/24/openmoko-size.jpghttp://blog.rot13.org/2007/08/24/openmoko-assembly_required.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;
After that I got rootfs flashed and I now have new (semi-functional) phone &lt;tt&gt;:-)&lt;/tt&gt;&lt;/p&gt;
&lt;pre&gt;

root@fic-gta01:~$ cat /proc/cpuinfo
Processor       : ARM920T rev 0 (v4l)
BogoMIPS        : 132.71
Features        : swp half thumb
CPU implementer : 0x41
CPU architecture: 4T
CPU variant     : 0x1
CPU part        : 0x920
CPU revision    : 0
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format A
Cache format    : Harvard
I size          : 16384
I assoc         : 64
I line length   : 32
I sets          : 8
D size          : 16384
D assoc         : 64
D line length   : 32
D sets          : 8

&lt;/pre&gt;
&lt;br /&gt;&lt;p&gt;
Hardware : GTA01&lt;br /&gt;
&amp;nbsp;Revision : 0240&lt;br /&gt;
&amp;nbsp;Serial : 0000000000000000&lt;br /&gt;
&amp;nbsp;root@fic-gta01:~$ free&lt;br /&gt;
&amp;nbsp;total used free shared buffers cached&lt;br /&gt;
&amp;nbsp;Mem: 126644 52604 74040 0 84 39100&lt;br /&gt;
&amp;nbsp;-/+ buffers/cache: 13420 113224&lt;br /&gt;
&amp;nbsp;Swap: 0 0 0&lt;br /&gt;
&amp;nbsp;root@fic-gta01:~$ df&lt;br /&gt;
&amp;nbsp;Filesystem 1k-blocks Used Available Use% Mounted on&lt;br /&gt;
&amp;nbsp;/dev/mtdblock4 62576 42572 20004 68% /&lt;br /&gt;
&amp;nbsp;tmpfs 40 0 40 0% /mnt/.psplash&lt;br /&gt;
&amp;nbsp;/dev/mtdblock4 62576 42572 20004 68% /dev/.static/dev&lt;br /&gt;
&amp;nbsp;tmpfs 2048 64 1984 3% /dev&lt;br /&gt;
&amp;nbsp;tmpfs 63320 4 63316 0% /tmp&lt;br /&gt;
&amp;nbsp;tmpfs 63320 116 63204 0% /var/volatile&lt;br /&gt;
&amp;nbsp;tmpfs 63320 16 63304 0% /dev/shm&lt;br /&gt;
&amp;nbsp;tmpfs 63320 0 63320 0% /media/ram&lt;br /&gt;
&amp;nbsp;/dev/mmcblk0p1 495168 0 495168 0% /media/card&lt;/p&gt;
&lt;/div&gt;
</content>
    <id xmlns="http://www.w3.org/2005/Atom">https://saturn.ffzg.hr/rot13/index.cgi?openmoko_arrived</id>
    <author xmlns="http://www.w3.org/2005/Atom">
      <name xmlns="http://www.w3.org/2005/Atom">Dobrica Pavlinušić</name>
    </author>
    <updated xmlns="http://www.w3.org/2005/Atom">2007-08-24T16:32:47Z</updated>
    <category xmlns="http://www.w3.org/2005/Atom" term="gsm" label="gsm"/>
    <category xmlns="http://www.w3.org/2005/Atom" term="linux" label="linux"/>
    <category xmlns="http://www.w3.org/2005/Atom" term="openmoko" label="openmoko"/>
    <category xmlns="http://www.w3.org/2005/Atom" term="ups" label="ups"/>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.org/1999/xhtml">
    <title xmlns="http://www.w3.org/2005/Atom">Ubertooth One</title>
    <link xmlns="http://www.w3.org/2005/Atom" type="text/html" rel="alternate" href="https://saturn.ffzg.hr/rot13/index.cgi?ubertooth_one"/>
    <content xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.org/1999/xhtml" type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><div>Creator: Dobrica Pavlinušić</div><hr/><div class="wiki">
<span class="nlw_phrase"><img alt="ubertooth-specscan-ui.png" src="https://saturn.ffzg.hr/rot13/index.cgi/ubertooth-specscan-ui.png?action=attachments_download;page_name=ubertooth_one;id=20190630074932-0-6087"/><!-- wiki: {image: ubertooth-=specscan-=ui.png} --></span><br/><br/><p>
<a target="_blank" title="(external link)" href="https://greatscottgadgets.com/ubertoothone/">https://greatscottgadgets.com/ubertoothone/</a></p>
<p>
<a target="_blank" title="(external link)" href="https://github.com/greatscottgadgets/ubertooth">https://github.com/greatscottgadgets/ubertooth</a></p>
<pre>
dpavlin@nuc:~$ lsusb -d 1d50:6002
Bus 002 Device 015: ID 1d50:6002 OpenMoko, Inc. Ubertooth One
</pre>
<br/><h1 id="install">install</h1>
<p>
<a target="_blank" title="(external link)" href="https://github.com/greatscottgadgets/ubertooth/wiki/Build-Guide">https://github.com/greatscottgadgets/ubertooth/wiki/Build-Guide</a></p>
<pre>
dpavlin@nuc:~$ sudo apt install ubertooth

dpavlin@nuc:~$ sudo ubertooth-util -vV
Firmware version: 2012-10-R1 (API:1.00)
control message unsupported
error: -9
</pre>
<br/><p>
very old firmware, let's upgrade it</p>
<pre>
dpavlin@nuc:~$ sudo ubertooth-dfu -d /usr/share/ubertooth/firmware/bluetooth_rxtx.dfu -r
libUSB Error: Input/Output Error:  (-1)
Switching to DFU mode...
Checking firmware signature
........................................
........................................
........................................

libUSB Error: Input/Output Error:  (-1

</pre>
<br/><p>
reset failed, plugin out, plug in</p>
<pre>
dpavlin@nuc:~$ sudo ubertooth-util -vV
Firmware version: 2018-12-R1 (API:1.06)
ubertooth 2018-12-R1 (user@localhost) 
</pre>
<br/><h1 id="usage">usage</h1>
<pre>
dpavlin@nuc:~$ ubertooth-specan-ui 

</pre>
</div>
<hr/><div>Attachments: ubertooth-specscan-ui.png</div></div>
    </content>
    <id xmlns="http://www.w3.org/2005/Atom">https://saturn.ffzg.hr/rot13/index.cgi?ubertooth_one</id>
    <author xmlns="http://www.w3.org/2005/Atom">
      <name xmlns="http://www.w3.org/2005/Atom">Dobrica Pavlinušić</name>
    </author>
    <updated xmlns="http://www.w3.org/2005/Atom">2019-06-30T07:49:32Z</updated>
  </entry>
  <entry xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.org/1999/xhtml">
    <title xmlns="http://www.w3.org/2005/Atom">Android G1</title>
    <link xmlns="http://www.w3.org/2005/Atom" type="text/html" rel="alternate" href="https://saturn.ffzg.hr/rot13/index.cgi?android_g1"/>
    <content xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://www.w3.org/1999/xhtml" type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><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="(188 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></div>
    </content>
    <id xmlns="http://www.w3.org/2005/Atom">https://saturn.ffzg.hr/rot13/index.cgi?android_g1</id>
    <author xmlns="http://www.w3.org/2005/Atom">
      <name xmlns="http://www.w3.org/2005/Atom">Dobrica Pavlinušić</name>
    </author>
    <updated xmlns="http://www.w3.org/2005/Atom">2011-01-04T21:01:37Z</updated>
    <category xmlns="http://www.w3.org/2005/Atom" term="Android" label="Android"/>
  </entry>
</feed>
