yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Budgiebrain994:
Hi there

Awesome job with the app :)

I've followed instructions up to the last step, where Contacts sync is checked, FB set to sync all contacts, it says the sync is running but after a few seconds it stops and there are no contacts in the People app. I have changed the view to Custom to only show Facebook contacts, which is also ticked.

Anyone else having this problem? I'm running on a rooted OnePlus One with CM12, on 5.0.2. Privacy Guard has also been switched off. I can provide ContactsProvider.apk and any logs if it helps. I have also cleared Facebook's data again to try to resync, but to no avail.

Thanks in advance
[Xposed Framework Modules] agentdr8:
Then you may have missed on the OP under Known Issues that for devices running on a rom older than LP, you have to use the FB app v14 or older. Anything newer and the entire contact syncing package and classes are removed.
[Xposed Framework Modules] 0.0:
Same here. With that option selected, all my Facebook contacts are synced :(

sent from my Moto X Pure Edition
[Xposed Framework Modules] voetbalremco:
The "sync only exisiting contacts" doesn't seem to work indeed.

After trying to remove it it f*** ed up my whole Google contacts, linking the pictures to the wrong names.

Had to reset it on the Google contacts website and revert to a backup.
[Xposed Framework Modules] agentdr8:
I updated the module and posted it on the OP and in the repo. I just tested it on a fresh CM12.1 install on my G2 and it seems to be doing what it should be, including syncing just with existing contacts, and pulling down high res pics. The option still won't show up until you've enabled the module and then killed the FB app/processes at least once.
[Xposed Framework Modules] JRJ442:
Pictures look amazing now ?
[Xposed Framework Modules] shuli81:
I'm on Nexus 5 with cataclysm.

Followed instructions in op but not working at all. No contact sync option in fb app or under setting/accounts. As if the module is not installed.
[Xposed Framework Modules] agentdr8:
Enable debugging by creating the files directory in /data/data/com.dr8.xposed.XFBSync/ and place an empty file named debug in it. Then reboot and provide me the xposed installer error.log
[Xposed Framework Modules] shuli81:
https://www.dropbox.com/s/5ocbxrdpmlmfm1t/error.log?dl=0
[Xposed Framework Modules] voetbalremco:
The syncing went fine and the option was available, it just didn't sync the existing contacts but all my Facebook contacts.

I"ll try again later.
[Xposed Framework Modules] agentdr8:
What version of the FB app are you using? It doesn't appear to have the contactsync classes in it.
[Xposed Framework Modules] shuli81:
34.0.0.43.267

Just the regular fb app from the play store.

Edit: got the latest version from apkmirror. Works fine now. Good job.
[Xposed Framework Modules] ts_mpls:
Just saw an update pop up for FB... version 35.0.0.48.273? Any bets on whether it'll break this module? [emoji1]
[Xposed Framework Modules] lasphyxial:
I'm in fb beta testing and works just fine.. Just "sync only existing contacts" does t work as it should
[Xposed Framework Modules] ts_mpls:
Good to know. Thanks!
[Xposed Framework Modules] furboom1240:
Oh, forgot to tell you all - I gutted and destroyed my Facebook page. I'm focusing exclusively on Google+ as the Transit Honchkrow - Fare Boss of My Ride. ???

They signed me off all my devices and sync adapters with no explanation. I asked for one via Secure message, and got no answer. I gave my fifteen friends from #DeflateGate until March 16th. Only five added me to G+. I dumped the rest on March 17th.

I think that should be a reminder that Facebook still can't grip this world with one hand...?
[Xposed Framework Modules] xxsashixx:
hmm

installed the newest Fb app 35.x no contact option to sync on fb app
[Xposed Framework Modules] furboom1240:
It used to be coded in. Facebook removed it. Samsung's SNS adapter has found a way to fix it. Samsung, however, has signed the app and that means its signature must be dismembered if AOSP users are able to use it.

I attached it many posts ago. Seriously, if you broke the Knox-like grip, it'd work...
[Xposed Framework Modules] xxsashixx:
gahh

Why facebook why! Time to use stock debloated rom for the time being :(
[Xposed Framework Modules] imzuhaib:
New bie Here

Can you Plz explain how to Download from where?
[Xposed Framework Modules] RandomPooka:
I thought I was going crazy here. I also don't see a contact sync option for FB in the app or in the system menu Settings -> Accounts -> Facebook
[Xposed Framework Modules] vekkth:
Unfortunately, Facebook sporadically downloads low-res pictures, even after being forced to download proper high -res. I can resync contacts in the morning, get high-res pictures only to find out later that it redownloaded low-res, making this patch unusable for me for now. I can fix it only by resetting "sync contacts" option in fb app and going through process from start, but it gets really old fast - seems like i cant make it to stay properly synced more then for 24 hours.

Thats such a shame, since this is exactly what i need right now.
[Xposed Framework Modules] JRJ442:
It should be in the Facebook app. Settings -> App Settings, scroll all the way to the bottom.
[Xposed Framework Modules] RandomPooka:
That setting doesn't exist for me, even after enabling the module and rebooting. Mine stops at the location PSA

---------- Post added at 09:37 AM ---------- Previous post was at 09:36 AM ----------

Possibly because I'm using the Facebook beta program?
[Xposed Framework Modules] JRJ442:
Possibly. I'm on Facebook version 35. Try using the "stable" version
[Xposed Framework Modules] Vankog:
No, possibly, because you are not on Lollipop.
[Xposed Framework Modules] JRJ442:
This module is for CM10+, so he doesn't have to be on Lollipop I don't think. I'm sure he is anyway. I remember him from the G2 forums.
[Xposed Framework Modules] RandomPooka:
I'm running cm12.1 that I built on June 6. I don't know how much more lollipop it can get. I'm a bit curious about how you came to the conclusion that I'm not on lollipop though. Was it a tarot deck, consulting the bones, or a magic conch?

Do I have a ROM in my signature that I spaced out on and it's misleading?

---------- Post added at 10:25 AM ---------- Previous post was at 10:24 AM ----------

Can't see it from the tapatalk app
[Xposed Framework Modules] Vankog:
Well let me see ...

Maybe, because it's not working with the current versions of the non-Lollipop Facebook app? Could be a reason, right? You sure do understand the word "possibly", do you?
[Xposed Framework Modules] JRJ442:
No, that's not the reason. I'm using version 35 on 5.1.1. Not the Lollipop alpha, and its working fine for me. It could be some with Privacy Guard if he has anything in it disabled for Facebook. Furthermore, how about not commenting unless you're actually trying to help. Instead of asking people if they know what possibly means, with your condescending attitude.
[Xposed Framework Modules] Vankog:
I don't know what's your problem, but you started being snapped for no reason about me actually trying to help.

I told you that the current non-Lollipop Facebook Apps do not work. That's all.

If you have the Lollipop versions then that's fine, but don't be cocky just because I was guessing RandomPooka was not on Lollipop.
[Xposed Framework Modules] agentdr8:
The last version of the FB app that has contact syncing built-in for non-LP devices is v14.x.something. But since we're talking about CM12.1 5.1.1, it should be working. It depends on if the FB app you currently have has the proper contact sync classes. Over the past 3 latest versions, it seems that FB is toying around with taking it out, putting it back in, etc. This is based on what I see when I decompile the apks; some of them have the necessary classes, others don't. I have no control over what FB does to their app. But if you find a version that does work, in my opinion, you should stick with it and not let it auto-update, otherwise you risk losing the functionality.
[Xposed Framework Modules] dherre65:
For me it doesn't stick.

First tried it on CM12.1. It worked at the first time, all my contacts loaded and synced, also in high quality. But when I rebooted, the contact sync was totally gone, or the high quality option was gone and some contact links were screwed up (wrong Facebook person linked to Google contact). Also the option was set to "sync with existing contacts only" instead of "sync all" which I set it to. When I repeated the install procedure everything worked again, untill I rebooted, then it would change and screw up again.

Today I tried with the latest Google factory image. Works great at first, but after a reboot the same thing happens. It gets screwed up and the high quality option goes away.

Am I doing something wrong? Are more people experiencing this? I read more people had the problem of high quality not sticking, but do other people have that the syncing changes? Thank you for reading and possibly a response.
[Xposed Framework Modules] agentdr8:
I know others have posted similar experiences, but I have yet to witness that behavior on any of the devices I've tested this on. Contact merging/joining is handled by the People/Contacts app; as far as I know, the Facebook app has no control over that. How it determines which contact to match up to which FB contact is beyond me. I always assumed it was name-based, and had to be exactly the same.

As for the images reverting to low-res versions, that's likely something within the FB app. On initial sync, it checks the settings that I'm overriding with the module, but on subsequent syncs, it doesn't seem to take that into consideration. This is just my guess though, as the high-res syncing option was never present in any FB version by default, so at best, the functionality might be incomplete.
[Xposed Framework Modules] HiImEd:
The setting below is set to 0 rather than 1 which immediately presents the hi res option for me when I set it manually with SQLite editor; it doesn't maintain a 1 though longterm. I have a 5.1 gpe htc one m8.

/config/gk/values/contacts_sync_android
[Xposed Framework Modules] agentdr8:
Give the new version a try. I added that row to the module. No idea if it'll help with the high res pics reverting, but I can't imagine it'll hurt.
[Xposed Framework Modules] HiImEd:
Thanks for the suggestion. I tried it out and I'm still getting the same low res pics.
[Xposed Framework Modules] agentdr8:
Is the high-res picture setting still visible in the FB settings?
[Xposed Framework Modules] HiImEd:
The contact sync option remains but the high res option disappears.
[Xposed Framework Modules] agentdr8:
What's the current value of that row in the prefs_db?
[Xposed Framework Modules] HiImEd:
I manually set it to 1 and it continually reverts back to 0.
[Xposed Framework Modules] agentdr8:
Thanks. I guess I'd have to dig through the sources to see where the app is setting that value and override it there.
[Xposed Framework Modules] JacobLukeWood:
Hey, I love the plugin! However I can't get it to only sync with my existing contacts, meaning I get hundreds of people I don't care about.

Is there anyway to fix this?

(Moto X 2014 - 5.1 Stock)
[Xposed Framework Modules] fazi78:
Where high res photos gone?

That were in my contacts this morning but now they are back to low res.

sponsored by firmawirlandii
[Xposed Framework Modules] agentdr8:
Read the past few pages. This isn't something I can control, short of making a complete standalone syncing app like HaxSync or Sync.Me, which is out-of-scope for this module.

The FB app is likely overriding the module changes, or not even bothering to check the preference values after the first sync, and just forces low-res pictures on subsequent syncs. I haven't had any time to look into it further. If someone else wants to dig into the issue and suggest a fix, I'd be happy to implement it.
[Xposed Framework Modules] 0.0:
The hi-res pics syncing has been working for me. You may need to unsync with Facebook then resync to get the hi-res pics

sent from my Moto X Pure Edition
[Xposed Framework Modules] joaofoto:
i dont find the contacts setting in the facebook app :/ ...

sorry, my mistake, i I had forgotten to install the attached apk
[Xposed Framework Modules] albmanzi:
I tried with no avail on FB versions 36.0.0.0.something and 34.0.0.0.242 on Lollipop 5.1.1 BlissPop 3.5 (CM12.1 based), thoroughly followed the procedure on OP (Module version 1.2.4) but I get stuck at the facebook settings not having the contact sync options under messenger location services. Am I missing something? Can anyone tell me a FB version number that this module certainly work on? Thx :)

[EDIT] Now I also tried with v34.0.0.43.267 as OP said it was working on post #216: http://xdaforums.com/showpost.php?p=60977891&postcount=216 ....still no sync contacts setting

I don't know what to do :(
[Xposed Framework Modules] HiImEd:
On my phone (GPE 5.1), the default setting for config/gk/values/contacts_sync_android has type = '2' and value = '0' which does not present the high res contact sync option. If I only set the value to '1' the high res picture option appears in the app settings but eventually reverts back to '0' causing contact photos to revert to low res and the option for high res photos to disappear. With a trial and error approach I set the type = '1' and the value = '1' and I haven't lost the high res option since. It's been about 3 days. Before, I would lose the option daily.

Disclaimer: I have no idea what the type column represents/manages so be advised that there could potentially be side effects. I haven't noticed anything yet so I figured I would share.
[Xposed Framework Modules] agentdr8:
Hmm, I can change it to type=1 and see if that helps. I too have no idea what the type column is for, as most of those rows in the prefs_db have type=2.
[Xposed Framework Modules] HiImEd:
Yeah I noticed that too. Your call boss man.
[Xposed Framework Modules] ImpheOtus:
Did the change work!? :confused::D
[Xposed Framework Modules] HiImEd:
Still working for me. If you want to try it out for yourself download SQLite Editor or a variant (if you don't already have it), open the following table data/data/com.facebook.katana/databases/prefs_db and search for config/gk/values/contacts_sync_android . Set type = '1' and value = '1'. That setting along with this module has fixed the low res Facebook contact photo issue for me.
[Xposed Framework Modules] ahunter:
I got SQLite Editor and found table data/data/com.facebook.katana/databases/prefs_db but I can't figure out how to get to config/gk/values/contacts_sync_android . What am I missing? Thanks
[Xposed Framework Modules] HiImEd:
Tap preferences and then use the magnifying glass to search for config/gk/values/contacts_sync_android. The results should only display one row. Tap the row and use the pencil to edit.
[Xposed Framework Modules] ahunter:
Your instructions are fine but I am not seeing the mag glass after tapping preferences. What version of FB are you using? I have tried everything from 33 some thing on up to 35. I had it working yesterday but had the problem with picture res. Now today I can't figure out what I did different to get past the FB settings, I just don't see the menu choice today. So I am starting over fresh. Thanks
[Xposed Framework Modules] HiImEd:
I just updated to 36.0.0.39.166 and expected the config/gk/values/contacts_sync_android setting to reset. The value and type maintained a 1 in each column though and the high res pic option is still available.
[Xposed Framework Modules] ahunter:
Thanks agentdr8, this is great work. So I have everything working but I loaded up the FB ver 35 apk but now it is ver 38*** in the play store. I am wondering if anyone uses the Play Store FB app and if I do will the automatic updates break my config/gk/values/contacts_sync_android changes. I am thinking it will, but after making the changes no big deal. This is the only thing out there connecting to FB on the phone .

---------- Post added at 05:43 PM ---------- Previous post was at 05:26 PM ----------

Got it! Thanks
[Xposed Framework Modules] agentdr8:
Every time the FB app updates on the Play Store this thread gets renewed activity. They just can't leave stuff alone, so updates tend to break the mod. If you're happy with how things are, I'd recommend not allowing auto-updates for the FB app.
[Xposed Framework Modules] ahunter:
Thanks. I just double checked and I actually uploaded the 37 ver apk and I am good. If I did the auto updates I'd forget about the edits & screw up the install procedure, like I did for the last 3 days, leaving me to think that this doesn't work.
[Xposed Framework Modules] dmarden:
This is working great for me, thank you. CM12.1 / OnePlus One
[Xposed Framework Modules] Milamber:
Will this works on Nexus 6 stock with root?
[Xposed Framework Modules] agentdr8:
Maybe. It really depends on which Facebook app you have.
[Xposed Framework Modules] Milamber:
Oh! I thought there was just the one Facebook application. Do others offer contact sync?
[Xposed Framework Modules] agentdr8:
I meant which version of the official Facebook app, and whether that release has contact syncing or not.
[Xposed Framework Modules] Milamber:
I have the latest build
[Xposed Framework Modules] JRJ442:
Latest stable Facebook app (v38) syncs fine for me on my N6. Your mileage may vary though.

http://kryon.smugmug.com/Purenexus/i-bRKJdsk/0/O/OPERATIONPNbanner5x1.png
[Xposed Framework Modules] jasonquejr:
I have tested this on Asus Zenfone 2 CM12.1 with the latest Facebook build without any problems. Facebook contacts synced successfully. The thing is, is there anyway we can make the image a bit clearer? I mean, mine's a bit pixelated. Thanks for this mod! :)
[Xposed Framework Modules] Milamber:
Have you tried Social Contact Photo Sync? It syncs all Facebook contacts with very high resolution photos.
[Xposed Framework Modules] JRJ442:
In the Facebook app you should see an option to Download high quality photos. If you don't, kill the app. It should show up then. Select always for Download high quality photos and remove Facebook data under the sync photos option. Then resync. They'll be high resolution then.

http://kryon.smugmug.com/Purenexus/i-bRKJdsk/0/O/OPERATIONPNbanner5x1.png
[Xposed Framework Modules] jasonquejr:
I tried this but the app was quite confusing for me. Thanks for the suggestion though. :)

---------- Post added at 10:09 AM ---------- Previous post was at 10:08 AM ----------

Thank you so much. It works! High reso images are now synced on my phone.
[Xposed Framework Modules] 0.0:
It works once I understood how to use it. It's a good alternative to the xposed module

sent from my Moto X Pure Edition
[Xposed Framework Modules] ggogolewski:
New Facebook version and new troubles ;)

http://pastebin.com/JUJ6WKq0

FB 40.0.0.17.199

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Xposed Framework Modules] Milamber:
Social Contact sync needs root, but it works and pics are high resolution too
[Xposed Framework Modules] agentdr8:
How annoying of them. Seems the contact sync classes are missing again. Roll back to the previous version and avoid the latest for now.
[Xposed Framework Modules] ggogolewski:
I am testing Facebook Beta version. Now I have 41.0.0.6.131 and everything works well again :)

Nexus 5 with 5.1.1

Wysłane z mojego Nexus 5 przy użyciu Tapatalka
[Xposed Framework Modules] JRJ442:
40 actually syncs fine for me. I removed Facebook data after it updated last night. Synced back just fine.

http://kryon.smugmug.com/Purenexus/i-bRKJdsk/0/O/OPERATIONPNbanner5x1.png
[Xposed Framework Modules] dmarden:
Weird, not sync'ing for me since the latest beta update. Android 5.1.1.

Edit: Scratch that, removed the data, recsync'd, all good.
[Xposed Framework Modules] minibootsmann:
On my Sony Xperia M (CM 12.1) this Module works pretty good, even with the latest Facebook version (not Beta).

At first, I tried "Facebook Contact Sync for Lollipop AOSP/CM12/CM12.1 ROMs", but this crashed my system. This xposed module worked at first attempt.
[Xposed Framework Modules] JRJ442:
On the latest stable 42, I couldn't get the option for always downloading high quality photos to show up at all no matter what I tried. Rolled back to 41, and it worked fine. I detached the market link in TiBu so I won't accidentally update again. Anyone else try 42 yet?
[Xposed Framework Modules] dmarden:
Confirmed for me.
[Xposed Framework Modules] wtcnbrwndo4u:
Can also confirm.
[Xposed Framework Modules] Milamber:
New Facebook missing HD photo:
[Xposed Framework Modules] :
Hi

