04/01/2014, 11:18 PM
**** Update - sometime around August of 2015, the contacts APIs are no longer accessible without OAuth. This patch is now obsolete. Already installed accounts will still sync email, but you will not be able to add new ones or change your password. Accounts can be made to work using frantid's Google OAuth patch: Google Calendar Sync Behaviors patch - webOS Nation Forums
**** Update - as of November 17, 2014: the version of the calendar API that webOS uses was turned off by Google. You still need this patch to fix the login issue for regular Google accounts, which still work for email, IM, and contacts (though not much reason to use for contacts when the C+DAV connector can handle the contacts). You just need to make sure calendar is turned off for those accounts, or it will constantly try to sync and fail, and prompt for your password. *****
**** Update June 28, 2014: version 1.2 of the patch fixes the json parsing error that started recently and restores sync functionality again. Many thanks to frantid for jumping in and finding the fix when I didn't have time to work on it. Please make sure to thank him as it was done much sooner because he took the time to help. ****
**** Also note: If you already have a previous verison of the gsync patch installed, you must remove the previous patch version first to restore the original files. The new patch patches all required files, not just the new one. (this is standard for any patch that is not installed from the feeds). I have added instructions for removing installed .patch files to the tutorial linked in my signature ( [How-to] Installing .patch files on your phone or Touchpad ) ****
On March 31, 2014, Google began redirecting all contact API requests to https, which broke authentication for Google accounts on webOS 2.1 and higher. Accounts already set up seem to work fine, but upon changing your password, or attempting to add a new Google account, authentication would fail with 'unknown error'. This patch fixes Google sync by using https for authentication and sync of Google contacts. It also contains a patch by frantid to fix sync of on-device changes to Google contacts back to the Google servers. This patch has been tested on 2.1, 2.2.4, and 3.0.5. It has been reported that webOS 1.4.5 is not affected, and therefore, this patch is not necessary.
If you have never installed any homebrew apps or patches on your device and need a tutorial, here is a how-to article I just finished to guide you. It contains a link to the setup guide that explains how to get your computer and your device prepared. [How-to] Installing .patch files on your phone or Touchpad
Google Contacts API change notes: https://developers.google.com/google...v3/http-update
I also uploaded a copy of the patch to my website. For those that are trying to download and install this from your device, do NOT try to download the forum attachment from your webOS device, because it will not work right -- so use this link instead: Link removed as patch is obsoleted by API changes. Use link at top of thread to get correct patches.
One added note as there have been a number of people having trouble installing the patch recently. Please validate the patch file after you download it, before attempting to install it. See this post for details: [Patch] Google sync https fix (unknown error on sign in) - Page 30 - webOS Nation Forums
I will move those details to this post later.