Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API31 - pico - Conflict between CalendarGooglePrebuilt & calsync #951

Open
tenzap opened this issue Jan 21, 2022 · 2 comments
Open

API31 - pico - Conflict between CalendarGooglePrebuilt & calsync #951

tenzap opened this issue Jan 21, 2022 · 2 comments

Comments

@tenzap
Copy link
Contributor

tenzap commented Jan 21, 2022

Boot doesn't finish and there was this error in logcat

Signature mismatch on system package com.google.android.calendar for shared user SharedUserSetting

logcat suggests a conflict between CalendarGooglePrebuilt which is preinstalled, and CalSync which is installed with the pico variant.

Fix/workaround was to remove CalendarGooglePrebuilt from the device during installation.

diff --git a/scripts/templates/installer.sh b/scripts/templates/installer.sh
index 4ad04ab..bbb0ae4 100644
--- a/scripts/templates/installer.sh
+++ b/scripts/templates/installer.sh
@@ -727,10 +727,14 @@ product/app/WhisperPush@REMOVALSUFFIX@"
 # _____________________________________________________________________________________________________________________
 #                                             Permanently Removed Folders
 # Pieces that may be left over from AIO ROMs that can/will interfere with these GApps
+
+# CalendarGooglePrebuilt -> To avoid "Signature mismatch on system package com.google.android.calendar for shared user SharedUserSetting" when both calsync is installed by opengapps & calendargoogle was already on the system.
+
 other_list="
 app/BooksStub@REMOVALSUFFIX@
 app/BookmarkProvider@REMOVALSUFFIX@
 app/CalendarGoogle@REMOVALSUFFIX@
+app/CalendarGooglePrebuilt@REMOVALSUFFIX@
 app/CloudPrint@REMOVALSUFFIX@
 app/DeskClockGoogle@REMOVALSUFFIX@
 app/EditorsDocsStub@REMOVALSUFFIX@
@@ -762,6 +766,7 @@ priv-app/GmsCore_update@REMOVALSUFFIX@
 product/app/BooksStub@REMOVALSUFFIX@
 product/app/BookmarkProvider@REMOVALSUFFIX@
 product/app/CalendarGoogle@REMOVALSUFFIX@
+product/app/CalendarGooglePrebuilt@REMOVALSUFFIX@
 product/app/CloudPrint@REMOVALSUFFIX@
 product/app/DeskClockGoogle@REMOVALSUFFIX@
 product/app/EditorsDocsStub@REMOVALSUFFIX@
@mfonville
Copy link
Member

Would it be an idea to let the installer check if CalendarGooglePrebuilt exists, and if so, don't install calsync?

@tenzap
Copy link
Contributor Author

tenzap commented Jun 11, 2022

Maybe that could work, not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants