[Q] Reinstall stock Google Calendar so I can sync again! - Sprint Samsung Galaxy Note 3

I had used the app System App Remover to remove some of the crapware that Sprint and Samsung bog down your phone with. In particular I use Google Calendar for my main calendar and I use it through Thunderbird too as well as Google's web app for calendar. I love that I can easily create events and wham they are right there on my phone too.
Now I have a Samsung Galaxy Note 3 and Samsung puts it's own calendar app there and when you go into that calendar it wants you to set up a Samsung account, etc. I don't want a Samsung account and I'm quite happy staying with Google Calendar. So I tried to remove the Samsung portions of Calendar but leave the Google Calendar, etc. It is hard to tell which is which because they both simply use the name "Calendar". In any event I screwed up my Google Calendar on my Note 3.
Now this System app remover says it's safe or relatively safe and that it backs up any system app you remove in a "recycle bin" so you can reinstall it. So I go to the recycle bin and attempt to reinstall the Google calendar app I removed and it failed! I've talked to the developer and he's just perplexed and I'm out of a calendar on my phone!!!
I've tried reinstalling the Google Calendar app from the play store and while that succeeds I see no calendars being displayed. Here's some of the odd behavior I see:
When it starts it presents a month view with no events
Selecting Calendars to Display shows nothing
Selecting Calendars to Sync shows a blank page with Cancel and OK buttons but it says Loading forever!
Even though I have already signed into a Google account, if I try to add a Google account and supply my username and password it says that it had trouble contacting the Google Servers and to try again later. Of course later it does the same thing
If I go into my Settings and look at my Google account and what syncs I see no entry for Sync Calendar
If I try to make a new event I get a similar black screen saying Loading..., Cancel and Done buttons but it goes nowhere
It seems like the sync portion of Google Calendar/Account is broken or something is not signed properly. I've tried to find the appropriate CalendarSync.apk file and found a few, installed a few but the behavior described above remains the same.
HELP!
Is there a way to fix this without having to flash a rom? I used to play with installing rom's but now a days I try to just keep it stock - well I get additional apps but I try not to flash rom's and get unsupported. I have used towelroot to gain access to root. I use it because I also use Tasker and Secure Settings to try to automate some things and for some odd reason you cannot toggle GPS on and off until you get Secure Setting and root your phone! Stupid. And because I'm rooted System Update doesn't want to update me. I'm not sure if there's an OTA update for Sprint Galaxy Note 3 Android 4.4.2 but I would have thought that if there was say 4.4.3 available that update would fix my problem.
If I can't fix that problem could I flash a stock Sprint rom (where?) and then have all my apps come back from backup/restore (I recently did a factory reset and even this didn't fix it! And while many apps came back courtesy of Google, a number didn't and what is worse is that I lost a number of settings and configurations. I wouldn't want to have to do that again.
I'm almost at the point of saying screw it and getting back into custom ROMs. Sprint rarely updates us, Google doesn't update us so what's the point of staying stock kernel? Sprint tech droid are incompetent.
In any event if somebody can help that'd be cool (why such apps as Calendar and the like need to be backed into the ROM instead of just downloadable and installable like every other app is beyond me!)

defaria said:
I had used the app System App Remover to remove some of the crapware that Sprint and Samsung bog down your phone with. In particular I use Google Calendar for my main calendar and I use it through Thunderbird too as well as Google's web app for calendar. I love that I can easily create events and wham they are right there on my phone too.
Now I have a Samsung Galaxy Note 3 and Samsung puts it's own calendar app there and when you go into that calendar it wants you to set up a Samsung account, etc. I don't want a Samsung account and I'm quite happy staying with Google Calendar. So I tried to remove the Samsung portions of Calendar but leave the Google Calendar, etc. It is hard to tell which is which because they both simply use the name "Calendar". In any event I screwed up my Google Calendar on my Note 3.
Now this System app remover says it's safe or relatively safe and that it backs up any system app you remove in a "recycle bin" so you can reinstall it. So I go to the recycle bin and attempt to reinstall the Google calendar app I removed and it failed! I've talked to the developer and he's just perplexed and I'm out of a calendar on my phone!!!
I've tried reinstalling the Google Calendar app from the play store and while that succeeds I see no calendars being displayed. Here's some of the odd behavior I see:
When it starts it presents a month view with no events
Selecting Calendars to Display shows nothing
Selecting Calendars to Sync shows a blank page with Cancel and OK buttons but it says Loading forever!
Even though I have already signed into a Google account, if I try to add a Google account and supply my username and password it says that it had trouble contacting the Google Servers and to try again later. Of course later it does the same thing
If I go into my Settings and look at my Google account and what syncs I see no entry for Sync Calendar
If I try to make a new event I get a similar black screen saying Loading..., Cancel and Done buttons but it goes nowhere
It seems like the sync portion of Google Calendar/Account is broken or something is not signed properly. I've tried to find the appropriate CalendarSync.apk file and found a few, installed a few but the behavior described above remains the same.
HELP!
Is there a way to fix this without having to flash a rom? I used to play with installing rom's but now a days I try to just keep it stock - well I get additional apps but I try not to flash rom's and get unsupported. I have used towelroot to gain access to root. I use it because I also use Tasker and Secure Settings to try to automate some things and for some odd reason you cannot toggle GPS on and off until you get Secure Setting and root your phone! Stupid. And because I'm rooted System Update doesn't want to update me. I'm not sure if there's an OTA update for Sprint Galaxy Note 3 Android 4.4.2 but I would have thought that if there was say 4.4.3 available that update would fix my problem.
If I can't fix that problem could I flash a stock Sprint rom (where?) and then have all my apps come back from backup/restore (I recently did a factory reset and even this didn't fix it! And while many apps came back courtesy of Google, a number didn't and what is worse is that I lost a number of settings and configurations. I wouldn't want to have to do that again.
I'm almost at the point of saying screw it and getting back into custom ROMs. Sprint rarely updates us, Google doesn't update us so what's the point of staying stock kernel? Sprint tech droid are incompetent.
In any event if somebody can help that'd be cool (why such apps as Calendar and the like need to be backed into the ROM instead of just downloadable and installable like every other app is beyond me!)
Click to expand...
Click to collapse
Ok, chances are the Bloatware removal script removed more than just the GoogleCalendarSnycAdapter.apk. It probably removed most or all your Google Apps. First I would try and reinstall the calendar app from the recycle bin again, this time copy and paste it with some type of root manager app like Root Explorer. Make sure you put it in system/app and not system/priv-app. Check the permissions they should be rw-r--r-- after your have pasted the app. Then with the root manger app go to Delvik-Cache and delete it, now power down the device completely and reboot. It will take a minute as it rebuilds the Delvik-Cache.
Now in the event that the removal script took all the Google apps, here is a link for stock KK 4.4.2 NC5 .tar http://forum.xda-developers.com/showthread.php?t=2712205 ( Thanks micmars ) just follow the steps listed on his thread. Here is a link for Odin v 1.85 and Samsung drivers http://www.downloadodin.info/download-odin-1-85 version 1.85 always works the best for me.

jimzweb1 said:
Ok, chances are the Bloatware removal script removed more than just the GoogleCalendarSnycAdapter.apk. It probably removed most or all your Google Apps. First I would try and reinstall the calendar app from the recycle bin again, this time copy and paste it with some type of root manager app like Root Explorer. Make sure you put it in system/app and not system/priv-app. Check the permissions they should be rw-r--r-- after your have pasted the app. Then with the root manger app go to Delvik-Cache and delete it, now power down the device completely and reboot. It will take a minute as it rebuilds the Delvik-Cache.
Now in the event that the removal script took all the Google apps, here is a link for stock KK 4.4.2 NC5 .tar http://forum.xda-developers.com/showthread.php?t=2712205 ( Thanks micmars ) just follow the steps listed on his thread. Here is a link for Odin v 1.85 and Samsung drivers http://www.downloadodin.info/download-odin-1-85 version 1.85 always works the best for me.
Click to expand...
Click to collapse
Note that all other Google apps (at least the apps I use) work fine. Hangouts, Chrome, Chromeccast, GMail, Music, etc.
OK, I see two GoogleCalendarSyncAdapter.apk files - one in /sdcard/Download that is 490.33 KB and one that is already in /system/app that is -rw-r--r-- but 618.06 KB. More is better right? I use ES File Explorer as a file manager and I am root. I could not find anything on my system with *delvik* in the name. Might it be something with *art* instead? Isn't Kit Katt on art now and not delvik? Wait I found it under /data. When you say "delete it" what is "it"? I ask because I see things like:
[email protected]@[email protected]
[email protected]@[email protected]
[email protected]@[email protected]
[email protected]@GoogleCalendarSyncAdapter(1)[email protected]
[email protected]@[email protected]
I think #4 was created when I accidentally downloaded GoogleCalendarSyncAdapter.apk twice into /system/app. I've copied these 5 files to save them then removed #3 and #4, powered down and back up. Nothing different.
Next I copied all of /data/delvik to the sdcard and removed all of the files under /data/delvik, powered down and back up.This took considerably longer as the cache was rebuilt at startup. In fact it said Android is upgrading... After that it started apps and I was back up. But the calendar still exhibits the exact same behavior.
I think what needs to be reinstalled is probably the Calendar Storage because it seems to me whenever I try to add an event or a calendar it fails.
As for your links, why am I flashing my entire phone with a new rom and what will be happening to all of the apps and settings I currently have installed? I'm sorry but I really only want my Calendar app to come back. Everything else works. Last time when I did a factory reset in attempting to fix this many apps came back, but many didn't and lots of them had missing settings, etc. I really, really don't want to go through that again!
BTW why didn't I get an email when you responded...

