Qtopia on Neo 1973/de

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Qtopia Images)
(Qtopia AND OpenMoko Option 1)
Line 15: Line 15:
 
Der Download und die Nutzung von dfu-utils ist [[Flashing_openmoko|wie üblich]]. die IP Adresse ist die gleiche wie beim OopenMoko Build (192.168.0.202/24).
 
Der Download und die Nutzung von dfu-utils ist [[Flashing_openmoko|wie üblich]]. die IP Adresse ist die gleiche wie beim OopenMoko Build (192.168.0.202/24).
  
=== Qtopia AND OpenMoko Option 1 ===
+
=== Qtopia UND OpenMoko Variante 1 ===
Why choose when you can have both ;)
+
Warum wählen, wenn man beide haben kann ;-)
  
I assume you allready have some recent version of OpenMoko on your Neo1973. If not, have a look [[Flashing_openmoko|here]].
+
Hier wird angenommen, dass auf dem Neo1973 irgendeine aktuelle Version von OpenMoko installier ist. Wenn Nicht, dann bitte  [[Flashing_openmoko|hier]] einen Blick rein werfen.
  
First backup everything on your micro-sd card you don't want to loose as we are going to create a new filesystem on it. This is necessary beacause vfat doesnt support links. Then ssh to your neo and do:
+
Sichern Sie zuerst alle Daten von der Micro-SD Karte, die nicht gelöscht werden sollen, wärend ein neues Dateisystem auf der SD Karte angelegt wird. Ein neues Dateisystem ist erforderlich, da VFAT keine Links unterstützt. Also nach dem SSH auf Neo:
 
  umount /dev/mmcblk0p1
 
  umount /dev/mmcblk0p1
 
  mkfs.ext3 /dev/mmcblk0p1
 
  mkfs.ext3 /dev/mmcblk0p1
 
  mount /dev/mmcblk0p1
 
  mount /dev/mmcblk0p1
  
