yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] girishb:
I'd love to know what you have done to achieve this.

In a parallel universe, I wish FB gives its users the choice to whether or not use the standalone Messenger app.
[Android Apps and Games] lorantm:
In a nutshell:

- Theme of ThreadViewActivity had to be modified in the manifest to Theme.Orca.Neue.

- A method in the ForceMessenger class checks if the device manufacturer is Amazon and if that is the case, the app will not force you to install Messenger. I replaced this string with an empty one.

- 3 rows from FacebookActivityDelegate had to be deleted to prevent the app from crashing when a conversation was opened.

- The trickier part: there is a class called MessengerMSiteUriIntentBuilder that provides the mobile messaging site intents. I had to rewrite it completely to make it rather load ThreadViewActivity. This one needs a ThreadKey object that is available through DefaultThreadKeyFactory to start the proper conversation. But the factory was not among the members of this class so I had to get it through dependency injection (the app has a really good injector that can provide any object). I had to do this all in Smali, not Java.

My answer was not too detailed though, but I plan to write an autopatcher app instead of the detailed documentation and upload it here. It will be easier for everyone to patch the app and even copyrighted stuff won't be shared.
[Android Apps and Games] raptorddd:
an on the 56xxxx and the thing is sometimes when i like a post, it dissapears , and it doesnt load new posts.?

---------- Post added at 03:12 PM ---------- Previous post was at 03:10 PM ----------

so what you say is youll share a way to enable it.? :confused:
[Android Apps and Games] lorantm:
Exactly.

The patcher app will disassemble dexes, look for patchable code, modify it and repack the apk.

Mod: it seems it will be a desktop app because I'm experiencing errors with baksmali on Android. So a PC will be needed to do the patching but at least it will be much faster than doing this on the phone.
[Android Apps and Games] girishb:
That's absolutely great to hear, mate. I'll patiently wait for your autopatcher app. Please keep up the good work and all the best! :)
[Android Apps and Games] Einwod:
Redirect to site warning of virus. What crap are you trying to pull here? Upload to drive, mega or Androidfilehost. Ridiculous.
[Android Apps and Games] raptorddd:
Sounds good, thank you very much.. :good::fingers-crossed:
[Android Apps and Games] jineshpatel30:
Very Interesting ! :D if you succeed Keep it away from any official sources ( like Facebook & Google ) otherwise they will again come up with some patch and we need to find new way again :( ;)

let us know whatever progress you make..we are waiting :p
[Android Apps and Games] lorantm:
FBPatcher's thread
[Android Apps and Games] a.broken.star:
So these steps can be performed on computer ? Can you upload patched facebook apk ?
[Android Apps and Games] jineshpatel30:
I'm yet to check if this is working fine for me or not but 1st of thank you very much !