Bump?
Bump?

defaria said:
Note that all other Google apps (at least the apps I use) work fine. Hangouts, Chrome, Chromeccast, GMail, Music, etc.
OK, I see two GoogleCalendarSyncAdapter.apk files - one in /sdcard/Download that is 490.33 KB and one that is already in /system/app that is -rw-r--r-- but 618.06 KB. More is better right? I use ES File Explorer as a file manager and I am root. I could not find anything on my system with *delvik* in the name. Might it be something with *art* instead? Isn't Kit Katt on art now and not delvik? Wait I found it under /data. When you say "delete it" what is "it"? I ask because I see things like:
[email protected]@[email protected]
[email protected]@[email protected]
[email protected]@[email protected]
[email protected]@GoogleCalendarSyncAdapter(1)[email protected]
[email protected]@[email protected]
I think #4 was created when I accidentally downloaded GoogleCalendarSyncAdapter.apk twice into /system/app. I've copied these 5 files to save them then removed #3 and #4, powered down and back up. Nothing different.
Next I copied all of /data/delvik to the sdcard and removed all of the files under /data/delvik, powered down and back up.This took considerably longer as the cache was rebuilt at startup. In fact it said Android is upgrading... After that it started apps and I was back up. But the calendar still exhibits the exact same behavior.
I think what needs to be reinstalled is probably the Calendar Storage because it seems to me whenever I try to add an event or a calendar it fails.
As for your links, why am I flashing my entire phone with a new rom and what will be happening to all of the apps and settings I currently have installed? I'm sorry but I really only want my Calendar app to come back. Everything else works. Last time when I did a factory reset in attempting to fix this many apps came back, but many didn't and lots of them had missing settings, etc. I really, really don't want to go through that again!
BTW why didn't I get an email when you responded...
Click to expand...
Click to collapse
First sorry for the slow response, was out of town helping my daughter move. Now the correct size for the GoogleCalendarSyncAdapter.apk is 618.06KB. Here are copies of the files off my device which is a note 3 stock rooted 4.4.2 NC5.
GoogleCalendarSyncAdapter.apk https://mega.co.nz/#!tNxxxI5T!5xftzTM9ajyF45MeMR-qDS61ftYIhUIT3p2-hsBdN0w
SecCalendarProvider.apk https://mega.co.nz/#!0FIE0JgI!ENASoyihE3CLhECDDvBbRec1ROU5FxkAERQID7q7FPU
SecCalendarProvider.odex https://mega.co.nz/#!8MICFZSY!z23JLhKGgI9K5-1Lpe_GYszMlXmJyVaKsfaKd2vyCm8
Download to PC desktop, copy and paste to your sd card, then with your ES File manger copy the original files to a ext sd card or PC desktop. Now copy and paste the downloaded files, the adapter goes in system/app and the provider goes in system/priv-app. Once installed, check permissions rw-r--r-- then go to data/delvik-cache and delete the delvik-cache file, then go to cache/recovery and delete the last install and last log files. Then completely power down the device and reboot, delvik-cache will rebuild, then the new apks to will install.

