Related
tldr: Although the initial calendar state is pulled from Google servers upon account setup, normal syncing function of the Calendar app is broken in the autonootered Nooks; follow this procedure to fix
------------------------------------------------------------
It seems, the problem is that there is no way to set the sync state of the google services because we don't have access to the proper Android Settings (just whatever B&N wants us to have).
There is, however an xml file which can set the properties, if properly edited:
/data/system/sync/accounts.xml
In this file, one can find a bunch of entries which correspond with registered Google accounts (made possible, of course, by the SetupWizard.apk provided as a result of the Autonooter procedure).
They (these entries) look like this:
Code:
<authority id="?" account="[email protected]" type="com.google" authority="???" />
Procedure to enable calendar syncing:
0) If possible, backup the current state with TitaniumBackup or something similar. (I haven't seen any bad mishaps -- like a /data wipe -- but one never knows.)
1) pull the /data/system/sync/accounts.xml and save a copy just in case
Code:
cmdline$ adb pull /data/system/sync/accounts.xml ./accounts.xml
cmdline$ adb pull /data/system/sync/accounts.xml ./accounts.xml.orig
2) modify the lines in accounts.xml with {authority="calendar"} to include {enabled="true" syncable="true"}; use a simple text editor not to introduce any weird formatting
The final state of the line will be something like this:
Code:
<authority id="?" account="[email protected]" type="com.google" authority="calendar" enabled="true" syncable="true" />
3) push the modified file back to the same location
Code:
cmdline$ adb push ./accounts.xml /data/system/sync/accounts.xml
4) reboot and test the syncing: create an event on the Nook and see it appear on GCal (should happen within 30 s), create an event on GCal and see it appear on the Nook (you may have to refresh the app by exiting to Home and getting back in, for example)
5) enjoy your functional calendar app
Note: although I have not experienced any weirdness, and this procedure appears to be safe, please remember that this is a hack.
That said, I have safely started B&N Shop and Nook Home app. Things are steady on my Nook.
Update: After a couple of days, things are stable. Events are still syncing; no spontaneous wipes.
Also, others have reported success, so I am unburying this post from a different thread.
I've been using an app/widget called "Synker" available on the Market. Works good to trigger sync events, but maybe I'll try these steps this weekend when I get some downtime.
Thanks!
Tried this, pushed the file to the device and the pulled it again to see if the proper file was there and it was, but after rebooting it restores back to the original file. Any way to prevent that from happening?
dawynkoop said:
Tried this, pushed the file to the device and the pulled it again to see if the proper file was there and it was, but after rebooting it restores back to the original file. Any way to prevent that from happening?
Click to expand...
Click to collapse
Hmm, you are right; I see this, too.
I don't understand what is happening, but it is clear to me that the file gets refreshed with every reboot. Where is the data coming from? I don't know at this point. I didn't notice any data regarding sync management in accounts.db.
Nevertheless, the sync is persistent on my device. That is, after several reboots and no further meddling with the accounts.xml file (apart from the initial mod), I see sync behavior work, as expected.
One reason for this may be that the "enabled" and "syncable" switches for the primary account are NOT set to "false" after the reboot. They are simply discarded.
To answer your question directly, I suppose, one may change the write permissions on the accounts.xml file to read-only (at this time the permissions are 600) after modifications are applied. Haven't tested that yet ...
I'll give that a shot. I also noticed that after I added the Android 3D gallery app it created a new entry in the accounts.xml fil for picasa.
So would, adb shell chmod 755 /data/system/sync/accounts.xml work for the write permissions on accounts.xml
Seeing that this file needs to be modified by the system from time to time (e.g. when adding new accounts), I would not mess with it. There is clearly something going on that is unaccounted for.
FYI: 755 stands for rwxr-xr-x, which is not read-only. On my device, the starting state is 600 or rw-------. Read-only (r--------) would be 'chmod 400'.
For my use, the hack still seems to work well. I cannot add and manage calendars from my other Google accounts, but I'll live with this.
Before this, I used the Synker widget mentioned above, but didn't like having to sync manually. I never remember to do that when I reconnect with the network after working offline. I need a system service to take care of that for me.
Once we have Froyo (fingers-crossed), all of this will be moot.
I was finlly able to get my calendar syncing by opening the GMail app selecting menu then accounts and then re-adding my gmail account, when I re-added the account it gave me the option to select calendar for syncing.
Sent from my ROOTED Barnes & Noble NookCOLOR
@dawynkoop That sounds about right. What you see is the foundation of the hack.
The problem is that there is no way to toggle this option, once set, is there?
I wish I knew where the settings really reside in the system.
Sent from my LogicPD Zoom2 using XDA App
dawynkoop said:
I was finlly able to get my calendar syncing by opening the GMail app selecting menu then accounts and then re-adding my gmail account, when I re-added the account it gave me the option to select calendar for syncing.
Sent from my ROOTED Barnes & Noble NookCOLOR
Click to expand...
Click to collapse
YES SIR! worked, tx's....funny how it shows my account yet allows one to enter the same account again...was not sure if I was to remove the account 1st...just added it again w/o removing in case other were wondering...
Thank you. I was trying to figure out how to get this working for a couple hrs. In my haste to get this working I forgot to check the system sync.
Readded my Gmail account and when it gave me the option to sync calendar and I press it...it tells me to turn on background and auto sync.
Thoughts?
Sent from my Nooxus One using Tapatalk
feisty_noodle said:
tldr: Although the initial calendar state is pulled from Google servers upon account setup, normal syncing function of the Calendar app is broken in the autonootered Nooks; follow this procedure to fix
------------------------------------------------------------
It seems, the problem is that there is no way to set the sync state of the google services because we don't have access to the proper Android Settings (just whatever B&N wants us to have).
There is, however an xml file which can set the properties, if properly edited:
/data/system/sync/accounts.xml
In this file, one can find a bunch of entries which correspond with registered Google accounts (made possible, of course, by the SetupWizard.apk provided as a result of the Autonooter procedure).
They (these entries) look like this:
Code:
<authority id="?" account="[email protected]" type="com.google" authority="???" />
Procedure to enable calendar syncing:
0) If possible, backup the current state with TitaniumBackup or something similar. (I haven't seen any bad mishaps -- like a /data wipe -- but one never knows.)
1) pull the /data/system/sync/accounts.xml and save a copy just in case
Code:
cmdline$ adb pull /data/system/sync/accounts.xml ./accounts.xml
cmdline$ adb pull /data/system/sync/accounts.xml ./accounts.xml.orig
2) modify the lines in accounts.xml with {authority="calendar"} to include {enabled="true" syncable="true"}; use a simple text editor not to introduce any weird formatting
The final state of the line will be something like this:
Code:
<authority id="?" account="[email protected]" type="com.google" authority="calendar" enabled="true" syncable="true" />
3) push the modified file back to the same location
Code:
cmdline$ adb push ./accounts.xml /data/system/sync/accounts.xml
4) reboot and test the syncing: create an event on the Nook and see it appear on GCal (should happen within 30 s), create an event on GCal and see it appear on the Nook (you may have to refresh the app by exiting to Home and getting back in, for example)
5) enjoy your functional calendar app
Note: although I have not experienced any weirdness, and this procedure appears to be safe, please remember that this is a hack.
That said, I have safely started B&N Shop and Nook Home app. Things are steady on my Nook.
Update: After a couple of days, things are stable. Events are still syncing; no spontaneous wipes.
Also, others have reported success, so I am unburying this post from a different thread.
Click to expand...
Click to collapse
This solution worked great for me! Thanks!
Like the other two people, I just went back into my gmail app, re-added my gmail account information and told it to sync my calendar when it asked and it works fine now. Way easier than all this other stuff.
tonis79 said:
Like the other two people, I just went back into my gmail app, re-added my gmail account information and told it to sync my calendar when it asked and it works fine now. Way easier than all this other stuff.
Click to expand...
Click to collapse
Does it STAY synced? If you modify the calendar on the web, it reflects on the Nook without any manual intervention? And likewise editing on the Nook reflects on the web?
Thanks a million, I did it like you said.
dawynkoop said:
I was finlly able to get my calendar syncing by opening the GMail app selecting menu then accounts and then re-adding my gmail account, when I re-added the account it gave me the option to select calendar for syncing.
Sent from my ROOTED Barnes & Noble NookCOLOR
Click to expand...
Click to collapse
It worked fine, but this time, I checked sync calendar to sync.
J
When I tries to "re-add" my Gmail account it says this account already exists on your phone
khaytsus said:
Does it STAY synced? If you modify the calendar on the web, it reflects on the Nook without any manual intervention? And likewise editing on the Nook reflects on the web?
Click to expand...
Click to collapse
Anyone? Does it actually STAY synced or sync that one time?
khaytsus said:
Anyone? Does it actually STAY synced or sync that one time?
Click to expand...
Click to collapse
As I mentioned in the OP, the sync is stable.
It also persists through reboots (although the contents of the XML file change).
People here are also using a much more simple procedure suggested by Docfreed (I think) of simply re-adding the main Google account. This works for some, but not everyone.
Good luck.
feisty_noodle said:
As I mentioned in the OP, the sync is stable.
It also persists through reboots (although the contents of the XML file change).
People here are also using a much more simple procedure suggested by Docfreed (I think) of simply re-adding the main Google account. This works for some, but not everyone.
Good luck.
Click to expand...
Click to collapse
Good luck is right, that never worked for me.. Oh well. I tried it once before, and I just re-tried it.. the file stays the way I modified it until I reboot, and then it's back to the original version with enabled="false" and no syncable="true" added.
Hi there
I am on Android since about 2 months, using a HTC Desire S. As I am allergic with Sense, I direclty installed a custom rom, from wich I deleted useless applications to me.
This is when I figured out that deleting Gmail will prevent the calendar to work ("You have no calendars").
So I got connected to my Gmail account from the web (created especially to access the android market), and I noted that my calendar were syncronized, and worst, that all my contacts from the phone were there too.
I am not quite parano, but I'd like to know if there is a way to keep the calendar and contacts only on the phone.
Autosync is disabled on my phone, but it had probably been enabled on the early days, so would disabling the auo sync prevent FOREVER my calendar and contacts to be uploaded to gmail, and manly, is it possible to use the calendar without installing the gmail apk ?
Thank you
Can't tell you about what the sync is doing, because I honestly do not care, so I haven't looked into it, BUT what I can tell you is that the calendar works beautifully eventhough I don't have GMail installed.
Thanks for your information
Well then...
I found somethin' about these apks :
GoogleContactsSyncAdapter.apk
GoogleCalendarSyncAdapter.apk
But I did not delete them, I can find them on my /system/app/ folder, when I tried to install them it asked me if want to replace it, I said Yes but then I have the report with the green check (as a good thing happened), but next to it it's writtent "Application not installed"...
Well it did nothing I think but this doesn't seem to be my issue, as they are already there.
OK,
What I had to do, is simply go in the "account & sync settings" menu, click on my gmail account (synced off) and then launch a calendar sync...
So this is a force go, if you want to use calendar, you need to sync it at least once.
Quite fair but could be better, even Bada needs a Samsung account to use the store since Bada 2.0...
I seem to have deleted my Google calender (or some part of it) from my android (specs below). I can’t seem to be able to restore it.
I had problems syncing a new calender and was trying to clear all cache etc in order to get it to sync. I went into Settings --> applications --> All --> ‘Calendar’ (I’ve always had two of those, so I took the one with data in it, the other always stands on 0.0B).
I cleared the data, force stopped it and then I pushed Disable. The button went from disable to enable and I restarted my phone thinking I could enable it after restart. After reboot the calendar had disappeared. Meaning: no icon in the ‘applications’ screen, when I go into the settings menu I only have one post named ‘calendar’ (the empty one). Calendar Storage still has content though and when I use widgets they seem to be able to access and sync to my main Google calender. When I use ‘month’ view I can see the different events I have in my calendar but I can’t edit anything from my phone. As soon as I try to actually access it I get the message ‘Unfortunately, TwLauncher has stopped’.
How do I restore, or enable the Calender again? I find it really disturbing that I don’t have a calender icon in ‘application’ anymore and that it seems to have completely disappeared.
I’ve tried clearing data, experimenting with the sync option and rebooting several times. I just can’t seem to get any results though. And I can't find it on play so I can't re-install it. Any insight on this?
Device: GT-I9100 (Samsung Galaxy S2)
Carrier: Telenor
Country / Language: Sweden
OS / Browser / build number (if applicable): ICS 4.0.3/IML74K.XXLPQ
Reinette said:
I seem to have deleted my Google calender (or some part of it) from my android (specs below). I can’t seem to be able to restore it.
I had problems syncing a new calender and was trying to clear all cache etc in order to get it to sync. I went into Settings --> applications --> All --> ‘Calendar’ (I’ve always had two of those, so I took the one with data in it, the other always stands on 0.0B).
I cleared the data, force stopped it and then I pushed Disable. The button went from disable to enable and I restarted my phone thinking I could enable it after restart. After reboot the calendar had disappeared. Meaning: no icon in the ‘applications’ screen, when I go into the settings menu I only have one post named ‘calendar’ (the empty one). Calendar Storage still has content though and when I use widgets they seem to be able to access and sync to my main Google calender. When I use ‘month’ view I can see the different events I have in my calendar but I can’t edit anything from my phone. As soon as I try to actually access it I get the message ‘Unfortunately, TwLauncher has stopped’.
How do I restore, or enable the Calender again? I find it really disturbing that I don’t have a calender icon in ‘application’ anymore and that it seems to have completely disappeared.
I’ve tried clearing data, experimenting with the sync option and rebooting several times. I just can’t seem to get any results though. And I can't find it on play so I can't re-install it. Any insight on this?
Device: GT-I9100 (Samsung Galaxy S2)
Carrier: Telenor
Country / Language: Sweden
OS / Browser / build number (if applicable): ICS 4.0.3/IML74K.XXLPQ
Click to expand...
Click to collapse
First check via Google mail/calendar if u see ur appointments...
If u don't see it there, they wasn't saved it Google account and so just local, which u delete (no restore)
If u see them there, just delete and reactivate ur Google account on ur phone.
CHEERS ;-)
Sent from my Galaxy S2 - I9100 with SensatioN Rom!
Hannibal226 said:
First check via Google mail/calendar if u see ur appointments...
If u don't see it there, they wasn't saved it Google account and so just local, which u delete (no restore)
If u see them there, just delete and reactivate ur Google account on ur phone.
CHEERS ;-)
Sent from my Galaxy S2 - I9100 with SensatioN Rom!
Click to expand...
Click to collapse
Might have worked had it been a sync problem only (my calendar is intact on the web). This however is a problem of the built-in calendar app disappearing. I removed the account and installed it again but the calendar did not appear.
I'm starting to think that factory reset is the only viable option.
Reinette said:
Might have worked had it been a sync problem only (my calendar is intact on the web). This however is a problem of the built-in calendar app disappearing. I removed the account and installed it again but the calendar did not appear.
I'm starting to think that factory reset is the only viable option.
Click to expand...
Click to collapse
Hmm but that's a bit much for just probs like this...
Hmm u checked the options in application > all > calendar and delete data again?
Then also checked if calendar sync is active (I think so but just an idea)
So last option before factory reset would be wiping the dalvik cache
If at all now luck... U can do it.
But would be really strange.
Much success ;-)
Sent from my Galaxy S2 - I9100 with SensatioN Rom!
Lost Calendar Events
Sorry for reviving an old thread, but I have a similar issue/problem
I was syncing and unsyncing with my samsung to google calendars, then the next day I checked, I realized all my events disappeared.
I did not erase anything yet all my events were gone.
I did notice that something was occurring during the period that I lost my data.
I saw that my default Samsung browser on my smart phone went on a refresh loop on google home page. This was an issue on googles end and was resolved eventually.
This was one of google's problems. There would be an issue with google recognizing me logging on the google home page and gmail. This lasted for a week. I wonder if that caused my data to disappear?
There are a few links below describing what happened. I'm wondering if this is an issue with Google, samsung+google, or syncing in general.
if I can recover my lost events that would be great!
It seems like a lot of them has to do with smartphones syncing, which is what I did. Even if there isn’t a solution or a recovery for this, it would be great to at least get an understanding as to why this happened (so i can avoid it in the future). I am currently storing everything local to my phone and havne’t experienced any loss of information. It’s quite disconcerting that if I did use google calendars, at any moment, all my events can go missing.
https://twitter.com/pauliharman/status/232750527979597825
http://productforums.google.com/forum/#!topic/calendar/jJbLThfAuXc
http://productforums.google.com/forum/#!msg/calendar/IE2m9Y96bLE/oAz-BQIkcLMJ
https://productforums.google.com/forum/?fromgroups=#!topic/calendar/P8ClYOAtWSc
Hannibal226 said:
Hmm but that's a bit much for just probs like this...
Hmm u checked the options in application > all > calendar and delete data again?
Then also checked if calendar sync is active (I think so but just an idea)
So last option before factory reset would be wiping the dalvik cache
If at all now luck... U can do it.
But would be really strange.
Much success
Sent from my Galaxy S2 - I9100 with SensatioN Rom!
Click to expand...
Click to collapse
Restore a recent backup, that way the period of events lost will be minimal; only events entered/altered after the time of the backup, obviously (and you can then sync to Google if you like to bring that back up to date).
So far as recovering your lost events goes, I doubt Google will restore an individuals calendar events. Tho you might as well ask them, they might surprise you. That way you then simply restore them to your phone.
Failing that, unless you've got a copy of the db file containing the calendar events still on the phone, can't see how you'd get them back unfortunately.
As to why, I'd be asking Google. I've been keeping my phone/Google calendar synced a couple of times a day over the year and a bit I've had my SGS2 & never had a problem from their end (a couple very early doors caused by me when I had to reset my phone & I hadn't synced to Google before doing the reset).
Thanks Mistah. Unfortunately I didnt make any backups with TiBu or a nandroid at that time.
I've asked google and you are correct, they dont do event restores.
Yes definitely my main concern is why it happened at all? So it never happened to you?....hmmm..
im wondering if it was something on Google's part or something I did.
Before I realized my calendar disappeared, I unsynched and erased the profile on my device so it only had the local calendar, then i synced again.
I wonder if my erasing that profile on my samsung caused the calendar to delete. Or maybe it didn't register or save?
I can't 100% recall if I saved the events on google's calendar or my local. but if I stored on my local, shouldnt the data still be there even after my sync and unsync or google calendar?
MistahBungle said:
Restore a recent backup, that way the period of events lost will be minimal; only events entered/altered after the time of the backup, obviously (and you can then sync to Google if you like to bring that back up to date).
So far as recovering your lost events goes, I doubt Google will restore an individuals calendar events. Tho you might as well ask them, they might surprise you. That way you then simply restore them to your phone.
Failing that, unless you've got a copy of the db file containing the calendar events still on the phone, can't see how you'd get them back unfortunately.
As to why, I'd be asking Google. I've been keeping my phone/Google calendar synced a couple of times a day over the year and a bit I've had my SGS2 & never had a problem from their end (a couple very early doors caused by me when I had to reset my phone & I hadn't synced to Google before doing the reset).
Click to expand...
Click to collapse
Yep. If you remove the Google a/c from your phone completely, it deletes the events attached to that Google a/c in the calendar app. When you add it back, you'll have an empty calendar until you sync it from Google.
So essentially, what's seemed to have happened is you've done that with the a/c on your phone, for whatever reason your events @ Google's end have been nuked, so when you've re-added the a/c back on your phone & gone to sync it, there's been nothing there to sync back to the phone.
If you untick 'show [email protected]' in the calendar app settings (as opposed to removing the a/c outright), exit the app & restart the app you end up with an empty calendar, because it must have a Google a/c linked. If you retick 'show [email protected]' your events show again because simply unticking it doesn't delete anything.
Removing the a/c outright from the phone must purge the DB file(s) (?? I presume) on the phone.
That's the most logical explanation I can come up with given what happened/the order it happened in with your phone.
mikoal said:
Thanks Mistah. Unfortunately I didnt make any backups with TiBu or a nandroid at that time.
I've asked google and you are correct, they dont do event restores.
Yes definitely my main concern is why it happened at all? So it never happened to you?....hmmm..
im wondering if it was something on Google's part or something I did.
Before I realized my calendar disappeared, I unsynched and erased the profile on my device so it only had the local calendar, then i synced again.
I wonder if my erasing that profile on my samsung caused the calendar to delete. Or maybe it didn't register or save?
I can't 100% recall if I saved the events on google's calendar or my local. but if I stored on my local, shouldnt the data still be there even after my sync and unsync or google calendar?
Click to expand...
Click to collapse
I just tried it again. I removed the account from my phone. then resynced it. All the info from the calendar is still there.
Currently i store everything locally and only view local calendar (as you've said, untick google calendar).
Also not sure if this matters, I'm not using google calendars, I'm using samsung's stock calendar planner.
I cant see how removing the account from ur handheld would erase all events from your calendar. Isn't removing the account just deciding not to sync with it?
MistahBungle said:
Yep. If you remove the Google a/c from your phone completely, it deletes the events attached to that Google a/c in the calendar app. When you add it back, you'll have an empty calendar until you sync it from Google.
So essentially, what's seemed to have happened is you've done that with the a/c on your phone, for whatever reason your events @ Google's end have been nuked, so when you've re-added the a/c back on your phone & gone to sync it, there's been nothing there to sync back to the phone.
If you untick 'show [email protected]' in the calendar app settings (as opposed to removing the a/c outright), exit the app & restart the app you end up with an empty calendar, because it must have a Google a/c linked. If you retick 'show [email protected]' your events show again because simply unticking it doesn't delete anything.
Removing the a/c outright from the phone must purge the DB file(s) (?? I presume) on the phone.
That's the most logical explanation I can come up with given what happened/the order it happened in with your phone.
Click to expand...
Click to collapse
That's why I added (?? I presume) to that line in my PP about removing the account potentially wiping the DB files.
I doubt you'll end up finding out what happened/why it happened.
Anyhow, that's all I can offer.
mikoal said:
I cant see how removing the account from ur handheld would erase all events from your calendar. Isn't removing the account just deciding not to sync with it?
Click to expand...
Click to collapse
ya, it was worth a shot to test out that theory.
back to square one i guess.
google is blaming on samsung's app causing the erase when syncing.
MistahBungle said:
That's why I added (?? I presume) to that line in my PP about removing the account potentially wiping the DB files.
I doubt you'll end up finding out what happened/why it happened.
Anyhow, that's all I can offer.
Click to expand...
Click to collapse
I've got an HTC Desire HD that's been rooted and have tried out several ROMs, the last couple have been ICS. I would like to stay with an ICS ROM but there seems to be an issue with contacts. I sync my contacts (and calendar) with Outlook via MyPhoneExplorer, Google isn't in the running here. On GB all is fine and both contacts and calendar go into a 'phone' memory. With ICS this 'phone' memory has gone and you have to sync with your gmail account locally. With ICS the calendar is fine but if I reboot the phone (it gets switched off most nights) this causes all contacts to disappear. I usually use Contapps as my contacts app but the stock People app also shows the same behaviour. Tried all the settings I can think of, and SEARCHED the forums (and further afield) so far, but still the same.
In all cases I've set up my Google account but then turned off ALL synchronisation, as I want to keep things local to my phone and PC. The calendar works fine, it's just contacts. I've checked with my gmail account online and it does NOT have copies of my contacts or calendar so it would appear that 'not syncing' is not the issue as my phone's calendar keeps it's data intact.
Also, call history doesn't seem to get deleted either but you obviously just get the phone number in each entry, with no contact details.
Using the stock People app to check (though other contact apps show the same lack of contacts!). I've tried 3 different ICS ROMs and at least two have shown the problem (the 3rd may have done but that was the first I installed and may not have checked). I've seen other comments both on xda and the wider interweb that indicate that I'm not the first to see this but there doesn't seem to be a consensus on the solution, if any.
Can anyone shed any light on the issue? Or at least have details on how Google changed contacts operations in ICS?
Oh, I know that I "could" sync with Google, but I don't want to. I know all the arguments for and against and I'm in the "against" camp on this one so comments along the 'just sync with Google' line aren't that useful. No disrespect to those that think differently ....
Ta.
OK. More information. I've noticed that the contacts database file .... /data/data/com.android.providers.contacts/databases/contacts2.db ... gets overwritten on the 2nd reboot. (File Manager tells me its a smaller file AND the timestamp gets updated). I've deleted ALL files in ... /data/data/com.android.providers.contacts/databases/ ... and they get re-created on a reboot but after syncing they still get overwritten on the 2nd reboot.
I've also tried to 'fix permissions' from ROM Manager but no change.
Anyone any clues as to what could be going on?
Ta.
Thought I'd sussed it. Did a factory reset, re-installed all my apps via Titanium Backup then used Rom Manager's 'fix permissions' (and rebooted obviously). Reinstalled my contacts and it took until the 3rd reboot before they disappeared again ... :crying: However, I now have a 'Me' profile I created and this does NOT get deleted. As the file is in the same directory and has the same permissions there has to be some boot process "amending" the contacts2.db file. But what the heck is it? Anyone point me to docs. that describe the supposed Android boot sequence?
Ta.
Reclaim your Contacts !
Actually turned out simpler to do than i initially thought it would be.
Enables "Keep Locally" ( keep_local ) option for adding new contacts instead of forced google account.
Prevents google from deleting all you contacts when you remove your account
Disables google contact sync
The offending package comes with gapps if you got google that way.
GoogleContactsSyncAdapter.apk you will find it in /system/app/ (need root file explorer to see it though)
You can make this fix in 3 ways, the first may not need root but i cant test as my phone is rooted.
In Settings>App find it in the list of all installed apps, click it, click disable. (please someone tell me if they can do this without root)
Use a root file explorer such as "Root Browser", navigate to /system/app/ backup the app .apk to your sdcard for example, then delete it.
You can also try clicking the app .apk in "Root Browser" and choose uninstall, but i could get this to work.
Thats it ! , no need to reboot. Enjoy
(to test it worked, just navigate to Settings>Accounts>(your google account) and you will see there is no longer the option to sync contacts)
:highfive:
replacing it
haydent said:
Reclaim your Contacts !
Actually turned out simpler to do than i initially thought it would be.
Enables "Keep Locally" ( keep_local ) option for adding new contacts instead of forced google account.
Prevents google from deleting all you contacts when you remove your account
Disables google contact sync
The offending package comes with gapps if you got google that way.
GoogleContactsSyncAdapter.apk you will find it in /system/app/ (need root file explorer to see it though)
You can make this fix in 3 ways, the first may not need root but i cant test as my phone is rooted.
In Settings>App find it in the list of all installed apps, click it, click disable. (please someone tell me if they can do this without root)
Use a root file explorer such as "Root Browser", navigate to /system/app/ backup the app .apk to your sdcard for example, then delete it.
You can also try clicking the app .apk in "Root Browser" and choose uninstall, but i could get this to work.
Thats it ! , no need to reboot. Enjoy
(to test it worked, just navigate to Settings>Accounts>(your google account) and you will see there is no longer the option to sync contacts)
:highfive:
Click to expand...
Click to collapse
What would be the thing to replace this with? It's important to have something as convenient as what we're replacing. You can export you contacts to a single .vcf file. This can then be bluetoothed over to your desktop, uploaded to a server or transferred by USB or sdcard but what we really want is something as convenient as Google Contacts which syncronises to a place/server that you control automatically and easily.
Not sure if there's an alternative app out there though for this?
There's Go Contacts, ContactMoney and alternative dialers but I don't think these have alternative sync methods.
I think I'd prefer something from the fDroid/homebrew/commandline way. Perhaps a SyncML solution, or just something that automates the process of exporting contacts, encrypting them with a basic password and uploading to dropbox or an email address.
i was thinking the same thing, like ftp/sftp backup. it could be done pretty easily but i may not be the person to do it , i havent looked around though and suspect there may already be something already that could do this...
btw, yes i love f-droid too and recommend everyone to install its repo browser app and check out whats on offer.
What would be the thing to replace this with?
Click to expand...
Click to collapse
In f-droid you find funambol (syncML), LDAP Sync and aCal (CardDAV).
I don't use any of them (to lazy to set up a server) but with some effort you should be able to make contact-sync work for you.
jago25_98 said:
What would be the thing to replace this with? It's important to have something as convenient as what we're replacing. You can export you contacts to a single .vcf file. This can then be bluetoothed over to your desktop, uploaded to a server or transferred by USB or sdcard but what we really want is something as convenient as Google Contacts which syncronises to a place/server that you control automatically and easily.
Not sure if there's an alternative app out there though for this?
There's Go Contacts, ContactMoney and alternative dialers but I don't think these have alternative sync methods.
I think I'd prefer something from the fDroid/homebrew/commandline way. Perhaps a SyncML solution, or just something that automates the process of exporting contacts, encrypting them with a basic password and uploading to dropbox or an email address.
Click to expand...
Click to collapse
I purged GoogelContactsSync and GoogleCalendarSync from my device.
For syncing I use SyncMate(free), which I found pretty convenient.
hotmail/corporate sync
This worked fabulously till i decide to use a Hotmail account (with the stock email app), from that moment on the problem reappeared, just instead of trying to store the contacts in gmail, it now tries to store in Hotmail/corporate account!!!!
Has Google hired all the stupid developers that Microsoft fired??? Microsoft is becoming famous for it ability to consider their clients stupid and the attitude: when-know-what-you-want-better-than-you, now Google seems to be going with the same mentality!
Any idea how to stop this on the hotmail account?
p.s. my only workaround was to use the Hotmail app instead of the stock email app, unfortunately the Hotmail app (Microsoft, remember?) thinks i will never need to see any email older than 30 days?!?!?! WTF???
haydent said:
i was thinking the same thing, like ftp/sftp backup. it could be done pretty easily but i may not be the person to do it , i havent looked around though and suspect there may already be something already that could do this...
Click to expand...
Click to collapse
I use MyPhoneExplorer - it syncs my local contacts to my Thunderbird and vice versa. It syncs calendar events too ... so eventually I've got a copy and it's all local. One thing it doesn't do is contacts photos, so I also use SuperBackup to make a copy on my SD card (this way I can get the pictures up quickly).
When contacts are in Thunderbird (I've created there an address book just for syncing the phone) I can re-arrange, edit, etc. and when syncing back the pictures are retained ... Then I do SuperBackup to have a copy of new phone book with pictures.
Regards,...
PAragao said:
This worked fabulously till i decide to use a Hotmail account (with the stock email app), from that moment on the problem reappeared, just instead of trying to store the contacts in gmail, it now tries to store in Hotmail/corporate account!!!!
Has Google hired all the stupid developers that Microsoft fired??? Microsoft is becoming famous for it ability to consider their clients stupid and the attitude: when-know-what-you-want-better-than-you, now Google seems to be going with the same mentality!
Any idea how to stop this on the hotmail account?
p.s. my only workaround was to use the Hotmail app instead of the stock email app, unfortunately the Hotmail app (Microsoft, remember?) thinks i will never need to see any email older than 30 days?!?!?! WTF???
Click to expand...
Click to collapse
i have the same problem, is there any solution to this problem ?
i have done the solution above and it works, but it comes again after setting up my corporate account
KariemSoudy said:
i have the same problem, is there any solution to this problem ?
i have done the solution above and it works, but it comes again after setting up my corporate account
Click to expand...
Click to collapse
This little app will do the trick:
play.google.com/store/apps/details?id=com.fjsoft.mylocalaccount
After you install it, go to Accounts and create one "MyLocalAccount". After that, all you have to do is to transfer your contacts from the Google account into the "Local contacts" account just created. You can do this with the built-in Export/Import contacts tool.
f . . k the google, they work for attack to our privacy only :\
Hi, i want to reverse this topic
sync google accounts
It's been a while since I've been through this, but unfortunately I have a similar problem. My problem is "Google account" in accounts and sync. But I can only select google photos when I click on the sync mark. No selection box for contacts. How can I fix that?
The device has clone s3 and ics 4.0.4 on it. The gapps packages available for this release also do not work. It does not synchronize people in any case. I cleaned the data from the applications, I deleted Accounts.db and reinstalled it.
Finally, I found the following lines for Accounts.xml and added it, but still there is no positive situation. What else can I do? Thank you.
Syncable = "true"> <authority id = "3" account = ".." type = "com.google" authority = "com.android.contacts"
<PeriodicSync period = "86400" />
</ Authority>