My suggestion is make a new thread so that it can be spread to Lot more people (I'll try to suggested your post for XDA-feature news ) & you can also get some exposer for your wonderful effort !

Keep it up to kick FB's forcing ass :p

Btw can you upload & maintain patcher for Messenger icon in the top right corner working as it worked for you in G2 ? ( i understand that it'll not work on all device but if you can upload & maintain it for future updates with tag "this version can cause Crash for some Device" it'll be great to have full featured FB for whom it works !

yah it can be performed on computer only.

and No i don't think he wants to upload patched apk and get into tussle about copyright and all. ( as i understand from his previous posts ) That's why he created a patcher keeping every detail meticulously.

we waited this much so i think you can wait for some more time to get access of computer and patch it your self eh ?! ;)

.......................................

[MENTION=535343]all[/MENTION] you can find official (Not patched ) Facebook 72.0.0.22.69 here & for Android 5.0+ download it from here https://apkpure.com/p/com.facebook.katana use Facebook 72.0.0.22.69 (5.0+)
[Android Apps and Games] Minski256:
How do I do that?

2. Run the patcher: java -jar fbpatcher.jar <input_apk> <output_apk>
[Android Apps and Games] jineshpatel30:
i think you need to use cmd. wait for 10-15 mins i'll check and write proper guide for how to do it (if i get success to do it my self :p )
[Android Apps and Games] jineshpatel30:
Here is step by step instructions i followed to get it work on windows ( i think linux users knows how to do this simple things :p )

1. you need JAVA installed in PC if not install it from here https://java.com/en/download/

2. Download official (Not patched ) Facebook 72.0.0.22.69 here & for Android 5.0+ download it from here https://apkpure.com/p/com.facebook.katana use Facebook 72.0.0.22.69 (5.0+)

3. download patcher by [MENTION=7414440]lorantm[/MENTION] from this post

4. extract patcher in fbpatcher folder (use extract to fbpatcher/ )

5. put donloaded FB version form 2nd point in this folder and rename it to FB72.apk for ease.

6(new). hold Shift and right click on empty space, then select open command prompt here in empty space of your folder that contains FB.apk & fbpatcher.. now No need to copy cmd.exe at that folder...this method will open your system inbuild cmd so skip directly to Point 9

6. extract this rar file

7. find cmd.exe and put it in same folder

8. now your folder should look like this

9. open cmd.exe and write java -jar fbpatcher.jar FB72.apk FB72P.apk (mind on spaces... see below pic for clarity )

10. wait for 5-10 min and let patcher do its job you will get FB72P.apk as patched file.

Install & enjoy :D :p
[Android Apps and Games] jineshpatel30:
Hey, after figuring out all this I got app not installed error while installing FBv72 for Android 5.0+ !! he he LOL :D :confused: i think you need to take a look for both versions 4.0+ & 5.0+ bcz it seems there are some chnaces between them and you need to change patcher accordingly (u can find links for both in my above post )

now i will try to patch v72 for 4.0+ & try to install it on My nexus 5 running 6.0.1
[Android Apps and Games] lorantm:
I tested it with both versions and it worked perfectly.

The problem could be that you did not uninstall the official FB app / you have other apps from Facebook installed or pre-installed (flashed). Uninstall all Facebook apps and try again. If it's pre-installed and you can't remove it then you need root to get rid of it.
[Android Apps and Games] jineshpatel30:
Actully I uninstalled all things (i only use Fb & messenger)& then tried to install patched one still got error.

PS: FB is Not pre installed or flashed on my device

Still you are saying so i'll try to reboot device and check once again and report.

---------- Post added at 10:22 PM ---------- Previous post was at 09:33 PM ----------

Okay it's working. actually official apk of v72 at zippyshare was corrupted so i re-download it from another source and it's working Now. :D\

Now can you plz upload that Top messenger icon working as it did in G2, patcher for me. i want to check if it's working for me or not ;)

[MENTION=535343]all[/MENTION] 5.0+ FB link updated in all my previous posts....previous link has corrupted setup so download & patch again if you got an error while installing
[Android Apps and Games] lorantm:
I made that modification manually for earlier versions, the patcher does not have this feature yet. I don't have much time this week but at the weekend I'll create an alternative version of the patcher that will do the job.
[Android Apps and Games] jineshpatel30:
Okay No problem ! take your time... I can wait till week end ;)

Thanks
[Android Apps and Games] Tomi_Ohl:
Nice guide! Only one thing: I think it would be enough to hold Shift and right click on empty space, then select open command prompt here (in step 6).

[MENTION=7414440]lorantm[/MENTION] köszönöm szépen, nagyszerű!! (Thanks, it's awesome!)

Working fine with the suggested FB version on Xiaomi Mi3 with Marshmallow :)