Thank you, thank you, thank you!!! Looks like I'm back up! No problem on the wait, I just wanted to keep the issue alive here.
Detailing what I did for the benefit of the next person I first downloaded your files and used PushBullet to push them to my phone. If you haven't heard of PushBullet then you should check it out! It's a nice way of pushing files, links, directions between your cell phone and your browser. I then:
. Put these files into /sdcard/Downloads/Calendar
. Moved /system/app/GoogleCalendarSyncAdapter.apk -> /sdcard/Downloads/save
. Moved /system/priv-app/SecCalendarProvider.apk -> /sccard/Downloads/save
. I could not find a SecCalendarProvider.odex file under /system/priv-app! Perhaps that was the root of my problem.
. I copied /sdcard/Downloads/Calendar/GoogleCalendarSyncAdapter.apk -> /system/app
. I copied /sdcard/Downloads/Calendar/SecCalendarProvider.apk -> /system/priv-app
. I copied /sdcard/Downloads/Calendar/SecCalendarProvider.odex -> /system/priv-app
. I looked at the perm bits of these files and when they were in /sdcard/Download/Calendar I could only see one of the 3 bit setting. It was set to 6 or rw-. However once I copied them to /system/app I could see the full set of perms and I changed them to 644.
. As for /data/delvik-cache, I didn't know exactly which file to delete but played it save and only deleted [email protected]@[email protected]. I figured if that was not the right think I could do it again but move all of the delvik-cache off of the phone like I did before. Turns out I didn't need to.
. I didn't bother (actually didn't see) the part about deleting the log files in the cache/recovery. Apparently I didn't need to.
Powered down the phone and then back up. Briefly saw a thing about updating and then I boot in. Started the Calendar and it didn't look good - it looked like it did before. But I went to the "Calendars to Display" and to my amazement it displayed many of my calendars! I went back and events were filling in as the background sync was taking place. I'M BACK!!!!
Thanks.

defaria said:
Thank you, thank you, thank you!!! Looks like I'm back up! No problem on the wait, I just wanted to keep the issue alive here.
Detailing what I did for the benefit of the next person I first downloaded your files and used PushBullet to push them to my phone. If you haven't heard of PushBullet then you should check it out! It's a nice way of pushing files, links, directions between your cell phone and your browser. I then:
. Put these files into /sdcard/Downloads/Calendar
. Moved /system/app/GoogleCalendarSyncAdapter.apk -> /sdcard/Downloads/save
. Moved /system/priv-app/SecCalendarProvider.apk -> /sccard/Downloads/save
. I could not find a SecCalendarProvider.odex file under /system/priv-app! Perhaps that was the root of my problem.
. I copied /sdcard/Downloads/Calendar/GoogleCalendarSyncAdapter.apk -> /system/app
. I copied /sdcard/Downloads/Calendar/SecCalendarProvider.apk -> /system/priv-app
. I copied /sdcard/Downloads/Calendar/SecCalendarProvider.odex -> /system/priv-app
. I looked at the perm bits of these files and when they were in /sdcard/Download/Calendar I could only see one of the 3 bit setting. It was set to 6 or rw-. However once I copied them to /system/app I could see the full set of perms and I changed them to 644.
. As for /data/delvik-cache, I didn't know exactly which file to delete but played it save and only deleted [email protected]@[email protected]. I figured if that was not the right think I could do it again but move all of the delvik-cache off of the phone like I did before. Turns out I didn't need to.
. I didn't bother (actually didn't see) the part about deleting the log files in the cache/recovery. Apparently I didn't need to.
Powered down the phone and then back up. Briefly saw a thing about updating and then I boot in. Started the Calendar and it didn't look good - it looked like it did before. But I went to the "Calendars to Display" and to my amazement it displayed many of my calendars! I went back and events were filling in as the background sync was taking place. I'M BACK!!!!
Thanks.
Click to expand...
Click to collapse
Hi, all. I followed all the instructions in this thread twice because I'm having the same issue and no luck. The "Calendars to Sync" is still spinning endless on the "Loading..." screen. I'm on stock Note 3 and have root. I even deleted all the files from /data/dalvik-cache. Any other suggestions? My issue is just the calendar sync as well. All the apk and other files mentioned here have been placed from the downloads that were provided. I'm totally dependent on my multiple calendars and dead in the water here.