On your desktop: Get "Developer root filesystem" [http://www.qtopia.net/modules/devices/openmoko.php from here]. Get the opt/Qtopia folder plus the qpe init script out of the archive repack and copy it to your neo. One could do this like this:
+
Auf Ihrem Desktop laden Sie das "Developer root filesystem" von [http://www.qtopia.net/modules/devices/openmoko.php hier]. Entpacken Sie  das Verzeichnis opt/Qtopia und den qpe init Script aus diesem Archiv und kopieren Sie diese auf den Neo. Dies könnte so aussehen:
 
  tar xzf ficgta01-qtopia-developer-rootfs.tgz opt/Qtopia etc/init.d/qpe
 
  tar xzf ficgta01-qtopia-developer-rootfs.tgz opt/Qtopia etc/init.d/qpe
 
  mv opt/Qtopia etc/init.d/qpe . && rm -r opt etc
 
  mv opt/Qtopia etc/init.d/qpe . && rm -r opt etc
Line 31: Line 31:
 
  scp Qtopia.tar.gz root@192.168.0.202:/media/card/
 
  scp Qtopia.tar.gz root@192.168.0.202:/media/card/
  
On your neo again: unpack the archive you just copied and link the Qtopia folder to /opt/Qtopia. Then move the init script to /etc/init.d/:
+
Weiter auf dem Neo: entpacken Sie das Archiv, aus welchem Sie gerade das Verzeichnis opt/Qtopia extrahiert haben. Danach verschieben Sie den init Script nach /etc/init.d/:
 
  cd /media/card
 
  cd /media/card
 
  tar xzf Qtopia.tar.gz
 
  tar xzf Qtopia.tar.gz
Line 38: Line 38:
 
  mv qpe /etc/init.d
 
  mv qpe /etc/init.d
  
Now kill the x server and gsmd and start Qtopia (this can take some time):
+
Jetzt beenden sie den XServer und den gsmd und starten Sie Qtopia (dies kann zur selben Zeit erfolgen):
 
  /etc/init.d/xserver-nodm stop
 
  /etc/init.d/xserver-nodm stop
 
  /etc/init.d/gsmd stop
 
  /etc/init.d/gsmd stop
 
  /etc/init.d/qpe start
 
  /etc/init.d/qpe start
  
Where from here? You could put the last step in a script and start it from a terminal on your phone. But much nicer would be if you could choose between both interfaces on init time and have some small application in Qtopia/OpenMoko to switch.
+
Und weiter? Sie können den letzten Schritt in einem Script zusammenfassen und diesen dann vom Terminal auf dem Neo starten. Allerdings ist es schöner, die Wahl zwischen beiden GUI´s zur init Zeit einzurichten. Für Qtopia wäre eine Anwendung hilfreich, die das Umschalten vereinfachen kann.
  
 
=== Qtopia AND OpenMoko Option 2 ===
 
=== Qtopia AND OpenMoko Option 2 ===

Revision as of 19:38, 10 October 2007


Contents

Installation

Qtopia Images

Qtopia Images für das Neo1973 und der Kernel können hier heruntergeladen werden. Zur Zeit enthält das Flash Archiv den OpenMoko Kernel 2.6.22 und ein Flash Image der Qtopia Phone-Edition im jffs2 Format, der für das Neo1973 cross-compiliert wurde.

Neuere unoffizielle Qtopia Images können sie finden in den ScaredyCat repositories.

Es ist empfehlenswert, zuerst Teile des Flash Speichers zu löschen (wenn Sie keinen Update des u-boot durchgeführt haben. Wenn ja, dann überspringen Sie diesen Schritt). Rufen sie die u-boot Console wie folgt auf und geben sie folgendes ein:

nand erase kernel
nand erase rootfs

Der Download und die Nutzung von dfu-utils ist wie üblich. die IP Adresse ist die gleiche wie beim OopenMoko Build (192.168.0.202/24).

Qtopia UND OpenMoko Variante 1

Warum wählen, wenn man beide haben kann ;-)

Hier wird angenommen, dass auf dem Neo1973 irgendeine aktuelle Version von OpenMoko installier ist. Wenn Nicht, dann bitte hier einen Blick rein werfen.

Sichern Sie zuerst alle Daten von der Micro-SD Karte, die nicht gelöscht werden sollen, wärend ein neues Dateisystem auf der SD Karte angelegt wird. Ein neues Dateisystem ist erforderlich, da VFAT keine Links unterstützt. Also nach dem SSH auf Neo:

umount /dev/mmcblk0p1
mkfs.ext3 /dev/mmcblk0p1
mount /dev/mmcblk0p1

Auf Ihrem Desktop laden Sie das "Developer root filesystem" von hier. Entpacken Sie das Verzeichnis opt/Qtopia und den qpe init Script aus diesem Archiv und kopieren Sie diese auf den Neo. Dies könnte so aussehen:

tar xzf ficgta01-qtopia-developer-rootfs.tgz opt/Qtopia etc/init.d/qpe
mv opt/Qtopia etc/init.d/qpe . && rm -r opt etc
tar czf Qtopia.tar.gz Qtopia qpe
scp Qtopia.tar.gz root@192.168.0.202:/media/card/

Weiter auf dem Neo: entpacken Sie das Archiv, aus welchem Sie gerade das Verzeichnis opt/Qtopia extrahiert haben. Danach verschieben Sie den init Script nach /etc/init.d/:

cd /media/card
tar xzf Qtopia.tar.gz
mkdir -p /opt
ln -s /media/card/Qtopia /opt/Qtopia
mv qpe /etc/init.d

Jetzt beenden sie den XServer und den gsmd und starten Sie Qtopia (dies kann zur selben Zeit erfolgen):

/etc/init.d/xserver-nodm stop
/etc/init.d/gsmd stop
/etc/init.d/qpe start

Und weiter? Sie können den letzten Schritt in einem Script zusammenfassen und diesen dann vom Terminal auf dem Neo starten. Allerdings ist es schöner, die Wahl zwischen beiden GUI´s zur init Zeit einzurichten. Für Qtopia wäre eine Anwendung hilfreich, die das Umschalten vereinfachen kann.

Qtopia AND OpenMoko Option 2

  • format your SD card with ext3 and mount it (see above)
  • unpack rootfs from qtopia-4.3.0-preview-neo-flash.tgz to SD card (see above)
  • copy the uImage-2.6.22.5-moko11-r2-fic-gta01.bin kernel to the boot/ on SD card and rename it to uImage
  • put a 'Boot from SD' menu item in uboot menu as explained here: Booting_from_SD#Step_3:_Add_uboot_boot_entry

Build your own

If you want to build qtopia for yourself you can download the technical preview or snapshots

Tips

Most things seem to work out of the box, however you may need to use the following command to get audio:

alsactl -f /etc/alsa/gsmhandset.state restore

Or put this command in /etc/init.d/qpe line 64

Do not switch themes. Only the default theme is usable. For example, once you switch themes, the lock feature continues to work, but only if you unlock using the smallest # keypad in the world.

Suspend support is very flaky. The neo often shuts off from a suspend state. It will not wake from suspend for an incoming call or text message (someone try setting an alarm and report results here). To turn suspend off (this will of course use the batteries very quickly), hit the down arrow next to the suspend setting in the power management until it says "Off".

When using the virtual keyboard, do a quick flick up or down over the keyboard to access numbers/symbols/capitals.

In summary, Qtopia on the Neo1973 is much closer to being ready than OpenMoko as of this writing. However, sound and suspend support prevent it from being at all useful as a cell phone (as a landline that doesn't ring but instead vibrates, it works ok).

Screenshots

Here are some screenshots of Qtopia runing on a Neo 1973. Personally I find it very impressive...

Qtopia001.png

Qtopia002.png

Qtopia003.png

Qtopia004.png

Qtopia005.png

Qtopia006.png

Videos

http://www.youtube.com/watch?v=YW5q8SpY7t4
http://www.youtube.com/watch?v=iOG_mtSEMgs

For full size videos, 346 MiB:

http://linuxtracker.org/download.php?id=4613&name=qt_on_neo1973_videos.torrent
Personal tools


Installation

Qtopia Images

Qtopia Images für das Neo1973 und der Kernel können hier heruntergeladen werden. Zur Zeit enthält das Flash Archiv den OpenMoko Kernel 2.6.22 und ein Flash Image der Qtopia Phone-Edition im jffs2 Format, der für das Neo1973 cross-compiliert wurde.

Neuere unoffizielle Qtopia Images können sie finden in den ScaredyCat repositories.

Es ist empfehlenswert, zuerst Teile des Flash Speichers zu löschen (wenn Sie keinen Update des u-boot durchgeführt haben. Wenn ja, dann überspringen Sie diesen Schritt). Rufen sie die u-boot Console wie folgt auf und geben sie folgendes ein:

nand erase kernel
nand erase rootfs

Der Download und die Nutzung von dfu-utils ist wie üblich. die IP Adresse ist die gleiche wie beim OopenMoko Build (192.168.0.202/24).

Qtopia AND OpenMoko Option 1

Why choose when you can have both ;)

I assume you allready have some recent version of OpenMoko on your Neo1973. If not, have a look here.

First backup everything on your micro-sd card you don't want to loose as we are going to create a new filesystem on it. This is necessary beacause vfat doesnt support links. Then ssh to your neo and do:

umount /dev/mmcblk0p1
mkfs.ext3 /dev/mmcblk0p1
mount /dev/mmcblk0p1

On your desktop: Get "Developer root filesystem" from here. Get the opt/Qtopia folder plus the qpe init script out of the archive repack and copy it to your neo. One could do this like this:

tar xzf ficgta01-qtopia-developer-rootfs.tgz opt/Qtopia etc/init.d/qpe
mv opt/Qtopia etc/init.d/qpe . && rm -r opt etc
tar czf Qtopia.tar.gz Qtopia qpe
scp Qtopia.tar.gz root@192.168.0.202:/media/card/

On your neo again: unpack the archive you just copied and link the Qtopia folder to /opt/Qtopia. Then move the init script to /etc/init.d/:

cd /media/card
tar xzf Qtopia.tar.gz
mkdir -p /opt
ln -s /media/card/Qtopia /opt/Qtopia
mv qpe /etc/init.d

Now kill the x server and gsmd and start Qtopia (this can take some time):

/etc/init.d/xserver-nodm stop
/etc/init.d/gsmd stop
/etc/init.d/qpe start

Where from here? You could put the last step in a script and start it from a terminal on your phone. But much nicer would be if you could choose between both interfaces on init time and have some small application in Qtopia/OpenMoko to switch.

Qtopia AND OpenMoko Option 2

  • format your SD card with ext3 and mount it (see above)
  • unpack rootfs from qtopia-4.3.0-preview-neo-flash.tgz to SD card (see above)
  • copy the uImage-2.6.22.5-moko11-r2-fic-gta01.bin kernel to the boot/ on SD card and rename it to uImage
  • put a 'Boot from SD' menu item in uboot menu as explained here: Booting_from_SD#Step_3:_Add_uboot_boot_entry

Build your own

If you want to build qtopia for yourself you can download the technical preview or snapshots

Tips

Most things seem to work out of the box, however you may need to use the following command to get audio:

alsactl -f /etc/alsa/gsmhandset.state restore

Or put this command in /etc/init.d/qpe line 64

Do not switch themes. Only the default theme is usable. For example, once you switch themes, the lock feature continues to work, but only if you unlock using the smallest # keypad in the world.

Suspend support is very flaky. The neo often shuts off from a suspend state. It will not wake from suspend for an incoming call or text message (someone try setting an alarm and report results here). To turn suspend off (this will of course use the batteries very quickly), hit the down arrow next to the suspend setting in the power management until it says "Off".

When using the virtual keyboard, do a quick flick up or down over the keyboard to access numbers/symbols/capitals.

In summary, Qtopia on the Neo1973 is much closer to being ready than OpenMoko as of this writing. However, sound and suspend support prevent it from being at all useful as a cell phone (as a landline that doesn't ring but instead vibrates, it works ok).

Screenshots

Here are some screenshots of Qtopia runing on a Neo 1973. Personally I find it very impressive...

Qtopia001.png

Qtopia002.png

Qtopia003.png

Qtopia004.png

Qtopia005.png

Qtopia006.png

Videos

http://www.youtube.com/watch?v=YW5q8SpY7t4
http://www.youtube.com/watch?v=iOG_mtSEMgs

For full size videos, 346 MiB:

http://linuxtracker.org/download.php?id=4613&name=qt_on_neo1973_videos.torrent