RSS

Improve iPhone 3g performance by Enabling Swapping (updated)

update: After 24hours, I’m pretty sure it helped quite a bit. My phone did not slow down to a crawl today nor did iOS start killing my fast app switching backgrounded apps. Will it last? Will it blend? Of course not, it’s VIRTUAL memory!

With the latest iOS 4 supporting multitasking or with any other version of iOS that has been set free from its jail, I’ve noticed that my old, slow iPhone 3g has been having memory issues.

With iOS 3 and multitasking applications such as backgrounder, I could at least manage what app I wanted to leave open in the background. Sure, it took more CPU but at least I could manage it.

With iOS 4 (multitasking enabled using the latest pwnagetools) – many apps will keep using RAM in the background if they support Fast App Switching. As more and more apps get recompiled with iOS 4 and fast app switching enabled, I noticed I needed to reboot my iPhone from time to time or manually close these apps. And as we know, task managers, blowing it, etc…

Here is how I enabled swapping on my iPhone – sorry for not quoting any definite source, the knowledge I found was spread out through many forums and no clear source could be found. In any case, I’m certainly not the one who thought about this.

iOS is a stripped down version of OS X, which supports swapping, obviously. However, the flash in your iPhone is not made to handle thousands of writes and this is why Apple doesn’t do swapping on it. Be warned, this will probably end up killing it. How fast? Hard to say. Considering my 3g is 2 years old and I’m eligible for an upgrade soon, I just don’t really care. Please inspect the file before you upload it and understand what it means – I’m not responsible for you nuking your phone. Back it up in iTunes first, too, just in case you have to restore using DFU Mode.

  1. Jailbreak your iPhone ( I recommend pwnagetools )
  2. Install OpenSSH From cydia
  3. Connect to your iPhone using an SCP client (Cyberduck, WinSCP, Filezilla..)
  4. Download this file and rename it from .txt to .plist com.apple.dynamic_pager
  5. Upload this file to /System/Library/LaunchDaemons
  6. Reboot

You will now notice that even after opening a few apps, available memory reported by SBSettings will remain close to 30-35Mb.

On top of that, if you browse to /var/vm , you will see that it created a swap file.

No Comments | Tags: , , , ,

Predictions for iPhone OS 4

Before the news strike tomorrow..

Here’s an iPhone 4.0 wish list. In bold are the items I think we may see tomorrow..

Multitasking

Multi-user (or at least a guest mode) for at least the iPad

A filesystem to store files and share them between apps, at least for the iPad

Better push notifications

Ability to set a schedule for ringtones (don’t ring at 3am for Viagra spam please)

File synching for iPhone

1 Comment | Tags: , , ,

How to sync Outlook on your PC, iCal, Pocket Informant on the iPhone and still get alarms

Pocket Informant is a wonderful tool on Windows Mobile, and an iPhone version was just released. It doesn’t have all the same bells and whistles (yet), and suffers from the heavy restrictions and lack of functionality in the iPhone OS version 2.

Two particularily annoying restrictions are the fact that it can’t sync with the iPhone’s calendar, which would’ve made it easy to sync with your desktop, and it can’t ring alarms if the app isn’t on. And to think that a decade ago, Pilot 1000s could ring even while the device was off…

To be able to sync my iPhone Pocket Informant to my work Calendar (Outlook) and home Calendar (iCal), and to retain alarms, I use this scheme:

image

Here is what you will need to do, and in what order.

1. Open a Google Calendar account. It should be noted that this is stored on Google’s servers, so this solution may not be the best if you treat your calendar info as super private or if it contains confidential information. It might also be a very bad idea if you schedule crimes using your iPhone. Read the privacy policy.

2. Backup your iCal and Outlook calendars, or really any other application you will sync with Google Calendar. The calendar will get wiped from your iPhone so make sure that the info is already somewhere else.

3. Download and install the Google Calendar Sync tool. The options are very straightforward:

image

Enter your Google credentials, and set the sync to 2 way. Test the synchronisation, verify that your Google Calendar now reflects what is in your Outlook calendar.

4. Download and install the Google Calaboration Utility to Configure Google Calendar as CalDAV Calendars in iCal . Again, the options are pretty straightforward, though the first sync will get the data from Google to your iCal in a new calendar. You will to create new appointments in the proper calendar. I’m no big iCal user, I barely use it in fact, so you may know a way of merging your calendars. Test creating an appointment, see if it got created on the Google Calendar, and then force a sync in Outlook and see if it made it there.

5. Buy, download and install Pocket Informant on your iPhone. Under Settings / Sync / Google Calendar, set the Sync to Active, enter your credentials, and force a sync. See if everything is now in Pocket Informant.

6. Disable calendar sync in iTunes. 

