webOS Nation Forums >  Homebrew >  webOS patches > Google Calendar Sync Behaviors patch
Google Calendar Sync Behaviors patch

  Reply
Like Tree7Likes

 
LinkBack Thread Tools Display Modes
Old 06/27/2011, 08:08 AM   #1 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default Google Calendar Sync Behaviors patch

The sync behavior patch attempts to solve issues with Google calendar sync on webOS 2.x.x and TouchPad 3.0.x

Edit 14 Jan Added 3.0.5 version

Also attached the json file for use in tweaks.

Currently the patch is for 2.x and above. It is a combined update of the patches for 2.1 in this thread. Also see that thread for detailed sync descriptions and history:
http://forums.precentral.net/webos-p...ync-patch.html
If you have the extended characters patch from that thread, you need to uninstall it. The old sync limit patch, does not conflict. You can remove it if you want, it is not required.

Issues addressed:
  • Limited first sync to 3 months - This patch defaults to 1 year back and 4 years forward. It is Tweaks enabled, but will work at the defaults if you don't have Tweaks installed. 2.1 is in the Preware feeds, 3.0.2 needs testers before going into Preware. To use with Tweaks, you have to install the Preware version -- and have Tweaks installed.
    Quote:
    optional not required for it to work at 1 year back and 4 years forward: To use the local test version with tweaks: 1. rename the attached "google-first-sync.json.txt" file to "google-first-sync.json" by deleting ".txt" from the end of the name. 2. place the "google-first-sync.json" file in the following directory:

    /media/cryptofs/apps/usr/palm/services/org.webosinternals.tweaks.prefs/preferences/
  • Recurring event exceptions not syncing to Google - see Carrel's post for description

  • Events with accented characters do not sync - see Kratus's post description.

  • Sync does not restart after sync error - adjustments based upon the Veer's sync behavior. It will attempt a range based sync if it cannot get a changes sync to be error free.
  • Contact sync errors with accented characters - The touchpad and Pre3 do this correctly.


Directions: Install the patch prior to adding calendar accounts, then it will use the new limits. If you already have accounts in your calendar, you will have to go into the accounts app, toggle off calendar for your google accounts. Then apply patch. Then toggle the calendars on, one google account at a time. It is best done if on wifi, as this can take a long time, if you have a large history of events.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch

Last edited by frantid; 01/14/2012 at 08:49 AM.
frantid is offline   Reply With Quote
Liked by kikan and calebrun like this.
Old 06/27/2011, 08:25 AM   #2 (permalink)
Member
 
Join Date: Jun 2003
Location: Latham, New York
Posts: 716
Likes Received: 8
Thanks: 3
Thanked 13 Times in 13 Posts
Default

Now if I only had 2.1! Thanks for all your efforts.
MikeElmendorf is offline   Reply With Quote
Thanked By: frantid
Old 06/27/2011, 10:32 AM   #3 (permalink)
Member
 
Join Date: Sep 2010
Posts: 99
Likes Received: 0
Thanks: 23
Thanked 12 Times in 11 Posts
Default

Thanks a lot, hope this will help with some calendar issues I've been having lately (recurring events not appearing etc.).
Dreamcatcher is offline   Reply With Quote
Old 06/27/2011, 10:47 AM   #4 (permalink)
Member
 
Join Date: Sep 2010
Posts: 99
Likes Received: 0
Thanks: 23
Thanked 12 Times in 11 Posts
Default

Do I need to install this patch if I already have UC? And does the patch get deleted when I install a newer version of UC?

Thanks again
Dreamcatcher is offline   Reply With Quote
Old 06/27/2011, 10:50 AM   #5 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Quote:
Originally Posted by Dreamcatcher View Post
Thanks a lot, hope this will help with some calendar issues I've been having lately (recurring events not appearing etc.).
I hope so, if not and you can figure out a pattern then let me know.

