yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] mew1033:
Thanks for the file, unfortunately it didn't work. The same thing happened again, Facebook didn't change at all.
[Android Software/Hacking General [Developers Only]] pogi1100:
Huh, that's weird. If you don't get the sync screen from Facebook, you can manually check the sync settings in the app itself.

Facebook App -> App Settings -> Sync Contacts -> Sync all
[Android Software/Hacking General [Developers Only]] mew1033:
It's not there... This is quite strange. Haha, I wonder what's going on. You're running a Nexus 5, stock 4.4.3?
[Android Software/Hacking General [Developers Only]] pogi1100:
It's the bottom-most option, scroll all the way down :p. I'm running Carbon ROM 4.4.3, ElementalX 0.43, Nexus 5.
[Android Software/Hacking General [Developers Only]] mew1033:
Nothing there either:

Did the Carbon Rom guys do something else to modify it? I was running carbon a while ago, but I switched back to stock cause I thought it'd be more stable. Has Carbon been running smoothly for you lately? And can you update it with new nightlies on a semi-regular basis? I dirty flashed a new nightly and my phone freaked out...
[Android Software/Hacking General [Developers Only]] pogi1100:
Hm they may have, but I'm not sure. I did find that the contacts2.db file had already been edited and all I needed to do was modify the GoogleContactsSyncAdapter.apk. I really have no idea why it's not working on your end O.o

Here is what my FB app settings look like:

http://i.imgur.com/J5ATiP4.png

Yea Carbon ROM has been running very stable the last few days, no issues yet. The CarbonDelta update system (similar to OpenDelta) allows me to update regularly with no issues. My only gripe is the REALLY slow mirrors they seem to be using for hosting their ROMs.
[Android Software/Hacking General [Developers Only]] mew1033:
Well, if I can't get this working, maybe I'll give it a shot again. How exactly does CarbonDelta (and OpenDelta for that matter) work? What if I modify a system file? Will my modifications persist through the deltas? Do you update every day?

Wait, do you have Facebook Home installed?

Haha, so many questions! Thanks again!
[Android Software/Hacking General [Developers Only]] pogi1100:
It depends, basically what OpenDelta/CarbonDelta does is it calculates the difference between the next nightly changes and your current nightly, so it doesn't have to download the entire update (which is usually around 200MB) and only downloads the updated files.

For more info:http://omnirom.org/general/opendelta-brings-incremental-system-updates-omni/

So in other words, if you modify a system file, it MAY get overwritten by and updated version in the next nightly. It all depends whether it was updated or not. This is part of the reason why I'm interested in making an Xposed module for this.

I update when I can, yea.

No, I do not have FB Home installed.

You're absolutely sure that your contacts2.db is modified correctly?
[Android Software/Hacking General [Developers Only]] mew1033:
I think so... It should have a column is_restricted at the end, right? after sync4?
[Android Software/Hacking General [Developers Only]] pogi1100:
That's right. have you tried clearing Google Contacts Sync's data under "Apps -> All" in the Settings?
[Android Software/Hacking General [Developers Only]] mew1033:
I just cleared it. I actually hadn't been clearing Google Contact Sync. I was clearing Contact Storage.

Either way, it didn't work.
[Android Software/Hacking General [Developers Only]] pogi1100:
Dang, okay I got one more thing to try for you then I gotta go to sleep because it's late :(. Try deleting contacts2.db (make a backup first) and reboot your phone. When you boot up, go into Terminal Emulator and manually type that sqlite database command in the guide.
[Android Software/Hacking General [Developers Only]] mew1033:
I still couldn't get it to work... Thanks for your help! I'll probably be jumping back to Carbon soon. THEN I'll use this mod again.

Any way I can help with an xposed module?
[Android Software/Hacking General [Developers Only]] pogi1100:
I haven't really looked into it, but I've been pointed to this as a resource. Anyways, I'll try making one sometime, it's not too much of a hassle right now until my GoogleContactsSyncAdapter.apk gets updated constantly. When I have time I'll look into making one.
[Android Software/Hacking General [Developers Only]] freedomtigers:
hi i tried that tooo

not working with micromax canvas hd a116 with 4.2.1 rom

is there any stable kitkat ROM for a116 ?
[Android Software/Hacking General [Developers Only]] agentdr8:
I took a look at the ContactsProvider.apk that is included in Carbon Rom. It already includes the arrays.xml with a single entry for unrestricted_packages (com.facebook.katana), as well as a method within ContactsDatabaseHelper that inserts the is_restricted column if it doesn't exist. In theory, FB sync should work out of the box on Carbon Rom.

Compared to the ContactsProvider.apk you sent me from the stock rom, which doesn't have either entries. What's odd is that I can't find a reference to that array within the java source of ContactsProvider, so I'm not quite sure how it's being used as a means of access control. Other ContactsProvider.apks, like the one from my HTC One, have a method to check that array to determine if a package name is listed prior to giving access.

That being said, I'll have to rethink the xposed module, as I'm not quite sure if there's a way to inject an array into the package when no method actually requests it.

EDIT: I did some more digging and it appears that the check for the unrestricted_packages array is actually done within the Facebook application. I should have something to test here shortly. Check your PM.
[Android Software/Hacking General [Developers Only]] igacek:
So I can't seem to get this to work either. I am using the Google Play Edition ROM on my Galaxy S4. I tried to do the sqlite3 command, but Terminal Emulator simply says "sqlite3: not found". I'm not sure how I can get around this since the first half of the steps didn't enable contact sync.

I'd appreciate any help.
[Android Software/Hacking General [Developers Only]] agentdr8:
You need root and busybox.
[Android Software/Hacking General [Developers Only]] mew1033:
Thanks. I'll take a look at it when I have a few free cycles.
[Android Software/Hacking General [Developers Only]] Persechini:
So, can anyon helpe me out? I have a few questions about this whole procedure:

1. Is this something that will work on stock kitkat or require a custom ROM?

2. the OP states to create a folder called "value", but in the post he linked it states "values", which one is correct?

3. how do I know if I should use ContactsProvider.apk (/system/priv-app) or GoogleContactsSyncAdapter.apk (/system/app)? This is not stated in the OP

PS: an exposed module to deal with this mod would be amazing!
[Android Software/Hacking General [Developers Only]] agentdr8:
EDIT: I'll try and answer the other question for future reference:

1. Most OEMs have their own launcher and frameworks, which sometimes are modified to provide pre-ICS FB syncing. Custom roms allow chefs to put whatever they want into it, including support for FB sync.

2. It's 'values' (plural)

3. Based on what I could find within the FB app, this method is what is used to determine where it finds the unrestricted_pacakges array:

public static boolean a(Context paramContext)
{
boolean bool = false;
ProviderInfo localProviderInfo = paramContext.getPackageManager().resolveContentProvider("com.android.contacts", 0);

The ContentProvider for com.android.contacts should be ContactsProvider.apk, but it's possible that was something else at one point.

PS. Give this a try and let me know if it works for you.
[Android Software/Hacking General [Developers Only]] pogi1100:
Oh okay, I see why it isn't working for some people now. This guide doesn't actually do anything at all. The FB sync was already built into Carbon and I just didn't notice.

Also, I appreciate you taking the time to make an Xposed module.

Cheers.
[Android Software/Hacking General [Developers Only]] Persechini:
Hey, thanks for the answers!

1. What I mean by stock is google's aosp firmware for nexus (I'm using 4 and 7 (2013) with 4.4.4), so I imagined it would be pretty close to the more popular CM-based roms, but it seems some ROMs have indeed modified the related files

2. Maybe this is one of the reasons I couldn't get it to work, i tried with "value" (on contactsprovider.apk). I did try to follow the linked Niranjan's guide quite a while ago, maybe on 4.3, but didn't get it to work either.

As for the module, the option to sync contacts did show up on the facebook app, but the checkbox to sync facebook contacts under account settings didn't, neither any option to view facebook contacts in the contact app. In the account setting for facebook the 3dot menu did show "cancel sync" as an option, but I waited until it started showing "sync now" again and nothing changed. I'm currently rebooting again and clearing cache to check out what happens

[EDIT] nope, reboot and cache clearing didn't change anything
[Android Software/Hacking General [Developers Only]] agentdr8:
I didn't mean to come off sounding like this thread wasn't useful OP; quite the contrary. I was just trying to help mew get an xposed mod going that could replicate the steps done here.

---------- Post added at 09:08 PM ---------- Previous post was at 08:58 PM ----------

I'll see if I can find how the GoogleContactsSyncAdapter plays into the FB app.
[Android Software/Hacking General [Developers Only]] agentdr8:
I flashed my old OneX with CM11 and figured out what was wrong. I inserted the incorrect column type into the database. I fixed that up and now it's working. See images.

I'll post up the module in its own thread under the Xposed Modules sub-forum.
[Android Software/Hacking General [Developers Only]] Persechini:
cool, can't wait :)
[Android Software/Hacking General [Developers Only]] agentdr8:
Xposed module can be found here.
[Android Software/Hacking General [Developers Only]] freedomtigers:
do i need a busy box installed on my micromax canvas hd a116 to run that command ?
[Android Software/Hacking General [Developers Only]] agentdr8:
I believe so. sqlite3 is usually located in /system/xbin, but it appears to be a standalone binary, not a symlink from busybox. If it doesn't come with busybox or the rom itself, I'm not quite sure where you would get it from (other than build from source for your architecture).
[Android Software/Hacking General [Developers Only]] Persechini:
sorry, wrong thread
[Android Software/Hacking General [Developers Only]] kinglifer:
Ok... None of those files are in my phone.

in /system/app/ folder on my phone there is no ContactsProvider.apk OR GoogleContactsSyncAdapter.apK. has anyone else have that happen?

Thanks.
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
Hi im wondering if theres a flashable theme chooser apk out there for any custom rom.
[T-Mobile Samsung Galaxy S II SGH-T989] grannyrogers:
http://db.tt/Sg9XyP9n here is theme chooser apk. Try installing normally or put in system/app with root explorer
[T-Mobile Samsung Galaxy S II SGH-T989] tongueman87:
Looking into it
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Here is a flashable zip
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
OK great I will try it
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
The flash didnt work it said the flash was aborted
[T-Mobile Samsung Galaxy S II SGH-T989] tongueman87:
Try redownloading could be a bad download. Or incompatible software
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
Guess its incompatible cuz I redownloaded it and still said aborted
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
I Will try to upload a newer version today.
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
New ThemeChooser flashable zip
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
Ok so this zip flashed :) but theres no shirtcut or nothing on my home screen or in the app drower
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
It won't be it should be in your settings. If not you might have to use your framework.jar with it. Takes some work but check your settings and see if you see a theme chooser section anywhere.
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
Cant seem to find a theme chooser section in the settings
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
You on jb or cm rom?
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
Jb
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
Thats weird should show up. But i studied and found out it's hard to make a theme chooser zip because it's tied into the framework of the rom. So might have to do more work on a universal flashable zip. I am trying though to see what I can come up with though.
[T-Mobile Samsung Galaxy S II SGH-T989] tongueman87:
That would be awesome I wonder if any would work with ics
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
Thanks a lot for your help :) appreciate it
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
That would be awesome sounds like its not a very simple process
[T-Mobile Samsung Galaxy S II SGH-T989] Project: Awesome:
Won't work. You have to modify settings.apk, services.jar, and android.policy.jar. the apk alone won't do anything.
[T-Mobile Samsung Galaxy S II SGH-T989] richardlibeau:
That what I thought
[T-Mobile Samsung Galaxy S II SGH-T989] SamsungGalaxzS2x:
Ueah knew It couldnt be done with the stand alone apk
[T-Mobile Samsung Galaxy S II SGH-T989] Microman1934:
it wont work in any rom, you need to do extensive framework changes in the source code, if you want check this out:

http://ajqi.com/theme-your-stock-rooted-rom-just-like-cm-theme-chooser/
[HTC Pico (Explorer)] shanalikhan:
Hi

I am using htc explorer and nextgen rom custom

I have set all things in m2sd to enable as a menory card

And my internal memory is free to almost 144mb

But phone becomes slow.

Since then when i continouse use many app of my phone at one time its screen turns off autimatically and screen buttons i mean 4buttons still enlighted.

When i try to press power button . Nothing happens

Need help

Thanks
[HTC Pico (Explorer)] Neel.Aryan:
Your phone gets hanged.

So, first check if your sd card's condition is ok. If it's fine, then check if it's class 4 or higher(cuz it means higher data transfer rate).

Secondly, use Advanced Task Killer to kill apps excessively running & consuming ram space.

