yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] lorantm:
There are several reasons why it isn't a smartphone app (at first I also wanted to implement it on Android).

- I had been experiencing issues with Baksmali on Android: sometimes it did not disassemble many classes and that would have caused incomplete re-assembled dex files and as an outcome, app crashes.

- Disassembling a dex file involves a lot of I/O operations: thousands of files are written to storage. As Facebook consists of more than 92,000 classes packed into 10+ dex files and patchable classes are normally found in 2-4 of them, that would mean a _lot_ of files written to the flash -- this wouldn't be good for it.

- Even if it worked and wouldn't be so harmful to the flash, it would be terribly slow.

These are the reasons in a nutshell. Also not to mention that I'm doing this in my free time and I don't even ask for donations and such. What is more, I didn't achieve this in a few weeks, it took many months of research and (mostly obfuscated!) code analysis to find a solution to bring back the embedded Messenger that Facebook took away. I feel your post a bit offensive though -- you should rather be glad that I decided to share my solution with the community.

To everyone: 'framework-cleanup' is updated in OP, now it will work with user folders having spaces in their names.
[Android Apps and Games] levider:
When someone send me photo/pic

I have information "X send you a photo" but i don't see photo, only this information

On Facebook 77.0.0.0.45 alpha
[Android Apps and Games] lorantm:
This bug is in the Messenger code and it's only observable on some devices.

I'll try to fix it myself but I can't promise anything.
[Android Apps and Games] raptorddd:
why dont you make it??? come man you make it. :eek:
[Android Apps and Games] DaveX2012:
Yeah This bugs is very important for me.
[Android Apps and Games] wolfballz:
It took all of about 10 minutes from start to finish... You are lazy. Like someone else said, why don't you make it into an app.
[Android Apps and Games] ssrij:
Reverse engineering Facebook's apps (which [MENTION=7414440]lorantm[/MENTION] has clearly done) is already against the ToS. Sharing the patched APK makes it an even more serious offence. I patched Instagram APK once, and was served with a Cease & Desist letter and had my FB and Instagram accounts disabled, until I complied with Instagram's terms and deleted my code and APK, after which I got back my accounts. So yeah, no one is going to take the risk, especially if you don't want to be permanently banned from any of Facebook's services.
[Android Apps and Games] raptorddd:
it takes more :D you need to download apk, depends on your connection speed.

then your pc.. mine takes about 17-15 minutes i patch like 2 versions. :D am just thankful that it works. it only takes a few minutes..

guess what you will almost spend the same time downloading messenger.:p

so it isnt that bad. i have patche 2-3 version every update :good:
[Android Apps and Games] Android-Banjarmasin:
WTF, thanks bro I forgot about that
[Android Apps and Games] ionutzvio:
Works great. Tnx a lot. I hate the fb messenger.
[Android Apps and Games] lorantm:
I'm interested in your story if you would share it.

What did you exactly patch in Instagram and what was in the letter?
[Android Apps and Games] dque:
Can some upload the apk after patching
[Android Apps and Games] DaveX2012:
No.
[Android Apps and Games] dque:
Okay i see thanks
[Android Apps and Games] psycholyzern:
Hi. I don't have a pc. Is there any alternatives?
[Android Apps and Games] fmaher:
[MENTION=7414440]lorantm[/MENTION], it works magic on v77.0.0.27, the only issue is when I try to mute notification for a conversation and it caused FB to restart, is there any fix for that?
[Android Apps and Games] Santhosh M:
Works good for me with 75.0.0.23.69. One issue that i noticed is the back button ( within the chat messenger screen ) after u open a individual chat doesn't work and hence have to use the device back key for that. Else everything looks good.
[Android Apps and Games] jineshpatel30:
It's known issue.

afaik It'll not be fixed as it's broken on FB's older code which is used in patcher.

---------- Post added at 05:44 PM ---------- Previous post was at 05:41 PM ----------

It's in Known issue in OP.

and It'll not be fixed according to OP
[Android Apps and Games] lorantm:
It's a known issue and it worked on earlier versions but now it doesn't. I can't do anything about it.
[Android Apps and Games] ssrij:
Check your PM
[Android Apps and Games] AnOnYmOuS2006:
Just install Swipe from play and f**k Facebook and messenger apps off for good... Job Done !! Lll
[Android Apps and Games] lorantm:
You came from Reddit for sure.

This is FBPatcher's thread, please keep the discussion on-topic.
[Android Apps and Games] TrueMS:
Doesn't work on CM13.1 for Zenfone 5, tried lots of versions, everytime, when I launch it on phone, app crashes and restarts - infinite loop. Ideas?
[Android Apps and Games] raptorddd:
If lorantm doesnt care i can share patch version by pm.
[Android Apps and Games] kryshnakishore:
So for every fb app update we should follow same process?? Or doing this once is enough?

---------- Post added at 06:03 PM ---------- Previous post was at 06:02 PM ----------

Can u share for me
[Android Apps and Games] dixi00:
patcher did lots of work, although i didnt want to install latest version, but it refused to patch my version 44 and smth.

So i was forced to download the latest one, and after all the work done and app istalled, it does not have a function of voice calls?

what is the use of this patch then???

It is easier to use old famous method and chat inside fb app with m.facebook.com , same functionality.

Or i missed smth?

how can i make calls?

and is there any way to patch older versions? As FBC helper does not work anymore, although worked just few days ago.
[Android Apps and Games] lorantm:
It's clear that you haven't even take a look at the FAQ but I'm so kind to summarize the facts you've missed, here you are:

- patcher works for v59+

- when on v55 or prior to it, you don't need patching: use chat enabler or Messenger 1.0 to access in-app messaging

- since v56, Messenger functionality only exists as dead code within the app, trying to avoid usage of Messenger will result in the mobile messaging site to load in the in-app browser -- the patcher makes the dead code accessible so one can use FB's latest features and also doesn't have to struggle with Messenger or the crappy mobile site

- native library for calls had been removed, adding it from Messenger is not a solution as it does not work properly in FB4A

Enough said. Seriously, this is the _last_ time I answered questions that are in the FAQ. If I had the time to create this tool with hard work, you should also take the time to read the OP at least.
[Android Apps and Games] dixi00:
yep, i read that, but probably im not good at all those terms, the same like you are . Thanks for your work. Unfortunately.. that doesnt really suite to me.

And chat enabler did not work as well , whatever i try . ANd fb app keeps updating itself. Without calls i dont really need this heavy new fb app

better to use older one. But it is only my opinion and i appreciate your work anyway.

Hopefully there will be one more solution to make it work as before, without messenger but with calls .
[Android Apps and Games] lorantm:
If chat enabler doesn't work for you then install Messenger 1.0, it will unlock the messaging functionality of the Facebook app. It's only 2MB and you can hide it from your launcher, no need to run it ever.
[Android Apps and Games] dixi00:
Thank you for advice. Where can i get messenger 1.0 ?

here i found only 3.0 and higher http://www.apkmirror.com/uploads/page/11/?q=messenger
[Android Apps and Games] lorantm:
Messenger 1.0
[Android Apps and Games] dixi00:
thank you.

I found it here http://xdaforums.com/showthread.php?t=1211258 but when i try to install it, i get message - app not installed :(((