7. On  your iPhone, follow these instructions that explain how to setup your Google Calendar to sync over the ActiveSync (Exchange) protocol. This will wipe any calendar info from your iphone. Force a Sync, check if your iPhone calendar got updated. This will give you alarms !

8. Bonus option for jailbroken phones: Install Lock Calendar , available in Cydia, to display calendar info on the lock screen.

From Outlook..

From Google Calendar...

image image

You now have a decent calendaring solution for your iPhone, hopefully, some of these steps will be redundant with version 3 of the OS and future Pocket Informant release.

Known issues:

There is obviously a pretty long delay until all parts are up to date. I set the sync on my iPhone to 30minutes (I don’t use push), and to my outlook to 30 minutes, so if I’m not lucky it can take quite a while to be everywhere.

Items added from Pocket Informant with “Alerts” don’t seem to sync properly to Google, and therefore doesn’t get synched back into the iPhone calendar properly. So for now, until a workaround is found (there are quite a few different alert types in PI, maybe one of them works), you’re better off creating items that need alerts somewhere else.

Pocket Informant’s sync is not super reliable right now, should be improved soon.

ToDo:

You can use the same process with a ToodleDo account. I myself simply use Toodledo with the Firefox sidebar, and sync my Toodledo account to Pocket Informant and the Toodledo app for iPhone (Great value, by the way).

No Comments | Tags: , , ,

iPhone mail related battery drain issue

After switching to iWeb, I setup my iPhone to get my email on their IMAP server.

I have made a typo when entering my password for outgoing email. After trying to send an email, it kept on retrying, and I didn’t notice. The battery got drain in a matter of hours.

 

I noticed the mail application saying “1 message unsent”. I fixed my password, sent another message, which worked, but the “stuck” message stayed stuck.

I decided to delete the account completely. Fine, it’s gone!

NO!

Somehow, my Usage stats were EQUAL to my Standby time, and sometimes were not available at all. I could charge the phone, not use it for 2 hours, and it would say Usage = 2hours, Standby = 2 hours. It was obvious something was still trying to send in the background.

 

If you get a similar behavior ( Usage equal to standby ) , you might want to try doing a restore. That’s what fixed it for me, and it’s pretty straightfoward.

 

I hope the next firmware fixes that bug, because it could mean that anything else interrupting an outgoing message could drain your battery overnight. It should retry a few times, and prompt you..

No Comments | Tags: ,

Connect to your IPSec VPN using iPhone/tethering – update

PdaNet 1.40 has been released. I’ve been able to connect to various IPSec tunnels using the client on my laptop with this version , which makes connecting easier. You have to make sure you’re using UDP or that transparent tunneling has been disabled. I haven’t got it working with IPSec over TCP. It still fails on one of my VPNs and I can’t really figure out why but I think it might not be related to Pdanet itself..time to apt-get update it !

From the changelog:

Version 1.40

  • Implement VPN and UDP support.
  • Display a numeric battery meter (you know you want it).
  • Resolve a CPU usage issue that drains the battery faster.
  • Add a DNS cache for instant lookup, improve initial connection speed.
  • Pause UI update when device is sleeping to save power.
  • This version is a significant improvement over previous versions.
No Comments | Tags: , , , ,

Connect to your IPSec VPN using iPhone/tethering

