yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] paras33:
plz make this for htc sense 5 based roms as well
[Android Apps and Games] Petert87:
Facebook sync works in MaximusHD as well.
[Android Apps and Games] hunfatal:
No, this is a fix for the official facebook app.

But you can sync high quality pictures with ubersync.
[Android Apps and Games] alexkno:
Working on slimrom slimkat beta 2 for nexus 4. Thanks!
[Android Apps and Games] gylee:
Works on Samsung Galaxy S4 I9500 running CM11.

:good:
[Android Apps and Games] johnb380:
+1

Sent from my Nexus 4
[Android Apps and Games] bk73w:
For starters, works great on M7spr running Cm11! Thanks a lot. And you should change the instructions to disable contact sync for Google first then delete Facebook account, and then clear data for Contact app and Contact app then re-send. Just easier than completely deleting the act.
[Android Apps and Games] anttaz:
Works on CM 11 HTC Sensation Many Thanks.

:confused: Anyway to sync twitter contacts in cm11?
[Android Apps and Games] PenguinJerky:
I used the CM11 apk and it show facebook as an option under contacts to display but showed up no contacts. on OMNIrom build 4.4.2-20140109. Worth a try I thought, although I may have done something wrong
[Android Apps and Games] soder:
I think it was the same for me. Just go and wipe date for the Contact Storage again, and it seems like FB starts the sync after that.

Boring with the low res. pictures though. =(

/Söder
[Android Apps and Games] Petert87:
Is there anybody who solved this problem? The fb fix is great!
[Android Apps and Games] Petert87:
And is there also a fix for facebook calendar sync?
[Android Apps and Games] PenguinJerky:
I did a manual resync but apparently a wipe like you (and the op) of the app data fixed that. Prefer HaxSync for the moment, but that may change ( and I probably only prefer it as all the contacts are already synced).
[Android Apps and Games] chanchal_jain:
Is there any version that I could use for 4.2.2 - I am using a Ported Samsung Note 3 ROM on my SPICE device.
[Android Apps and Games] zviki:
And why you (and many others) need to paste the whole op post?
[Android Apps and Games] Ratzie:
solved acore problem on LG Optimus 4X HD with 10.1.3

Hi guys and girls,

I am new to this. This is the first time i flashed my phone with Cyanogenmod (which didn't go smoothly, but i finally got it to work and it is awesome now!) So please forgive me if i make mistakes in my walk through. I am not a programmer, I try to stay far away from computers as much as I can.

I flashed the CM10-CM10.1.FBSyncEnable-flashable.zip on my LG Optimus 4X HD running CM 10.1.3.

Unfortunately i skipped step 4 and didn't make a backup.

After reboot I kept getting the acore message every few seconds. Couldn't access my contacts either. I did however got it to work and the Facebook contacts are syncing with the contacts on my phone. I am seeing their Facebook profile pics on my phone's contact lists.

This is what I did.

First I flashed it again but this time with CM10.2.FBSyncEnable-flashable.zip. This didnt solve the problem, but at least it stopped the acore messages from popping up all the time. The contacts list was still unaccessable.

Then I used adb to copy ContactsProvider.apk which is included in CM10-CM10.1.FBSyncEnable-flashable.zip to /system/app

I extracted it in the Download folder on my phone.

First enable debugging mode and root access for adb in Settings > Developer options

Plug in to your computer as Camera.

Open a terminal (I'm on Mac OSX).

Check if the device is connected with the following command:

./adb devices

It should give a list of devices attached, probaby just your phone.

start shell as root (If you haven't enabled root access for adb in your settings then this won't work)

./adb shell su

If you try to copy it right away now you will get an error message, first that ContactsProvider.apk that you want to copy is a read only file.

Therefore you'll have to change the permissions to the file first.

chmod 666 /sdcard/Download/system/app/ContactsProvider.apk

This was the location where I had extracted the ContactsProvider.apk. Change this to where yours is.

Now you should be able to copy ContactsProvider.apk. But you'll get another error if you try to copy it now, because the ContactsProvider.apk in /system/app/ is also read only. To get around this I changed the permissions to the entire /system folder:

mount -o rw,remount -t rootfs rootfs /system

I read somewhere that the permissions are reverted back once the phone reboots...so I should be okay after it reboots with permissions? Don't take my word for it though...since I have no idea of what I'm doing!

Now you can copy ContactsProvider.apk to /system/app and overwrite the existing one:

cp /sdcard/Download/system/app/ContactsProvider.apk /system/app

After that I turned my phone off and on again and I could access my contacts again.

After logging in on Facebook I let Facebook sync with my phone contacts. Now I have profile pictures of my friends on my phone :)

I hope this is helpfull to someone. I had dumb luck in getting it right, so unfortunately I can't offer any support...good luck to who tries it!
[Android Apps and Games] atvspecialties:
This worked like a charm on aocp 7 kit kat. Thank you :thumbup::D:thumbup:

SGH-959g
[Android Apps and Games] wiz561:
problem with it

I'm on CM10.2 on a Galaxy s3 (verizon). Everything installed correctly and seems to be visibly there, but I'm having a problem sync'ing. When going through the logcat, I see this...

E/SQLiteLog( 1933): (1) table raw_contacts has no column named is_restricted
E/SQLiteDatabase( 1933): Error inserting sourceid=100001702711372 account_id=2 contact_id=null is_restricted=1
E/SQLiteDatabase( 1933): android.database.sqlite.SQLiteException: table raw_contacts has no column named is_restricted (code 1): , while compiling: INSERT INTO raw_contacts(sourceid,account_id,contact_id,is_restricted) VALUES (?,?,?,?)

Does anybody have a suggestion on how to fix it?

Thanks

EDIT: I cleared the data and removed facebook, started facebook first then sync'ed google contacts... After that, it seemed to work without getting the error message above in the logcat. I also have all my fb contacts back. Thanks!
[Android Apps and Games] Silverslith:
Working but..

I installed this via bootloader on CM11 on my LG E975. It works like a charm but after boot I lost network connection, had to reboot and search for new networks after boot, but that fixed issue.
[Android Apps and Games] xentros:
FB sync work on my Galaxy W with CM11

I follow the step in first page, but it did'nt woks. After force close contact and clear contact storage data again, wait few minute for resyncing, it finnaly works. God job OP. :good:

Anyone know how to add calendar sync? I suddenly forget everyone's bday...:p

My phone spec:

Phone Model: Galaxy W I-8150

CM version: 11-20140117-UNOFFICIAL-ancora
[Android Apps and Games] DJAlik:
Doesn't seem to work on CM11 on T-Mo Galaxy S3. Facebook prompts me to sync with existing and I select that option but a list of synced accounts shows 0.

Update. Cleared cache again and it seems to be synching. Merging is terrible though even for accounts with exact same emails. Have to do a lot of manual Joining
[Android Apps and Games] Mardon:
'Birthdays+ free' from playstore

Gesendet von meinem Xperia Arc S mit Tapatalk
[Android Apps and Games] djprecept:
contactprovider.apk

my file is not in system/app its in system/priv-app/contactsprovider.apk should i move it ?
[Android Apps and Games] Persechini:
you should replace the file in it's original location, according to OP the priv-app folder is used starting with kitkat/cm11
[Android Apps and Games] f0xy:
Do you plan on releasing for omni pal?

Swyped from Tapatalk Pro
[Android Apps and Games] bseos:
I flashed "CM10-CM10.1.FBSyncEnable-flashable.zip" and then got boot loop straight into recovery mode every time.

After trying to extract the file from the zip I get

Unsupported compression method for 'system\app\ContactsProvider.apk'

Please rezip ContactsProvider.apk as its broken.
[Android Apps and Games] pvinayraju2k4:
File is broken try to download again and flash it

---------- Post added at 02:12 AM ---------- Previous post was at 02:06 AM ----------

First restore it and follow this thread http://xdaforums.com/showthread.php...&sa=X&ei=pfLzUvHKDsnloATbkYGoBw&ved=0CCgQFjAA

---------- Post added at 02:14 AM ---------- Previous post was at 02:12 AM ----------

Pls hit thanks if helped
[Android Apps and Games] DzoDellinger:
which cache did you cleared, because i have same issue, everywhere it shows it has sync contacts, but none fb contacts are in people app
[Android Apps and Games] Arkthur:
Worked on CM11

Last year I used your method to unlock facebook contacts sync with CM10.2 and it worked too. The difference this time was an error with android process acore which stopped.

After following your advice of clearing contacts storage data, it worked just fine on my HTC One X CM11 Nightly.

I hope this helps :)

Good luck to everyone, and I hope CM would someday support this.

(If what I wrote sounds weird, it's because I'm still learning English. Excuse me for that :( )
[Android Apps and Games] By.TRabZonLu™:
ContactsProvider.apk and ContactsProvider.odex please... Motorola Razr (xt910) moKee 4.4.2.
[Android Apps and Games] manudduke:
Can this be used in 4.2 canvas 2... Waiting for reply
[Android Apps and Games] zooster:
Is it possibe to add Facebook calendar sync?
[Android Apps and Games] caspboy:
working greater than ever on my desire with cm11;)
[Android Apps and Games] Tirofog:
Tried this on my Galaxy S4 mini with CM11, it enabled FB sync okay but disabled saving of call logs :(
[Android Apps and Games] LG13:
used this for awhile, have it currently on note 2 running CM11 i try to get to the newest nightly and acore force closes. tried clearing contacts storage several times wont go away. Any suggestions?
[Android Apps and Games] JaeKay:
Same here. S4 cm11
[Android Apps and Games] krisman:
Same problem on gs3 with cm11 nightlys.
[Android Apps and Games] zooster:
Same here
[Android Apps and Games] LG13:
There must have been a change in that acore process in order for this many people to have the same problem maybe [MENTION=2120050]cuadedanh[/MENTION] could shed some light on it.
[Android Apps and Games] caspboy:
still working awesome on cm11;)
[Android Apps and Games] Doublepranks:
Agreed! Still working just fine but... Is there any way to make it download higher ress pics? just wondering, thanks.
[Android Apps and Games] caspboy:
i have no clue:o, ask the dev. Hopefully he knows:D
[Android Apps and Games] cuadedanh:
no high res or calendar, 'cause depend on FB, not me :D
[Android Apps and Games] LG13:
what nightly are you on?
[Android Apps and Games] Variac2:
Same problem on RAZR HD with cm-11-20140310-NIGHTLY-moto_msm8960
[Android Apps and Games] Mardon:
[MENTION=2120050]cuadedanh[/MENTION]

FB sync works good with nightly cm11 20140319.

But call history no more working.

So it needs an update!

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] cuadedanh:
oh, maybe change in Cm11 code, let me see in it and rebuild :laugh:
[Android Apps and Games] Mardon:
Also call block lists not working atm. Blocked numbers still can call you...

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] navkri789:
err

Im running on stock CM10 on the HTC desire C.

I just flashed this (no issues there i suppose), got the extra option called sync under facebook in accounts.

It says sync off, and when i click it, it just flashes the sync image for a very short time, and goes back to off.

Any help? thanks
[Android Apps and Games] caspboy:
20140318
[Android Apps and Games] Mardon:
Already did it ;)

Works fine now.
[Android Apps and Games] navkri789:
I tried manual installation as well, it just wont sync... it doesnt FC, it just doesnt do anything
[Android Apps and Games] zooster:
Did you manually change it?
[Android Apps and Games] Mardon:
Changed what?

I patched the updated cm11 ContactsProvider.apk myself to support fb sync and made a flashable zip

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] Raffie75:
Just flash it and it's oke? Do we have to wipe something or clear the contact database?

Btw, i'm not sure but it f-up all my contacts with Whatsapp, had to manually disconnecting contacts... is it just me or did i do something wrong maybe?

Running CM-11-20140322 NIGHTLY
[Android Apps and Games] Mardon:
Same install procedure as the old one here provided in op.

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] dima_vy:
Thanx for this post. It worked for me on Sonyericsson Xperia Mini with CM10. There was just one issue - i performed step 2 again, after flashing the zip file and re-syncing the accounts
[Android Apps and Games] puckshock:
I can confirm this worked on Carbon ROM on the S2. Cleared Contact Providers and Facebook data, and I was able to sync with no issue.
[Android Apps and Games] joe tigercat:
i just successfully attempted this on my desire C. the flash in CWM didn't work.

here are my steps

1. clear contact storage app data

2. clear facebook app data

3. remove google and facebook account

4. overwrite APK

5. set permission 644 (google a tutorial)

6. reboot

7. add google and facebook accounts

8. launch fb app and set app sync settings

9. open people app. contacts all there.
[Android Apps and Games] navkri789:
I just did those, and after half an hour of syncing i got nothing on my contacts list
[Android Apps and Games] Sippi4x4man:
Thanks for this. Working great so far on CM11 nightly for HTC One. I had the same force close error as some of the others. I was able to fix by clearing data for contacts storage and facebook. After I cleared data I went to Accounts-Facebook and the option to sync was there.
[Android Apps and Games] ciberajj:
Worked great on my S3 and CM 11-20140321. Very important to clear contact storage data. Sync is working perfect, but call history is not working anymore... :(
[Android Apps and Games] Mardon:
Its fixed in Version i made.

http://xdaforums.com/showthread.php?p=51289482

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] ciberajj:
Thanks Mardon!!! Already tested and its working perfect! Great job!!!

Enviado desde mi GT-I9300 mediante Tapatalk
[Android Apps and Games] caspboy:
can you make one for the 04/02 nightly? I like this nightly the best:D
[Android Apps and Games] Mardon:
4. February?

Don't have such an old build anymore

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] caspboy:
no no no:laugh: April 2, best nightly ive had:laugh:
[Android Apps and Games] Mardon:
Isnt the one i made for cm11 working on 2nd April release?

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] JakeDHS07:
Yes its working beautifully. In fact it fixed the Facebook issue I was having with Words with Friends using the old zip. It couldn't display my friends before so I couldn't start games with them. Flashed your new one and now it works and they are there! :)

DROID RAZR MAXX CM 11 JBX KERNEL
[Android Apps and Games] ciberajj:
After installing Mardon's mod i have detected that Google Playa services has increased the battery use and now it's even bigger than screen (about 25%). Does it happens to anyothere else?

Enviado desde mi GT-I9300 mediante Tapatalk
[Android Apps and Games] Mardon:
Not caused by fb sync support for sure.

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] cuadedanh:
Im free so i have updated it to latest built M5, i have tested it, it works fine :laugh:

UPDATE:

07/04/14: - Rebuild based on latest CM11 M5( 05042014)

- Remove unnecessary script in flash zip.
[Android Apps and Games] Persechini:
Is there any way to make a version for AOSP?
[Android Apps and Games] cuadedanh:
yes, i can do it but i have only SGS 1, not Nex4 or nex5 to test it, maybe u donate me one :p :laugh::laugh::laugh::laugh:
[Android Apps and Games] Persechini:
hmm, that goes a tad above my usual donation, but I could donate my contactsprovider.apk if that would help.
[Android Apps and Games] Raffie75:
Question...

UPDATE:

07/04/14: - Rebuild based on latest CM11 M5( 05042014)

- Remove unnecessary script in flash zip.

That "Remove unnecessary script in flash zip" is that something you did [MENTION=2120050]cuadedanh[/MENTION] or is it something we should do, if so what is the unnecessary script?

And if i have downloaded just today, like 10 minutes ago, the CM11 M5 do i have to use the CM11.FBSyncEnable-flashable-builtM5.zip??

Thnx in advance

Hmmmm, sorry wrong thread... bedtime for me :silly:
[Android Apps and Games] joe tigercat:
took a couple of minutes for the contacts to repopulate after adding the account again. still no luck?
[Android Apps and Games] soszek:
Is there any option to export synchronized with facebook contacts from my phone Google Contacts Manager?

In other words, I don't want to sync my contacts every time when I change ROM or something like that
[Android Apps and Games] caspboy:
is call history working in the latest?
[Android Apps and Games] Thisismyringtone:
Works great! :)
[Android Apps and Games] Grzesiek1010:
Avatar Photo same pixels...

Wysłane z mojego GT-I9300 przy użyciu Tapatalka
[Android Apps and Games] georgepicu:
Works!

I used Mardon's flashable zip with my Galaxy S2 I9100, running CM11 M5. Works perfectly. It ill take a few minutes to sync ALL the contacts (unless you're on wifi), so don't freak out too soon.

Thank you for this nifty zip.
[Android Apps and Games] rajeshwargola:
Does it work with micromax canvas2? With 4.2.1 or 4.1.2?:confused::confused:
[Android Apps and Games] Danster840:
Hi! I was just wondering if anyone has flashed this right after installing cm11 or is there a particular need to boot up fully before modding?
[Android Apps and Games] CsR0501:
CM 10.2.1 not work! [emoji29]

Enviado desde mi GT-I9000 mediante Tapatalk
[Android Apps and Games] Alcibiade:
Not completely related, but is there a way to have High Res images for the contacts?
[Android Apps and Games] ciberajj:
Not for now... :(

Enviado desde mi GT-I9300 mediante Tapatalk
[Android Apps and Games] skull47:
With the latest fb app v10.0.0.0.20 contacts sync saves high res images for me on beanstalk 4.4+
[Android Apps and Games] Alcibiade:
Good to know, thanks

It probably requires to reinstall your account I guess, but this is tempting.
[Android Apps and Games] shuli81:
Anyone know how to get this working in recent versions of omnirom?

I trying flashing the zip but it doesn't work.
[Android Apps and Games] Mardon:
Patch needs an update for new omnirom.

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] realcyberbob:
Does anybody know if this is possible?
[Android Apps and Games] hindibuff:
Using CM11 m7 on samsung gs3,

