Related
Ok, so i renamed a default adw theme apk to .zip to unpack and add the images I want and change the orange glows etc after renaming back to apk cant install on phone 'problem parsing package' assuming this is because i unpacked it and re zipped / renamed to apk.
Is there another way of doing this?? Originally made the theme using template and eclipse / sdk with the adw theme template release package but when i install my app [which was packed unsigned as ive no idea how to go through this keymaker stuff] it cannot be installed on x10 [for 2.2] and you cant use the theme template in eclipse with 1.6 minimum it doesn't work and noticed on github site I got the template from [AnderWeb original] that it needs to be based on 2.2 but will work on 1.6 etc [it doesn't].. this was in the comments when ppl were getting errors in the manifest file, was becuase they set it for 1.6
So anyway aside from confusion I only need to change the png images surely theirs a simple way to unpack / explore and change the APK ??? Spent far too long getting nowhere now and killing chrome with over 50 web tabs and searches open lol
open the apk with 7-zip, and just drag the images straight into the archive - no need to unpack at all!
I'm using a modded theme, but have apks open with Winrar by default so don't need to rename them. When you open the apk leave it open whilst you work on it then once you've added your files just close and install it.
... And don't forget to sign it . Thats the reason you are getting this error.
realunited123 said:
... And don't forget to sign it . Thats the reason you are getting this error.
Click to expand...
Click to collapse
this after changing the archive with winrar or whatever?
How do you go through siging the app dont have a clue
go3asy said:
this after changing the archive with winrar or whatever?
How do you go through siging the app dont have a clue
Click to expand...
Click to collapse
you only have to sign it if your extracting it - keeping it open in winrar or 7zip your not doing that, so i tdoesnt need resigning
Ok messed up a little didnt create a new apk to work on now its buggerd does anyone have a x10 compatable apk of the basic theme? lol
pleeeease
go3asy said:
pleeeease
Click to expand...
Click to collapse
Might be as well re-downloading it to your phone and pulling it, I cant seem to find the default one on my phone but can see the one I modded.
What you using to pull it, as they are hidden in drawer the file manager i use to back up also doesnt see adw or its themes lol. I d/l the one i had from god knows what side cant find it now. Just goin g to mod a stock adw laucnher v1.1 apk see if that works also because the new version i had messed up alot of themes and not many are updated for it yet.
ahh cant find an apk of donut 1.6 version of adw v1.1
go3asy said:
What you using to pull it, as they are hidden in drawer the file manager
Click to expand...
Click to collapse
I used ADB and pulled from data/app.
go3asy said:
ahh cant find an apk of donut 1.6 version of adw v1.1
Click to expand...
Click to collapse
Not sure what version this is, but I do know it's an older one...
thanks.. now saying this application cannot be installed on this phone lol happy days! used winrar and zzip to open and add new images, very annoying now lol.
Uploaded the APK below
'ADW.Launcher could not be installed on this phone'
Would this be because its replacing a newer version? although it gets passed the promp telling me it will replace another app on the phone
Ok annoyd now uninstalled current adw and tried still wont install lol now im stuck with stock hope it keeps saved settings lol
how are you editing the archive im copy/pasting im my drawable-hdpi etc folders in which is replacing the old ones within the archive
When you modify the apk, theres something about the certificates that prevent you from installing a modified version. if u learn how to sign it ul b fine.. btw if there's a stock version u after let me know.. iv got quite a few of them! lol
Sent from my rooted 026 X10i using swype via Xda
Comparing files from the older apk and the one you posted, some of the file dimensions are different as in your images are bigger, and some of yours don't look right either, what are the little dashes dotted around some of them...
open it in photoshop its fine. Thats PNG transparency doesnt show in image viewer
Mobzter said:
When you modify the apk, theres something about the certificates that prevent you from installing a modified version. if u learn how to sign it ul b fine.. btw if there's a stock version u after let me know.. iv got quite a few of them! lol
Sent from my rooted 026 X10i using swype via Xda
Click to expand...
Click to collapse
Any guides on signing?
go3asy said:
open it in photoshop its fine. Thats PNG transparency doesnt show in image viewer
Click to expand...
Click to collapse
But it doesn't show on the original files, and shows for me in PS and Photo Viewer...
I would like to know how to turn my deafult google search widget and my facebook widget to black and transparent
Pull the files with adb to your PC and edit them...
Then push it back...
Make sure debug is enabled and you have root
Sent from my rooted 026 x10i using XDA App
Please send me how to pull the files from my phone. I have a rooted x10i so i will be able to do it.
thanks
i am trying to push the modified facebook but it says "Permission Denied"
My phone is rooted and the folders have permissions for read/write. What am i doing wrong any help?
ad1stakt0s said:
i am trying to push the modified facebook but it says "Permission Denied"
My phone is rooted and the folders have permissions for read/write. What am i doing wrong any help?
Click to expand...
Click to collapse
Use the common System application remove methods to remove stock Facebook and map. (tested myself no problem) then from the market install the version. Then those will behave like other 3rd party applications. No adb. Just modify your apk and install it back like other apps
Sent From X10 Android Phone®
still have a problem. with adb install i get a message "INSTALL_PARSE_FAILL_UNEXPECTED_EXCEPTION" and in regular install (on the phone) i get fail too.
I have my modded adw the all transparent black woth trans black google search going to post the apk tonight il let u know. Pics in the post your homescreen thread second last page i think also some edited icons
May give facebook widget a try later aswell transparent black.
Should be able to make the widgwt black duno how to change the text ti white editing the facebook apk though anyone any ideas?
Sent from my X10i using XDA App
everytime i replace a file like the bg color in the extracted folder and make it and .apk again when i try to install it i get an error if i extracted and make it again an .apk without changes works like a charm. So i don't know what's going wrong
You need to sign it look for auto-sign.zip on here and download place the edited apk in the unzipped auto sigb folder then run tge .bat file which will sign the apk and create a new cop called your_signed_app.apk
Sent from my X10i using XDA App
This is what i have done. I took the modified apk in zip type put it in the auto-sign folder and then rename it to update.zip. I then run the sign.bat and gives me the update_signed.zip. I install it to my phone successfully now but although the facebook application works fine the widget can't load.
keep it as .apk for unsigned and signed version dont have it as a zip, ive posted a thread with my adw with black google
i know that i am wasting your time but i searched the forum and i can't find something similar. Can you guide me how to modify and fix an .apk step by step if you have time ?
Im at work now il have a go tonight. If you attach the apj il try sign it for you. Took ne a few times to get a workubg auto sigb ckuld be that il post my one tonight. Excuse the typos swypes expires lol stock
Sent from my X10i using XDA App
Here it is a simplify facebook black version. Please explain me if you have time how to sign the .apk files so i can do it my self.
I have signed the .apk and installed in the phone the application runs smootly but the widget can't load
Sent from my X10i using XDA App
Can someone upload the stock messaging apk for the SE x10 please. I've looked on other threads but the links were dead.
I deleted the stock app not realising it would stop the phone receiving messages. And I've changed so much on my custom rom I really wouldn't want to lose it all.
Instructions on how to push it to my device would be nice too
Many thanks
Hi I am guessing that you are still on 2.1, if you are to download any 2.1 rom and look through the file to find conversations.apk (it is the messaging apk) and move to your desktop. Now download ADB mask controller from here http://forum.xda-developers.com/showthread.php?t=868423.
Now to installer the apk:
Open the adb mask controller,
Go to the 'Push and Pull' tab,
Click the browse button and find the conversations apk,
Untick the install and tick the system button,
Then click send and it should be installed to your phone.
Hope I've helped
If you are using 2.2 all is the same except the messaging app is called mms.apk not conversations.apk
Worked a treat!
Many thanks
Hello everyone......if youre like me and just want to beat the crap out of a game that ticks you off sometimes then this is for you. This guide will explain how to edit the apk for fieldrunners hd. I will not supply or distribute the apk, so please do not ask.
First you will need the apk file you have purchased from android market. If you have an apk from amazon app store it will not work.
Start by changing the file extension from apk to .zip. Next, extract the contents of the file to a new folder on your desktop. (Folder can be named anything you like)
Open folder Assets>Data>HighResolution>Maps
Here you will find 4 folders....Cave, Crossroads, Drylands, Grasslands
Open the Folder for the level you wish to edit. (I will use grasslands as example for this guide)
Look for the files that have a ~map.mp3 extension. Open this file with a text editor like notepad. A few lines into the file will see this "startingHealth="20" startingResources="15". Change these values to anything you want them to be.
If you would like to modify the specs for the towers you can do this as well. I find it fun to make one weapon that just kills everything in one blow.
Open folder Assets>Data>HighResolution>Towers. Look for the tower you would like modify and open the file with a ~tower.mp3 extension in a text editor like notepad. Each tower will have one of these files for it. When opened look for <minDamage="129" maxDamage="129"> There will be a line like this for each level of tower, 1,2&3. Change he values to whatever you like, the higher the number the stronger the weapon.
Now that you have editied all maps and towers you want to it is time to button this up. Select all the files and folders you extracted from the zip file and create a new zip file. I use winzip with no compression. Name your new file whatever you like and save it to the desktop or a place you can find it. Now change the file extension of the new file from .zip to .apk. You will now need to sign the file, you will have to learn that in a different writeup. Once the file is signed it will install and you will see the changes in the game.
Good luck tinkering, do not post apk's here, and please act responsibly.
jase33 said:
Hello everyone......if youre like me and just want to beat the crap out of a game that ticks you off sometimes then this is for you. This guide will explain how to edit the apk for fieldrunners hd. I will not supply or distribute the apk, so please do not ask.
Good luck tinkering, do not post apk's here, and please act responsibly.
Click to expand...
Click to collapse
Ofcourse, i don't need the APK...i bought the game...But where to find on my device??? I am using a SGSII...thnx. ow...and i did not buy the game on Amazon, but via the Google Market.
the apk can found on your phone at data/app. you must be rooted to get to this. if you bought the game but are not rooted, maybe google can help you.
jase33 said:
the apk can found on your phone at data/app. you must be rooted to get to this. if you bought the game but are not rooted, maybe google can help you.
Click to expand...
Click to collapse
Dude...i have MIUI up and running...it is rooted, i am using root explorer. Everything is working untill i try to install the signed apk. I am using Andoid Commander to sign the apk...it is not working. Btw, i used the apk i found in the MIUI backup folder, because i could not find the APK in data/app...i know, it is strange...
Strange....i just went through MIUI and could not find the installed apk either. I will let you know when i find it.
EDIT - Found the apk in MIUI. Its is mnt/asec/com.subatomicstudios.com.
jase33 said:
Strange....i just went through MIUI and could not fing the installed apk either. I will let you know when i find it.
Click to expand...
Click to collapse
well, i found it in my back ups already...when i install that APK, it works. But when i alter the files and so on, the apk cannot be installed anymore...............
jase33 said:
Strange....i just went through MIUI and could not find the installed apk either. I will let you know when i find it.
EDIT - Found the apk in MIUI. Its is mnt/asec/com.subatomicstudios.com.
Click to expand...
Click to collapse
ok...i will try to alter that one! thnx mate!!!
edit: to be honest, i think that is the same apk as in the back up folder in MIUI...
edit 2: no, it's called different...let's hope it works this time!!! THNX MATE!!!
jase33 said:
Strange....i just went through MIUI and could not find the installed apk either. I will let you know when i find it.
EDIT - Found the apk in MIUI. Its is mnt/asec/com.subatomicstudios.com.
Click to expand...
Click to collapse
So, when i altered the files and so on, do i just deinstall the game? or are there other files i have to remove???
I have the amazon one, and it does not work. can someone pm me to the market version or this version? I've downloaded a few apk's already, and they seem to be the amazon version based on the file contents.
so I have the market apk, but I cannot get it signed properly. Tried zipsign 2, and install went ok, but app could not open. Tried signapk.exe and installed ok, but wont open.
after i re-zip the size changes by over 2mb under and will not install. I have re-signed it. What would cause the size change that much? it should be a few bytes.
Make sure you are zipping with NO compression.
Sent from my HTC HD2 using Tapatalk
I did tons of research and cannot get this guy signed using 7zip, winrar, win zip, droid explorer, ninja morph....
I followed instructions and this will not install. Anyone out there successful?
Sent from my SCH-I500 using XDA App
dr_w said:
I did tons of research and cannot get this guy signed using 7zip, winrar, win zip, droid explorer, ninja morph....
I followed instructions and this will not install. Anyone out there successful?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
you need a program to sign it. I finally figured out how to do this.
so to recap, after you made changes to all the files like (I just added 99999 starting money):
grasslands_extended~map.mp3
grasslands~map.mp3
crossroads_extended~map.mp3
crossroads~map.mp3
then you zip it with NO COMPRESSION (or "Store" with winrar)
then use this to sign it(This can be used to sign any apk file):
Mirrors
http://www.mediafire.com/?tj2dqjcrqfujxr7
http://www.megaupload.com/?d=GHYX0PRW
http://www.fileserve.com/file/F3GT3bK/SignApk-with-bat.zip
http://www.filesonic.com/file/1878513104/SignApk-with-bat.zip
Download file and extract to C:. You should have a folder called "C:\SignApk"
Here are the instructions I made on how to sign it:
1. Copy the apk file to C:\SignApk
2. Rename apk file to "application.apk", then run the "Sign-application.apk.bat". This will produce a "application-signed.apk" in the same folder.
The batch file can be ran under administrative mode if it does not work the first time.
Requires java, and I assume most people have that on their pc already.
EDIT: it took me a lot of research to figure this out as well. Figure I can provide a simpler walkthrough that people can follow.
I'm just wondering, but wouldn't it be easier to use something like GameCIH? It seems less intrusive and easier. If you've ever used cheat engine before, then gameCIH should be a breeze.
i get this message when i tried instal apk "There is a problem parsing the package"
can you all solve my problem??
Can someone post the modded apk in multiupload ? i'm trying with 1.04 version and it doesn't work. Thanks
Works like a charm. Now even my machine guns can take on the blimps in 1 shot
thanks popp. worked like a champ. fun for about 5 minutes, then you realize after modding the game, it just never ends. Cool to see though, since I couldnt get passed round 400 with the standard setup, now its just a matter of when I quit the game due to being bored
cool to hack as well!
how do you know where to find the address and specific string? for example you have a neew game installed and you want to mod it. how can you trace the source of gold, etc?
EDIT 07-06-23: Xposed module (made by @agentdr8) that does the same thing can be found here.
EDIT 07-06-21: Guide is obsolete and does not work. The ROM I was using (Carbon) had native FB syncing enabled already. Xposed module is in the works.
EDIT 07-06-14: Tested working with KitKat! There's a great app on the Play Store called Sync.me that claims to be able to sync phone numbers, though I'm not sure if that's really true so see if works for you. Sync.me DOES NOT sync contact phone numbers... You will still need to do this mod to do that.
So apparently Facebook and Google had a cat fight and the result was that AOSP users ended up losing the ability to sync our contacts with the Facebook native app.
Now, there are apps on the Play Store which will allow you to sync things such as events, timeline, HQ photos, etc., but NONE of them allow you to sync phone numbers.
This guide will teach you how to modify a certain /system/app/ file (ContactsProvider.apk OR GoogleContactsSyncAdapter.apk depending on Android version) to allow Facebook syncing.
Required Programs: 7-Zip/WinRAR, ADB recommended
Step 1: Modifying the apk:
a. Make a folder called "res" and inside it make another one called "value"
b. Inside the "values" folder, make a .txt file and edit it to include this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<string-array name="unrestricted_packages">
<item>com.facebook.katana</item>
</string-array>
</resources>
c. Save the file and rename it to "arrays.xml"
d. Copy ContactsProvider.apk/GoogleContactsSyncAdapter.apk to your PC and make a backup
e. Open it with 7-Zip/WinRAR, drag and drop the "res" folder into the apk, click "OK/YES" to any prompts
f. Transfer the apk back to your phone and overwrite the existing one in /system/app/
Step 2: Database Editing (you may or may not need to do this, do it anyways ):
a. (Optional) Clear your Contacts Storage app data as well as your Facebook app data.
b. (Optional) Reboot your phone.
c. Type this into adb shell or in Terminal Emulator (make sure to be in root [type "su"]):
Code:
sqlite3 /data/data/com.android.providers.contacts/databases/contacts2.db 'ALTER TABLE raw_contacts ADD COLUMN is_restricted VARCHAR';
If you get an error code saying duplicate/it already exists, then you're done.
Should anything go wrong, restore your original ContactsProvider.apk/GoogleContactsSyncAdapter.apk, clear your Contacts Storage app data, and reboot.
Your Facebook contacts should start syncing. If it still doesn't sync reboot your phone twice and that should do it.
CREDITS:
raziel23x (for ApkMultiTools) - old guide
Niranjan Thilak (original guide on restoring FB sync)
@kessaras (for WinRAR/7-Zip method)
Hope this helps!
Worked for me. Thanks.
Re: [GUIDE] Get Facebook Sync (with phone numbers) working on CM10+
Dou you have the same for calendar to sync Facebook birthdays
Sent from my One V using xda premium
aashukmehta said:
Dou you have the same for calendar to sync Facebook birthdays
Sent from my One V using xda premium
Click to expand...
Click to collapse
All this does is fix the permissions to allow the Facebook app to do what it was already programmed to do. There's no way to make it do more beyond what it's original capability was.
Also, as a general note, this thread has an APK that can be downloaded so you can skip doing the decompiling or sqlite modifications. Note that it'll only work on AOSP and CM10/10.1 roms. For any other roms, do it yourself.
---------- Post added at 09:29 PM ---------- Previous post was at 09:28 PM ----------
pogi1100:
Is there a link into more info to what google and facebook were fighting over and why facebook can't/won't fix it?
phazei said:
All this does is fix the permissions to allow the Facebook app to do what it was already programmed to do. There's no way to make it do more beyond what it's original capability was.
Also, as a general note, this thread has an APK that can be downloaded so you can skip doing the decompiling or sqlite modifications. Note that it'll only work on AOSP and CM10/10.1 roms. For any other roms, do it yourself.
---------- Post added at 09:29 PM ---------- Previous post was at 09:28 PM ----------
pogi1100:
Is there a link into more info to what google and facebook were fighting over and why facebook can't/won't fix it?
Click to expand...
Click to collapse
Well, I guess I kind of exaggerated when I said EVERYONE knew about it...
I saw it on the internet somewhere... I don't know where it is now haha
i want to reopen this thread and add this info for everyone. there is an easier way, the way i did it. for those who dont have knowledge of decompiling and compiling apks this way is the best.
use root explorer , copy ur contacts provider apk to computer, open it the way it is using a zip rar manager , make the file: value/arrays.xml on the pc and add them as they are inside res... like that u dont need to decompile and recompile the apk. copy the apk back to system/app of the phone.
next step , uninstall facebook, sync ur contacts with all the other accounts you want and when sync is finished, copy the database file ( /data/data/com.android.providers.contacts/databases/contacts2.db ) to ur computer , open it with some sqlite manager and modify the table: raw_contacts. add a line : is_restricted , dont choose what value it will have , leave it blank. save the database and copy it back to its location in the phone. install facebook and sync. :good: tested on cm10.2.
kessaras said:
i want to reopen this thread and add this info for everyone. there is an easier way, the way i did it. for those who dont have knowledge of decompiling and compiling apks this way is the best.
use root explorer , copy ur contacts provider apk to computer, open it the way it is using a zip rar manager , make the file: value/arrays.xml on the pc and add them as they are inside res... like that u dont need to decompile and recompile the apk. copy the apk back to system/app of the phone.
next step , uninstall facebook, sync ur contacts with all the other accounts you want and when sync is finished, copy the database file ( /data/data/com.android.providers.contacts/databases/contacts2.db ) to ur computer , open it with some sqlite manager and modify the table: raw_contacts. add a line : is_restricted , dont choose what value it will have , leave it blank. save the database and copy it back to its location in the phone. install facebook and sync. :good: tested on cm10.2.
Click to expand...
Click to collapse
Just download UberSync, sync anything you want from facebook easily
AssToast said:
Just download UberSync, sync anything you want from facebook easily
Click to expand...
Click to collapse
nope it doesnt work. there is no sync app in any market that could work for greek language. greek right their name either in latin , either in greek , either in "greeklish" ( greek using english alphabet ). those apps out there cant sync properly if they dont have contact phone access.
hi friends
anybody knows any working method for micromax canvas hd a116 ?
i'm searching for a long time. i don't find any method.
i tried this on too.
it shows some error on apkmulti tool in step 2 "d" stage.
i don't see any "place-apk-here-for-modding" folder instead there is "place-apk-here-to-batch-optimize".
please share any working methord if you have.
freedomtigers said:
hi friends
anybody knows any working method for micromax canvas hd a116 ?
i'm searching for a long time. i don't find any method.
i tried this on too.
it shows some error on apkmulti tool in step 2 "d" stage.
i don't see any "place-apk-here-for-modding" folder instead there is "place-apk-here-to-batch-optimize".
please share any working methord if you have.
Click to expand...
Click to collapse
Hey, it's been a while since I last did this and this guide may be obsolete. I will check to see if this still works on KitKat (4.4.3) and will update the guide as soon as I can. I'm not entirely sure, but the Sync.me app in the Play Store advertises that it syncs Facebook phone numbers as well. I'm not sure if that's actually true since AFAIK there is no way for an app to do that unless the ContactsProvider is modded (I may be wrong). Check to see if it works for you.
EDIT: Updated OP with completely revised guide (thanks @kessaras). You should have less problems with this method as you don't need to decompile/recompile the apk at all.
i got 'ContactsProvider.apk, GoogleContactsSyncAdapter.apk' in my root folder
do i need to insert res folder to both apk ?
freedomtigers said:
i got 'ContactsProvider.apk, GoogleContactsSyncAdapter.apk' in my root folder
do i need to insert res folder to both apk ?
Click to expand...
Click to collapse
Hm, that's weird. Yea, no harm in doing so anyways and it only takes an extra step .
Does this still work if GoogleContactsSyncAdapter is odexed? I have a GoogleContactsSyncAdapter.odex file in /system/app as well...
I tried it, and it didn't seem to work, then I attempted to deodex the file and do it again. I must not know what I'm doing (likely) because it didn't work.
I followed the steps as closely as possible; the only thing I noticed was the presence of that odex file. When I rebooted, I used sqlite editor on my phone to make sure the column had been added to the table. It had.
Nothing happened. My google contacts slowly started coming back, but Facebook never did.
Here's what the Facebook account section looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm on stock Nexus 5 4.4.3
mew1033 said:
Does this still work if GoogleContactsSyncAdapter is odexed? I have a GoogleContactsSyncAdapter.odex file in /system/app as well...
I tried it, and it didn't seem to work, then I attempted to deodex the file and do it again. I must not know what I'm doing (likely) because it didn't work.
I followed the steps as closely as possible; the only thing I noticed was the presence of that odex file. When I rebooted, I used sqlite editor on my phone to make sure the column had been added to the table. It had.
Nothing happened. My google contacts slowly started coming back, but Facebook never did.
Here's what the Facebook account section looks like:
I'm on stock Nexus 5 4.4.3
Click to expand...
Click to collapse
Hey, I haven't tested this on odexed ROMs yet. My guess is you gotta be deodexed for this mod to work because it does involve modifying an apk .
Sent from my Nexus 5 using Tapatalk
pogi1100 said:
Hey, I haven't tested this on odexed ROMs yet. My guess is you gotta be deodexed for this mod to work because it does involve modifying an apk .
Click to expand...
Click to collapse
Alright, I've updated my rom to a deodexed version of stock. I've been trying to get this mod working pretty much all day and I can't seem to make it work. I did however find some information. First, on KitKat, GoogleContactsSyncAdapter.apk AND ContactsProvider.apk both exist. GoogleContactsSyncAdapter is in /system/app, and ContactsProvider is in /system/priv-app. Okay, cool.
Now, the second weird thing. I've modified these apks about a hundred times, following the guide to the letter. But I don't think I'm doing things right. There is just no change. I can verify the database gets updated, that's never the problem. The FB contact sync option just doesn't show up. It think that something's not working right with the apk modding... All the other xml files in the apks are full of binary data, not just plain ASCII.
Also, I downloaded this file and looked at it in 7zip. It doesn't even have the value folder, much less the arrays.xml file.
Do you need to decompile/recompile here?
Thanks!
mew1033 said:
Alright, I've updated my rom to a deodexed version of stock. I've been trying to get this mod working pretty much all day and I can't seem to make it work. I did however find some information. First, on KitKat, GoogleContactsSyncAdapter.apk AND ContactsProvider.apk both exist. GoogleContactsSyncAdapter is in /system/app, and ContactsProvider is in /system/priv-app. Okay, cool.
Now, the second weird thing. I've modified these apks about a hundred times, following the guide to the letter. But I don't think I'm doing things right. There is just no change. I can verify the database gets updated, that's never the problem. The FB contact sync option just doesn't show up. It think that something's not working right with the apk modding... All the other xml files in the apks are full of binary data, not just plain ASCII.
Also, I downloaded this file and looked at it in 7zip. It doesn't even have the value folder, much less the arrays.xml file.
Do you need to decompile/recompile here?
Thanks!
Click to expand...
Click to collapse
Hey, try modifying only GoogleContactsSyncAdapter.apk in /system/app and leaving ContactsProvider.apk alone. I got it to work on my device that way. IIRC, as soon as I replaced GoogleContactsSyncAdapter.apk with the modified version and opened Facebook, I was greeted with the sync screen.
pogi1100 said:
Hey, try modifying only GoogleContactsSyncAdapter.apk in /system/app and leaving ContactsProvider.apk alone. I got it to work on my device that way. IIRC, as soon as I replaced GoogleContactsSyncAdapter.apk with the modified version and opened Facebook, I was greeted with the sync screen.
Click to expand...
Click to collapse
Alright, I just gave that a try again just in case. No good, nothing changed.
Do you have any other ideas? I feel like I'm following your directions correctly, but I can't seem to get it. Could you maybe possibly send me your GoogleContactsSyncAdapter.apk file?
Thanks for taking the time to help me out.
mew1033 said:
Alright, I just gave that a try again just in case. No good, nothing changed.
Do you have any other ideas? I feel like I'm following your directions correctly, but I can't seem to get it. Could you maybe possibly send me your GoogleContactsSyncAdapter.apk file?
Thanks for taking the time to help me out.
Click to expand...
Click to collapse
Here ya go. Reboot after you replace it just in case
pogi1100 said:
Here ya go. Reboot after you replace it just in case
Click to expand...
Click to collapse
Thanks for the file, unfortunately it didn't work. The same thing happened again, Facebook didn't change at all.
mew1033 said:
Thanks for the file, unfortunately it didn't work. The same thing happened again, Facebook didn't change at all.
Click to expand...
Click to collapse
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