webOS Nation Forums >  Homebrew >  webOS Patches > [Patch] Google sync https fix (unknown error on sign in)
[Patch] Google sync https fix (unknown error on sign in)
  Reply
Like Tree246Likes

 
Thread Tools Display Modes
Old 04/01/2014, 11:18 PM   #1 (permalink)
Member
 
Grabber5.0's Avatar
 
Posts: 3,852
**** 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: http://fordmaverick.com/GrabberSoftw...sync-1.2.patch

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)

I will move those details to this post later.
Attached Files
File Type: patch gsync-1.2.patch (9.8 KB, 1884 views) Email Attachment
__________________
Matt Williams
*How to install .patch files on your device*
Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Touchpad patches:Keyring HD,ClassicNote HD, YouTube HD (for 2.1 app), Show email recipient addresses for contacts
Phone patches: Forums fixes and enhancements patch, Weather Channel fix
All-device patches: Update GlobalSign certs, Google Sync https fix, Yahoo contact sync fix


Last edited by Grabber5.0; 09/15/2014 at 02:35 PM.
Grabber5.0 is online now   Reply With Quote
Liked by Sanjay, Sukiyaki, cipher and 66 others like this.
Thanked by 500vdc, alacrify, alfabetapeta, Alibamboo, ALuckyGuy, ananimus, Andyf, ArchonAdvisors, Aressel, assaf, BabaJan, babynugent, Barebuns, barryb20, batterboy, beca, BenL, bethel95, bhawes, blk, boovish, boyblueeye, breley, bwt89, C-Note, calebrun, cbosdell, charli#WN, Charlywhat, chilvia, cipher, coachnikki, Compvir, CptOx, crazybirdman, creepingmee, ctbeiser, DamionMilliken, DataJog, deibski, denom, Derric, djenner, DocJones, dreadbit, DrYak, eblade, eKeith, exeicker, farflux, fatherfigure4life, Frank Ross, frank-barnett, frantid, George Mari, gizmo21, glenncapone, GoJoe2, greconize, GreenHex, greg90, guilledil, GVM9000, HelmutsKohl, Hoog, hrhoades, Hz-R, impatient, Jason2004, jasondoes, jmdesai, JohnRBlake, JousY, jpiquard, jwbekens, k5e, kajong, krecony, krotech, ktessner, ktredshoes, Landslug, LewisR, Liam Unger, llama233, Lord Nelson, ludcorbo, lyricalengineer, lz1h38, manberryman, Mandals123, manveruppd, marknyack, marshalla99, martin124, martinb, MartinH@webos, MeekMark, mephinet, MetaView, mikemhealy, MikeN68, Misj', mister6035, mitweeeeh, mohaynes, MudShark22, Nafetz, namgod, NewNewton, nikdp, NIN_ru, nitido357, noahisaac, normsland, northtea, nzpling, p1977p, Palm Pre+, palmpre06062009, patapoof, pepebuho, petbull, plamtreo, Preemptive, presir, Prometheus Software, PT-Tomi, pyjohnson, rdwalker, renater, Rennat, rixdorferpirat, Rnp, roshang, rsananth, s3rgei, Saijin_Naib, SAL9000, sammy4586, sefirah, sinisturm, sk555, slyon23, SmiLee82, spiderwort, srinivasa rao u, Stephan.Wannewitz@gmx.de, Sukiyaki, suller, sunnyblueskies, taringaheroe, Tatobest, thg, Thibaud, TJs11thPre, toaste, toto-w, Toutil85, tracks914, Tristanlogd, truongtuananhhau1, TUFF Stough, twillian, typolad, UI Designer, ulmens, uwer, ValorSolo, viper400, vzamora1, woolfie, wuffels, xinle, zane9000, ZehHa
Old 04/02/2014, 05:38 AM   #2 (permalink)
Member
 
Posts: 4
Thank you for your work.
RaMaPa is offline   Reply With Quote
Liked by Grabber5.0 and fixstern99 like this.
Old 04/02/2014, 06:28 AM   #3 (permalink)
Member
 
Posts: 3
Thank you!
Jupl is offline   Reply With Quote
Liked by Grabber5.0 likes this.
Old 04/02/2014, 07:25 AM   #4 (permalink)
Member
 
Posts: 14
omg, I love you guys .
Just saved me from a nervous breakdown :P.

Thx a lot!!!!!
chilvia is offline   Reply With Quote
Liked by Grabber5.0 likes this.
Old 04/02/2014, 09:39 AM   #5 (permalink)
Member
 
bethel95's Avatar
 
Posts: 438
FYI, I began having this problem with one of my existing accounts when 3.0.5 said I had to confirm the login (something that's been regularly happening for months). Glad to see this patch, as I expect that I'd eventually have each one of my Google accounts go south.

Unfortunately, the email attachment link no longer seems to work for me (I've seen others mention this in other threads of late, though it doesn't appear to be a universal problem). All I get from clicking the link is a message popup with just an <OK> button on it, but no message (and no resultant email in my inbox).

Is there any other way of getting my hands on this patch?
__________________

Tungsten E, Treo 650, Pre+ (3), Preł (2), TouchPad (2), & my trusty Treo BT headset (in use!)
Posts: Save/Restore Backup Process & Batch File | Activated! (Verizon Preł Activation) | "Not Enough Space To Download" Fix
bethel95 is offline   Reply With Quote
Old 04/02/2014, 10:15 AM   #6 (permalink)
Member
 
Grabber5.0's Avatar
 
Posts: 3,852
I uploaded a copy of the patch to my website and put a link in the first post. Hopefully I will notice the link if I ever need to update the patch.
__________________
Matt Williams
*How to install .patch files on your device*
Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Touchpad patches:Keyring HD,ClassicNote HD, YouTube HD (for 2.1 app), Show email recipient addresses for contacts
Phone patches: Forums fixes and enhancements patch, Weather Channel fix
All-device patches: Update GlobalSign certs, Google Sync https fix, Yahoo contact sync fix

Grabber5.0 is online now   Reply With Quote
Liked by bob humid, k w and Liam Unger like this.
Old 04/02/2014, 05:24 PM   #7 (permalink)
pivotCE Developer
 
Posts: 2,138
thanks grabber and we are so lucky that our abandoned OS consists of so much easy patchable js
__________________
Patch Enhancing vCard Export -|- Your own cloud with Zarafa (EAS sync) -|-
Tasks-app of 2.x on 3.x incl.EAS sync -|- SYM key in Enyo on phones -|- My hidden webOS Tips and Tricks - like it ?
gizmo21 is offline   Reply With Quote
Liked by ktessner, Grabber5.0, twillian and 1 others like this.
Old 04/02/2014, 07:33 PM   #8 (permalink)
Member
 
bob humid's Avatar
 
Posts: 1
Quote:
Originally Posted by Grabber5.0 View Post
On (or after) March 31, 2014, Google began redirecting all contact API requests to https, which broke authentication for Google accounts. 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. This patch has been tested on 2.1, 2.2.4, and 3.0.5. Because 1.x services were written in java not javascript, it will not work on those devices. I don't have one currently running 1.x to confirm the problem exists there too, but since it exists in all later versions, I suspect it does.

Google Contacts API change notes: https://developers.google.com/google...v3/http-update

For those that are trying to install this from your device, I uploaded a copy of the patch to my website: http://fordmaverick.com/GrabberSoftw...ix/gsync.patch
oh my god!

ITS FULL OF STARS!

it worked now... THANX!
bob humid is offline   Reply With Quote
Liked by ka1 and Grabber5.0 like this.
Old 04/02/2014, 09:03 PM   #9 (permalink)
Member
 
Grabber5.0's Avatar
 
Posts: 3,852
I was thinking about this more this evening, and realized, even if your gmail is still working fine, your contacts will no longer sync until you apply this patch. I confirmed by removing the patch from one of my phones and then creating a new contact on a patched phone. The contact was synced to the cloud and to my Pre3, but not to the phone that was no longer patched, even though it was still receiving mail. It was specifically the contact API that was changed. That phone also has problems with the calendar, but I don't think it is related to the patch. Will play with that some more and confirm. Also will check the developer site and see if they also changed the calendar API. Edit: calendar is unaffected.
__________________
Matt Williams
*How to install .patch files on your device*
Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Touchpad patches:Keyring HD,ClassicNote HD, YouTube HD (for 2.1 app), Show email recipient addresses for contacts
Phone patches: Forums fixes and enhancements patch, Weather Channel fix
All-device patches: Update GlobalSign certs, Google Sync https fix, Yahoo contact sync fix


Last edited by Grabber5.0; 04/02/2014 at 09:18 PM.
Grabber5.0 is online now   Reply With Quote
Thanked By: nimra
Old 04/02/2014, 09:18 PM   #10 (permalink)
Member
 
Wocketman's Avatar
 
Posts: 7
So my Pre 3 crashed last night, have been slowing reloading accounts, and of course have the "unknown error" issue. Am away from my main PC with Novacom, so trying to install directly on the Pre 3. After logging in and downloading the file, I get "Unable to open file" and "This file format is now supported". How do I install this patch? Without the main pc with webos quick install, I don't have Preware yet. Or Internalz.

Is there a way to do it? Sorry if I'm missing something simple and obvious to those more savvy with this stuff...
Wocketman is offline   Reply With Quote
Old 04/02/2014, 09:32 PM   #11 (permalink)
Member
 
Grabber5.0's Avatar
 
Posts: 3,852
Quote:
Originally Posted by Wocketman View Post
So my Pre 3 crashed last night, have been slowing reloading accounts, and of course have the "unknown error" issue. Am away from my main PC with Novacom, so trying to install directly on the Pre 3. After logging in and downloading the file, I get "Unable to open file" and "This file format is now supported". How do I install this patch? Without the main pc with webos quick install, I don't have Preware yet. Or Internalz.

Is there a way to do it? Sorry if I'm missing something simple and obvious to those more savvy with this stuff...
Unfortunately, you need either WOSQI or Internalz Pro. Even all of the other alternatives require one of those two or a PC with novaterm.
__________________
Matt Williams
*How to install .patch files on your device*
Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Touchpad patches:Keyring HD,ClassicNote HD, YouTube HD (for 2.1 app), Show email recipient addresses for contacts
Phone patches: Forums fixes and enhancements patch, Weather Channel fix
All-device patches: Update GlobalSign certs, Google Sync https fix, Yahoo contact sync fix

Grabber5.0 is online now   Reply With Quote
Old 04/02/2014, 09:45 PM   #12 (permalink)
Member
 
Wocketman's Avatar
 
Posts: 7
Quote:
Originally Posted by Grabber5.0 View Post
Unfortunately, you need either WOSQI or Internalz Pro. Even all of the other alternatives require one of those two or a PC with novaterm.
Hmmm....well now I'm trying on my Touchpad which DOES have Internalz Pro. However when I open with Internalz Pro I get an error:
"Patch installation failed.
patch unexpectedly ends in middle of line
/media/cryptofs/app/usr/bin/patch:**** Only garbage was found in the patch input.

What am I missing...?
Wocketman is offline   Reply With Quote
Old 04/03/2014, 01:05 AM   #13 (permalink)
pivotCE Developer
 
Posts: 2,138
It seems your patch does NOT conflict with frantids Google Calendar Sync Behaviors patch (Google Calendar Sync Behaviors patch) , at least it installed fine on my Pre 2 an TP. Just for those wondering.

Perhaps also cross check this before Grabber, if you are still planning to insert calendar sync ssl patch.
gizmo21 is offline   Reply With Quote
Liked by Grabber5.0 likes this.
Old 04/03/2014, 01:23 AM   #14 (permalink)
Member
 
Sukiyaki's Avatar
 
Posts: 1,045
OMG...I think I love you. This fixed the final issue I was having with my new pre 3.
__________________
The value of knowledge is not in its possession, but in its use.
Sukiyaki is offline   Reply With Quote
Liked by Grabber5.0 likes this.
Old 04/03/2014, 01:41 AM   #15 (permalink)
pivotCE Developer
 
Posts: 2,138
for me it seems only whole new contacts sync. Changes in adress... do not sync with my devices atm. But this could be my devices probs only.


And on Pre2 i have frantids advanced sync behaviours activated with an option to do this on contacts. Don't know if that is the problem. Perhaps frantid could clear this up.

Last edited by gizmo21; 04/03/2014 at 02:01 AM.
gizmo21 is offline   Reply With Quote
Thanked By: Grabber5.0
Old 04/03/2014, 02:45 AM   #16 (permalink)
Member
 
Wocketman's Avatar
 
Posts: 7
Sorry to be dense...however when installing the patch on my TP with internals Pro, I get an error:
Patch installation failed
Patch unexpectedly ends in middle of line
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
FAILED

What am I doing wrong?
Wocketman is offline   Reply With Quote
Old 04/03/2014, 05:58 AM   #17 (permalink)
Member
 
Posts: 132
Quote:
Originally Posted by Wocketman View Post
Sorry to be dense...however when installing the patch on my TP with internals Pro, I get an error:
Patch installation failed
Patch unexpectedly ends in middle of line
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
FAILED

What am I doing wrong?
Try download the patch using PC then install it using WOSQI.
TUFF Stough is offline   Reply With Quote
Old 04/03/2014, 08:13 AM   #18 (permalink)
Member
 
Grabber5.0's Avatar
 
Posts: 3,852
Quote:
Originally Posted by Wocketman View Post
Sorry to be dense...however when installing the patch on my TP with internals Pro, I get an error:
Patch installation failed
Patch unexpectedly ends in middle of line
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
/media/cryptofs/apps/usr/bin/patch:**** Only garbage was found in the patch input
FAILED

What am I doing wrong?
It sounds like the patch did not download correctly.. did you download the forum attachment or the link to my website? Forum attachments don't download correctly on webOS devices, so you would have to download it from my website on-device. When you open the .patch file, what do you see?
__________________
Matt Williams
*How to install .patch files on your device*
Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Touchpad patches:Keyring HD,ClassicNote HD, YouTube HD (for 2.1 app), Show email recipient addresses for contacts
Phone patches: Forums fixes and enhancements patch, Weather Channel fix
All-device patches: Update GlobalSign certs, Google Sync https fix, Yahoo contact sync fix

Grabber5.0 is online now   Reply With Quote
Old 04/03/2014, 08:54 AM   #19 (permalink)
Member
 
Grabber5.0's Avatar
 
Posts: 3,852
Quote:
Originally Posted by gizmo21 View Post
for me it seems only whole new contacts sync. Changes in adress... do not sync with my devices atm. But this could be my devices probs only.


And on Pre2 i have frantids advanced sync behaviours activated with an option to do this on contacts. Don't know if that is the problem. Perhaps frantid could clear this up.
I think I see this too, but only for changes made on the device. I edited a phone# and added one to another contact, and they did not sync up to google, but I added a 2nd phone# to one of the contacts and it pulled it down, but did not push the changes made on-device.. Will have to do further investigation here. Unfortunately we don't know whether it was already doing this before 3/31 or not.
__________________
Matt Williams
*How to install .patch files on your device*
Developer of: SMS Auto Forward/Reply, GPS Viewer,
Keyring converters for CSV, eWallet, & CodeWallet
Touchpad patches:Keyring HD,ClassicNote HD, YouTube HD (for 2.1 app), Show email recipient addresses for contacts
Phone patches: Forums fixes and enhancements patch, Weather Channel fix
All-device patches: Update GlobalSign certs, Google Sync https fix, Yahoo contact sync fix

Grabber5.0 is online now   Reply With Quote
Thanked By: lyricalengineer
Old 04/03/2014, 10:46 AM   #20 (permalink)
Member
 
Posts: 30
Quote:
Originally Posted by Grabber5.0 View Post
On (or after) March 31, 2014, Google began redirecting all contact API requests to https, which broke authentication for Google accounts. 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'. Edit: contact sync will be broken even for existing accounts, while email will continue to work, and probably calendar (I need to confirm this). This patch fixes Google sync by using https for authentication and sync of Google contacts. This patch has been tested on 2.1, 2.2.4, and 3.0.5. Because 1.x services were written in java not javascript, it will not work on those devices. I don't have one currently running 1.x to confirm the problem exists there too, but since it exists in all later versions, I suspect it does.

Google Contacts API change notes: https://developers.google.com/google...v3/http-update

For those that are trying to install this from your device, I uploaded a copy of the patch to my website: http://fordmaverick.com/GrabberSoftw...ix/gsync.patch
thank you!!!...but I also noticed that contacts are not syncing.

Last edited by lyricalengineer; 04/03/2014 at 11:46 AM. Reason: update
lyricalengineer is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Apps "unknown error" llama233 webOS Synergy and Synchronization 19 09/05/2014 09:44 AM
Google Account Verify Password and Unknown Error Issue Alan Morford webOS Discussion Lounge 53 06/28/2014 10:05 AM
Google Apps account now showing Unknown Error when trying to sign in yoshamano webOS Synergy and Synchronization 37 04/08/2014 09:18 AM
HELP! Itunes sync says an unknown error coccured (-69)?????? AlwayzRight webOS Synergy and Synchronization 14 01/05/2010 02:52 AM
Treo 650 Unknown Sync Error [16385] coco67 Palm OS Devices & Apps 1 10/26/2007 01:31 PM


 


Content Relevant URLs by vBSEO 3.6.0