@All - Seems it is in Preware.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Old 06/27/2011, 11:08 AM   #6 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Quote:
Originally Posted by Dreamcatcher View Post
Do I need to install this patch if I already have UC? And does the patch get deleted when I install a newer version of UC?

Thanks again
It's separate. So they don't need each other. Though for the most possible fixes I do recommend installing them both.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Old 06/27/2011, 11:48 AM   #7 (permalink)
Member
 
Join Date: Sep 2010
Posts: 99
Likes Received: 0
Thanks: 23
Thanked 12 Times in 11 Posts
Default

Thanks! Will do and let you know if problems persist.

-- Sent from my Palm Pre using Forums
Dreamcatcher is offline   Reply With Quote
Old 07/09/2011, 09:18 AM   #8 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Updated test versions attached. This fixes some event attendee problems and provides setup for the latest changes in UberCalendar. See UC thread for details.

The patches also include various fixes as listed in the first post of this thread.
Edit: 20 Aug - removed version for 201. Updated versions for 2.1

Edit: 6 Aug - updated version for 201.

Edit: 23 July - the google_sync_behavior21_2-2 will work for the EU Veer 2.1.1 Added a patch for VEER 2.1.2

Please remember to uninstall AND restart luna, before upgrading a local patch! Then install it and restart luna again. You can not upgrade a Preware version to a local version without uninstalling first.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch

Last edited by frantid; 08/20/2011 at 06:07 AM.
frantid is offline   Reply With Quote
Old 07/11/2011, 11:49 AM   #9 (permalink)
Member
 
Join Date: May 2010
Posts: 139
Likes Received: 1
Thanks: 12
Thanked 4 Times in 4 Posts
Default

Hi all. I am desperate to get my work's Google calendar syncing properly. Is this patch supposed to fix the issue where nothing syncs after the initial account setup sync? If so, it is not working for me. I still am not seeing new events created on the Pre2 (2.1) showing on Google nor do new items there show up on the phone. In addition, none of my reminders seem to have transferred. Help!
marysm is offline   Reply With Quote
Old 07/11/2011, 05:08 PM   #10 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Quote:
Originally Posted by marysm View Post
Hi all. I am desperate to get my work's Google calendar syncing properly. Is this patch supposed to fix the issue where nothing syncs after the initial account setup sync? If so, it is not working for me. I still am not seeing new events created on the Pre2 (2.1) showing on Google nor do new items there show up on the phone. In addition, none of my reminders seem to have transferred. Help!
Hi, I'll try to help.
What time frame are these appointments, next week, next month?

What calendar patches do you have installed?

Do you also have the UC version that is in Preware installed?

Please install Lumberjack from Preware, set the log retrieval for custom. Then type in "calendar" and push retrieve log. Then post the logs here.

If you comfortable with testing, you can install the version of this patch for 2.1 in the post just above yours in this thread. Also in that post is a link to a test version of the UberCalendar patch, install that as well. I run both of these on My Pre2 so you don't have to worry about stability. I put some logging in that may help. However, to run those you have to uninstall both UC and the sync behavior patch AND restart Luna before installing the test patches.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Old 07/11/2011, 05:30 PM   #11 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Quote:
Originally Posted by marysm View Post
Hi all. I am desperate to get my work's Google calendar syncing properly. Is this patch supposed to fix the issue where nothing syncs after the initial account setup sync? If so, it is not working for me. I still am not seeing new events created on the Pre2 (2.1) showing on Google nor do new items there show up on the phone. In addition, none of my reminders seem to have transferred. Help!
If you try the test versions and are going to post your logs, please make sure you look through the logs and remove any email addresses in the log before posting.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Old 07/13/2011, 10:09 AM   #12 (permalink)
Member
 
Join Date: May 2010
Posts: 139
Likes Received: 1
Thanks: 12
Thanked 4 Times in 4 Posts
Default

