Jump to content


Photo

Enabling Facebook Sync in Ice Cream Sandwich

- - - - -

  • Please log in to reply
44 replies to this topic

#41
hisham027

hisham027

    Newbie

  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Maldives
  • Devices:LG Optimus 2X
  • Twitter:@Hisham027
Hi Paul,

The links doesnt work anymore "All sharing functionality on FileSonic is now disabled. Our service can only be used to upload and retrieve files that you have uploaded personally. "


Appreciate if you could mirror the it. Thanks.

  • 0

#42
zabi1

zabi1

    Newbie

  • Members
  • Pip
  • 22 posts
  • Gender:Male
  • Devices:HTC Sensation
Guys need help. I decompiled miui v4 contacts provider.apk and it didnt have a arrays.xml, so i created one and added in the code in this post, then added a entry for arrays in public.xml
then done step 2, now facebook asks if i want to sync contacts but when i do and go back to contacts, none of the fb contacts are there.
Please help

  • 0

#43
bhojo1

bhojo1

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:treo pro
there is an issue with the array.xml code on the site... you need to remove the <pre> tags... try this for your arrays.xml

http://pastebin.com/4rFdvpsD

I was able to decompile my contactsprovider.apk and recompile it with both the smali and arrays.xml edits . However as I am already using friendcaster I did n't try it out....
I would strongly suggest not to use the 99complete script as it is a binary that looks like it is meesing with the proc filesystem so I cannot vouch for what it is doing...



C:\Android\d2g>apktool d ContactsProvider.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...


C:\>apktool b ContactsProvider
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\ContactsProvider\res\values\arrays.xml:2: error: Error parsing XML: XML or text declaration not
at start of entity
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p,
-F, C:\AppData\Local\Temp\APKTOOL8836820432011147785.tmp, -I, C:\apktool\framework\1.apk, -
S, C:\Android\d2g\ContactsProvider\res, -M, C:\Android\d2g\ContactsProvider\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\AppData\Local\Temp\APKTOOL8
836820432011147785.tmp, -I, C:\Users\robinsc\apktool\framework\1.apk, -S, C:\Android\d2g\ContactsProvider\res,
-M, C:\Android\d2g\ContactsProvider\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more

C:\Android\d2g>apktool b ContactsProvider
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...

C:\Android\d2g>

note my contactsprovider.apk was from cm9 on the droid2global so I do not sugges using the smali file... but the array.xml should be okay...

Attached Files


  • 0

#44
ladiko

ladiko

    Regular

  • Members
  • PipPip
  • 61 posts
  • Devices:Orange San Francisco
CWM-/BM-flashable JB-AOKP version from 10/10/2012: http://www.share-onl.../dl/8APXEOBMVBV

based on ContactsProvider.apk from http://www.crackflas...piled-by-x.html

  • 0

#45
armedmonkey

armedmonkey

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:d2vzw
Ladiko - is this device specific, or should it work for any phone running a jb aosp/aokp based rom?

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users