Post Reply

[MOD][CM11][CM10.x] Enabling Facebook Contact Sync In CM rom based

OP cuadedanh

25th December 2012, 08:19 AM   |  #1  
OP Member
Thanks Meter: 146
 
65 posts
Join Date:Joined: Oct 2009
Donate to Me
Cause from IS google disable Facebook Contacts sync so i modified ContactsProvider.apk to enable FB sync in CM10.2 ;cm 10.1 JB rom (tested),Pacrom 4.3 (tested) and maybe aosp rom ( didnt test).

Guide screenshot and credit is :
-->http://niranjanthilak.com/facebook-s...d-ics-devices/
and --> http://www.modaco.com/page/news/_/an...#commentsStart
many thanks!

I modified code and included in ContactsProvider.apk so you dont have to do with contact database by sqlite... all you need is clearing old contacts database. When it first lauchs it will create new proper contact database.
Changelog:
07/04/14: - Rebuild based on latest CM11 M5( 05042014)
- Remove unnecessary script in flash zip.
30/11/13: update for CM 11

02/10/13: fix for Cm10.2. i have tested it in latest cm-10.2-20131001-NIGHTLY on my Galaxy S, it work fine now.


06//09/13: - add support CM10.2 , pls test it and report.
- add support PacRom JB4.3
- make CWM flashable zip file cm10,cm10.1, pls test it. If u have problem, try manual method



26/12: - remove error CWM zip file, now manual install
- change source to CM10 stable, now it work both CM10 and CM10.1
25/12:
- first bug version
Install:
1. Sync contact to backup data to google cloud,
2. Clear old contact database by ->setting->app-> all->contact storage ->clear data (very important)
3. Delete FB account in Setting-> account

4. Backup ContactsProvider.apk in system/priv-app (or system/app if u use cm10)
5. Flash attached zip file in Clock work mode( if u have problem, try manual method: put attached ContactsProvider.apk in system/app override old one, change permission to 644
6. Reboot the device.
7. Resync Google Contact and FaceBook.

In kitkat (cm11) ContactsProvider.apk is in system/priv-app instead of system/app
if no change-> try step 2; 3
if you lauch contact, phone, android process error..-> try step 2 because conflict in old contact data and resync;
if still error, maybe it s not suitable with ur rom, pls restore ur backup in step 4

Donate me if it is useful for you ^^
Last edited by cuadedanh; 7th April 2014 at 04:40 AM. Reason: add CWM flasable zip file
The Following 123 Users Say Thank You to cuadedanh For This Useful Post: [ View ]
25th December 2012, 09:45 AM   |  #2  
Aashuk Mehta's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 892
 
2,303 posts
Join Date:Joined: Sep 2012
More
Does it work on cm 10

please press thanks if I helped you
25th December 2012, 10:01 AM   |  #3  
OP Member
Thanks Meter: 146
 
65 posts
Join Date:Joined: Oct 2009
Donate to Me
Quote:
Originally Posted by aashukmehta

Does it work on cm 10

please press thanks if I helped you

you can backup contactprovider.apk and test yourself, if fc you can copy back original apk
The Following User Says Thank You to cuadedanh For This Useful Post: [ View ]
25th December 2012, 12:40 PM   |  #4  
OP Member
Thanks Meter: 146
 
65 posts
Join Date:Joined: Oct 2009
Donate to Me
fixed bug in automatic create contacts database problem, now it works like a charm
Last edited by cuadedanh; 25th December 2012 at 01:06 PM.
The Following User Says Thank You to cuadedanh For This Useful Post: [ View ]
25th December 2012, 04:58 PM   |  #5  
Aashuk Mehta's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 892
 
2,303 posts
Join Date:Joined: Sep 2012
More
It doesn't work in cm10

can u mod one for cm10 it will be appreciated

please press thanks if I helped you
The Following User Says Thank You to Aashuk Mehta For This Useful Post: [ View ]
25th December 2012, 08:06 PM   |  #6  
865DETH's Avatar
Member
Thanks Meter: 23
 
84 posts
Join Date:Joined: Dec 2011
More
+1 for cm10 compatible

Sent from my Amaze 4G using xda app-developers app
26th December 2012, 02:32 AM   |  #7  
jacksita's Avatar
Member
Salerno
Thanks Meter: 16
 
69 posts
Join Date:Joined: Sep 2012
Is it possible on miui rom 2.12.21?

Inviato dal mio GT-I9000 con Tapatalk 2
26th December 2012, 03:40 AM   |  #8  
OP Member
Thanks Meter: 146
 
65 posts
Join Date:Joined: Oct 2009
Donate to Me
Quote:
Originally Posted by 865DETH

+1 for cm10 compatible

Sent from my Amaze 4G using xda app-developers app

now it work both in cm10 and cm10.1, test it and report here, try install manual, sorry for yesterday errorr CWM zip ( it does not overide old contactsprovider.apk)
The Following User Says Thank You to cuadedanh For This Useful Post: [ View ]
26th December 2012, 04:19 AM   |  #9  
Senior Member
Los Angeles, CA
Thanks Meter: 49
 
545 posts
Join Date:Joined: Nov 2007
More
interested to try this if works on CM10.. thanks for your efforts!
26th December 2012, 10:08 AM   |  #10  
OP Member
Thanks Meter: 146
 
65 posts
Join Date:Joined: Oct 2009
Donate to Me
Thumbs up
Quote:
Originally Posted by cyburke

interested to try this if works on CM10.. thanks for your efforts!

pls try it and confirm here, if FC try to clear data in contact storage app.

The Following User Says Thank You to cuadedanh For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank