yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] evilwombat:
I haven't been stripping the Location stuff out of the Manifest lately - when I start FB for the first time, Android asks if I want to provide Location access and I always click Deny. I guess it may be useful for older versions of Android to do something about this.

Anyway, quick update- I started the rebase process but it's been a rocky start, mainly due to newfangled resource obfuscation that's being done on modern versions of FB. At first, I couldn't even unpack/repack the latest FB app using apktool even *if* I ignore resources, which kind of made it look like we're dead in the water. I have a workaround now, but I am still not able to do any kind of resource modification due to how things are happening. It seems like Facebook and the Apktool team are engaged in a bit of a game of cat-and-mouse, and Facebook seems to be winning at the moment. A few months ago, apktool was not able to unpack and repack facebook's resources properly, which involved some trickery but I was able to work around this in my most recent release.

Today, I see similar issues with resources, and I've filed an apktool bug, which appears to be related to an existing issue with how apktool handles resources in newer versions of FB.

But, I am able to get started on rebasing the code mods to the new version, while the whole resource thing plays out (I can't exactly ask for an ETA :)). Luckily, most of my mods are code mods, so I can do a lot of cleanup even without touching resources, but it would be nice to get resource editing back because it is by far the easiest way to do cleanup. I suppose I could try migrating some of the resource mods into code mods (such as getting rid of the snapchat bar and "related content" in instant articles), but this would be quite a bit more work than just nuking the corresponding resources (like I'd been doing in the past). Oh well. I'll keep rebasing the feed cleanup stuff and see where we are, once I'm done with all the code changes.... most of the major cleanup stuff happens through code mods anyway, so if I have to forego some of the secondary resource tweaking, it won't be the end of the world.
[Android Apps and Games] pratik_193:
Thanks a ton [MENTION=5029215]evilwombat[/MENTION] for working on this even with your busy schedule.
[Android Apps and Games] docteurcrook:
Hi [MENTION=5029215]evilwombat[/MENTION]

I really happy with your FB and messenger tricks! I appreciate to be focus when I'm on.

I have a question for you. Do you know if it exist same thing for instagram? I've looking for but it seems not.

Thank for your good job.
[Android Apps and Games] Stidza:
The link for Messenger (old version, pre-stories) no longer works.
[Android Apps and Games] evilwombat:
Yeah, I should probably take that down. I don't imagine that *version* still works because even newer versions have shown large warnings as to lack of support beyond a certain date (which is now past). Use one of the newer versions and you should be okay.
[Android Apps and Games] requiiiem:
Try this, for me it has worked.
[Android Apps and Games] RgDiabl0:
Hi, I would love to try these version of Facebook apps.

For now I have the official Facebook and Messenger Lite but I miss the chatheads and the Direct Chat app isn't that great.

I tried to download them but it seems I can't find any mirrors for the Facebook app with event footer, is it down ?
[Android Apps and Games] Assunta_Maggio74:
Can you update FB messenger lite? W/sign
[Android Apps and Games] evilwombat:
Here you go:

https://androidfilehost.com/?fid=962187416754466503
[Android Apps and Games] Assunta_Maggio74:
Keeps crashing when I goto to any other tab?
[Android Apps and Games] evilwombat:
Haven't tired. Will look once I un**** my laptop. Seriously considering going back to Gentoo (if it were 2004).

EDIT: works fine for me. If you're still seeing a crash during tab switch, uninstall and reinstall the APK, and/or clear dalvik cache. I must have gone though a few hundred uninstall / reinstall cycles by now, and it's remarkable how (relatively) frequently I'll run into a crash the seems to happen due to a glitch during installation, and how often uninstalling / reinstalling (with no changes in been) will resolve the problem. First time it happened, I was chasing ghosts for a while, until I tried the obvious uninstall / reinstall solution and the problem magically went away...
[Android Apps and Games] Loknic4:
Messenger Lite , no crash

It's fine with FC 10.2 for me
[Android Apps and Games] jak_drizzt:
Thanks a lot!

Just here to say thank you for this app. Yesterday i suddenly realized that i should have looked for a modified version of the fb app to avoid all the spam and then found you.

I've had some trouble installing it (your latest version of fb and messenger) : on my s8 fb is preinstalled so i used adb to completely remove it and all the other fb stuff but, nevertheless, it just wouldn't install.

I've used adb again, this time for installing your package, and it worked just fine.

I'm tring the app since yesterday and it seems to do its job perfectly!

Again, thanks!
[Android Apps and Games] the stranger94:
No crash for me too with the last messenger Lite

Sparaflashato da Z3C
[Android Apps and Games] sm-a510f:
Man can you do same for messenger when you have time ? (Not the lite one) Thanks a lot ! Your app is amazing !
[Android Apps and Games] evilwombat:
Hello hello. I think I have an experimental 11.1 version ready to go. For anyone interested in giving this a spin, you can grab it here:

https://androidfilehost.com/?fid=746010030569959931

I have all the code mods rebased to the new version, but as mentioned earlier, I have run into some difficulties making resource mods. This means that some of the clutter in Instant Articles won't be hidden (related content, email signup, etc, but I still take care of ads). Luckily, most (if not all) of the news feed cleanup stuff made it in, so this version should be quite usable (I hope). One of the "important" resource mods involved removing the "my day" / "snapchat-like" bar from the main news feed, and I've converted this into a code mod for now, so that should be gone in this version as well.

Hopefully apktook will be able to catch up in the arms race soon, because converting resource mods to code mods has been quite a time-consuming process - what used to take me about five minutes now took about an extra day of work. So hopefully things will become easier soon.

One known issue with this version is that "Discover Members" items in group feeds aren't hidden. Since group feeds work a bit differently than the main feed, this requires special handling. I think I know how to fix this, but I'd need to test the new version for a few days, and I wanted to get something out there. I'll add this to my list of mods for 11.2 for now.

As always, good luck and have fun!

-evilwombat
[Android Apps and Games] stiggerby:
Awesome! You are a legend
[Android Apps and Games] pratik_193:
Awesome.. will test it out..
[Android Apps and Games] martin.burgas:
Thank you, it works flawlessly - no marketplace, no my day and other bull*. You're a legend buddy, thank you for your work.
[Android Apps and Games] dr460nf1r3:
Update nag
[Android Apps and Games] Wendigogo:
You should consider "Calculate Linux" : basically it is a Gentoo overlay with binaries for almost all ebuild. If it doesn't find the corresponding binary (including useflags) it will build it.

It relies on emerge and you could set everything like in Gentoo (make.conf, accept_keywords, mask/unmask and so on).

It also comes with a kernel and some specific tools.

My 0.02 cents

Enjoy!
[Android Apps and Games] Flounderist:
Thank you thank you thank you.
[Android Apps and Games] JD. A:
Thank you, been using the experimental build the entire day and no issue and no Facebook crap! :highfive:
[Android Apps and Games] dr3am_r:
[MENTION=5029215]evilwombat[/MENTION] have you considered doing a xposed mod for facebook instead of modding the app itself? Wouldn't it be more universal as you wouldn't need to modify each fb version but instead only when differences appear? Or you wouldn't have the same extensive of mod freedom with xposed mod?
[Android Apps and Games] evilwombat:
Thanks for the thought! I considered Xposed (especially when things were largely resource-based) but this restricts the mod to rooted users who have Xposed. Unfortunately, I'm afraid there's no real advantage to using Xposed, since I'd still need to have a table of all the code patches I want, for every version of Facebook that I support. Though xposed can hook specific methods, I still need to take the time to figure out what they need to be, for each variant. At least with a pre-patched APK, I don't have to worry about all the possible versions of Facebook that might be out there.
[Android Apps and Games] pratik_193:
[MENTION=5029215]evilwombat[/MENTION] - the new version is working perfect as of now..! Thanks a ton bro
[Android Apps and Games] jineshpatel30:
Hello friend,

I'm using this version since yesterday and so far so good.

Nothing is broken or missed according to me.

I don't know what you mean by "discover members" in group so can't confirm it, but if it's the group member "strip" on top (below the group name) i actually like it, it gives info that our friends are in this group or not. So it's not adware according to me.

If what you're saying is different than that, perhaps you can point out where to look.

But for now, this is the perfect release candidate as per my experience.

