Issues with calendar in gingerbread - Galaxy S I9000 Q&A, Help & Troubleshooting

Hello,
Since upgrading to Gingerbread I've been dealing with lots of issues regarding calendar. I'm using few calendars in google (private, public holidays, etc.) but when I setup the calendar synchronization I can see only my private calendar and the phone default (My Calendar). I've been reading that a lot of people have this issue so I decided to dig a little bit deeper. Finally I found a solution!
If you have a problem with displaying multiple google calendars in your phone follow this procedure:
Prerequisities:
* rooted phone (you'll need to access system file)
* SQLite Editor
Steps:
1. Make a backup of calendar data (just in case you'll need it in the future).
2. Go to Settings->Application-Manage Apllications.
3. Find following apps and delete their data: Calendar, Calendar Storage, Calendar Synchronization (or similar name).
4. Reboot your phone (not required, but flushing memory is not a bad thing)
5. Go to Settings->Accounts and Synchronization and synchronize your google calendar.
6. Open /dbdata/databases/com.android.providers.calendar/calendar.db with SQLite Editor or any other program that can edit SQLite data.
In fact you may use this procedure (as SQL Lite Editor is not free):
krige said:
I used aSQLiteManager, but had first to copy calendar.db to the sdcard, modify it and the copy it back to its original position (for copying I used Super Manager).
Click to expand...
Click to collapse
7. Open Calendars table.
8. If everything is OK you should see a list of google calendars you have. To enable missing calendars edit columns selected and sync_events. Put 1 to enable synchronization and display.
9. Save changes to the database.
10. Go to Settings->Accounts and Synchronization and synchronize your google calendar.
Now you should see list of all your google calendars and you can add events to different calendars.

skibbi_pl said:
6. Open /dbdata/databases/com.android.providers.calendar/calendar.db with SQLite Editor or any other program that can edit SQLite data.
7. Open Calendars table.
Click to expand...
Click to collapse
Thank you for sharing, I am having the same problem.
I have opened
Code:
/dbdata/databases/com.android.providers.calendar/calendar.db
using SQLite explorer but the file looks empty, it shows only "null".

Try to synchronize first your main google calendar. It will create all necessary tables.

skibbi_pl said:
Try to synchronize first your main google calendar. It will create all necessary tables.
Click to expand...
Click to collapse
I did that, it did synchronize the calendars, I could see the events. I rebooted, used the "Sync Now" function but still nothing. Maybe it's the app SQLite explorer which is not working. Unfortunately I could not find any other alternative, SQLite Editor is not free

I haven't had a single issue using cm7 or regular AOSP when it comes to the calendar. What issues are you having?
Sent from my Green Sludge using XDA Premium App

ULTIMATEHURT said:
I haven't had a single issue using cm7 or regular AOSP when it comes to the calendar. What issues are you having
Click to expand...
Click to collapse
I have been using CM7 for some time and I confirm I did not have any problem with Calendars when using it.
The problem appears on the stock rom (both on JVP and JVQ) and is the same skibbi_pl reported on the first message of this post: some calendars do not sync. I have 12 calendars on my Google Account online, but only 3 show up in Settings / Calendars.

Ok, I solved it: the problem was the SQLite explorer app which doesn't work.
I used aSQLiteManager, but had first to copy calendar.db to the sdcard, modify it and the copy it back to its original position (for copying I used Super Manager).
After reboot all Calendars appeared correctly. Thanks again!
The final question is: why does this happen on the stock rom and on Cyanogen not?

krige said:
The final question is: why does this happen on the stock rom and on Cyanogen not?
Click to expand...
Click to collapse
Ask Samsung developers It seems like they forgot to add some UI controls for enabling additional calendars.

My sync-problem is that, after I flashed at the end of july to DarkyRom v10, the birthdays of my Google-contacts and National Holidays only appear for 1 year ahead (so till 25 july 2012).
aSQLiteManager says in the column selected and sync_events all 1.
What can be the problem?

x10 2.3.3 calendar issue
Hi, I didn't find any other threads, more similar to my problem. i have an x10 upgraded to gingerbread, since then I can't create any new events. I get an error message: "No Calendar. No calendars available." I searched google to find any references, with very few results. I cleared the calendar cache with no luck. I tried installing several calendar apps, which are supposed to be working separately from the stock app, but I got the same error message when trying to create a new event.
Thanks for your help in advance,
Jocks

Just did this today.
Been pulling my hair out over this calendar problem for the last few days. This method works perfectly on my SPH-D710.

I know this is an old thread but wanted to thank the OP for this solution. I ran into the calendars problem and this method worked perfectly. I used a program called SQLite Database Browser (Windows 7) to edit calendars.db, which I downloaded from sourceforge.net for free. Thank you!
Also, to share the db file I first had to change the permissions from rw- rw- --- to rwx rwx rwx. That allowed me to gmail the file to myself or upload to google drive. After editing it, I had to go through my external sdcard to copy it on there and then copy it over using ES file explore to the appropriate directory. I reset permissions to rw- rw- --- just to make sure (no idea if that was necessary).

Related

How to add Hero widgets and gapps after an install?

Ive been looking in the threads for a while and find hints and clues, but cannot get a definitive solution to my problem:
Im using CRISPhero.zip rom and love its speed, but miss some google apps like calendar and a few unincluded HTC hero widgets like picture album and calendar.
So I thought Id try at first just to add the calendar stuff:
I have tried pushing Calendar.apk, CalendarProvider.apk, htccalendarwidgets.apk (as well as all their .odex files) to /data/app_s
With the .odex files in the directory, i get a boot loop. Without the odex files, the phone runs fine but no apps or widgets have been added. WHAT AM I MISSING HERE? How do I install these widgets?
a little more info
I should also add that I tried opening each of these .apks in the app manager but simply got a message saying they could not be installed on this device. This IS a HERO rom, so that shouldnt be the issue, I dont think.
sorry, but you posted in the wrong section
Id like to know this as well....but like the post above it is the wrong section to post this.
ok
What section should it be posted in?
get root explorer and place the apks in the correct directory thats the easiest way....but if the apk has an odex with it the apk is no good try dloading another rom & taking the apk from their
being a question...surely it makes sense that it should be asked in the QUESTIONS and answers section
dont start a new thread there, il request this one gets moved
will widgets show up then?
mccurt29 said:
get root explorer and place the apks in the correct directory thats the easiest way....but if the apk has an odex with it the apk is no good try dloading another rom & taking the apk from their
Click to expand...
Click to collapse
So I'm assuming the appropriate directory for hero widgets /data/app_s, right?
Is there another step after that, like installing with app manager or should the automatically show up on next boot?
Try a newer hero, they are unodexed. Most come with what your looking for anyways.
Some success, but...
I've had some success pushing an UNOBEXEDCalendar.apk and CalendarProvider.apk to /data/app_s. I got them from the KiNgxKxKlair-Hero-Eclair-v1.0.zip Rom. Now the apps are listed in the app menu and work properly!
***BUT*** Gcal won't sync. Under the data sync settings, I am unable to make gCal sync. Contacts and Gmail sync just fine, but even with the calendar box checked, Calendar will not sync.
I suspect this is due to a setting with the ROM (which originally did not have calendar installed), but I have no idea where to adjust this setting.
Any suggestions?
wkustu said:
I've had some success pushing an UNOBEXEDCalendar.apk and CalendarProvider.apk to /data/app_s. I got them from the KiNgxKxKlair-Hero-Eclair-v1.0.zip Rom. Now the apps are listed in the app menu and work properly!
***BUT*** Gcal won't sync. Under the data sync settings, I am unable to make gCal sync. Contacts and Gmail sync just fine, but even with the calendar box checked, Calendar will not sync.
I suspect this is due to a setting with the ROM (which originally did not have calendar installed), but I have no idea where to adjust this setting.
Any suggestions?
Click to expand...
Click to collapse
Well, seeing as your pushing eclair apps into what I think is a cupcake build.... I'll let you finish that statement
I assumed the issue isn't with the apps themselves, as they are functioning fine (and I believe the rom is not a TRUE eclair rom, anyway--just bits & pieces). I think the problem is that since the original rom did not include calendar apps, that the calendar sync function has been disabled. I want to re-enable it.

[Q] Sending Blank emails when replying

I upgraded to the leaked OS 2.2 Froyo and now I am getting the below issue when I reply to emails. Doesn't happen to EVERY email but several to cause me issues at work.
I am using Exchange only.
I reply to an email and it is recieved but all text I typed is missing and it actually looks as if I forwarded the email back to the sender.
I saw on another forum some other were experiencing this issue but none had a clue how to resolve it.
Anyone know how to fix this? Others seeing this?
Any help would be appreciated!!
???
Is no one else having this issue? Does anyone have any ideas how to resolve it? Do I need to wipe the deivce?
I've had this issue as well when using my exchange.
gibgib3 said:
I upgraded to the leaked OS 2.2 Froyo and now I am getting the below issue when I reply to emails. Doesn't happen to EVERY email but several to cause me issues at work.
I am using Exchange only.
I reply to an email and it is recieved but all text I typed is missing and it actually looks as if I forwarded the email back to the sender.
I saw on another forum some other were experiencing this issue but none had a clue how to resolve it.
Anyone know how to fix this? Others seeing this?
Any help would be appreciated!!
Click to expand...
Click to collapse
Also happening to me. What gives?
Using JI6
This may help:
http://forum.xda-developers.com/showthread.php?t=797977
I had the same issue with email after cognition2.2BETA5.5. It seems that designgears had installed the AOSP email app but removed it in later versions due to too many complaints. I find that the AOSP app is much better then then TW Email apk. I performed the steps below to install the AOSP Email.apk. Replies work everytime without issue.
1.) Get the Email AOSP app from a different rom or make a request and I will happily provide a link to download the apk.
2.) Connect your phone to the computer and move the Email.apk to the root of your sdcard.
3.) Backup your current Email.apk with Titanium or manually copy it to another location on your phone.
NOTE: You may need to backup your phone settings so you can restore your launcher after clearing cache in the final step to avoid having to replace all of your home screen icons.
4.) Using Root Explorer or Astro, copy the Email.apk copied to your sdcard into the folder /system/app/ to replace the current app.
5.) Return to the home screen. At this point you should no longer see an email icon on your dock.
6.) Go to Applications->Settings->Applications->Manage Applications
7.) Clear the cache on the TWLauncher Application.
8.) Return to the home screen and you should now see the email icon has returned to the dock.
9.) Restore TWLauncher settings with Titanium to restore home screen icons that were removed in the cache.
Please let me know if you need the email.apk from cognition2.2beta5.5
Aosp email.API link request
Is there a copy of the email.API that doesn't have the blank reply issue yet has all the features of cognition latest release?
I have attached a working Email apk to this post. Down load it and follow the steps in the post above to resolve the blank email reply issue. Let me know if you have any issues.
I followed the instructions, however, I did not have a backup of twlauncher, so now I don't have an email icon on my home bar
So put the icon back on your launch bar. It is configurable. (doing this from memory, so i may miss a step). Go to your list of apps -> menu -> edit and you can configure 3 of the 4 icons on the touchwiz launcer (you can't get rid of the apps shortcut).
f13nd0 said:
I had the same issue with email after cognition2.2BETA5.5. It seems that designgears had installed the AOSP email app but removed it in later versions due to too many complaints. I find that the AOSP app is much better then then TW Email apk. I performed the steps below to install the AOSP Email.apk. Replies work everytime without issue.
1.) Get the Email AOSP app from a different rom or make a request and I will happily provide a link to download the apk.
2.) Connect your phone to the computer and move the Email.apk to the root of your sdcard.
3.) Backup your current Email.apk with Titanium or manually copy it to another location on your phone.
NOTE: You may need to backup your phone settings so you can restore your launcher after clearing cache in the final step to avoid having to replace all of your home screen icons.
4.) Using Root Explorer or Astro, copy the Email.apk copied to your sdcard into the folder /system/app/ to replace the current app.
5.) Return to the home screen. At this point you should no longer see an email icon on your dock.
6.) Go to Applications->Settings->Applications->Manage Applications
7.) Clear the cache on the TWLauncher Application.
8.) Return to the home screen and you should now see the email icon has returned to the dock.
9.) Restore TWLauncher settings with Titanium to restore home screen icons that were removed in the cache.
Please let me know if you need the email.apk from cognition2.2beta5.5
Click to expand...
Click to collapse
Alright, hopefully you all are still willing to help somebody else out on this issue, as I am in the same boat as gibgib3. I have followed the steps above using the attached email.apk from f13nd0.
The issue I get is that launching email cause an immediate crash of the application, as well as attempting to add a new "Corporate" email account.
I am not an Android development power user myself, although I've used adb in the past sparingly. I really just am clinging to the leaked Froyo build from October, and just want working email (TouchDown is crazy slow and expensive) until Samsung finally pushes out an official Froyo build.
Any ideas here?
Flash a new ROM that has the email bugs fixed.
From the interwebs via fast thumbs and a faster phone.
crusecontrl said:
Flash a new ROM that has the email bugs fixed.
From the interwebs via fast thumbs and a faster phone.
Click to expand...
Click to collapse
That is the "nuclear option" that I'd like to avoid. While I have everything backed up with titanium, I already am planning to flash back to stock when the official update comes out, so I'm looking to minimize the necessity to flash a ROM again.
I'm hoping that there is some "tried and true" way to swap out my email.apk with a working version, as the previous steps just result in a "Force Close" whenever I try and run it.
So the solution here, for anybody having this issue, is to remove the existing email.odex file from the /system/app directory, which was associated with the original Samsung email app.
All systems go here.
How do you remove the email.odex file? As it is in the system folder, the file permission is ready only and I cannot delete it. Is there a util in the market that you can download to change file permissions?
Root Explorer did the trick for me.
Sent from my SAMSUNG-SGH-I897 using XDA App
Does the phone needs to be rooted (my phone has the leaked froyo but do not think it is rooted) for the root explorer to be able to change the permission?
I download other free utils that has access to the file but cannot change the permission in order to delete it.
Yes, it does.
Sent from my SAMSUNG-SGH-I897 using XDA App
ickensai said:
Does the phone needs to be rooted (my phone has the leaked froyo but do not think it is rooted) for the root explorer to be able to change the permission?
I download other free utils that has access to the file but cannot change the permission in order to delete it.
Click to expand...
Click to collapse
Rooting is the key to doing all "magic" stuff like this. What good is a wizard (user) without his magic wand (root access) to work on any magic (his captivate)?
DannyNoonan said:
So the solution here, for anybody having this issue, is to remove the existing email.odex file from the /system/app directory, which was associated with the original Samsung email app.
All systems go here.
Click to expand...
Click to collapse
Okay, I finally learn how to root the phone and was finally able to remove the existing email.odex file. Now I don't have the email icon anymore. I must assume you have replaced this email.odex file as well as the apk file??? I tried clearing the cache and everything on the twlauncher and it's a no go.