Waiting for the version with that message icon, right now I can't access groups from app if there are no new messages.
[Android Apps and Games] lorantm:
Szívesen! (You're welcome) :)

You can access groups too, but the Messenger icon will take you to the mobile site in the in-app browser so it's less convenient, but at least it works.
[Android Apps and Games] jineshpatel30:
that's nice suggestion ! actually i forgot about it while writing guide.

[MENTION=535343]all[/MENTION] here is specific thread for patcher plz, keep all discussion related to patcher there and let this thread clean for future release by OP

http://xdaforums.com/android/apps-games/app-facebook-apk-patcher-to-enable-t3366080/post66543877
[Android Apps and Games] a.broken.star:
So when using patched facebook app, when we click on msg icon, msg interface is loaded in mobile web mode inside the fb app itself. But i am using latest fb app, and latest facebook chat enabler , and it do the same thing. What's the benefit of patching ?
[Android Apps and Games] lorantm:
If you click Message on somebody's profile, select a contact from the chat bar or tap a message notification, you will get a feature-rich Messenger window. This is originally dead code in the app but I made it available with the patcher. Only the top right icon will open the mobile page.
[Android Apps and Games] a.broken.star:
Thanx for clear explanations..
[Android Apps and Games] Minski256:
Small exe file to run script. Copy Facebook apk to fbpatcher directory. Run fbpatcher.exe. Finished (Patched) apk will be called fb-patched.apk cmd.exe not needed in directory
[Android Apps and Games] A Christian Guy:
I use the latest version Facebook*73.0.0.18.66 APK and it work perfect thanks..
[Android Apps and Games] MyOnlineAccount:
I was able to install the Chat Enabler, but it still prompted me to download the original Facebook Messenger. Help?
[Android Apps and Games] batchman0002:
Lorantm's patcher found here worked great with FB v74 on my One Plus One. I just received an over the air update which forced an upgrade to my last unlocked FB version. Now i'm current again. Thank YOU!!!!:cool:
[Android Apps and Games] psycholyzern:
Edited
[Android Apps and Games] AntaresOne:
Guys I'm closing this project. Busy with personal life, that's the reason of missing updates.

Head over FBPatcher's thread here for further informations to enable messages in Facebook app, thanks to [MENTION=7414440]lorantm[/MENTION] for providing such great tool. :)
[Android Apps and Games] leolawliet:
I've actually been able to see my messages on the Facebook app without installing Messenger with one simple trick, no root or tweaks are needed.

Step 1.) When the app "moves over to messenger" logout

Step 2.) Log back in and check your inbox tab

It should allow you to use it again but then you might have to repeat the process every once in a while when things "move over to messenger"
[Android Apps and Games] Sonichead:
Good Job!

What can I say? This apk works like a charm..

I have facebook v 21.0.0.23.12 and I disabled the automatic upgrade of this app 'because I hate to be forced to use another drain battery app only for a chat.

Thank you AntaresOne !! :highfive:
[Android Apps and Games] tugapt:
You're not obliged to do anything, but you could be polite and gentle, I guess you're of that kind.
[Android Apps and Games] zingzangripper:
not getting notifications too! ;(
[Android Apps and Games] machhho:
@ AntaresOne

can you please enable the video download in facebook

thanks
[Android Apps and Games] AntaresOne:
I am of that kind mate, just I felt attacked by what you wrote in previous post. No problem btw

Don't you get message notification? Here absolutely no problems, I get notification with screen on and screen off+led light. What Facebook version?

Inviato dal mio GT-I9505
[Android Apps and Games] neonymbus:
This mod is awesome, but my Facebook updates every damn day. Little worried it will never hold.

Sent from my WO3 SlimKat powered Note II
[Android Apps and Games] soloz2:
I'm getting updates so it works for some.
[Android Apps and Games] Okamaokama:
Well explained. Push notifications therefore will only work for first few hours
[Android Apps and Games] zingzangripper:
hi, my version is 21.0.0.23.12. i'm able to use the chat but i dont receive any sound nor led light notifications
[Android Apps and Games] Toniooo:
a must have app!!! Tnx!!!!!!! all work as expected!!
[Android Apps and Games] boroboy69r:
I got it installed, i had to remove the facebook stand alone messager app then install this app.
[Android Apps and Games] mulletcutter:
Works with 22.0.0.8.13
[Android Apps and Games] donthateme702:
Installed,works perfect on current version of facebook,thanks!
[Android Apps and Games] mojopower:
Works like a charm. Thank you.
[Android Apps and Games] mulletcutter:
This installed on my n7 running PA but wouldn't install on my S4 running PA.
[Android Apps and Games] AntaresOne:
Have you Messenger installed? If so, first delete it then install this apk

For everyone:

Please post in this thread only what is related to this app and not things like "there's also this way to use chat" e.g. things not related to Chat Re-Enabler. Otherwise, I will have to contact a moderator to clean and keep only things related to this thread.

Inviato dal mio GT-I9505
[Android Apps and Games] yesrno:
Works great, thanks!
[Android Apps and Games] DJGhost:
Works like a charm; Great job & thanks!
[Android Apps and Games] Sudbury78:
Sorry if it's been asked. Have a stock note 4 on t mobile. It seems facebook and messenger were both pre installed system apps that I can't uninstall. When I download the apk it says no go because another app is installed etc. How can I remove fb and messenger from this stock phone? Thx
[Android Apps and Games] wolfballz:
Works great on my Note 2 (Verizon) on a blacked out 7.0.0.22.28 version of facebook.
[Android Apps and Games] cholopo:
Not work for me... Fecebook v21.0.0.23.12, xperia ZL, android 4.4.4, any solution... please
[Android Apps and Games] vildiil:
Thanks! It works on m y device :3
[Android Apps and Games] raywaldo:
You might need to check the notifications settings in the FB app.
[Android Apps and Games] SpiritStealer:
Gr8 app man thx for it efforts, I updated then installed the app and it worked like charm
[Android Apps and Games] scoobyjenkins:
If you're rooted, you can uninstall with Titanium Backup or delete from system/app and reboot. If not, it *may* be possible to go in settings, apps and uninstall updates but with this app I'm not so sure it would work...

Tapatalked that shiznit.
[Android Apps and Games] mudinhu:
Works but it does not notify you when you have messages
[Android Apps and Games] mrcgp:
worked fine thanks

AT&T LG G3 4.4.2

fb version 21.0.0.23.12
[Android Apps and Games] eliashadow:
Great app and must have, especially in non high end devices.

My issue, like some other users is that I have not notifications for my messages. Yesterday when I installed the app for first time, the notifications was working well, but after some hours stopped.

I have Motorola moto g 2014, stock and the fb version is 22.0.0.8.13

I tried to uninstall/install fb and the app but no notifications again.

Any idea?

Thanks and keep up!

Στάλθηκε από το XT1068 μου χρησιμοποιώντας Tapatalk
[Android Apps and Games] DanteGR:
Exactly the same for me.

App working great except no notifications for messages.

OnePlus One 4.4.4 and latest Playstore FB app.
[Android Apps and Games] nir360:
great idea, it was annoying having to use 2 apps when you can do it all in one app
[Android Apps and Games] TheKv:
It's working for me and it's awesome.... Thank you... :)
[Android Apps and Games] sangramdash99:
not working for me dude :)
[Android Apps and Games] Bruce MJ:
Working perfectly on Diamond rom v5, thank so much.
[Android Apps and Games] goutham kumar muvva:
Not complete

I tried this app .Everything is working fine except a small thing.I do not get any notifications for the messages.I have to open the app to see if ive received any messages.

I have this installed on a nexus 5 running lollipop.
[Android Apps and Games] CrabbyCakes:
Works like a charm

Works for me on FB 21.0.0.23.12 on my Xperia Z2 running KitKat 4.4.4 :)
[Android Apps and Games] mozn:
thank you! that worked for me. :)
[Android Apps and Games] TMinh:
Work like a charm on my ASUS Fonepad 7 Dualsim, with latest Facebook app from Store
[Android Apps and Games] wonsky21:
Works wirh fb 22.0.0.11.13 (latest beta)

