From Openmoko

Jump to: navigation, search

This is my personal page.


True plug-and-play experience using usb networking

Plug-and-Play USB Networking

First time installation

I installed a second Freerunner, and I collect here the necessary steps, to install a distro on it.

  1. Installing Qi
  2. Installing SHR to NAND
  3. Checking if I have the latest GSM firmware (calypso firmware: moko11)
  4. Installing SHR/OM2009 to the SD card

Installing Qi

The best to use openmoko experimental for qi. I used qi-s3c2442-1.0.2+gitr243+36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu as of 2009-08-30.

Installation Please refer to Qi page, if you want to digg more.

  1. Check if 'dfu-util' is installed on your computer, if not install it. (I use ubuntu here)
 apt-get install dfu-util
  1. Connect an USB cable and turn off the Neo Freerunner
  2. Turn on the Neo by pressing AUX and POWER button at the same time until NOR uboot menu does not appear.
NOTE: if you dont press AUX for 30 sec, the Freerunner will automatically switch off (repower it the with the same method)

  1. Issue the following command as root:
 sudo bash
 dfu-util -a u-boot -R -D qi-s3c2442-1.0.2+gitr243+36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu 

the output is something like:

root@lamagep:~/Asztal/down/openmoko/qi# dfu-util -a u-boot -R -D  qi-s3c2442-1.0.2+gitr243+36bb5c03756268ff15b2d95a043ffb39a919ce5c.udfu 
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY
Opening USB Device 0x0000:0x0000...
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: [0x1d50:0x5119] devnum=20, cfg=0, intf=0, alt=1, name="u-boot"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
Starting download: [##################################################] finished!
state(2) = dfuIDLE, status(0) = No error condition is present
Resetting USB to switch back to runtime mode

Installing SHR to NAND

Having a working distrib in the NAND means, that you can use your freerunner as a uSD card reader, and install the newest distribs to uSD card.

NOTE: Using you phone from NAND is not as fast as booting directly from uSD card. So I recommend to use your phone from uSD card on daily basis

comment: strange, I have exactly the opposite experience. nand is much faster and more relyable for daily use, than SD-card.

--zoff99 20:30, 14 October 2009 (UTC)

  1. Get the relevant sources
    1. kernel uImage (NAND):
    2. root fs for NAND:
    3. root fs for uSD(uSD does not require uImage...bin):
  1. Turn on the Freerunner with uBoot NOR (press and hold AUX button and press and hold POWER button until the boot screen does not come up. The same steps as above when we flashed qi)
  1. Flash kernel and rootfs for NAND:
sudo dfu-util -a rootfs -R -D shr-lite-glibc-ipk--20090808-om-gta02.rootfs.jffs2 
sudo dfu-util -a kernel -R -D uImage-2.6.29-oe11+gitr119838+2d158aae9d8d36f575504f59884ed8e80802efe2-r3.5-om-gta02.bin
  1. Reboot.

Checking GSM firmware version

  1. launch shr
  2. launch terminal application, and after:
  > mickeyterm
    +CGMR: "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11"
  1. quit

Installing SHR to uSD

Partition tip

  1. Max 4 partition is permitted (additional partitions requires heavy tweakings)
  1. Here is a small partition tip for uSD. I prefer to partition into 3 the uSD card.

One for current distrib, one for newer distrib (to try out), one for the /home dir, for easy upgrading.

  1. In case of 512MB(only one distrib): 256MB for distrib, 256MB for /home
  2. In case of 4GB: 512MB for distrib1, 512MB for distrib2, 3GB for /home

Elementary related

Paroli related

These are some paroli related links.

Useful SHR links class:


latest paroli recipe:

old paroli recipe:

FSO daemons and interface names

Two concurrent implementation: frameworkd (python), and cornucopia (vala)

Currently(20090906) on shr unstable are running the following daemons:

  • fso-gpsd
  • python /usr/bin/frameworkd
  • /usr/bin/fsousaged
  • fso-abyss

Summary of dbus service and process and interface

DBus object dbus service process name vala/python info/remarque/explanation
 ?  ? fso-gpsd  ?  ?
org.freesmartphone.ousaged /org/freesmartphone/Usage python /usr/bin/frameworkd python For more info please see: org.freesmartphone.Usage
org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device python /usr/bin/frameworkd python For more info please see: org.freesmartphone.GSM
 ?  ? /usr/bin/fsousaged  ?  ?
 ?  ? fso-abyss  ?  ?

Power button


Mobile browsers review

Mouse gestures

Mouse Gesture Freerunner (proposed function) Other mobile phones uses this requires multitouch
double click zoom in nokia n900, opera mobile no
triple click zoom out opera mobile no
move your finger clockwise (stepless) zoom in until you stop the circles n900 no
move your finger anti-clockwise (stepless) zoom out until you stop the circles n900 no
push and move your finger immediatly panning iphone, n900 no
push and hold your finger, while a small animation appear, move after zoom in and out Samsung Jet (not released yet) no
push with two fingers and move not possible two finger scrolling(macosx) yes
push with two fingers and shorten the distance not possible zoom out (iphone, palm pre, macosx) yes
push with two fingers and distance them not possible zoom in (palm pre, iphone, macosx) yes

Iphone browser

[Page 6 of review]

|     |X|| google searchbox  |
|                                            |
|                                            |
|                                            |
|              Website rendered              |
|                                            |
|                                            |
|                                            |
|                                            |
|   <   |   >   |    +    |   book  |  pages |

three browser comparison(iphone vs. palm pre vs. blackberry):

The .state file

The ultimate alsa guide to statefile by klaszlo

Personal tools