that was my last hope :(((

---------- Post added at 01:33 AM ---------- Previous post was at 01:17 AM ----------

Thanks a lot again, finally it worked. I hope it will keep working the same way.

Thanks .
[Android Apps and Games] lorantm:
78.0.0.0.8 tested, works well.

Also I did not experience the image sending bug at all. Images were sent between an LG G2 with 78.0.0.0.8 and a G4 with 75.0.0.23.69. The 'xy sent you a picture' text immediately changed to the image itself.
[Android Apps and Games] asms5583:
please call icon is not showen in the massenger can you help me to fix that proplem
[Android Apps and Games] lorantm:
Unbelievable.

Hope that I would get moderator rights for this thread, posts like the previous one will be simply deleted including their context.

So hard to read that FAQ?
[Android Apps and Games] subscope:
Absolutely awesome! It works like a charm. Simple to patch and finaly I can use official fb with messenger :) thank you for your hard work! I hope you continue with this :)
[Android Apps and Games] DaveX2012:
You are too lazy to read so no fix for that.
[Android Apps and Games] FuTChY:
Thanks, Patched successfully on Ubuntu 14.04 LTS, and it works fine with GT-N7100 Stock 4.4.2.
[Android Apps and Games] dixi00:
Just put clear instructions , people will stop asking. I also read the FAq, but could not figure out. As i have no idea of "dead code" meaning, etc. Send people to messenger 1.0, it seems to be the best solution for now.

And thanks again .

Regards
[Android Apps and Games] kryshnakishore:
Can u send me modified apk?

---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------

Can u send me that patched apk pls
[Android Apps and Games] lorantm:
OP updated. Info about voip is right at the top.
[Android Apps and Games] wolfballz:
Really??? Someone already asked that and the OP said no... it's even in the 1st post that he will not do that. Please read... a little even.
[Android Apps and Games] kryshnakishore:
Why I must kid.... What's wrong with u in sharing... Share I would feel thankful.. If u dnt want to share then do ur work
[Android Apps and Games] wolfballz:
What's wrong with you doing the patching yourself? It really isn't difficult at all.
[Android Apps and Games] kryshnakishore:
Yeah I read.. What's the point in not sharing... Will sharing decrease life span.? Do please read..... a little even to my post & share

---------- Post added at 03:23 PM ---------- Previous post was at 03:21 PM ----------

Yeah I read.. What's the point in not sharing... Will sharing decrease life span.? Do please read..... a little even to my post & share
[Android Apps and Games] wolfballz:
He is sharing... he is sharing his work and apparently you can't take minutes out of your day to do a little patching yourself. You want everything handed to you?
[Android Apps and Games] lorantm:
[MENTION=5427507]ssrij[/MENTION] already told the reasons, let me quote him:
[Android Apps and Games] kryshnakishore:
Whats wrong in sending apk here, it's too simple than opening pc & patching
[Android Apps and Games] lorantm:
[deleted]
[Android Apps and Games] wolfballz:
You have obviously still have not read the first post. It clearly explains why he won't simply share the patched apk.
[Android Apps and Games] kryshnakishore:
You can mail me

---------- Post added at 03:31 PM ---------- Previous post was at 03:29 PM ----------

Even fb will not be such strict in sharing.. Any helpy people mail me apk kryshnakishore@gmail.com

---------- Post added at 03:31 PM ---------- Previous post was at 03:31 PM ----------

Ok no sharing, what about mailing exclusively for me
[Android Apps and Games] kryshnakishore:
Ok no sharing, what about mailing exclusively for me
[Android Apps and Games] DaveX2012:
You are toooo lazy sorry. Please read instructions in OP.
[Android Apps and Games] kryshnakishore:
You guys are amazing, finally patched on my own...... For every build doing this sucks.... Try any alternates pls
[Android Apps and Games] lorantm:
Compared to the difficulties I went through during the development and maintenance of this project, performing a few clicks to run the application and install the patched apk does not suck at all.

It was already told a million times that why:

- it can't be updated from Google Play,

- it isn't a mobile app, and

- patched apk's won't be shared.

Use the thread search feature to find it out.
[Android Apps and Games] kryshnakishore:
Well done bro.. Sorry for my harshness... App is amazzing
[Android Apps and Games] wolfballz:
You're free to try any alternative you want. [MENTION=7414440]lorantm[/MENTION] provided this patcher free of charge and spent his own time creating it and released it to us. He could have kept this to himself and you wouldn't have a patched facebook to use messenger inside of. If you think it sucks then don't use it. You should be giving him a thanks and call it a day.
[Android Apps and Games] jineshpatel30:
I think it's time for you to understand and implement bitter truth of XDA.

YOU NEED TO START IGNORING SOME PEOPLE & REQUESTS

otherwise what will happen that you will fed up of all these and will completely shutdown entire project, so better to start ignore some now than punish all in future.

just piece of advice from me what i have seen & learned so far from xda !
[Android Apps and Games] lorantm:
Tested 77.0.0.7.66 beta, it works.
[Android Apps and Games] faakher:
my brother don't be angry

I just made a wish. And if I could, I would definitely ended up in making an aap but unfortunately I'm not an android developer :(

---------- Post added at 07:50 PM ---------- Previous post was at 07:50 PM ----------

man I'm not an android developer :(

---------- Post added at 07:55 PM ---------- Previous post was at 07:50 PM ----------

dude I'm not an advanced man in smartphone world. And I really don't know that there is a lot of stuff behind all this as you described that there are more than 10000 class.

I just made a wish :(

And I'm extremely sorry for my post as it felt you offensive :(

will not comment next time.

Thanks for you app and feedback
[Android Apps and Games] DaveX2012:
1. You don't read OP properly. 2. You're too lazy. 3. You don't need to be a developer to do this (you're just lazy). 4. You only want spoon feeding.

If you need this app go to the first page and read.
[Android Apps and Games] TrueMS:
Do you know any sites for downloading Facebook's apk files for x86?
[Android Apps and Games] lorantm:
Install it from Play and save the apk with Total Commander for example.
[Android Apps and Games] raptorddd:
lorantm may i ask you something... i just installed lastest 7.7.00.66 beta.. but i see theres a news feed blue var on the bottom.. do you happen to know which version doesnt have it.?
[Android Apps and Games] lorantm:
As I don't really get what you're talking about, I'd appreciate a screenshot.
[Android Apps and Games] raptorddd:
well i installed the one from playstore and made apk.. then i think is 76.. v

on latest..theres a blue bar on top of navigation keys. making the screen smaller.. its says news feed and it has a gear that when you touch it takes you to settings. but you cant disable the bar.. its there. sorry i already using playstore and it doesnt have it..
[Android Apps and Games] jineshpatel30:
[MENTION=7414440]lorantm[/MENTION] what i think he is trying to say is, new feature what FB is testing called "news feed bottom bar" . , it's server side so there is no specific version or apk for it yet.

for more info http://www.androidpolice.com/2016/0...bbon-and-live-video-tab-plus-ui-improvements/

and until it goes official in any apk there not much that OP can do to fix any bugs you encounter with server side testing ;)
[Android Apps and Games] raptorddd:
yes exactly, you can toogle on and off but only what you want to see. but the bar itsefl it cant be removed.. for example says pets--- funny--- selfies you can toogle those off. but the bar its still there.. and it reduces the screen...