dledge said:
Hi, all. I followed all the instructions in this thread twice because I'm having the same issue and no luck. The "Calendars to Sync" is still spinning endless on the "Loading..." screen. I'm on stock Note 3 and have root. I even deleted all the files from /data/dalvik-cache. Any other suggestions? My issue is just the calendar sync as well. All the apk and other files mentioned here have been placed from the downloads that were provided. I'm totally dependent on my multiple calendars and dead in the water here.
Click to expand...
Click to collapse
I also was unable to follow this procedure with any success. I'm trying to get Google Calendar working again on my Sprint Galaxy S4 running 5.0.1 rooted stock. When I put seccalendarprovider in the app folder I get a crashy Calendar Storage (unusable). When I put it in a subfolder of priv-app it just says that Calendar Storage is disabled. When I just dump it straight into priv-app it's also crashy and unusable.

Related

contacts apk not present wt-pad012

i have a tablet wt-pad012 by indiaworldtech dot in its rooted and it has contactsstorage.apk so can put backup contacts via go contacts but cannot add individually so need contacts.apk ics 4.0.3 i have tried using copying to system/app and reboot and also using root unistaller to install as system app with premission rw-r-r but none work the apk is not installing not showing up in app drawer and setting so plz help me
same issue, different tablet
Same issue, different tablet. mine is called a "WonderMedia M-270" according to google play.
Got it at black friday. Works great, it will even make a phone call over WiFi.
But since it was never meant to be a phone...or someone just screwed up, there is not contacts.apk. That means that when I am in an email program, none of my addresses show. In a chat program, I even have to type out each and every contact before I can send to them.
This is VERY frustrating indeed.
any help? I have several Contacts.apk I have downloaded. But since this is not a rooted device, it will not allow me to install or place this in teh appropriate folder.

Razr M, no google account for contacts

