[Solved?] Hide my contacts to AlienDalvik (instead of cloning ALL the SFOS contacts)?

I know, it is dirty.
But having read all the threads* asking to separate cleanly SF form Android since so long, it’s time to find something by ourselves.
I tried such things like what you say but the app I used to test, Google Contacts, stayed frozen on the first screen.

I also tried to play with the SF db, change some flags…no way, it imports.

But I think I found a dirty workaround to not reveal my contacts to Android.
To check wether it was working, I installed Google Contacts and Whatsapp.
I Started Android support and couldn’t find my contacts in Google Contacts or Whatsapp neither.

Would someone try this so I can tag as [Dirty Solved]?

I noticed that contacts were synced during the starting phase of Android Support.
So I added a line into one of the starting scripts to change the owner of the contacts db to root.
And at the beginning of an end-starting script, I added to change it back to normal owner.

Works for me so long.
The remaining question is:
Does AD sync the contacts from time to time while it is on?
I should wait some days with AD on before to post but…you know, too exited.

How:
as root, edit /usr/sbin/start-aliendalvik.sh and at the beginning, insert:

chown root:root /home/defaultuser/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db*

Then, edit /usr/sbin/alien-post-startup.sh and at the beginning, insert:

chown defaultuser:996 /home/defaultuser/.local/share/system/privileged/Contacts/qtcontacts-sqlite/contacts.db*

To test, one can add a new contact then start AD to check if it is seen in the Android contacts side.

‘*’ threads found after creating this one…well sorry

1 Like