Thanks again for your hardwork to keep this mod alive. :)
[Android Apps and Games] evilwombat:
Awesome! Thanks for the info - I'm glad you like it. The "discover members" is a scrolling carousel item in the group feed that looks similar to the "people you may include" item. You mind see it if you scroll though the feeds enough. I think I know what you're talking about with regards to the friends bar, though, and I'll keep that in.
[Android Apps and Games] jineshpatel30:
Ah...no issue then.

You can remove it.

I haven't noticed it as most of time i visit groups via notifications only. ;)
[Android Apps and Games] deggar:
I applaud your work, great. Do you know if there is a way to mod the newsfeed so it stops shuffling? Something like versions pre 115, so when you hit back it just goes to top of newsfeed vice top of newsfeed and shuffle content. Thanks.
[Android Apps and Games] widmo1980:
Can you update FB messenger lite https://www.apkmirror.com/apk/facebook-2/messenger-lite/messenger-lite-27-1-0-6-185-release/?
[Android Apps and Games] jineshpatel30:
Btw one request,

include current mod version and base fb version in XDA thread title.

It'll be easier for subscribers to know about update.

you can even request Moderators for converting thread into XDA DevDB and it'll send email notification to subscribers when you update the mod.
[Android Apps and Games] mick86:
Hi

I installed Messenger lite v26 with Facebook v10.2 and I have the problem with Messenger when I trying click on icon: group chat or my profile the app is force closing, I try reinstall application, clear data, etc but nothing is helpful. On original version from Google play i don't have problems. Any idea how I can fixed this? I have Xiaomi Redmi 4x Miui 9.2.4 Global Version Android 7.1.2 (noon root)

Wysłane z mojego Redmi 4X przy użyciu Tapatalka
[Android Apps and Games] myogui:
Hi,

Thanks for this great work :)

I'm missing the marketplace section in the app, am I doing something wrong or is it just gonezo?

Thanks!!
[Android Apps and Games] MeNoNoob:
At least do a search

https://androidfilehost.com/?fid=962187416754466503
[Android Apps and Games] FormelLMS:
Is it possible to hide the things which friends have liked and commented on? I only want to see their own status updates and uploaded things.
[Android Apps and Games] jineshpatel30:
It was removed in mod as most of users don't need it and marketplace is only useful in few countries for others it's just placeholder.

You have to use website if you really need marketplace :)

It might be possible but it won't make it in mod because this comes under specific/personal choice as most people would want to know what their friends do on FB apart from their own updates as well.

that's actually point of FB app. :p

if you remove it then there will be only few/sometime no posts in entire day for people who don't have many "FB friends" & "interests" on own. ;)
[Android Apps and Games] Ryuce:
Help

Im still getting posts people are liking and commenting on

I dont want to see those on my news feed
[Android Apps and Games] JRJ442:
It doesn't say anywhere in the OP that those are supposed to be hidden. You'll probably have to uninstall Facebook if you don't want to see them.
[Android Apps and Games] kos25k:
hello again after long time.any chance of having option to see just pics from our friends?I really fed up to see most of news feed moatly from pages that my friends liked and they dont have to do with me.thanks.
[Android Apps and Games] Ryuce:
Alright thanks man i automatically thought it does that since theres a chrome extension for the desktop version of fb

Sorry for the trouble
[Android Apps and Games] evilwombat:
Well... looks like the FaceBull is at it again. Today the bull lifted its tail and produced a brand new load of crap to deal with. Some of it is mildly annoying random custom layout stuff in random places. But the thing that pisses me off is a new batch of follow-ups ("More From Related Pages", "Featured For You", etc).

Has anyone else seen these popping up lately, or did I find myself in a "field trial" group that received this rollout?

Anyway, if you HAVE seen this garbage, would you mind trying out the following APK, which tries to patch follow-ups more aggressively? And, please let me know if they're gone after you install this version. I'm specifically referring to the scrollable carousel of crap that appears underneath a post after you click it / like it / comment on it.

https://www.dropbox.com/s/7c2sdapkhxd624r/Facebook-LC-v2-extra-followup-patch.apk?dl=0

It "looks" like the patch ought to work, but true to its form (as always), the facebook app is very crufty, and seemingly has a dozen different code paths for accomplishing the same thing. So, even if I find one code path relating to the particular garbage I wanna nuke, doesn't mean it's not an outdated implementation, and there could be like, a bunch more.

Thanks, and good luck.