Tried installing, facebook works fine but call log doesn't work anymore.

Any ideas?
[Android Apps and Games] quadcore_noob:
I've tried this using a CM10 on a HTC one X.

in account settings, it says that facebook is synchronising, but there's nothing in the contact list.

also, i can't find my gmail contacts, all i have are the phone contacts already synchronised with google (and also lastfm friends)

any idea how to fix this?
[Android Apps and Games] Mardon:
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.

Gesendet von meinem LT18i mit Tapatalk
[Android Apps and Games] usman farhat:
I got the option to sync but the Facebook app is stuck at sync with existing contacts option in app's settings. I can't choose sync all and thus the Facebook account syncs but no contact is downloaded and shown in contacts app.

I'm using CM11 on galaxy note n7000.
[Android Apps and Games] JujuXIII:
I patched ContactProvider.apk on CM11 M8 for my SGS2.

I cannot post link so PM me if you want it.
[Android Apps and Games] usman farhat:
try app called "Contact Picture Sync", you have to manually match your contacts one time and it will directly save the images into the contacts, so you can uninstall the app later and still have the images.
[Android Apps and Games] Aashuk Mehta:
please press thanks if I helped you
[Android Apps and Games] ZeRo2o9:
I did clear data on contacts storage even tried clearing contacts data still doesn't work
[Android Apps and Games] Aashuk Mehta:
I mean can we mod calendar app to sync birthdays

please press thanks if I helped you
[Android Apps and Games] sigarocubano:
Thanks it work. If some apps then not sync as google+ or linkedin, reinstall the app.
[Android Apps and Games] bestfil:
installation

How can I install it? Normall installation fails.

Shall I replace original apk?

Can You tell me how? Stop process and replace? Where is the folder with the original app?
[Android Apps and Games] zsibisi:
Normal install would not work, you would have to replace the original apk.

That file should be in.... /system/app. You would need to use your file explorer and make sure your

root settings are checked to be able to read/write to system files.

Normal procedure for me is copy attached apk that you downloaded.

Use the file explorer of your choice and ensure you can write to system - go to the folder where located.

Find the apk you wish to replace but first rename the apk with a .bak extension on the end.

ie: ContactsProvider.apk to ContactsProvider.apk.bak

Then paste the apk you copied, fix permissions and test. If all is well then go ahead and delete the original apk that you renamed earlier.

Hope it helps,

Z.

Question to the OP, are you going to release an inverted version in the future?

TIA...
[Android Apps and Games] chetasus:
dont work with SuperNexus 2.0

hi there,

this don't work with SuperNexus 2.0 ROM (CM10.1) would you be able to have a look please?

thanks
[Android Apps and Games] cuadedanh:
I tested it in my SGS I9000 official cm10, 10.1 and it works fine. Are u sure ur rom is cm 10.1 and not be modified by the cooker? cause the name SuperNexus 2.0 ROM is not official CM name :D
[Android Apps and Games] chetasus:
according to ROM developer it have latest CM kernel

http://xdaforums.com/showthread.php?t=2076697
[Android Apps and Games] UnitedOceanic:
so did anyone try in in aosp?
[Android Apps and Games] Sunshine live:
Nice thx
[Android Apps and Games] sigarocubano:
Is there a way to obtain high resolution picture of contacts?
[Android Apps and Games] borismanalo:
is there a way to make this work for aokp? tried it but im just getting fc
[Android Apps and Games] pogi1100:
Works perfectly on CM10.1 after clearing Contact Storage app data thanks.
[Android Apps and Games] ankur3290:
getting android.process.acore has stopped message continuously.

Edit : Worked after contact storage cleared. Is there anyway to show contact only with phone numbers?
[Android Apps and Games] zacky86:
And where the menu clearing contact?
[Android Apps and Games] ankur3290:
Go to settings>apps>all>contact storage then clear data
[Android Apps and Games] zacky86:
Thanks, its work on my mini
[Android Apps and Games] hisname:
can't even install app on my cm10.1:(

Sent from my supercharged tank
[Android Apps and Games] ankur3290:
You have to just replace the apk file, no need to install.
[Android Apps and Games] Lolo78:
Hi does it work on CM11S on Oneplus One ?
[Android Apps and Games] surajkala:
Try installing xposed framework And xfbsync module
[Android Apps and Games] Petert87:
Is there also something availeble for Twitter sync?
[Android Apps and Games] luilly:
+1

Enviado desde mi GT-I9300 mediante Tapatalk
[Android Apps and Games] big.boss:
can you give me link..?