i tought he noticed and might knew what version they added this. i searched and only found for chrome.. not android apk.
[Android Apps and Games] kryshnakishore:
Just asking.... Since it's not official app will my data be secure? i.e passwords or chats??
[Android Apps and Games] lorantm:
Load the jar in jd-gui and read the source if you don't trust me.

It does not collect any data.
[Android Apps and Games] kryshnakishore:
I dnt know all that stuff, just as normal thing I asked.. Thank u for developing this & i hope its secre, keep updating
[Android Apps and Games] DaveX2012:
Very weird I don't have that new feed. Same version 77.0.011.66
[Android Apps and Games] raptorddd:
its annoying... its okey as ong as you can remove it... i used this .. 77.0.0.7.66 beta
[Android Apps and Games] jineshpatel30:
as i alreday said it's server side switch so not everyone on that version will see it. only handpick ones is able to see server side features. ( you can compare it with stage roll out...well kind of...but only for testing ) so even if raptorddd will give you his own apk you will not able to see bottom bar in your phone ;)
[Android Apps and Games] Lubovic:
Hello,

Thanks for your patch, but how many times does it says : "Running apktool to decode ressources..." ?

It's been 10 minutes and I'm still here.
[Android Apps and Games] lorantm:
On a faster computer with SSD the whole process takes less than 3 minutes. On a slower PC it can take up to 10 mins but apktool should finish in 2. Check apktool-decode.log.
[Android Apps and Games] Lubovic:
Thanks for your answer.

I have a SSD, i5 and it's still blocked on it.

Btw the processor isn't working.

Here is the log :

I: Using Apktool 2.1.0 on FB72.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Ludovic\apktool\framework\1.apk

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...
[Android Apps and Games] lorantm:
As apktool did not report any errors, I don't know.

Maybe you should try another apk or a later version of Facebook.

Mod: did you run framework-cleanup?
[Android Apps and Games] Lubovic:
Yes I did, but I checked %userprofile%\apktool\ and there were files in it.

I deleted them manually and it's working like a charm !

Now my problem is my s7 edge have facebook pre installed, so I can't install the apk. :(

I don't want to get root, I'm afraid to loose the warranty....

Thanks anyway
[Android Apps and Games] jeremeel2015:
thank you for this, works flawlessly even on latest version of FB :good:
[Android Apps and Games] matteo2:
Can I patch folio free with this patcher?

Inviato dal mio SM-G920F utilizzando Tapatalk
[Android Apps and Games] lorantm:
The patcher is designed for the official Facebook app.

Folio is a mobile site wrapper, does not contain any Facebook/Messenger code therefore it can't be patched.
[Android Apps and Games] quanqw:
Failed to decode resources! Check logs. Exiting (97)
[Android Apps and Games] lorantm:
Find framework-cleanup in OP and run it.
[Android Apps and Games] eyesore123:
Cant scroll old conversation on the lost, is this normal?
[Android Apps and Games] thiron03:
Why me stay in logo app fb?
[Android Apps and Games] lorantm:
Please read the OP... The reason and the solution is right at the top.