Thanks, frantid. I gave up and switched to accessing my Google domains calendar via Exchange. I thought that had fixed it, but after a couple of days, things stopped syncing. I broke down again this AM and turned off the option to use Exchange for my calendar (which would leave me with no access to Google calendar). I waited a bit after the phone said all (calendar) data would be deleted and went back to Calendar expecting an empty view. NO! Again, I have a ton of "undefined" entries. This is the second time this has happened! Now I have to delete all that crap by hand again. How the hell do they call this a business OS?!?

OK, venting done, for now. After I delete all the junk leftover from removing the calendar link, I'll follow your steps and report back.

Thanks.

Edit: Since the Exchange version of my Google account was only there for calendar, I went back and removed the account altogether. That seems to have removed all the "undefined" entries!! So, when the phone says it is deleting all data, it really means, removing the link to the account and leaving the junk there. Ah, now I can go to my next meeting a bit less stressed. Will report back later.

Last edited by marysm; 07/13/2011 at 10:16 AM.
marysm is offline   Reply With Quote
Old 07/13/2011, 01:13 PM   #13 (permalink)
Member
 
Join Date: May 2010
Posts: 139
Likes Received: 1
Thanks: 12
Thanked 4 Times in 4 Posts
Default

One additional question... Which account type should I try during these tests-- straight Google or Google via Exchange?

BTW, should it matter that under my Exchange (for calendar only) attempt, I also had a straight Google account installed, but it was set to NOT be used for calendar.
marysm is offline   Reply With Quote
Old 07/13/2011, 01:24 PM   #14 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

I believe it will conflict because the database references will be the same google id.

The patches only affect the imap google(normal) processes.
frantid is offline   Reply With Quote
Old 07/14/2011, 04:55 PM   #15 (permalink)
Member
 
Join Date: May 2010
Posts: 139
Likes Received: 1
Thanks: 12
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by frantid View Post
I believe it will conflict because the database references will be the same google id...
Hum... Exchange doesn't do chat so, I was keeping the straight google account for that. I did switch the email to exchange. The chat may not matter if I move to a different chat client.

Haven't done any of the suggested testing yet. Will try this weekend.

Thanks.
marysm is offline   Reply With Quote
Old 08/20/2011, 06:15 AM   #16 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Updated and submitted to Preware.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Old 08/30/2011, 11:55 AM   #17 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Updated first post with touchpad version. Please read the post on how to install for local patch tweaks support. I will submit to Preware after enough testers report no issues.

Thanks to all those testers out there.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Old 08/31/2011, 10:46 AM   #18 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Any issues with the touchpad 3.0.2 version? I noticed a few downloads. Can you please let me know how well it installed and if it works for you?

I'd like to submit to preware.

Thanks again for testing.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Old 08/31/2011, 11:49 AM   #19 (permalink)
Member
 
Join Date: Mar 2008
Posts: 43
Likes Received: 10
Thanks: 3
Thanked 3 Times in 3 Posts
Default

I dont see this patch in prepare (I am using touchpad 3.02). Is there a new testing fees I should add?
zenkinz is offline   Reply With Quote
Old 08/31/2011, 01:44 PM   #20 (permalink)
Member
 
Join Date: Jan 2007
Location: Iceland
Posts: 2,294
Likes Received: 46
Thanks: 686
Thanked 733 Times in 483 Posts
Default

Quote:
Originally Posted by zenkinz View Post
I dont see this patch in prepare (I am using touchpad 3.02). Is there a new testing fees I should add?
No it's in the first post, I am waiting to hear back from testers before I post it to Preware.
__________________
French Pre3, UK Pre2, US Veer, German gsm Pre, 680, garmin ique 3600 & still have my working palm pilot 1000 with the 1 Mb adapter


Please remove UberCalendar and google sync behavior patches prior to system updates.

patch Google calendar sync behavior for 2.x.x and TouchPad (Tweaks enabled)

Preference guide for MetaView's UberCalendar patch
frantid is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0