Thirdly, it can be a bug in rom (maybe, i m nt sure as i haven't yet tried this rom).
[XPERIA X10 Q&A, Help & Troubleshooting] farazk86:
Hi,

So this is what happened. I installed DoomKernel v06 kernel to try it out with DonutHD. Obviously I had to install wifi module to make it work.

I did not like to kernel and flashed the stock kernel back.

Now the problem is that wifi does not work. It gives "error" when enabled. How do I fix this? Do I have to install some stock wifi module?
[XPERIA X10 Q&A, Help & Troubleshooting] farazk86:
nevermind... found it here: http://xdaforums.com/showthread.php?t=1254322
[XPERIA X10 Q&A, Help & Troubleshooting] harviak:
1. flash kernel

2. install rom

3. install wifi modules

it should work, because I use doomkernel and Im doing it this way with no problems
[Sprint HTC EVO 4G LTE] jlechner:
Running CM at the moment, but I have tried SEVERAL roms. I'm starting to think the micro-usb port of my phone is jacked. Because I can't get ANY pc to do anything be it in recovery, bootloader, or running any rom. Also tried several usb cables. Tried SEVERAL drivers also. But all's I get is "device not recognized" in the windows popup and in device manager it says "unknown device" under usb.

Thoughts?
[Sprint HTC EVO 4G LTE] Spyderekz:
Take it to the sprint store and tell them the USB on it is broke, in fact you can break it more if you wish. When they run their test they will see its broke, flash stock rom on it and see its STILL broke, and give you a new phone.
[Sprint HTC EVO 4G LTE] jlechner:
That sucks. Was hoping for some kind of fix. Guess I'll call Sprint monday.

Sent from my EVO
[Sprint HTC EVO 4G LTE] DooneyInThaA:
I wanted to try and modify a sense 4+ skin. Pretty much just get the matte skin back with blue instead of green. Anyone willing to help me out?
[Sprint HTC EVO 4G LTE] celticking:
Sounds like you can take the old matte skin from sense 4/4.1 and use it. Could always download a pre-jelly bean ROM and swap the skins.
[Sprint HTC EVO 4G LTE] DooneyInThaA:
Thanks for the reply? Will the sense 4 skin from ICS work for JB?
[Sprint HTC EVO 4G LTE] dased14:
short answer no it will not

but go to superjelly rom in og dev section and look for my post i have a couple that are modded matte skin no green and i beleive il duce does as well.

to do your own you will need vts to edit m10 files

http://www.virtuous-ten-studio.com
[AT&T LG Optimus G] samomamo:
Hi. When I connect the phone to TV with MHL adopter the WiFi stops working. Is anyone having the same problem?
[AT&T LG Optimus G] Dr0!dFreek:
WiFi works fine for me
[AT&T LG Optimus G] samomamo:
Did you connect to TV and did you try Bluetooth mouse maybe its interfering with Bluetooth?
[AT&T LG Optimus G] gjgcomputers:
RE:

Could it be temperature? I have read in other threads that the kernel of this device disable some features when it's temperature is getting too hot (like brightness for example).
[AT&T LG Optimus G] ewcrider:
I'm not sure about Wi-Fi, but I lose cell service.

Sent from my LG-E970
[AT&T LG Optimus G] radhames562:
can someone send me the link of mhl adadter
[AT&T LG Optimus G] TheChemist187:
What MHL adapters are you guys using? I bough one with it does not seem to work, I thought all MHL adapters are the same hence the name.
[AT&T LG Optimus G] ewcrider:
The most common issue people have is not supplying sufficient power to the adapter. You need to provide external power to the adapter itself. With the box type, there's generally a microusb port on the side for your phone's wall charger. Additionally, some people report the order of connection matters. Try different permutations of connecting adapter power, hdmi to TV, and the phone connection. Finally, some Samsung MHL adapters use a slightly different microusb connector. I'm not sure that even fits in other phones.
[AT&T LG Optimus G] c5satellite2:
Some newer TV's have HDMI ports designated MHL that work with regular microusb to hdmi cables, no external power supply needed, because the port provides 500ma. Check the back of your TV, you might get lucky. It is usually the last HDMI port and will be labeled MHL.
[RAZR i Q&A, Help & Troubleshooting] GustavoBfv:
Hello guys, I'm Brazilian, sorry my english, I'm not able to play gta vc in razr i passes a trailer, is a white screen and the game closes, anyone know what might be, or some way to fix it? Thanks des for now!
[RAZR i Q&A, Help & Troubleshooting] Vistaus:
Apperantly, it's marked as incompatible with the Razr i: http://xdaforums.com/showpost.php?p=36593519&postcount=55
[RAZR i Q&A, Help & Troubleshooting] GustavoBfv:
Ok, have some link with firefox it take?

thanks!
[RAZR i Q&A, Help & Troubleshooting] tatazeuz:
I suppose you want a link to Firefox

http://www.android-x86.org/download/fennec-20.0a1.en-US.android-i686.apk?attredirects=0&d=1
[RAZR i Q&A, Help & Troubleshooting] GustavoBfv:
Thanks, firefox not wheel flash player? aki are not catching!?
[RAZR i Q&A, Help & Troubleshooting] yuripg1:
Man, please! If you are going to use a translation tool, at least make sure to write in proper portuguese. Otherwise it will produce nonsense sentences.

Write what you want in portuguese here so me or any other user who undestands it (in case I somehow miss it) can translate it.

PT-BR: Cara, escreve o que tu quer em português mesmo. Esse inglês traduzido tá horrível. Tradutores esperam um português correto, sem "des de" nem "aki".
[RAZR i Q&A, Help & Troubleshooting] GustavoBfv:
Ok sorry, you know what the best rom for the razr i modified for games? and the launch of the jelly bean can do these games get the razr i?

Ok desculpe, sabe qual a melhor rom para o razr i modificada para games? e com o lançamento do jelly bean possa fazer esses games pegar no razr i?
[RAZR i Q&A, Help & Troubleshooting] yuripg1:
Drivers-wise, I believe all the ROMs available are the same, so I don't think you will get some performance boost picking one or another ROM. And a Jelly Bean ROM won't affect (let alone improve) app compatibility, as far as I know. Sadly, we have to rely on the developers making their apps compatible with the x86 architecture (which is stupidly easy for those which doesn't have any ARM-only coding, but not that easy if the contrary is true).

[PT-BR]

Em termos de drivers, acredito que todas as ROMs disponíveis são iguais, então não acho que tu vai conseguir alguma melhora de desempenho escolhendo uma ou outra ROM. E uma ROM do Jelly Bean não vai afetar (muito menos melhorar) a compatibilidade dos apps, até onde eu sei. Infelizmente, temos que depender dos desenvolvedores fazerem seus apps compatíveis com a arquitetura x86 (o que é estupidamente fácil para aqueles que não tem nenhum código específico para a arquitetura ARM, mas não tão fácil se o contrário é verdadeiro),
[RAZR i Q&A, Help & Troubleshooting] Vistaus:
If it has no ARM-only coding then devs don't have to do anything as we have a ARM-layer to make most ARM-apps compatible.
[LG Optimus L9 P760, P765, P768, P769] artas182x:
Hi, I wrote this 3in1 guide because many users LG L9 have problems with Applications data on SD Card. Our internal sd hasn't much space, so When we install game There isn't space on internal sd. We can't also move application to External SD. I this guide I wrote about moving apps to sd, moving application's data to sd and replacing external sd with internal sd in system. Lets's go.

1. Movings apps to SD with Link2SD:

Apk: https://play.google.com/store/apps/...?t=W251bGwsMSwxLDEsImNvbS5idWFrLkxpbmsyU0QiXQ..

I won't write this guide because on xda are manu guides of using Link2SD. Some of them:

http://xdaforums.com/showthread.php?t=1614700

http://xdaforums.com/showthread.php?t=1765610

http://xdaforums.com/showthread.php?t=1462418

In my CWM Recovery there is also option to partition sd card (all data will be deleted).

(+):

Easy in use when configureated

(-):

You must partition SD Card

Apk isn't moving in 100% to external SD

2. App data to external sd:

a) Method with Directory Bind

Apk: http://xdaforums.com/showthread.php?t=1410262

http://funbook.gizmolord.com/app-directorybind-install-apps-on-external-sd-card/

(+)

Only app data moves

(-)

Problem with configuration (for some users it doesn't work)

Apk don't save setting on reboot (for me, even if I check Bind on boot)

b)Method with GL2SD

Apk: https://play.google.com/store/apps/details?id=com.slf.ListglApp

Guide:

1. Go to Setting

2. Check /sdcard/Android and /sdcard/Data

3. Remove unused apps in Games list by pressing on App title and clicking ok.

4. Now, if you want to copy game data to external sd:

If game data directory is:

/sdcard/android/data copy game data to /sdcard/external_sd/data

/sdcard/android/obb copy game data to /sdcard/external_sd/obb

/sdcard/android/gameloft copy game data to /sdcard/external_sd/gameloft

5. Open GL2SD app. New apps will have shown on game list.

6. To run game click open next to game title.

(+)

Very easy in use and configuration

(-)

To run game you must use this app to run game

3. Replacing Internal SD with External SD:

Download: http://www.mediafire.com/?pooy45nkesd7h2i

Guide:

1. Flash in recovery

To remove this delete /system/etc/init.d/97ext2sd

(+)

Easy to use

You don't need to configure

If you have fast sdcard your system will be also faster

(-)

If you have slow sdcard your system will work slower. You must have class 10 sdcard to have fast device.

All apps will store data to sdcard