One person has deleted his phone number from his facebook account.

But when his phone number was in his fb profile , I synced it.

But now because of changing my android system, it has gone from my phones contacts.

How can it be restored?

Is it possible?
[Xposed Framework Modules] agentdr8:
Maybe if you have a Titanium Backup of the FB app with its data, and also the Contacts Provider it might restore that info. You'd definitely want to disable auto-syncing first though on the off chance the restore works.
[Xposed Framework Modules] THEVAN3D:
Cyanogen OS 12.1

Android 5.1.1

Facebook 43.0.0.29.147 (Latest from Play Store)

Xposed Framework latest version for Android 5.1

Sync itself is working, but the High Quality Photos Section is nowhere to be found.
[Xposed Framework Modules] JRJ442:
Yeah, high quality photos hasn't been working since 41 it seems. Kind of looks like they permanently broke that for us. If that's important to you, rollback and don't update anymore. I ended up disabling auto updates for it, and I have a couple of schedules in Titanium Backup run everyday to detach it from the market. Just so I don't accidentally update.
[Xposed Framework Modules] THEVAN3D:
even on old versions the HQ photos sometimes reverted to Low Q.. pls tell me which version is stable enough for daily use without photos changing to low quality
[Xposed Framework Modules] JRJ442:
This is different. I've had older versions revert too. Before you could kill the Facebook app and the option for high quality photos would show again. Then you could remove Facebook data, and resync. Now you can't do that. Trust me I tried it all on the new versions. I think they've changed something killing that option for us. Version 41 stable is the last one high quality photos shows up on. Even that one may revert occasionally. Like I said...just kill the Facebook app. Open it, remove the Facebook data. Then resync if it happens again. You can probably find it on APK Mirror if you don't have a backup of it.
[Xposed Framework Modules] ts_mpls:
Dang, so there's no hope of fixing the high quality photos?
[Xposed Framework Modules] JRJ442:
It's Facebook so who knows. I doubt anything can be done as far as the module goes. It exposes the functionality in the Facebook app itself I think. If Facebook has permanently removed it, it doesn't look good.
[Xposed Framework Modules] ts_mpls:
Huge disclaimer: I've never dug into the Facebook app or Xposed for that matter. But I assumed it was just a slightly different URL it used to grab the image? If so, and I realize that's a big assumption, would Xposed allow you to intercept and change that URL?
[Xposed Framework Modules] JRJ442:
I'm not really sure. Maybe [MENTION=434511]agentdr8[/MENTION] can chime in on it.
[Xposed Framework Modules] agentdr8:
Before the option in the app was discovered, I looked into modifying the existing retrieval of the profile pic during sync and overwriting the URL but never made progress. I can take a look at how the older version handles this and see if it can be replicated in the module.
[Xposed Framework Modules] DSouljah:
That would be great! Good luck. Detaching from Play store is old already. Bit me a few times, had to restore...
[Xposed Framework Modules] hackthis02:
I'm not sure how yet but I got high res pics with the nextest version.
[Xposed Framework Modules] JRJ442:
Yup. They're back for me too. Maybe they just fudged them up on v42. Crisis averted. ?
[Xposed Framework Modules] dmarden:
Not there for me on 44, lol.
[Xposed Framework Modules] JRJ442:
Try killing/force stopping the app. Reopen and see if they show up.