yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] AdrianDR94:
I can't preview incoming messages in latest stable Facebook 82.0.0.23.70, same with previous stable. could you help me?
[Android Apps and Games] lorantm:
I can't see what's the exact problem. I didn't experience any issues.

Edit: now I also see it. Yesterday it didn't look like this, but only the top 5 of my list have a lacking last message field.
[Android Apps and Games] AdrianDR94:
Yes, in previous stable version the problem was with the top 5 of messages, but in the lastest stable this happen with all of my conversation list.
[Android Apps and Games] DaveX2012:
Yes.. Can't preview incoming message.
[Android Apps and Games] lorantm:
The bug is either in the messenger code or on server side... Out of the patcher's scope.
[Android Apps and Games] wolfballz:
Haven't tried the latest alpha 84.0.0.0.60 yet. Do you know if it patches OK? I will try it once I get home from work.
[Android Apps and Games] nick (ATYCD):
Not a good one
[Android Apps and Games] lorantm:
Divebar doesn't work so that version is crap.
[Android Apps and Games] wolfballz:
Sounds like all the latest alphas are crap.
[Android Apps and Games] aldanopolis:
The patch works with latest alpha, and works good

Enviado desde mi Moto G mediante Tapatalk
[Android Apps and Games] A.Fouad:
hey bro chathead working ??
[Android Apps and Games] lorantm:
No. It's a messenger only feature.

