[HOWTO] Fine Tuning Synchronization of Google Mail, Contacts Calendar with iPhone

Google has just launched a service where you can sync your Google mail, contacts and calendar with iPhone through the use of Exchange connection. The method described on the Google’s main page will delete all contacts and calendar. However, I only want to sync my Calendar and not my Contacts. So, instead of using the automated method, I manually fine tune what I want to sync by doing the following:

  1. Go to Settings -> Mails, Contacts, Calendars
  2. Create a new Exchange account
  3. Set the information as follows
    • Email:@gmail.com
    • Username: @gmail.com
    • Password:
    • Server: m.google.com
  4. Choose which you want to sync

Tags: , , ,

NemusSync Failure to Sync with Error Domain=GoogleAccounts Code=-1

After upgrading my iPhone to firmware 2.2, I had a problem with NemusSync. Everytime I try to sync, I received an error message “Failure to Sync” then the error code “Error Domain=GoogleAccounts Code=-1″. After scouring the web I found that I had to delete 1 file. Just to be safe, I actually move the file.

The file that needs to be removed is/var/mobile/Library/Calendar/Calendar.sqlitedb. There are some sites that talk about changing the permission, but I have not tried that. If you want to try changing the permission, you should try changing it by running the command chown mobile:mobile /var/mobile/Library/Calendar/Calendar.sqlitedb

NOTE:If you have calendar events on your phone that you haven’t sync to GCal, it will be erased after removing the Calendar.sqlitedb. Also after you move the file, you will need to run the calendar apps at least once.

Tags: , ,

[HOWTO] Grab MP3 From Youtube FLV File

First of all, youtube shows video clips and not audio clips. When you grab a file from YouTube it’s usually an .FLV file. You may grab it from online services like GrabFlv.com or use applications similar to TubeTV. The FLV is a video file and we need to grab the audio portion of it. The software I use is call iExtractMP3. This software feature a drag and drop and single button clicking to extract (NOTE: I emphasize the term because the software uses extraction method rather than re-encode the audio. This results in higher quality audio since whatever the poster put, this is the same file you get).

Alternatively, there’s also another file conversion service offered by Zamzar. I have not used the service before, but it seems that the process is simply point the URL to the video that you want and you’ll receive the link for the audio.

Tags: , , ,

[HOWTO] iPhone Hacking – Custom Ringtone and SMS Notification

Following up on the earlier iPhone hacks is customizing the most common audio: ringtone and SMS notification. Apple has locked down custom ringtones and profit from them. The biggest problem is, their selection is scarce and sucks. Here’s a simple guide on how to upload the Ringtones:

  1. Choose an MP3 file and trim it to 30 seconds or less – I use Audacity (download link) to do it
  2. Import that MP3 into iTunes
  3. Goto iTunes -> Preferences (for Mac) or Edit -> Preferences (for PC)
  4. Navigate to Advanced -> Importing tab and set the “Import Using:” to AAC
  5. Find the trimmed MP3 file inside iTunes, right click and choose “Convert Selection to AAC”
  6. Right click the AAC version of the file and choose “Get Info”
  7. Note the path to the file as indicated by the “Where” section under the “Summary” tab
  8. Navigate to the location of the file and copy it to desktop
  9. Change the extension of the copied file to “.m4r”
  10. Open the files in iTunes and it should be automatically inserted under Ringtones category, which then can be transferred to iPhone

NOTE: I have tried to use “SoundConverter” and set the file type to be m4a. This actually doesn’t work. When I did it that way, the file will be uploaded but won’t be able to be played. It might have something to do with the file size generated by “SoundConverter” being too large. Read the rest of this entry »

Tags: , , , ,