Archive for the ‘gsm-pda’ Category

Open source push email with z-push

Monday, May 3rd, 2010

After having my email being served by Zimbra Open Source Edition for over a couple of months now, the time was there to implement my email/contacts/tasks sync to my Android cell phone again (after years of true ActiveSync with Exchange).
I started looking at possibilities, being z-push and funambol (probably others too, but not by my knowledge or what I have found) and investigating how to implement (one of) them.

A couple of years ago, I already had some trial and error experience with Funambol, back in the days it was still called Sync4j, but I have never gotten it to work stable enough, so I first went with z-push.

Z-push relies on a couple of packages, being php, apache and php-pear, and a couple of others.

The base of my configuration comes from a basic-detailed description I found on a slashdevslashnull page, describing the steps and info needed for an install.

I didn’t have any success, failing on several parts…
First one: running an Apache on the same host as the Zimbra isn’t all that easy, so I installed a separate Ubuntu server on my virtual server, just for the z-push frontend.
Second: the configuration of the z-push config.php isn’t very well documented. Using the IMAP backend, I got to logging in, but I didn’t have any success in real data. The problem lies in the security settings conflicting between the IMAP z-push backend config and the Zimbra IMAP service.

I did a little more research, and stumbled upon Zimbra-backend for z-push, a backend communications module to interface both products.
The config needed in config.php is even less documented, and it took me a while to figure it out.

To enable debugging, you need to create a file called debug.txt in the z-push root dir, and give it the proper file rights for it to be writable.

This block seems to do it fine, that is: it is giving me a good readout in de created debug.txt file:
// ***********************
// Zimbra Backend Settings
// ***********************
define('ZIMBRA_URL', 'https://172.16.248.21');
define('ZIMBRA_SYNC_CONTACT_PICTURES', true);
define('ZIMBRA_VIRTUAL_CONTACTS',true);
define('ZIMBRA_VIRTUAL_APPOINTMENTS',true);
define('ZIMBRA_VIRTUAL_TASKS',true);
define('ZIMBRA_IGNORE_EMAILED_CONTACTS',true);
define('ZIMBRA_HTML',true);

With this config I can enable my T-Mobile G1 Android 1.6 powered smartphone to pick up email, contacts and such through ActiveSync with the Touchdown application.

Android 1.6 update?

Saturday, October 3rd, 2009

OK, I admit, I haven’t been following the latest news about the Android developments…
All of a sudden, about 10 minutes ago, I noticed a ‘system update’ message on my T-Mobile G1 phone (none-dev one)…
It looks like it’s fixing a couple of issues surrounding reboots when dialing 911 (Not needed in Europe, so not important).
It also marked that Google Maps Voice search is already here? OK, I don’t use (or didn’t until now) the voice search capabilities on my phone, but this definitely is something nice :D
Also, an updated Market will be a great change, but will have to check that and see what exactly has been changed…
More info about the Market Update can be found here.

The update took about 5 minutes, the reboot following was more painful… It took about 10 minutes to reboot my phone, but I guess a lot of underlying updating of databases and such will be the cause of that…
More news to come when I figure out all the nice new things, if I find them ;)

Update:
Not only the Market is updated, but the new 1.6 version gives Android basic VPN connectivity: PPTP, L2TP and L2TP/IPSec connections both on PSK and certificate base.

Now, one minor issue I need to report: since the update, my Edge/GPRS connection isn’t working at regular intervals… mostly exactly when I need it to be there…
Also my Wifi connection isn’t autoconnection that easily anymore… It is connecting, but I really often need to do it myself again…

I’m keeping an eye on it, and will test the VPN possibilities, but it looks very promising…

More info on the changes can be found here.

update2:
The GPRS/Edge issue is getting worse…
I’m actually even thinking of rolling back the update, that is: reinstalling with the original Firmware, doing the update to RC29, to RC30, to RC33 and then to 1.5 until it asks me to update again to 1.6…
This morning even the normal GSM connecting hang… I wasn’t able to receive calls, and when I tried to dial myself, the whole phone just hang, no response whatsoever. I needed to take out the battery and do a complete restart…
I’ll be looking for others this evening that have similar issues with the update to 1.6

In fact, it looks like Google/T-Mobile released the update a bit too soon… if you look at all the news around the 1.6 update… no one knew it was coming and several programs have issues because they weren’t ready for 1.6 yet… let’s hope Google/T-Mo sends out a fix real soon…

Ubuntu on a PDA

Saturday, June 7th, 2008

Well, it looks like I’m moving forward on the Linux-on-a-phone piece, as the HTC Universal I have has already been running several flavors of Linux kernels and distro’s (Opie-II, GPE(phone), Qtopia, …).
Now a few days back I installed a debian distro for the Uni on it, with much success, except it is terribly slow working in XFCE, but the machine was never built as a desktop replacement, so needs a little tweaking, I guess..