Update: latest alpha is unpatchable, Messenger code is missing again (and now divebar works but message notifications don't).

The full messaging package (including payments and ball games) and the voip code is still in there though, but they're pretty useless without the Messenger code.
[Android Apps and Games] lorantm:
This is what remained from orca compared to the previous alpha.

Left: .18 alpha

Right: .28 alpha

Divebar code has been moved to other packages and therefore it's working now. If they fix message notifications too, we'll have to say goodbye to the orca package forever.
[Android Apps and Games] jineshpatel30:
What's last known perfectly working FB version (stable) ?

I read on v82.x it has message preview problem in chat ? And u said it may be messenger code/ server side ...so did you find out what exactly causing this out of these two ?

I'm asking so that we can keep perfectly working patched apk safe for future (and use it until FB starts to annoy us with update msg every time we open app -_- )

Btw thanks for keeping this thread up-to-date till now.

If fb is removing messenger code i hope they clean up entire app completely so that it can be resource friendly !

It's Good time to look for this, #Facebook !
[Android Apps and Games] Tomi_Ohl:
Just patched latest beta, 84.something. Preview of messages doesn't work here neither and clicking on new message button gives FC. Looking at the picture two posts above, I feel that we won't have any better situation in future neither... So finally facebook will win, we will be forced to install messenger, since it's not available now on mobile site neither...

Thank you [MENTION=7414440]lorantm[/MENTION] for all the work you have done!
[Android Apps and Games] fluffi444:
I really must admit that I love your work! Well done!

Is there actually a noticible difference between 4+ and 5+ version if they are installed on LP 5.1.1?

Both are working here (of course) but is it recomended or is there any advantage if I use only 5+ versions?

Thank you again!
[Android Apps and Games] george_shudi:
No advantage of using 5+

5+ apps can't install on 4+ , So it's better to patch 4+ so both users kk&Lp can install it.
[Android Apps and Games] wolfballz:
Latest alpha 85.0.0.0.28 fc's when opening message center. Latest betas 84.0.0.13.70 and 84.0.0.16.70 seem good.
[Android Apps and Games] jineshpatel30:
i checked older version till 81 and it seems server side problem may be they turned off preview on older code in FB as they are removing it in new beta versions anyway.

now problem i for which i quoted you,

In patched version of Facebook_83.0.0.20.71

(stable....5+....download from Play Store...which apkmirror shows as beta but i'm NOT enrolled for FB beta test so it should be stable ) ,

patched with 2.7 patcher

strange thing is original apk size of around 58MB (significant higher than v82 ) and patched apk becomes just around 48MB.

though every thing seems working, can you check what the hack is going on here :D :silly:

Download playstore v83
[Android Apps and Games] xlollomanx:
I've patched v83.0.0.20.71 with v2.6 patcher. Now the patched apk is about 39mb and it installs very quickly than previous versionand works fine. Maybe it's not too strange.

Sent from my Oneplus One
[Android Apps and Games] jineshpatel30:
did you used my link or the one present at apkmirror ? bcz apkmirror only has 4.0+ version Not 5.0+...4.0+ has lower original size compared to 5.0+

if you used my link then it's very strange !

with every step down version of patcher FB size decreases by 10MB !

Huh ! we need to find initial release of patcher to get FB total bloat free.... Hehe :D
[Android Apps and Games] xlollomanx:
No, I've downloaded apk from apk-dl and patched it from myself.

Sent from my Oneplus One
[Android Apps and Games] jineshpatel30:
No no ...you misinterpreted.

I asked, from where did you get your "original" v83 apk ?

The one i provided in G-Drive link is not patched ...it's original from play store
[Android Apps and Games] xlollomanx:
I've downloaded it from here :https://apk-dl.com/facebook/com.facebook.katana/

Sent from my Oneplus One
[Android Apps and Games] lorantm:
In the original apk, some files aren't compressed but the patcher compresses everything so that's why the patched apk is much smaller.
[Android Apps and Games] jineshpatel30:
Yah, that's for android 4.0+ not 5.0+ , anyway it works on 5.0+ regardless

But it's good to know that even 4.0+ version get slashed by 10MB after patching (~49 to ~39)

---------- Post added at 08:29 PM ---------- Previous post was at 08:25 PM ----------

Oh..nice

Thanks for clarification :)
[Android Apps and Games] fluffi444:
Sure! Got this.

But why there are different version then? Why is FB making this bunch of this differtent versions?

Therefore there must be an difference and maybe a reason (advantage?) why LP users should better take 5+ version. :confused:

I'm not talking about which version is better to be provided as patched versiond. Sure that this must be 4+ versions.
[Android Apps and Games] biggdevon:
Is there somewhere we can find the 5.0+ version of 83.00.20.71?
[Android Apps and Games] ajayzone2:
So is This the End of Project now For Latest Version ?
[Android Apps and Games] mathy007:
Don't think so
[Android Apps and Games] Tomi_Ohl:
Someone in this thread earlier said, that installing 5.0+ versions takes much more time, but then, they're smoother. That time I've also switched to 5.0+ versions (whenever an 5.0+ beta is available on apkmirror, I patch it), and don't know if it's just because I changed ROM on my phone too, but this really feels smoother and faster.

Edit: on latest beta, 84.0.0.17.70 (5.0+), app FC's when I click on new message button. [MENTION=7414440]lorantm[/MENTION], I'm attaching the logs, please see if it's something fixable...

It says something about permission denials, but I've given the app all the permissions (MM).

I see... So we can only hope they'll fix it.
[Android Apps and Games] lorantm:
That's the problem. It's some issue with the resource files, I can't do much about it.
[Android Apps and Games] gabontz:
Hi folks!

Does any one of you know on wich version is working the call function? I was talking about the call function from facebook, not the phone.

On v84,82 is not working.

P.S.

55.0.0.18.66 is the latest version with "call enabled"

So my post can be ignored.

I saw in first post, after i posted here.
[Android Apps and Games] lorantm:
I don't believe this...

Read the OP, please.
[Android Apps and Games] Ezekial:
I have it for x86 if interested. Also 4.0 ARM, though I don't believe that helps.

Let me know if you want it, I will send PM.
[Android Apps and Games] adundut:
after the patch , sound effects disappeared when I wanted to give like on the post facebook friends.

please fix it and thanks.
[Android Apps and Games] lorantm:
I didn't experience such issues. I don't think it's related to the patcher.

Anyway: FB version, device model, OS version? Many details are missing.

PS: it's not like "fix this and fix that". Don't forget: I'm doing this on my free time, for free. I'll fix what I can, would like and find important, I can't focus on every individual issue that may not even be related to the messenger component or the patcher. I appreciate issue reports and feedback, but I really don't like that "fix this" style.
[Android Apps and Games] adundut:
I just patch the facebook version 83.0.0.20.71 and its successful but the sound effect is gone.

I use this fb patch on my device samsung galaxy grand 2 sm-g7102.
[Android Apps and Games] ramshif:
When i click on the message box,, it itself close the fb app :crying:

Any help?
[Android Apps and Games] gabontz:
Here are a bunch of them: http://www.apkmirror.com/apk/facebook-2/facebook/

Maybe you can find what you need.
[Android Apps and Games] wolfballz:
Tried patching 85.0.0.0.49 alpha and an error button popped up and patcher stopped at 42%. The log doesn't actually show an error though.
[Android Apps and Games] lorantm:
Messenger code is missing from that version. It's already listed in the OP under "alpha blacklist".

More and more code and resources start to be missing from recent versions, maybe that means the end of the project very soon.
[Android Apps and Games] Białko16:
Great :D

Awesome :D
[Android Apps and Games] wolfballz:
:crying: damn yous facebook, damn yous
[Android Apps and Games] lorantm:
It's not that bad. If they successfully clean up all the unused code including the messaging and rtc (voip) packages, app size will reduce dramatically. Installation will be faster and maybe it will make positive effects on resource usage too.

Web view messaging will always be there in the app for users running low on storage or using an Amazon device (or having Messenger 1.0 installed :)).