Here is a quick how-to on how to connect to your work’s VPN on the iPhone and use it on your laptop. Special thanks to Nutbar on HowardForums who helped me with the last trick about the connection order.

  • Jailbreak your iPhone ( http://www.quickpwn.com/2008/09/jailbreak-iphone-2… )
  • Install PdaNet from Cydia
    • Get PdaNet working by setting up an AdHoc Wifi network on your laptop. Then connect your iPhone to it, start PdaNet.
      • Test the connection on your laptop by browsing a few websites through the iPhone.
      • Disable PdaNet and Wifi for now.
  • Try connecting to your IPSec VPN from your laptop. It *MIGHT* work but will probably not. If it does work, you’re done here!
  • If it didn’t work, setup the VPN connection on your iPhone. Most types of VPNs are supported, I tried with IPSec but others such as L2TP and PPTP should work (Some providers apparently do not support PPTP/GRE unless you pay an extra fee.. *cough* Rogers *cough*)
    • Test the VPN connection on the iPhone by connecting to it and then loading an Intranet page from Safari to confirm that it is indeed working. If your VPN uses a second authentication page, like some Checkpoint setups do, open that page on the iPhone and authenticate again.
  • Enable Wifi, connect to your AdHoc network. Start PdaNet.
  • Enjoy your tethered VPN from your laptop. It might be a bit slow but you don’t have to get a card for your laptop, and if you’re on Rogers/Fido, the 6gig data plan allows for that. It can be a hell of a life saver when there’s that big problem at 2am and you’re in the middle of nowhere!*
  • For very simple tasks that don’t require a lot of work and can be done over RDP, WinAdmin is a remote desktop program for iPhone that will work well over the VPN. Get it from iTunes ! (Not Available in Canadian Store yet, find it somewhere else!)

    WinAdmin screenshot

    WinAdmin screenshot

*note that Rogers doesn’t have coverage decent enough for that yet

*not tested on Edge but should work the same, just even slower.

*intensive data transfer actually drains the battery faster than it can charge over USB – don’t expect to be able to work 8hours in a row.

No Comments | Tags: , , , ,

Fring for iPhone over 3g..

It happened a bit faster than I was hoping it to!
Someone patched Fring so it works over 3g instead of forcing you to go to Wifi. I have not tried it extensively yet, anyways, 3g around here is really bad for the moment, but this is great news to anyone hoping to use their Skype account more often!

Your iPhone needs to be jailbroken and you basically replace some files with the patched files. Hopefully there’s no backdoor in them!

1) You must be running a Jailbroken iPhone / iTouch
2) Install original Fring via iTunes App Store.
3) Now SSH into your iPhone / iTouch; remember root / alpine
4) Find Fring.app under root var/mobile/applications
5) To find the Fring.app, you then need to click on the most recently installed folder which will be your original Fring and inside should be the Fring.app
6) Unzip the files
7) Delete or rename the original Fring.app on your iPhone / iTouch
8 ) Copy the extracted 3g Fring.app from the zip folder across to your iPhone / iTouch either via the WinSCP (PC) or Yummy FTP (Mac).
9) Now you need to set the permissions. This is easy so please do make it more complcated for yourselves. ALL the files within the 3g Fring.app replacement must be set to 755 (Yummy) or 0755 (WinSCP). You should see all the files being altered as it goes through the process of changing the permissions.
10) When I tried it, it worked immediately after changing the permissions without a reboot but if it does not work then please reboot.

Google for “Fring Patched for 3g” – it should be on some popular torrent sites right now.

Screenshot of Fring over Rogers 3g allowing SkypeOut

Screenshot of Fring over Rogers 3g allowing SkypeOut

No Comments | Tags: , , ,

App store RSS feeds to the rescue!

You have probably noticed that the “New” category in the App store is..well.. not that new.

Pinchmedia has started aggregating info from the app store to compile it into RSS feeds.

 

http://www.pinchmedia.com/your-view-into-the-app-s… for all the info.

 

For the lazy ones (*cough* efficient *cough*):

 

New app feed

New free app feed

No Comments | Tags: , , ,

Crank and Modem handshake ringtones

Shamelessly stolen mp3 from http://www.modemsite.com/56k/trouble3.asp

Took the Crank one for somewhere I can’t remember.

Converted to m4r for iPhone goodness. Import to iTunes straight away and enjoy. Click on Ringtones tag for more!

Crank Ringtone

Modem Handshake Ringtone

No Comments | Tags: ,

ZAGG invisibleSHIELD for iPhone 3g

invisibleSHIELD for iPhone 3g

Get it here – Coupon at bottom of post

I received my invisibleSHIELD for iPhone 3g.

It came in a nice box, with the little squeegee and some spray to apply it. I read the instructions, watched the guide on their web site, and got to work.

Applying the front and the button piece was a piece of cake. I did it first, but I think it is a better idea to do the back first, let it try for a few hours, and then do the front. When doing the back, you apply a lot of pressure on it and you might ruin what you have done on the front, which thankfully did not happen to me, but came pretty close.

Applying the rear was easier than I expected it to, after reading comments of people who were “not able to get the corners to stick” etc.

I aligned the back piece with the headphone jack and the power/volume buttons, then folded it on its back and made sure the camera hole lined up. Then, I “squeegee’ d” it a bit to get the rear slightly  glued.

Making the corners look good was not hard, but takes a while (half an hour maybe). The reason for that is that at first, the flaps are too soft and not sticky enough. I shaped the corners by stretching the flaps and applying some pressure with my palm, while breathing hot air on it. I did not get it perfect but I’m confident if I had to do a second one I could. There are some slight imperfections in the corners, and the alignment of the plastic on the chrome trims is not perfect either.

However, I usually carry my iPhone around in a Griffin Elan Clip so as long as the front is perfect, that is great. And while the back might not be perfect, it is still awesome to be able to carry it in my pockets without being afraid to scratch it.

Will post a follow up with close up pictures as soon as it is done drying !

*note that this is an actual unbiased review and that none of the links I posted send you to sites where I get referral money when you buy it. However if you do order one here are some  coupons I found. They may or may not work, worth a shot:

pcworld20

5he27e

No Comments | Tags: , ,