Edit: now I've even increased the font sizes for the voip and scroll down bug parts. If this won't help, then nothing. It starts to be really boring.
[Android Apps and Games] exodius48:
[MENTION=7414440]lorantm[/MENTION]

Does fb have secret feature that not available to public?
[Android Apps and Games] lorantm:
These are such features that are currently being tested and are available for a few people for now. Ride sharing, payments, commercial chatbots, etc.

This note is there because somebody here made modifications to Instagram that allowed others to see the new material design of the app which was being tested. One day later he got a C&D from FB's attorney. So I promised in advance to not enable such features.
[Android Apps and Games] exodius48:
Ohh..

Will those feature release to public on next update fb?
[Android Apps and Games] mathy007:
Only fb can answer that
[Android Apps and Games] lorantm:
It doesn't work like that.

They are rolling out these features continuously, they are already in the app but aren't enabled for everyone. Some features will only be available in specific markets.
[Android Apps and Games] thiron03:
Iam not working for 72/76 and 78 in ver 1.5

Why?

Framework cleared, space in disc C:/(57GB)
[Android Apps and Games] lorantm:
It must work. Delete %userprofile%\apktool manually.

Also it's very suspicious that it's not 1.5 as the errors are not visible in apktool's log. Download everything again.
[Android Apps and Games] thiron03:
Yes manualy, 1.apk back/spawn again...

I have 10 apk finaly ver, all not work :crying:

My Win 8 64bit, and my phone asus zen 4 lollipop
[Android Apps and Games] lorantm:
That's OK if the file is there. Only the old version of this file should be deleted so apktool will put the new version there.

Go to task manager and kill all java processes (or simply reboot) then try again.

It takes 1-2 mins to decode the resources.
[Android Apps and Games] thiron03:
My java uptodate

Okay iam tested ?

And no sucess
[Android Apps and Games] thiron03:
what is wrong from all that I have ???

I've followed all the way there in the tutorial ...

I tried on the fb version 72 to 78 and all corupt.

my java update jre1.8.0_91

I've already framework.bat update java and ...

then what's the solution?:crying::crying::crying:

thanks:o
[Android Apps and Games] mar11974:
Would changing the package name in the manifest (probably a good idea anyways) allow it to be installed on devices with FB preinstalled? If so, could you add it to the script.
[Android Apps and Games] lorantm:
It's done but it was really slow. Install the patched apk.

If you can't install it, uninstall the official FB first. If it's preinstalled, you can only remove it with root.

As I said earlier, it's not a solution.

I tried it, the app crashed very often. Package name is not only in the manifest but is hardcoded into many classes.
[Android Apps and Games] ulanbukas:
love this patch thank you very much
[Android Apps and Games] thiron03:
I could install it , but I could not open it even if I could just get the logo out and sign yourself up logo ... so and so
[Android Apps and Games] lorantm:
Try to uninstall it completely and reinstall it.

I have no idea as your problem is unique and I can't see your logcat at app start.
[Android Apps and Games] Crayvolt:
thank you sir for this awesome work .tried it and really save my ram consumption only using Facebook patch:) without messenger

Already given you a thanks deserve.:)
[Android Apps and Games] ulanbukas:
patched facebook-77-0-0-20-66-release and still loving the patch thank you very much... some hassle some pictures or post missing like press refresh the sceen mayne my data is slow or something
[Android Apps and Games] thiron03:
thanks I finally understood and could overcome the errors that exist ...

and now finally ...

work to ver 77.0.0.20.66
[Android Apps and Games] lorantm:
Good to hear that.

Could you please share with us what was the problem?

Maybe it could be useful in the future.
[Android Apps and Games] teddyking:
Great patch. its work !

Thanks for FBpatcher.
[Android Apps and Games] lorantm:
Don't really know what else should I do: right at the top of the OP there is what to do if you get an error. With laaarge letters.

---

Okay, people. By the weekend 1.6 will be released with automatic framework cleanup as it starts to be extremely boring.
[Android Apps and Games] raptorddd:
Thank him by helping others with problems with patcher. and hitting the thanks button on the lower of post on right hand side..
[Android Apps and Games] :
anyone get it working on x86 platform?

i tried using two devices running x86 (zenfone 5 and zenfone 2) it looping on facebook logo.

it patched successfully, so now am wondering if this working on x86 or probably need to use spesific fb x86 apk?
[Android Apps and Games] lorantm:
You must use an x86 apk otherwise it will not work.

Download it from play store and save it using Total Commander, then patch it.