Om 2009

From Openmoko

Revision as of 09:53, 17 June 2009 by Glenn (Talk | contribs)

Jump to: navigation, search
Screenshot of Paroli, the GSM app of OM2009

Om 2009 is the next version of the official Openmoko distribution. It is currently under developement and should be released in Summer 2009 to replace Om 2008. It will be based on freesmartphone.org milestone 5.5 framework and use Paroli as GSM software.

Contents

Features Status

Below is the feature list for Om 2009. It's broken down into features that have been implemented and need testing, and features that still need to be finished. Since Paroli is the chosen phone application, many of the features come straight from Paroli project.

Implemented

  • incoming and outgoing phone calls
  • sms incoming and outgoing
  • simple phone book (no images)
  • call log
  • charging
  • suspend and resume
  • resume speed < 2 seconds - this is close but waiting on a kernel bug
  • battery indicator - works for gta02 battery
  • gsm indicator
  • switch to elementary
  • wifi GUI
  • scrolling in UI - fixed by migrating from etk to elementary
  • switching profiles
  • in-call volume adjustment
  • settings tool (read Paroli#FAQ - or this needs to be enabled by editing /etc/paroli/paroli.cfg)

Not Yet Implemented or Broken

  • boot time < 2 minutes - currently examining ways to speed this up
    • install udev-static devices - caveat you lose bind-home
    • use readahead to cache python dirs before starting framework and paroli
    • use readahead to cache dirs for X
    • remove unneeded startup programs ( ie portmap )
    • prime GSM during init for paroli's use
  • screen lock
    • currently X screen saver is used during screen blank
  • user changeable ring tones - works via command line
  • bluetooth - support in FSO milestone 5.5, needs GUI
  • led indication for missed calls or sms
  • GTA01: battery indicator doesn't work for gta01 battery

Bug List and Known Issues

  • gsm0710muxd: "Modem does not respond to AT commands" #2257
  • oeventsd rules ignored FSO #381
  • After missed call, which causes resume, the phone and suspend do not work anymore FSO #435
  • Problem at Display->Profile: can't get back to illume, and illume, paroli or paroli-illume all look exactly the same
    • WORKAROUND: Reboot. The first time it boots there is a problem but it's OK after that. If not, let it run for a few hours and then try to launch illume.

Installing

  • If you've not updated your GSM chip firmware, it's Moko8 and REALLY needs to be updated. See GSM flashing
  • Also update to the latest versions of qi or uboot bootloaders
  • You can add a bind-home directory to the first partition (must be ext2 or ext3 ) of your SD card. On the OM2009 boot it will be mounted as /home/root. This way you can reflash your phone without losing anything in your home directory ( Paroli contacts and settings, maps, etc )

The latest OM2009 and qi/uboot images are available at http://downloads.openmoko.org/distro/testing/

Installing OM2009 is simple as flashing an image. Actually that's what you need to do..

  1. Download! You need the correct fso-paroli-image and uImage.bin files for your device. There are also rootfs tarballs for installing onto an SD card. Freerunner or Neo1973
  2. Flash! Detailed instructions for Freerunner and Neo1973.
  3. Start! The image will boot into fullscreen Paroli and all of the features listed above will be available. To learn more about Paroli, see Paroli

Using OM2009

Write your best tips here!!

  • To learn to use Paroli, the phone software, go to Paroli#FAQ
  • To have log directory that isn't cleared when you reboot, the /var/log symlink needs to be turned into a directory:
rm /var/log
mkdir /var/log
  • To prevent suspending when USB plugged in: unplug usb until LED goes out, then plug usb in: you need to keep the device awake by touching the screen until the LED comes back on. (bug: http://trac.freesmartphone.org/ticket/381)


Angstrom Distribution

  • Contains a lot of useful packages including mplayer and ffmpeg. Run this command to add the distro:
echo "arch base 50" > /etc/opkg/angstrom-feed.conf
echo "src/gz base http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base" >> /etc/opkg/angstrom-feed.conf
My experience: Broke Om 2009 GUI and got segmentation fault repeatedly on the given package and date:
opkg update
opkg upgrade
...
Downloading  http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/shared-mime-info_0.51-r2.1_armv4t.ipk
opkg: fork failed
Segmentation fault
root@om-gta02:~#
--Glenn 18:31, 16 June 2009 (UTC)

Improve Call Quality

  • Initially, the call quality using OM2009 is poor. Audio is distorted on the other caller's end and there is an annoying echo.
  • The audio profile for the handset is located in "/usr/share/openmoko/scenarios/gsmhandset.state"
  • Download this file and move it to the scenarios directory:
wget http://docs.openmoko.org/trac/raw-attachment/ticket/2121/gsmhandset.state.new
mv gsmhandset.state.new /usr/share/openmoko/scenarios/gsmhandset.state


GPS - TangoGPS

  • Simply Install tangogps:
 opkg install tangogps
  • If Tango does not seem to detect your GPS, try installing openmoko-agpsui:
 opkg install openmoko-agpsui
  • Start openmoko-agpsui, activate the GPS, then open Tango.
My experience: Could not be found - even with Angstrom Distribution package repetoire at the given date:
root@om-gta02:~# opkg install openmoko-agpsui
Collected errors:
 * Cannot find package openmoko-agpsui.
root@om-gta02:~# 
--Glenn 18:43, 16 June 2009 (UTC)
Can be built from an address here:
http://www.mail-archive.com/community@lists.openmoko.org/msg23908.html
(untested) --Glenn 08:23, 17 June 2009 (UTC)

Video Player

modprobe snd-pcm-oss
  • If audio works, load this module on boot:
echo "snd-pcm-oss" > /etc/modutils/snd-pcm-oss
update-modules
  • Problems:
    • Allowing the FR to suspend or having the screen blackout while using mplayer will sometimes crash the FR
    • Left edge of the screen has one row of pixels miscolored (Not very noticeable, but it is there)
    • Plugging in the headset will stop audio from playing out of the phone's speaker. Audio will not return until the phone is shut off or you receive or make a call

Development

When we set the very limited goals of OM2009 we had two goals in mind:

1. Give those members of the community who only wanted a daily phone, a distro they could use
2. Introduce technology that would allow the community to come together and improve on these basics

Community interaction, open development and user driven decision making are at the core of Om2009. Going forward this will be an effort with the community for the community. I invite you to join the effort to make om2009 with paroli the best Om-labeled distribution for the Freerunner.

How can you help?

Test the distro, let us know about bugs you find, or even fix them and send us patches.

Tell us about your experiences using om2009, what should we change, where can we improve?

Paroli has come a long way but it still needs a lot of love and optimizing, so if you are into python or efl, check out the code from git.paroli.org, join #paroli on irc and let's get crackin'. There are lots of things to do, opimd needs to be integrated and improved, the UI needs polishing, overall speed can be increased etc etc

More into Chat and email? Feel like writing a jabber/irc/xxx or email client that really fits the screen? Or do you know of one? Let's hear about it. This device has a lot of potential and we are so close to reaching the far corners, the kernel is in good shape, the framework is doing great and telephony apps such as paroli or the shr suite are steadily improving.

So, get your Freerunner in shape again. Flash it with a nice current distro and let it do what it was meant to do :)

Let's make Om2009 a community product, something all of us can be proud of and say "we did this".

Mirko/Openmoko at http://lists.openmoko.org/pipermail/community/2009-May/048061.html)

Reporting Bugs

Please enable debugging as instructed above. Attaching frameworkd.log and paroli.log will aid in solving the bug.

Please search the bug list for you issue before adding it to trac. Some of these issues might be Paroli or FSO issue so you can also check their tracs for solutions or discussions.

Personal tools
Screenshot of Paroli, the GSM app of OM2009

Om 2009 is the next version of the official Openmoko distribution. It is currently under developement and should be released in Summer 2009 to replace Om 2008. It will be based on freesmartphone.org milestone 5.5 framework and use Paroli as GSM software.

Features Status

Below is the feature list for Om 2009. It's broken down into features that have been implemented and need testing, and features that still need to be finished. Since Paroli is the chosen phone application, many of the features come straight from Paroli project.

Implemented

  • incoming and outgoing phone calls
  • sms incoming and outgoing
  • simple phone book (no images)
  • call log
  • charging
  • suspend and resume
  • resume speed < 2 seconds - this is close but waiting on a kernel bug
  • battery indicator - works for gta02 battery
  • gsm indicator
  • switch to elementary
  • wifi GUI
  • scrolling in UI - fixed by migrating from etk to elementary
  • switching profiles
  • in-call volume adjustment
  • settings tool (read Paroli#FAQ - or this needs to be enabled by editing /etc/paroli/paroli.cfg)

Not Yet Implemented or Broken

  • boot time < 2 minutes - currently examining ways to speed this up
    • install udev-static devices - caveat you lose bind-home
    • use readahead to cache python dirs before starting framework and paroli
    • use readahead to cache dirs for X
    • remove unneeded startup programs ( ie portmap )
    • prime GSM during init for paroli's use
  • screen lock
    • currently X screen saver is used during screen blank
  • user changeable ring tones - works via command line
  • bluetooth - support in FSO milestone 5.5, needs GUI
  • led indication for missed calls or sms
  • GTA01: battery indicator doesn't work for gta01 battery

Bug List and Known Issues

  • gsm0710muxd: "Modem does not respond to AT commands" #2257
  • oeventsd rules ignored FSO #381
  • After missed call, which causes resume, the phone and suspend do not work anymore FSO #435
  • Problem at Display->Profile: can't get back to illume, and illume, paroli or paroli-illume all look exactly the same
    • WORKAROUND: Reboot. The first time it boots there is a problem but it's OK after that. If not, let it run for a few hours and then try to launch illume.

Installing

  • If you've not updated your GSM chip firmware, it's Moko8 and REALLY needs to be updated. See GSM flashing
  • Also update to the latest versions of qi or uboot bootloaders
  • You can add a bind-home directory to the first partition (must be ext2 or ext3 ) of your SD card. On the OM2009 boot it will be mounted as /home/root. This way you can reflash your phone without losing anything in your home directory ( Paroli contacts and settings, maps, etc )

The latest OM2009 and qi/uboot images are available at http://downloads.openmoko.org/distro/testing/

Installing OM2009 is simple as flashing an image. Actually that's what you need to do..

  1. Download! You need the correct fso-paroli-image and uImage.bin files for your device. There are also rootfs tarballs for installing onto an SD card. Freerunner or Neo1973
  2. Flash! Detailed instructions for Freerunner and Neo1973.
  3. Start! The image will boot into fullscreen Paroli and all of the features listed above will be available. To learn more about Paroli, see Paroli

Using OM2009

Write your best tips here!!

  • To learn to use Paroli, the phone software, go to Paroli#FAQ
  • To have log directory that isn't cleared when you reboot, the /var/log symlink needs to be turned into a directory:
rm /var/log
mkdir /var/log
  • To prevent suspending when USB plugged in: unplug usb until LED goes out, then plug usb in: you need to keep the device awake by touching the screen until the LED comes back on. (bug: http://trac.freesmartphone.org/ticket/381)


Angstrom Distribution

  • Contains a lot of useful packages including mplayer and ffmpeg. Run this command to add the distro:
echo "arch base 50" > /etc/opkg/angstrom-feed.conf
echo "src/gz base http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base" >> /etc/opkg/angstrom-feed.conf
My experience: Broke Om 2009 GUI and got segmentation fault repeatedly on the given package and date:
opkg update
opkg upgrade
...
Downloading  http://www.angstrom-distribution.org/feeds/2008/ipk/glibc/armv4t/base/shared-mime-info_0.51-r2.1_armv4t.ipk
opkg: fork failed
Segmentation fault
root@om-gta02:~#
--Glenn 18:31, 16 June 2009 (UTC)

Improve Call Quality

  • Initially, the call quality using OM2009 is poor. Audio is distorted on the other caller's end and there is an annoying echo.
  • The audio profile for the handset is located in "/usr/share/openmoko/scenarios/gsmhandset.state"
  • Download this file and move it to the scenarios directory:
wget http://docs.openmoko.org/trac/raw-attachment/ticket/2121/gsmhandset.state.new
mv gsmhandset.state.new /usr/share/openmoko/scenarios/gsmhandset.state


GPS - TangoGPS

  • Simply Install tangogps:
 opkg install tangogps
  • If Tango does not seem to detect your GPS, try installing openmoko-agpsui:
 opkg install openmoko-agpsui
  • Start openmoko-agpsui, activate the GPS, then open Tango.
My experience: Could not be found - even with Angstrom Distribution package repetoire at the given date:
root@om-gta02:~# opkg install openmoko-agpsui
Collected errors:
 * Cannot find package openmoko-agpsui.
root@om-gta02:~# 
--Glenn 18:43, 16 June 2009 (UTC)
Can be built from an address here:
http://www.mail-archive.com/community@lists.openmoko.org/msg23908.html
(untested) --Glenn 08:23, 17 June 2009 (UTC)

Video Player

modprobe snd-pcm-oss
  • If audio works, load this module on boot:
echo "snd-pcm-oss" > /etc/modutils/snd-pcm-oss
update-modules
  • Problems:
    • Allowing the FR to suspend or having the screen blackout while using mplayer will sometimes crash the FR
    • Left edge of the screen has one row of pixels miscolored (Not very noticeable, but it is there)
    • Plugging in the headset will stop audio from playing out of the phone's speaker. Audio will not return until the phone is shut off or you receive or make a call

Development

When we set the very limited goals of OM2009 we had two goals in mind:

1. Give those members of the community who only wanted a daily phone, a distro they could use
2. Introduce technology that would allow the community to come together and improve on these basics

Community interaction, open development and user driven decision making are at the core of Om2009. Going forward this will be an effort with the community for the community. I invite you to join the effort to make om2009 with paroli the best Om-labeled distribution for the Freerunner.

How can you help?

Test the distro, let us know about bugs you find, or even fix them and send us patches.

Tell us about your experiences using om2009, what should we change, where can we improve?

Paroli has come a long way but it still needs a lot of love and optimizing, so if you are into python or efl, check out the code from git.paroli.org, join #paroli on irc and let's get crackin'. There are lots of things to do, opimd needs to be integrated and improved, the UI needs polishing, overall speed can be increased etc etc

More into Chat and email? Feel like writing a jabber/irc/xxx or email client that really fits the screen? Or do you know of one? Let's hear about it. This device has a lot of potential and we are so close to reaching the far corners, the kernel is in good shape, the framework is doing great and telephony apps such as paroli or the shr suite are steadily improving.

So, get your Freerunner in shape again. Flash it with a nice current distro and let it do what it was meant to do :)

Let's make Om2009 a community product, something all of us can be proud of and say "we did this".

Mirko/Openmoko at http://lists.openmoko.org/pipermail/community/2009-May/048061.html)

Reporting Bugs

Please enable debugging as instructed above. Attaching frameworkd.log and paroli.log will aid in solving the bug.

Please search the bug list for you issue before adding it to trac. Some of these issues might be Paroli or FSO issue so you can also check their tracs for solutions or discussions.