And no, mobile messaging site won't be shut down, it's just substituted with a page redirecting you to Messenger for some user agents (FB web view is not among them). Until Amazon users aren't forced to install a separate app, we don't have to fear at all. Although it's very likely that we're losing the full-featured Messenger embedded in the main app, we still have the less convenient web view or Facebook Lite.

Personally what I'm going to do is to use the last perfectly working patched version for as long as possible -- if Facebook rolls out a new feature in their app that I find interesting then I'll consider updating and installing Messenger 1.0 in addition.

But let's see what will happen in the next beta and stable releases, currently the latest beta has the code.
[Android Apps and Games] wolfballz:
85.0.0.0.70 alpha is failing also.
[Android Apps and Games] tuxdude143:
With things looking bleak here I'd just like to throw a suggestion out there when this eventually stops working (and you're like me and don't want to touch facebook messenger with a 12 foot barge pole)

Anyways I suggest that you guys give the Disa project a look. Not trying to plug anything here for the record, just a personal suggestion. While it can't do messaging inside the facebook app what it CAN do is let you send facebook messages without actually having facebook messenger or even the facebook app installed. That and it also acts as a sort of chat hub intergrating multiple things into one application (you can send text messages and facebook messages in disa atm).

Anyways while this isn't a 100% solution to getting messaging back into the official fb app I'd say it's the next best thing for those who still want to send messages on mobile but don't want to polute their phone with messenger.

Thanks to the OP for this mod btw. You're doing an excellent job!
[Android Apps and Games] lorantm:
Tried it, not bad, but the truth is that we're here because we don't want a separate app for Facebook messages, just want to have everything in one place -- therefore it's not a proper solution.

That app has a 47M installer, it's even bigger than Messenger and I experienced some crashes too. So if I had to choose, I'd rather install Messenger for many reasons (chat heads are one of them). I appreciate the devs' work though, this is an exceptional thing as I didn't see a native app using Facebook's API to show your messages so far, just mobile site wrappers (which I don't respect much and don't see much sense of them). People with almost zero knowledge and logic can write such a wrapper that actually shows the mobile site, load it with ads and offer a pro version for $3-$5 or so. For a free service...

End of this project is coming. Latest beta doesn't have the Messenger code.
[Android Apps and Games] lorantm:
New version is out, probably the last one.

I fixed the crashing new message option, it will now take you to the mobile site in the in-app browser where you can select the recipients and compose your new message.

Also added a patchability check method that doesn't allow the patcher to proceed if Messenger code is missing and warns the user about that.

Next stable release starting with 84.0.0 will hopefully work but that's it. It was a pleasure to develop this tool and help thousands of Facebook users to avoid using Messenger. Thanks for all your support. :)
[Android Apps and Games] jineshpatel30:
Which Crash we are talking here ? i tried to use new message in Stable 83.x patched with 2.7 but didn't get any crash ! (though it didn't show any list , we need to type name to get suggestions )

Thanks for all your efforts in this project :)

Hoping to see you you around for another one ;)
[Android Apps and Games] lorantm:
It crashed on the latest patchable versions due to some layout issues as you can see it some posts above.

Thanks! If I found out something new, XDA would be the first place to publish it so stay tuned ;)
[Android Apps and Games] miguelrivas:
thanks to you bro.
[Android Apps and Games] machao_mengqi:
so sad