EDIT: Sorry, the browser crap in the embedded video fragment thing has snuck into this version. I was testing out a revert, and forgot to drop it from my tree. This is why git is a thing. Will be fixed in next release.
[Android Apps and Games] evilwombat:
... on top of that, is anyone else seeing "People you may know" as a *notification*?

What moron could have possibly thought that this was a good idea? The stock doesn't seem to be doing *that* bad... is Zuck shaking in his little space boots that "growth" is slowing?

Anyway, if someone else is seeing these too, I "might" have a patch, but it's only been tested for about 10 seconds.
[Android Apps and Games] JRJ442:
Personally haven't​ seen that as of yet.
[Android Apps and Games] pratik_193:
I see this **** a lot of late since the last couple of weeks and i HATE IT
[Android Apps and Games] freak69ize:
Been seeing it for awhile too
[Android Apps and Games] evilwombat:
They're dynamic layouts, so this calls for a DEX patch. I've got a test version on my phone that I've been using for the past day or so, and I'm not seeing it anymore.

However, it's a bit late, even by my sleep standards (early?) but I'll upload an APK tomorrow after I get some sleep (tonight technically?).

Good night!
[Android Apps and Games] selw0nk:
Click on your friends name and unfollow them. They will still be on your friends list.

---------- Post added at 10:40 PM ---------- Previous post was at 10:36 PM ----------

Have you tried patching messenger in to the Facebook app so we only use one app?
[Android Apps and Games] zeratos:
is there a way to make the default feed the most recent one? the only thing that keeps me from using the app is that it makes the top stories the default feed :/
[Android Apps and Games] :
Is livevideo possible with this app?
[Android Apps and Games] evilwombat:
Hello. Catch-all reply, hopefully. Sorry if I missed something - I got rather carried away tonight and am only getting to this stuff now.

I just put up v3. This version officially nukes the wannabe snapchat "Stories" bar. It should also get rid of more follow-ups ("More From Related Pages", etc) - I changed how the follow-up patching is done, so hopefully things will be cleaner, and you shouldn't see a 'twitch' in the feed whenever an empty follow-up section tries to appear. So, Like / Comment all you want, without having to close out of useless crap that appears as a result.

I've also tried to nuke the "People You May Know" notification. You may still get PYMK in your news feed (since these are legit possible friends) but putting this crap into the notification area is so far over the line of "bad design" that you can't even see the line. So, off it goes. The patch seems to be working for me, but I've only been on it a few days, and facebook has a notorious habit of activating previously-dormant features. There's like, a half-dozen code paths for everything (depending on what stage a feature may be in), so good luck hitting them all. So, time will tell.

I've also taken a quick stab at improving how "pages you may like" are hidden, but to really do this cleanly, I need to do more invasive stuff to the bytecode. One day I will learn to rebuild it from scratch, rather than patching in place.

As for going live, yes, this works. I just tried it (for the first time ever).

As for making "Most Recent" the default feed view - I can look into this, but I kind of doubt it will work. The main feed and the recent feed are implemented differently, I think - it's not just a matter of toggling a field somewhere. The recent feed doesn't have the post composition bar on top, so it's almost like it's a separate implementation. I can look into it at some point, maybe...

As for integrating Messenger with Facebook, hmmm. I actually don't know how to do this. It seems like others have done this, but I don't know how. It seems kind of wrong to reverse-engineer someone else's patch and copy it, but if someone can post some technical details on what needs to be done, I could take a look.

I think that's all for now. I need to go run a backup, get some sleep, and maybe look into renaming the package. The annoying thing about running sed in a repo is that it will mangle .git, and then your repo is hosed, unless you do things just right, which is hard when you're sleepy. So... backup job first :)
[Android Apps and Games] Sander9847:
Hello I come with a request. I would like to use your modified Facebook but I use another messenger version. Would it be possible for you to resign this apk (messenger v73) with your key.

I prefer using version 73 over 63 (in op) as it had some features I like (colored chats, nicknames).

I would like to do it myself but have no idea of finding out the key you used, and if it is possible at all for me to use the same.

Link: Messenger v73 (recommended) - min android 5 - signed by sandros.apk (file too large to upload on xda)

Thanks in advance, you're doing amazing work on the Facebook app. :victory:
[Android Apps and Games] evilwombat:
No problem. Here you go.