[Q] CyanogenMod 9 - remove account

I just flashed CyanogenMod 9 on my Touchpad and am loving it. I added one google account to it at first, which was great b/c it downloaded all the apps on my RAZR. But I want to remove the account because my daughter uses the Touchpad and I don't want her to have access to my gmail and talk, etc. (I am a newbie so I used the stable CyanogenMod, not the nightly.) I tried to go to remove account but it is grayed out and I can't figure out a work-around.
Any insights?
Thanks!
brigreen said:
I just flashed CyanogenMod 9 on my Touchpad and am loving it. I added one google account to it at first, which was great b/c it downloaded all the apps on my RAZR. But I want to remove the account because my daughter uses the Touchpad and I don't want her to have access to my gmail and talk, etc. (I am a newbie so I used the stable CyanogenMod, not the nightly.) I tried to go to remove account but it is grayed out and I can't figure out a work-around.
Any insights?
Thanks!
Click to expand...
Click to collapse
Try adding another account (make a new Gmail account). Once that's done, you should be able to remove the other one. Let her use this one as her email account, I'm sure she'll like that......
Or you could install an app protector and also switch off sync for that email so it doesn't receive notifications
The best app I have come across for this scenario is an app called switchme. It acts like how your computer would if you had two user account on there. Once you install it, you can create a new profile. Selecting it will reboot your device and start up as a clean ROM with no market apps and no google account linked to it. You can then add her google account to that profile (if she has one) and she can sync all her own stuff, not interfering with yours. You can then switch between profiles at will. Its an awesome app.
Here's a thread link:
http://forum.xda-developers.com/showthread.php?t=1465661
thanks but....
Thanks. I did add another account but I cannot remove mine. Looks like cyanogen doesn't have that enabled (because I was able to do that on my other daughter's Xoom when it was running gingerbread.
I would prefer not creating a new profile completely because then I'd lose all the apps that I've installed, like I did on the Xoom. I was able to turn notifications to my gmail account off but don't want her (or my ex!) to have access to my gmail.
Thanks.
Unfortunately this is an android issue. You can't remove the initial account you use without wiping data and starting over.
~ E.R.A.
zanderman112 said:
Unfortunately this is an android issue. You can't remove the initial account you use without wiping data and starting over.
~ E.R.A.
Click to expand...
Click to collapse
hmm, did not know that. So if that is the case, the OP should reset the device, and start it with a different gmail account for his daughter. Then he can add his regular gmail account afterward, install the apps he wants, and then remove the account when complete.
Or maybe use titanium backup to backup his current apps now. do a factory reset, then setup with a new gmail account, install TB on the new account, and then restore the old apps.
I still say the app I linked to is a good thing to get for his situation. Its two accounts running side by side and each person can log into their own account with their own apps and wont have access to each others. You can even set a password just like on a computer.
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
nixey55 said:
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
Click to expand...
Click to collapse
Thank you for this, it worked just like you said!
shieldsit said:
Thank you for this, it worked just like you said!
Click to expand...
Click to collapse
thank you
Go to Settings-> Accounts -> choose your account. When the Sync options appear, click on the 3 small dots on top right corner. Select remove account.
nixey55 said:
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
Click to expand...
Click to collapse
Solved "RPC:S-5:AEC-0" error on Google Play for me (couldn't delete Google account on CM 10.2).
Thanks a lot.
nixey55 said:
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
Click to expand...
Click to collapse
Found this post via a google search. Two years down the road from the post- this worked for me. I used TWRP and found
the file in something like /data/system/users/0 or something similar (YMMV). But it worked for me.

droid3 reinstall/ rename list of text message related system files

Where is there a list of the /system/app files that relate to the Text Message and autosync Gmail functions in Verizon Droid3 2.3.4?
On the Verizon Droid3 (Blur), attempting to disable/remove/replace the Stock Text Messaging system I renamed several files under /system/app but may have actually uninstalled "Text Messaging" from the System. (I didnt realize at the time the replacement SMS apps still needed a few things from the Stock ROM to make them work.)
I restored the following apk/odex files in /system/app and rebooted:
BlurSNMessagingEngine.apk.bak -> BlurSNMessagingEngine.apk
BlurSNMessagingEngine.odex.bak -> BlurSNMessagingEngine.odex
messaging.apk.bak -> messaging.apk
messaging.odex.bak -> messaging.odex
Afterwards, running Text Messages icon within Messaging generates a FC with Error Message: Process com.motorola.messaging has stopped working
Another unintended side-effect is that gmail app email accounts no longer aautosync & require manual sync. . Adjusting the settings under the Accounts UI does not redress the problem. I would like to re-enable auto-sync
I have been looking for a complete list of files pertaining to these functions to rename & re-establish functionality. I probably still have all the files renamed as .bak. A list will help ensure I have renamed all of the component files.
PS- I did look but was unable to find a complete reference guide or Manual with related information as I am asking for. I would love to buy a copy. Does Motorola sell a development manual somewhere, pdf or print?
Thanks one and all!

Google Calendar not working - Please help

Hey guys,
I installed the calendar from Lilipop 5.0 and it is giving me a heck of a lot of issues.
The way that I installed was:
Note that I did not have Google Calendar installed before, only the Samsung Calendar.
1. Convert to user app: Calender 4.4.4, Calendar 1.0, Calendar 1.0 (yes I have 2 of them), and Google Calendar Sync
2. Backup / Verify / Uninstall all 4 items
3. Put the new calendar apk file in System/Priv-Apps and rebooted the phone
It installed upon boot up but worked poorly.
I now want to go back to the old calendar, so I
1. Converted to user app: Google Calendar 5.0
2. Backup / Verify / Uninstall
3. Reboot
4. Go to Play Store and download current available Google Calendar
After installation, it crashes on me and does not work. I restored Google Calendar Sync which I removed before, but still not working.
Can anyone please assist with this.
I didnt install this, but when you put the new .apk into place, did you make sure the permissions were set the same way the old file was?
its sounds like that might be your problem...
wase4711 said:
I didnt install this, but when you put the new .apk into place, did you make sure the permissions were set the same way the old file was?
its sounds like that might be your problem...
Click to expand...
Click to collapse
I think I just set it to 766. All 3 options check for the first column, and the other two columns are blank.
I just checked my System/Apps folder and System/Priv-Apps and I do not see Google Calendar Sync, not sure why considering it appears in TB.
elite-fusion said:
I think I just set it to 766. All 3 options check for the first column, and the other two columns are blank.
I just checked my System/Apps folder and System/Priv-Apps and I do not see Google Calendar Sync, not sure why considering it appears in TB.
Click to expand...
Click to collapse
look in the folder(s) where you replaced files, and make sure the files you put in there have the same exact permissions as the other ones that are in there..if you change anything , save then reboot and see if that helps.
if not, I am not sure what else it could be..sorry..
wase4711 said:
look in the folder(s) where you replaced files, and make sure the files you put in there have the same exact permissions as the other ones that are in there..if you change anything , save then reboot and see if that helps.
if not, I am not sure what else it could be..sorry..
Click to expand...
Click to collapse
I didnt manually put anything else in there because the rest was either there already, or was installed by the reboot and removed from the system/priv-app folder
I really dont want to have to restore all my crap again
elite-fusion said:
I just checked my System/Apps folder and System/Priv-Apps and I do not see Google Calendar Sync, not sure why considering it appears in TB.
Click to expand...
Click to collapse
I think this is your problem. that GoogleCalendarSyncAdaptor.apk needs to be there. On my phone its in /system/app.
also, did you by chance change your build.prop at all?
0ri0n said:
I think this is your problem. that GoogleCalendarSyncAdaptor.apk needs to be there. On my phone its in /system/app.
also, did you by chance change your build.prop at all?
Click to expand...
Click to collapse
I just changed* the type from user to userdebug thats the only thing i changed in build.prop.
Soo... considering that it is not in my system/app folder, what can I do now in order to restore it and get everything back to working as it was?

Categories

Resources