I posted a remark on the forum on xda-developers.com as someone was saying he/she wanted Ubuntu on the Uni. I thought it wasn’t possible, but it looks like someone ported the Ubuntu distro to the ARM, which the Uni has inside. Now I’ll be trying that too, though I’m pretty sure that running Gnome on that little beast is far too much for it to handle… so it’ll probably be XFCE again…
Info here, here and here (in german).
Go check it out. And once I manage to do so, I’ll post my findings here, as always!

Build your own Linux Phone – part 4: HTC BlueAngel

Thursday, March 27th, 2008

I got a HTC BlueAngel this week, to add it to my ‘collection’ of HTC Linux-running devices.
First of all I updated the device (standard Rom was an Italian PPC2003SE), to a ‘Helmi’ Windows Mobile 6 WWE Rom…

After that I inserted my 256MB SD card into my Acer Aspire 5602 work laptop’s built-in card reader, and ran the installation with the files found on linuxtogo and ran Haret from WM6. The device boots Linux, and runs the OPIE-II frontend, but I get the exact same message as I had on my Magician device: “No Modem”.
I tried loading the SD card with the latest (8th of march 2008) bootfiles, kernel and filesystem found here (webpage of Albrecht Gebhardt) with GPEphone 2.8, with a similar situation: /dev/ttyS0 not being able to be used as a phone/modem device. I tried changing it but it didn’t matter: no phone or modem device could be used or found…

Still searching, and updates will follow…

Build your own Linux Phone – part 3 – update

Sunday, March 2nd, 2008

Just a small update:

After some fiddling, I found out that the Toggle for Bluetooth On/Off and Wifi On/Off both work!
Bluetooth can actually see my other devices. Pairing with the printer doesn’t work as there is no service definition for a HP D7460…
It does see my windows mobile HTC Trinity, my workphone (nokia 6021) and my HTC/Qtek Magician Windows Mobile phone, but trying to pair, gives me an ‘Unable to create pairing’ error…

Wifi is ‘only’ 802.11b, and I don’t think it understands WPA2-PSK which I use at home.I’ll give the Wifi a try at the office, as we have an open wrt54G there…

Next step in our investigation: connectivity…

As for internet connectivity through the desktop I use the USB cable.
I set my laptop (ubuntu gutsy) with an ifconfig usb0 192.168.0.200 netmask 255.255.255.0
I install ipmasq out of the repositories, and run it after I started the network, and I have a connection on the Universal, through USB, going through my wlan on my laptop, to the internet. Downloading, pinging, … it all works…

Build your own Linux Phone – part 3

Saturday, March 1st, 2008

YES!!! IT WORKS!

After a lot of searching, posting and trying, the xda-developers forum on the installation of Linux on the Universal device (found here) I finally managed to get OPIE-II/Angström running without any error and any problem on my HTC Universal/Vodafon V1640 device!

The basic software packages has everything you need to work on-the-road, except some minor (but important) things. It even has Roadmap, a gps tracking,planning,mapping software, which you can download the (local) maps for… What’s not there (yet) are a web browser and a console terminal application… These ones I miss the most, as I wanted to use the Universal device as a replacement for my Ubuntu laptop for the quick-and-easy troubleshooting and network management stuff at our clients… Makes working a lot more fun, no?

I will sum up what, at this time, is working and what not:
- I can dial numbers, make phonecall conversations in good quality
- I can receive phonecall conversations in the same way
- Phonebook functionality is working: I can get details when wanting to dial, and calling party is displayed correctly
- I can send sms messages
- I can send sms messages
- Phonebook is working OK with this too
- I can use the software and media players
- Keylock and suspend/resume/apm/backlight/battery charging settings all work
- Media player looks OK too
- In all applications both on-screen keyboard and hardware keyboard do work. Watch out, keyboard layout is slightly different than in Win CE. Where Win CE needs the FN key for @ etc, you need to use Shift in OPIE-II…
- Settings for GPRS/edge are in, the G is displayed next to the reception indicator, but I cannot seem to connect it?

What’s not working now:
- Wifi doesn’t seem to work
- Bluetooth is stated as Running, but no file transfer possible
- Screen rotating doesn’t work yet but can be set manually to be rotated (not live-changeable)
- GPRS/UMTS not connectable? (or at least I did’t find how to yet)
- There was one look-and-feel choice that made the device hang or put it in a (temporary) unresponsive state… Don’t know which it was anymore… will try again and report!

Things untested:
- USB Networking
- Synchronization features
- package manager/adding removing applications
- Roadmap (gps mapping, tracking and planning software, already preinstalled, but no maps yet…)

I will test with the other functionalities like application installing, internet connectivity later. I’m going to give the OpenMoko image a try now, to see what this gives me in working functionality compared to the OPIE-II image. Using an other 1GB MMC card for this, to keep the tests from touching each others’ settings and applications…

At least: it looks very promising and it seems like a working solution…
Only downside: the Universal is really big for a phone! but I’ll get used to it, eventually?