https://www.dropbox.com/s/8yfvrkxn7q3uvt9/msg-v73-resigned.apk?dl=0
[Android Apps and Games] el_easy:
Here It Goes:https://xdaforums.com/android/apps-games/app-facebook-apk-patcher-to-enable-t3366080
[Android Apps and Games] selw0nk:
I know about that version. But I like this one here because of the less crap on the news feed. I don't have to keep on hiding the sponsors every time.
[Android Apps and Games] el_easy:
Sorry for the same request again, but please,please! give some love for people using Android 4.0.3+?

I get instalation error when i install your version is ,because you only patch vesion Android 5.1+..

Here: patch this version please is Android 4.0.3+ http://www.apkmirror.com/apk/facebook-2/facebook/facebook-125-0-0-23-80-release/facebook-125-0-0-23-80-4-android-apk-download/

This is the purpose to have less crap, but it would be perfect if we have FB less crap with messenger integration instead of to have two apps.
[Android Apps and Games] evilwombat:
Hey dude. I'm really sorry man. I just grabbed the 4.0.3 version of the same Facebook release that I've been patching. It looks like it's using the old 'Buck' DEX structure (which is not a big deal by itself, since I've got scripts for that). But here's the problem. I unpacked the Buck structure and, well, all the dex files inside are completely different from what I've been working with so far. Although some of the obfuscated class names line up, all the offsets are different. So, since I'm patching everything completely by hand, this would be the equivalent of a brand new reverse-engineering effort.

Do you happen to know if the 4.0.3 and 5.0+ versions are substantially different in functionality? Maybe it would make sense to use a 4.0.3 version as a starting point for the next major patching effort. I try to keep these as far apart as I can, because every upgrade is a "hard reset" on all the reverse-engineering, and has the potential to introduce new variants of unwanted crap (the potential for more dynamic layout stuff is especially daunting, since we can't do much about that stuff).

Unfortunately, I can't get started on a new effort for some time (I have family visiting, then friends visiting, then work stuff I need to do). That said, my version is slowly starting to nag me about updating my app.... so maybe I can make time for it at some point.

Sorry it's not the answer you wanted, but the truth is I don't know nearly enough about this java stuff to write any kind of dynamic patcher. I can figure out which resources I want to mod, and which classes / functions I want to change (at least, until next release, where they're all obfuscated with new names). But putting that into any kind of automated / machine-readable format is beyond me at the moment. Java is just weird.
[Android Apps and Games] FormelLMS:
Yeah I know, but there are many people liking million things ;)
[Android Apps and Games] jineshpatel30:
ha..ha..

there is nothing we can do about it except advise you to lose such friends :p LOL... just kidding
[Android Apps and Games] mick86:
Anyone can help?

Wysłane z mojego Redmi 4X przy użyciu Tapatalka
[Android Apps and Games] FormelLMS:
Ok, now I left all my friends and search other people which better Facebook behavior.

It was already time, man.

Thanks [emoji23][emoji41]
[Android Apps and Games] Predatorhaze:
Finally i found an modified facebook app that sticks with original ui and stuff.

Thanks,works great,no problems to mention!!:highfive:
[Android Apps and Games] wizgnome:
That is version 26 not 27.1.0.6.185 ;)
[Android Apps and Games] jhaybagsarsa:
I'm getting error . cant download :3 . any mirror links?
[Android Apps and Games] MeNoNoob:
Install APK editor and resign it yourself then
[Android Apps and Games] andythegreat:
This might be off topic, have you ever considered making a Xposed Module or one through Magisk Manager for de-bullshified version of Facebook?
[Android Apps and Games] MeNoNoob:
Why you need Xposed module? It has no advantages over the normal one.
[Android Apps and Games] andythegreat:
I would say on updates it would better like in messenger. It's just a idea, something like facebook ad away for be great. I do like this app overa
[Android Apps and Games] FormelLMS:
Hm, I'm new into this app, thought only the wrapper could help me against the advertising stuff in Facebook.

So I found you now and I must say I'm impressed.

Two things from the wrapper I'm missing now

- starting with "new posts" instead of "recent posts"

- night mode with a darker theme after sunset

Do you think it could be possible to add those things?

Now I'm impressed enough to not know if I want to use this version, Maki or swipe.