GT-I9505 | SlimKat 4.4.4 jflte 8.12 WEEKLY
[Android Apps and Games] colasante_5:
Hi,

dunno if it was already reported by someone, but it won't install on my Note 4 because Messenger was one of the preinstalled system apps: it says that there was another app with same signature :(

Do you know if there's a workaround (without root)?

Thanks ;)
[Android Apps and Games] Lochman79:
Try disabling messenger in app info?
[Android Apps and Games] roswelljeeper:
Worked on my n900a with firekat v10. Thanks for this. :thumbup:
[Android Apps and Games] GaDoDev Team:
Work on my note 3 ;)
[Android Apps and Games] tombobone:
Works on Nexus 5 on Lollipop and Facebook 23.0.0.0.8
[Android Apps and Games] marcellodurante:
Not working on LGG3 :( I have not notifications
[Android Apps and Games] banccalif:
Uninstall messenger
[Android Apps and Games] wish777:
Thanks Op...

Very kind of you..And is Awesome bro to have someone finally fix Facebook :thumbup:

Dam People...I'm reading back this man went out of his way and time to share this with you.. The least you can do is thank him...

Seems alot of users feel there almost entitled to this or something..He could of just kept it for himelf.

#1 Reason Your seeing fewer and fewer Devs,Themers,Contributors here...We now just make them for ourselves and personal friends...
[Android Apps and Games] Gregoryyy:
Good job

It does work, thanks a lot! Official Meseenger had been eating phone's memory like crazy, so now it got better
[Android Apps and Games] pSych0bUNny:
Mate, this is awesome! Thank you so very much.

S4 FB 21.0.0.23.12

Just a reminder to all, you need to uninstall Messenger first (caught me out for a sec).

[emoji106] [emoji108] [emoji12] [emoji265] [emoji482]
[Android Apps and Games] colasante_5:
Hi, it's not possible to uninstall the original Facebook Messenger because, on Note 4, it's installed as a system app. The only thing that you can do is to disable it, but that produces the error installing the Chat Re-Enabler... :(
[Android Apps and Games] banccalif:
I guess your only option is to root
[Android Apps and Games] colasante_5:
I think so too, but i'm hesitating because I won't loose warranty....

Samsung you're driving me crazy :(
[Android Apps and Games] wonsky21:
Works fine on 22.0.0.12.13 on KK 4.4.4

GT-I9505 | SlimKat 4.4.4 jflte 8.14 WEEKLY
[Android Apps and Games] Okamaokama:
Come on. I think the dev should really explain what your apk is and how it works. People are asking irrelevant questions and make themselves confused.

Basically, this is a fake messenger apk which contains nothing. It has the same signature as the real messenger apk. So when the original facebook app is used, it would detect messenger installed in your phone and would not prompt you to install messenger. Push notifications are not related to this thread, or I should say it is the problem of facebook itself.

For people who has facebook messenger as a stock app, you realize you cannot uninstall it. What you can do is to disable it. This is just the same as installing the fake apk because both methods can trick facebook that you have messenger installed. So please dont ask why you cant install the dev's messenger enabler when you have the real messenger installed in your phone.
[Android Apps and Games] soralz:
Nice, just saved some space and time for my old Galaxy W. :)
[Android Apps and Games] Strokesws:
I'm not receiving chat notifications :(
[Android Apps and Games] andu86:
this is great, im using this and its a very good thing. i didnt like the messenger at all
[Android Apps and Games] toaks:
I have downloaded the file many times. When I click on the file I get "can't open" or else flashify opens. It is an apk file. What am I doing wrong?
[Android Apps and Games] mad3963:
Still working fine on FB 23.0.0.0.13. ?

sent from my Moto DROID Turbo
[Android Apps and Games] shinichi88:
It works!!!

Working fine on FB 22.0.0.13.13 , Nexus5, Lollipop LRX21O:good::good:
[Android Apps and Games] 360security:
Really useful,Thanks :D:D
[Android Apps and Games] Waxim1:
Working perfectly fine..... Thanks a lot! :good:
[Android Apps and Games] XeoNoX:
nice thanks for the info and app
[Android Apps and Games] t3khe4d:
Working great!

Working great on FB 20.0.0.25.15 :highfive:

Thank you!
[Android Apps and Games] pcwalker:
great job!

wow! it works on fb v.21.0.0.23.12 thanks a lot!
[Android Apps and Games] Sincerity1993:
Is there a way to enable Facebook chat notifications with this App? I don't get notified whenever I get a new message like with the Facebook messenger, even when that should be the point of a "messenger". Else it's like WhatsApp without getting notified when someone writes you.
[Android Apps and Games] Howlin1:
I've gotten notifications. Have you changed the settings in messenger?
[Android Apps and Games] Sincerity1993:
No i didn't change anything at all and I've always gotten notifications with the Facebook Messenger app :/

Maybe It Is because I'm using Beta Facebook versions? My version is 22.0.0.13.13
[Android Apps and Games] wanam:
Great idea [MENTION=5464206]AntaresOne[/MENTION] :good: , i hope they will keep the built-in message tab on the FaceBook App for a while.

I made a small modification to get rid of the support v4, the file is much smaller now (19KB).
[Android Apps and Games] ltGuillaume:
Even better, great! Confirmed working on Android 4.1.2 with Facebook 21.0.0.23.12.
[Android Apps and Games] Okamaokama:
Your problem is not uncommon, and it is the problem with facebook not giving us push notifications.
[Android Apps and Games] malinda86:
works for me.. thanks.

ver 22.0.0.13.13
[Android Apps and Games] AntaresOne:
I forgot to delete that :D thanks btw
[Android Apps and Games] Captain McFunk:
i'm on ver 22.0.0.13.13 and it just tells me "app not installed" when i go to install it. Any ideas?

Thanks!
[Android Apps and Games] boroboy69r:
Do you have the stand a lone messanger app installed? If so remove it and try agen
[Android Apps and Games] Captain McFunk:
I removed it before i tried. I went ahead and opened up facebook and it's working, it just kept telling me that it did not install, but it seems to be working fine. I'm on an AT&T Note 4 for anyone that has this issue.

Thanks!
[Android Apps and Games] nymikey:
Just updated to Version 23.0.0.3.14. and still working perfectly on my GS4 running 4.4.2 TouchWiz. ?
[Android Apps and Games] mad3963:
24.0.0.0.1 working fine for me.

Edit: just updated to FB 24.0.0.0.2 and still working.

sent from my Moto DROID Turbo
[Android Apps and Games] Sp1tfire:
Unless Facebook changes something into how their messenger app relates to Facebook, this app will work with all future versions of Facebook.
[Android Apps and Games] nekubg:
Hey!

The app works great!

I've added it at a torrent tracker so people may download it from there too ! Credits given to AntaresOne !

https://kickass.so/facebook-chat-enabler-t9879605.html
[Android Apps and Games] yeroc1982:
Thanks, works great!

Sent From My Note 4
[Android Apps and Games] ltGuillaume:
[MENTION=3562083]wanam[/MENTION] his version is far more elegant: no useless compatibility libraries leaves a mere 18KB apk :D
[Android Apps and Games] glcvr6:
Tested on Android 4.2.2 - Alcatel Idol 2S - Working great, thank you ;)
[Android Apps and Games] alleineforever:
Android 4.4.2 KK htc One Stock works perfectly.

That is possible? In news feed many times doesn't show me the most recently post, I have to go to "most recent" to see the most recent activity, it could change? New feed by Most Recent. Thanks for your work.
[Android Apps and Games] lector007:
Great app !