Build your own Linux Phone – part 2

Wednesday, February 27th, 2008

Well, next move… I received aVodafone V1640, aka Qtek 9000, aka the HTC Universal.

This device is know to work quite good with the OPIE-II and OpenMoko images.
Thanks to xda-developers, I first upgraded the devices’ own native Operating System to WM6.1, which is running lots and lots faster than the standard default Windows Mobile 5 which comes with it…

After nearly having a heart attack when my colleague Koen tried the device today, leaving it (without him having anything to do with it, by the way) without a responsive touch screen, I managed to reseat the screen connectors firmly. That left me with a working touchscreen again, after which I finally was able to proceed my testings and trials…

I’m trying the opie installation right this moment, and it looks good. Installation went OK (I first partitioned the SD card into a 110MB and 120MB partition scheme, but it needed a 128MB minimum partition, so I had to restart…) File system creation, root file system unpacking and creation went very fluently this time, and the root filesystem population follewed nicely… looks very promising, though it takes a little while… a cup of coffee (or tea in my case) is very welcome… or adding stuff to your blog at the same time is a good combination to overcome the 20minute wait while the initial uncompressing and stuff is running on the sd card…

First run: Keys are locked, and so is the touchscreen :(
Have to get past this one first…  I’ll keep these posts  uptodate ;)

Build your own Linux Phone

Wednesday, February 20th, 2008

As OpenMoko is still in development, Android gets lots of media attention, and other projects still running at their own pace, I wanted to get to know the possibilities of the current systems and roms available for current existing hardware.

I received a HTC Magician, aka T-Mobile MDA Compact, Imate Jam, Qtek S100, … and tried to get an OpenMoko installation booting on this machine, which blocked somewhere in the startup. I tried with an OPIE-II installation, and got through the boot, graphical and software startup without any hassle, but was confronted with a ‘no modem’ message.

So: OPIE-II seems to be running fine, but is lacking a driver, or location to the device in the configuration.

The cell phone has another issue with the modem: in the windows startup, it doesn’t have _any_ cell coverage, apart from the one-time “1 bar” coverage I had yesterday when trying and squeezing the upper back lid. I posted a message on the xda-developers.com site under the Magician forum, and got a rather quick and easy response: under the upper back lid, you have a metal plate, which is functioning as an internal antenna. Lots of people seem to have an issue with the connection between te 2 small connection strips that need to push into two small copper squares on the PCB. Cleaning them, scratching them, pushing them a little extra, … it doesn’t seem to do the trick for me… coverage/signal is still nil…

I tried with an upgrade of the Radio Rom (you can easily extract the rom update from the complete update/upgrade package, and run it seperately), but that didn’t work. I tried 1.12 and 1.13 for the radio rom, tried a complete upgrade of all software, no solution. The only thing I still have left is obvious: try a complete downgrade, Radio Rom first :p if it is, at all, a software/firmware issue… I’ll keep this post up-to-date when finished!

Linux Cell Phones / PDA’s

Wednesday, February 13th, 2008

A couple of years ago, I started looking at a Linux distro for my Compaq/HP iPaq 3850. The device was supported by the Familiar distribution , a combination of a linux kernel, a couple of graphical frontend and some extra software. You can choose the graphical frontend out of Opie, GPE, and some other software packages. The nice thing about the whole distribution is that it’s based and built upon the debian distribution and it uses a package management system that resembles the apt and dpkg system.

Now… having an HTC Trinity (P3600) as a smartphone for about half a year, I have been looking since day 1 to flash the device with a more ‘open’ base system, preferably linux kernel-based. The P3600 is a nice smartphone that has everything you need: quad band gsm, utms/hsdpa/edge/gprs support, wifi 802.11b/g, built-in gps receiver that does a better job than any receiver I ever had, 2.8″ tft touch screen and mini-sd support. The device originally runs Windows Mobile 5, but I found a Windows Mobile 6 rom that runs faster, has nicer look-and-feel, and gives me better control over all the internals… the rom is udK based, and was found on the xda-developers site.

Now, looking through the wiki-part of their site, I noticed the pages for xanadux, a Linux effort for the HTC devices of all kinds… Trinity isn’t supported yet, but a couple of other, a bit older, are… Looking on kapaza and other second hand auction sites, had me looking especially at the HTC/Qtek 9000 and 9090, but they are a bit expensive, just to have a test with them… In the end I found a guy that sent me his Qtek S100 (HTC Magician) which has a bit of a radio-issue (not always), dropping cell coverage from time to time, just for the shipping costs. I’m waiting for the device to arrive, so I can start testing the device with a linux kernel… :d
You can find updates and status on the implementation here:

Magician Progress on xda-developers
Magician implementation on handhelds.org

Details about handhelds.org support for handheld devices (all kinds) can be found here:
Supported Handheld Summary

I’ll keep you updated once I receive the Qtek S100 device…