Hi All,
Long time reader, first time poster (hopefully in the right section). I am an absolute novice so please bear with me. I rooted my Razr M (XT905) to remove a bunch of the pre installed apps.
All worked fine and phone runs great. But I cant import my contacts from my google account. Gmail and app store syncing works fine, just contacts are missing.
When I access the options menu in the contact section, google isn't showing. When I look at the accounts in the settings menu, the google account is there and has the option checked to sync 'people details' (guessing this is the same as contacts).
So I'm guessing I've deleted something when removing the apps.
Any ideas as to what I might have done and how I can fix this?
Appreciate any help.
csingh01 said:
Hi All,
Long time reader, first time poster (hopefully in the right section). I am an absolute novice so please bear with me. I rooted my Razr M (XT905) to remove a bunch of the pre installed apps.
All worked fine and phone runs great. But I cant import my contacts from my google account. Gmail and app store syncing works fine, just contacts are missing.
When I access the options menu in the contact section, google isn't showing. When I look at the accounts in the settings menu, the google account is there and has the option checked to sync 'people details' (guessing this is the same as contacts).
So I'm guessing I've deleted something when removing the apps.
Any ideas as to what I might have done and how I can fix this?
Appreciate any help.
Click to expand...
Click to collapse
You should have a contacts sync option in Google acount. Maybe you deleted GoogleContacstSyncAdapter.apk or ContactsProvider.apk from /system/app folder
meatboy371 said:
You should have a contacts sync option in Google acount. Maybe you deleted GoogleContacstSyncAdapter.apk or ContactsProvider.apk from /system/app folder
Click to expand...
Click to collapse
Anyway to restore them?
csingh01 said:
Anyway to restore them?
Click to expand...
Click to collapse
Which android version are you using? I'm attaching 4.4 version apks for you, but I'm not sure if it will work with previous Android versions. Put the apks in system/app folder (ContactsProvider should go to system/priv-app if you're on Android 4.4), change permissions to 644 (see attached image) and reboot.
If those don't work, try searching for apks from the same Android version as yours. You can find it in xda.
Please reply if it worked or not cause another user can try and help you too, but i hope it helps bro.
meatboy371 said:
Which android version are you using? I'm attaching 4.4 version apks for you, but I'm not sure if it will work with previous Android versions. Put the apks in system/app folder (ContactsProvider should go to system/priv-app if you're on Android 4.4), change permissions to 644 (see attached image) and reboot.
If those don't work, try searching for apks from the same Android version as yours. You can find it in xda.
Please reply if it worked or not cause another user can try and help you too, but i hope it helps bro.
Click to expand...
Click to collapse
Thanks for the replies. Using 4.1.2.
When I've tried to copy the GoogleContactsSyncAdapter file using ES File Explorer, I get the message in the attached screenshot. How do I get around this?
Gotta mount the system as Read/Write(should be something similar to this: On the left hand panel "Tools->Root Explorer->Mount R/W" then pick your preferred options.) , and make sure to change the permissions once you move them there (here's a short little video guide - older ES, but same idea: https://www.youtube.com/watch?v=-hhXuQ0_B28).
I also hope you aren't trying to use the ones posted here for this as it surely won't work properly.
Did you make sure to see if you were actually missing those apps?
Thanks again for the replies.
All good now. Flashed the pacman 4.4 update with the correct apps and all working.
Only problem now is wifi wont turn on. When I toggle it on, it stays grey and no networks are detected.
Any suggestions for this issue?
Never mind, all sorted, thanks again

Contacts lost after recovery with Android SDK!

yesterday I had to bring my samsung s6 edge, running on android 5.1.1 (non-rooted), to a samsung service point because the display was broken. I was wondering that they immediately repaired it and whyever made a factory reset. anyway, right before I made a backup with android sdk. afterwards I tried to flash the recovery and it seemed to be working. almost all files, apps and settings were back on the phone but the contacts. even the numbers in the dialling lists, only without names. the funny part is, that some of the names were displayed for e few seconds when I scrolled down the list. but then they immediately changed to numbers without names
I already extracted the backup file, but there is no file with this describtion: /data/data/com.android.providers.contacts/databases/contacts2.db
there is also no other backup of the contacts, such as vCard export, google sync, outlook sync, etc.
Is there any way to get my contacts back??
thank you!
default
defaultuser_83 said:
yesterday I had to bring my samsung s6 edge, running on android 5.1.1 (non-rooted), to a samsung service point because the display was broken. I was wondering that they immediately repaired it and whyever made a factory reset. anyway, right before I made a backup with android sdk. afterwards I tried to flash the recovery and it seemed to be working. almost all files, apps and settings were back on the phone but the contacts. even the numbers in the dialling lists, only without names. the funny part is, that some of the names were displayed for e few seconds when I scrolled down the list. but then they immediately changed to numbers without names
I already extracted the backup file, but there is no file with this describtion: /data/data/com.android.providers.contacts/databases/contacts2.db
there is also no other backup of the contacts, such as vCard export, google sync, outlook sync, etc.
Is there any way to get my contacts back??
thank you!
default
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist. To get you the best help, I'm going to move your thread to your device's Q&A forum.

Google Account disappears, can't add back

Hey,
today I needed to turn off my phone to swap battery. On turning it back on, my Google account wasn't there anymore, a notification said "due to changes to your account you have to sign in again". But signing it just won't do it. It doesn't fail, I come to the accepting terms and conditions, but when accepting the app just closes, the account isn't created so it seems that whatever app is responsible for that just crashes for no reason without any notification. The strange things: in the process I can see only the arrow in the bottom right, not the words "next" or "accept" (at the last page), only when I tap on them I can see them. And I had no accounts.db under /data/system/users/0. Now I have that file via TB restore. And I now see, after reflashing my ROM (by wiping /system, cache and dalvik-cache in TWRP and flashing the ROM) that I also have under /data a system_ce (with accounts_ce.db) and system_de (with accounts_de.db and accounts_de.db-journal), but I don't know if I had them before the TB restore or the ROM reflashing (having english (US) and german (germany) as system languages).
No solution form anywhere else was helpful. I froze AdAway with TB, deleted /system/etc/hosts, deleted data from PlayStore and PlayServices with multiple reboots and the mentioned reflashing, nothing seems to help.
I'm running Emotion ROM based on CM 14.1 on my Note 4 N910F with latest modem and bootloader I can find. Since I don't know how far that could be ROM or CM related, I'm posting that problem here. I have absolutely no problems logging in with my account on my desktop PC via browser, even logging in on google.com from chrome on the phone is no problem. But filling in the infomation either initiated over system settings -> accounts or by opening PlayStore, I pass everything but the account is not under the accounts section and PlayStore would just open again with the login page.
Anyone any idea how to fix it? Here is a logfile of me trying to log in.
UPDATE: Just did a TWRP restore. Did not help! Going to ask Google meanwhile since it might not be a problem with my device...at least if I can find out where to do so.
PS: just looked into my account settings, it seems to recognize that I log in to my device, but that's it. Disconnectiong the device from there and trying again also doesn't work.

Failed to Restore Whatsapp Database after migrating from STOCK to LineageOS 14.1

I'm struggling with something that never happened to me, I'm unable to restore my database to my recently upgraded Samsung J3 2016 - is running LineageOS 14.1 now
The phone was running stock Android 5.1.1, version J320FXXU0AQI1, nothing fancy here.
Made some research about what ROM to use and decided to upgrade to LineageOS 14.1, I'm really sick and tired of Google spying my steps, my contacts and the number of times i take a piss every day, and so on. Right now I don't have any Google account associated with the mobile (could this be the problem, since this is a custom ROM?)
Everything ran smoothly, backed up my contacts, call logs, SMS, pictures and the ENTIRE Whataspp folder. This method always worked fine on several phones I've upgraded or simple swapped equipment to a more up-to-date hardware. Everytime worked like a charm, restored logs, contacts and so on, in what it concerns to Whatsapp i simply moved the ENTIRE folder to the new phone (or upgraded phone), installed the Whatsapp app and is just straight forward for the app to ask me for a SMS code to activate the software and then asked me to restore my backed up database. It has been very simple so far, but not this time:
When it reachs the point to detect and restore my database Whatsapp states that can find one Database from 1970 (???? WTF) with 0 bytes, and after that it fails to restore my data (not strange, 0 bytes is no data). I've already tried earlier versions of Whataspp, tried different databases (there are 7 in my folder, i don't believe all of them are corrupted). I'm reaching 0 ways to explore. BTW, i dont use Google drive to store my backups because its enough for Google to know how many times i take a piss everyday, i rather have the backups with me, on my phone (thanks any way Google), but the files are safe in my desktop and on my phone for now, inaccessible so far but their're there.
Can any one point me some way to try to revive my database? Just a note, i have an older phone that still have Whatsapp there, i didn't erased it, maybe it's there something of interest for this situation?
Thanks so much in advance for everyone that can help, any hint can be helpful.
Update!
I've managed to get another phone, exactly the same, Samsung J3 201 J320F.
I've sent my whatsapp folder to the phone, signed in to my google account, installed whatasapp and, like 98% of the times my backup is ok and is restored. Now I have two phones:
1- one with Whataspp working fine (the one with Stock ROM 5.1.1 J320FXXU0AQI1
2- another one, the main phone, where i want to put my whataspp backup working but it simply doesnt work (previous post). Everything elese is settled and working just fine. Maybe whatasapp doesnt like Custom ROMs??
So, I'm sure that my backups are fine, right now I have access to anything that i may need i guess. I don't believe that Im the first person not beeing able to restore whataspp backups in LineageOS.
Please help
New developments.: I've installed Ressurection 5.8.5, the latest available for this phone. It runs ok, but Whataspp problem is still there, the backup is marked to have 0Kb, somehow Whataspp simple doesn't want to recover my backup if I'm using a custom firmware (I receive a warning about no support from them if I have problems at the beginning of the startup process).
So far this method didn't work (Whatsapp shows my Backup with 0Kb):
1) Copy your latest crypt 12 file to /sdcard/WhatsApp/Databases/
2) Install / Activate WhatsApp
3) WhatsApp will retrieve the key from their server and restore your backup.
I've tried this method that appeared to have some success in same cases. Followed everything but no luck, Whataspp detects a 0Kb backup also.
Meanwhile I still don't believe that I'm the very 1st person that this happens, I'm still very impressed with this. If the OP thinks I'm in the wrong Topic please feel free to move it to the right place, maybe there I'll have better luck.
Not that I have much knowledge in that direction, but the issue sounds more like it is about the file than Whatsapp itself. Maybe some permission issue? If you use a filemanager app like total commander, can it read the file fully? I found a topic that had 0 byte filesize issue and a simple reboot apparently fixed it.
musschrott said:
Not that I have much knowledge in that direction, but the issue sounds more like it is about the file than Whatsapp itself. Maybe some permission issue? If you use a filemanager app like total commander, can it read the file fully? I found a topic that had 0 byte filesize issue and a simple reboot apparently fixed it.
Click to expand...
Click to collapse
Hello musschrott, and thanks for replying.
I've tried moving the database file, erase it, changing it's name and the android system allows me to do it, i think the file itself is free to be read by Whataspp, but your other tip, the permissions in system made me google around (even more..) about it and I found here on XDA this. : "The privacy protection in the drop down menu and the permission in the app settings." (credits to LegoTechniker). On the privacy protection is all ON but in the Permission is all OFF and Whataspp nor the System ask me to turn it ON and it can result on whatasapp reading files with 0Kb from 1970.
I'll give a try but only tomorrow because the code/phonecall from Whataspp have a 48h delay and keeps increasing everytime I try a different method to solve this issue.
musschrott, thanks again!
tomalamix said:
Hello musschrott, and thanks for replying.
I've tried moving the database file, erase it, changing it's name and the android system allows me to do it, i think the file itself is free to be read by Whataspp, but your other tip, the permissions in system made me google around (even more..) about it and I found here on XDA this. : "The privacy protection in the drop down menu and the permission in the app settings." (credits to LegoTechniker). On the privacy protection is all ON but in the Permission is all OFF and Whataspp nor the System ask me to turn it ON and it can result on whatasapp reading files with 0Kb from 1970.
I'll give a try but only tomorrow because the code/phonecall from Whataspp have a 48h delay and keeps increasing everytime I try a different method to solve this issue.
musschrott, thanks again!
Click to expand...
Click to collapse
For everyone and specially those who helped (musschrott).
This has worked for me: giving full permissions to Whataspp in "Settings - Privacy" and in "Settings - Applications" worked like a charm, you have to do it BEFORE you start Whatsapp.
Best regards to everyone and thanks once more!
Make sure the WhatsApp backup file is in internal storage, and rename the backup file to msgstore.db.crypt.
After upgrading to LineageOS 14.1,install WhatsApp.When asked to restore from backup,choose the "msgstore.db.crypt" file.
mango9 said:
Make sure the WhatsApp backup file is in internal storage, and rename the backup file to msgstore.db.crypt.
After upgrading to LineageOS 14.1,install WhatsApp.When asked to restore from backup,choose the "msgstore.db.crypt" file.
Click to expand...
Click to collapse
Yes,
Those are the basic steps, but BEFORE running Whatasapp for the 1st time you have to give permissions in the system to Whatsapp because these are all OFF and the system doesn't ask to turn them ON when the permission is needed, simply presents you a file with 0Kb from 1970 and that's it. Again, you have to do this BEFORE the 1st Whatsapp startup and everything should run well.
Best regards
My issue is I gave full write permissions but then it goes straight to the Google Drive restore and does not show my local backup.
When I followed this by Rahil:
https://www.reddit.com/r/whatsapp/comments/np2zjp
"So today I finally fixed the issue myself
Click to expand...
Click to collapse
Steps: 1)make sure you rename the database as it should be.
2)Install whatsapp
3)Insert your number when asked
4)Use Otp/code
5)Then the app will ask you for google drive permission ,click allow/ok
6)Then the app will ask for contact permission ,simply deny this permission (very important)
7)Then the app will ask for storage permission ,hit allow (very important)
8)Then you will see your local storage behind the popup saying allow google drive and crap You will need to press add account and have your fingers ready for instant tapping between add account and instant tapping restore button ,and out of 10-30 times doing this practice, you will luckily hit restore button, I know this sounds confusing, And I can make a tutorial video if you want ,this works 100%
9)once it is restored ,you will still see app asking google drive option, don't click skip (this will reset the app ,leading to nothing restored) , So when the app is asking to restore from google drive, close the app right away (very important)
10)open the app ,and the app will ask you to set name ,set your name ,and you'll see all your backup"
Click to expand...
Click to collapse
It works but then it shows my local backup as 0k and from 12/31/1969
This is Driving me wild and now I have to wait 12 hrs to try again. Has anyone solved this ridiculous error?
dpoverlord said:
My issue is I gave full write permissions but then it goes straight to the Google Drive restore and does not show my local backup.
When I followed this by Rahil:
https://www.reddit.com/r/whatsapp/comments/np2zjp
It works but then it shows my local backup as 0k and from 12/31/1969
This is Driving me wild and now I have to wait 12 hrs to try again. Has anyone solved this ridiculous error?
Click to expand...
Click to collapse
Did you find a solution to this? I have the exact same problem

Categories

Resources