July 2009

5 posts

Display iPhone battery status in percent

· software

With the new firmware, you can now display your battery status in percent (%).

For my iPhone 3G this came, out of the box, right after the update to 3.0. I could clearly see the 100% next to my battery icon.

But yes, I did have my iPhone jailbroken before I upgraded.

Now, appearantly, this feature is only available for iPhone 3GS, and not iPhone 3G and iPhone 2G, though, it is possible using e.g. Bossprefs. Lame from Apple !

Anyhow, after some Googling, I came to the conclusion:

  • iPhones that used to be jailbroken will have the % displayed next to the battery icon.
  • Regular iPhone 2G and 3G will not have the switch in "Settings > General > Usage", whereas 3GS will.

iPhone battery % status

I found a cool workaround right here, although it requires you to jailbreak your iPhone.

Don’t forget to install “openssh”  and “wget” or “lynx” (makes it a lot easier) using the Cydia package manager.

I’ve hosted the plist file right here, just in case it would go offline.

Basicly, you have to add these 2 lines to the .plist:

   <key>gas-gauge-battery</key>
   <true/>

This works with the current iPhone version (3.0).

Vodafone Mobile Connect - Incorrect Pin code

· errors, hardware, networking, software

As I usually use my SIM card in my iPhone, I booted my PC, plugged in the Vodafone USB Mobile Connect modem (HAUWEI 220 or something). I then inserted, with the USB device plugged in, my SIM card, and booted up the Mac (and later on Windows) Vodafone application, to connect my PC to the Proximus 3G network.

This resulted in a constant error; “The pin code was not accepted by the mobile device”.

OpenVPN Linux + Mac howto

· apple, linux, networking

A short howto, as I was unable to find any clear ones on the net.

I'm using Mac OS X (Leopard) as client, and a Gentoo server as server/host.

I both tried Viscosity and Tunnelblick on my Mac as OpenVPN software, and Viscosity is probably somewhat easier to configure (using the GUI), it was shareware. So I ended up using Tunnelblick and it seems to be doing its job quite well.

First of all, make sure Gentoo is set up and working as intended. I used my home router as VPN server (having both eth0 and eth1 (= ppp0).