Facebook remove messenger code for new facebook app :( :(

What shall we do now :crying::crying::crying:
[Android Apps and Games] lorantm:
It's quite strange, the latest beta has the Messenger code again, can be patched but doesn't work properly. Thread list and conversations don't load, it just says some error occurred. Message notifications don't work either.

84.0.0.20.70 is the latest stable (listed as beta on apkmirror wrongly), it works great.

Btw, did you know that a hidden snake game is coming to the voip in-call screen of Messenger? There will be two snakes, one for you and one for your opponent (the person you're in call with). Devs must be bored. :D
[Android Apps and Games] sufie cruise:
Failed
[Android Apps and Games] lorantm:
Extremely high quality post. Thank you!
[Android Apps and Games] subscope:
Before anything I I just want to congrats you about this excellent job! Since you released this patch I used as dayly software. And I want to use it up to Facebook removes all code about messenger in fb app. Just a little issue in last stable version when I click <| to create a new message, facebook just close and doesn't open any pop up to write a new message. I don't know if I am the only that have this issue. Anyway I am using tw rom 5.0.1 in my i9505 :) once again thank you for your work!

Enviado do meu GT-I9505 através de Tapatalk
[Android Apps and Games] lorantm:
You should patch it with 2.8, it will work.
[Android Apps and Games] lorantm:
85.0.0.13.70 has the same bug as the previous beta (messages don't load and notifications don't work).

Maybe they'll fix it for the next stable. They should anyway fix the message notifications and if it's done, messages will also load.
[Android Apps and Games] lou2s:
May I know up to which version does the message notification works? Using 84.0.20.70 and not working (though I can send and receive msg). Is it server side or app side? Cheers. I hv been depending on this thread since they reinforced the messenger app installation. I remember at the beginning the notification worked...

Thanks again!
[Android Apps and Games] lorantm:
Are you sure you're on that version? Do you have message notifications turned on in app settings?

Just because I'm using that version on my primary phone and I get the notifications properly.
[Android Apps and Games] lou2s:
O, apologize, I meant the teslaunread shown in the launcher. Meanwhile only the status notification can be shown. For example, if I have 3 status notifications and 2 new messages, only "3" will be shown in the launcher. While before, under the same scenario, "5" will be displayed.

Thanks!
[Android Apps and Games] lorantm:
I don't know that on which version was it working correctly since I didn't observe the app icon badge that much. Notifications are more important to me.
[Android Apps and Games] aldanopolis:
I want to know if this app size is normal , for me is too big

Enviado desde mi Moto G mediante Tapatalk
[Android Apps and Games] lorantm:
It's OK for 5.0+ variants.
[Android Apps and Games] lynxeon:
Is there any way to put the new emoji of Messenger in FBPatcher?
[Android Apps and Games] kryshnakishore:
Its normal

---------- Post added at 01:53 AM ---------- Previous post was at 01:52 AM ----------

End of life.... Very good thread. See u dev with something new
[Android Apps and Games] lorantm:
Latest stable 85.0.0.15.70 also doesn't load the messages and notifications don't work.
[Android Apps and Games] kryshnakishore:
As expected... Can u come up with new idea like any xposed module or different app
[Android Apps and Games] lorantm:
I don't have any ideas currently. I'll let you know if I'll have any.
[Android Apps and Games] blackbuffalo:
Fbpatcher 2.8 with facebook version 85.0.0.13.70
[Android Apps and Games] raptorddd:
http://xdaforums.com/showpost.php?p=67711268&postcount=574
[Android Apps and Games] blackbuffalo:
Thnks for pointing me this post. Dont read it :D
[Android Apps and Games] lorantm:
I contacted Facebook to let them know about the message notification issue in the recent versions.

Maybe they didn't even test their app extensively and therefore it's possibe that they didn't know about this issue.

Hope they'll fix it soon and messages will also load on the patched app then.
[Android Apps and Games] lorantm:
I guess that's an old version that does not have these classes. It started searching for patchable code but didn't find any.

Try with v72+. This patcher is intended for the latest versions so people can use FB's new features and also don't have to struggle with the mobile messaging site if they don't want Messenger.
[Android Apps and Games] Kordius:
No, I try fbpatcher on 73.0.0.18.66 stable and 76.0.0.0.19 alpha and always error :(
[Android Apps and Games] lorantm:
Do you have ~500MB free space on your C:?
[Android Apps and Games] Kordius:
~15GB :D
[Android Apps and Games] lorantm:
Then I have no idea :(

---

Info for everyone: I just patched today's alpha 76.0.0.0.27, works well!
[Android Apps and Games] zacshawn:
I have same problem like Kordius

I think fbpatcher search in folder build\apk for AndroidManifest.xml, in fact that file exist in outside folder so the system cannot find the path specified. Maybe it a problem, but i'am not sure
[Android Apps and Games] jineshpatel30:
if possible add that fix in weekend messenger icon one update.

actually i don't care about score submission it's just pass-time game for me :p so your fix would be more than enough for me. :D
[Android Apps and Games] lorantm:
Apktool should put the binary encoded xml in temp/build/apk so it's correct.

Patience, please. Adding the Messenger thread list is far not trivial: in a method of DiodeMessengerActivity, free smali registers have to be identified, resource ID of thread list theme should be extracted by aapt and so on. What is more, there is no on-click event set by default on thread list items so making ThreadViewActivity open when clicking on a thread in the list will also be the patcher's responsibility.
[Android Apps and Games] girishb:
Works great with the latest stable FB apk. I love you, lorantm. <3

Seriously, this is great work. Kudos to you!
[Android Apps and Games] raptorddd:
Will you ell me how this works. likei said earlier it still takes me to another page not the ones you posted..:confused:
[Android Apps and Games] lorantm:
It's described in the OP. There are 3 ways to open it.

Select a contact from the chat bar on the right, tap Message on somebody's profile or if you get a message, tap the notification.
[Android Apps and Games] nut27455:
Try install on unroot device and got error

Failure INSTALL_FAILED_DUPLICATE_PERMISSION perm=com.facebook.receiver.permission.ACCESS pkg=com.facebook.appmanager

and com.facebook.appmanager is system app

T_T Go back to Facebook v.35
[Android Apps and Games] lorantm:
What "com.facebook.appmanager"?

Facebook package is called "com.facebook.katana".
[Android Apps and Games] nut27455:
Yes I know
[Android Apps and Games] lorantm:
​

It is also written in the OP: if other apps from Facebook are installed/flashed, the patched version won't install.

To everyone: I'll write an FAQ in the OP and won't answer questions anymore that are in the FAQ.

Update: FAQ's done!
[Android Apps and Games] motfis:
Hi,

I know you have answer it before, and posted on the faq on the OP. Just curious if it is possible to add the library/code from previous FB app, not from the messenger? If it is not possible, its OK. I'm just curious.
[Android Apps and Games] lorantm:
The problem is not with the library because it can be easily added.

Theme of WebrtcIncallActivity was removed almost completely and cannot be added.
[Android Apps and Games] chankafai:
Anyone can share the modify apk?I can't run that patcher
[Android Apps and Games] jineshpatel30:
I'm just curious whether you are using zipalign or not. I'm not entirely sure what's benefits of using it but when i was patching SystemUI and all (way back a year ago or so ) i got advice to use it as final step as it "optimizes" apk :silly: and i have also read that Playstore apks are already zipalign so there might be benefit of adding it ;)
[Android Apps and Games] lorantm:
I don't use it, the app just repacks all the files with ZipOutputStream and level 9 compression. I'll read about it and add to the app if it's worth it.

Meanwhile I was working on the thread list feature. It seems it will work on all devices, although some versions only allow to scroll down 20 threads and then they crash, but with 76.0.0.0.27 alpha everything was perfect. There is a newer (the latest) alpha, although it did not crash while scrolling down, but the thread list had a dark background with dark letters, it was really weird. But worked fine. So new features are to come tomorrow.
[Android Apps and Games] kryshnakishore:
U contacted Facebook! OMG! If thy notice they will sue u becoz of unauthorized modifications to their app. Or thy may say to use messager app! Be ready
[Android Apps and Games] lorantm:
You can calm down, I just told them that message notifications don't work. Just a pretty much general feedback.

It should work in the official app too so they should fix it.
[Android Apps and Games] Conte Mascetti:
[MENTION=7414440]lorantm[/MENTION] I noticed that they listen more if you post a feedback under their release post in facebook beta page, just saying..
[Android Apps and Games] lorantm:
​

That's what I did. Also sent a bug report from the app.
[Android Apps and Games] kryshnakishore:
Oh sorry got it now. May be thy are forcing users to install messenger app. I heard photos to be moved to fb moments app soon.. Hope for the best
[Android Apps and Games] raptorddd:
:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[Android Apps and Games] JustFrame:
Patched fb for 4.4.4 Kitkat? I'm running CyanogenMod 11. I can't install stable fb patched it says parse error.
[Android Apps and Games] lorantm:
It was told so many times: you should download and patch a 4.0+ variant.