A de-bullshified version of Facebook (less ads, less clutter, less crap)

Search This thread

kYc0o

Member
Nov 10, 2012
10
1
Paris
Someone has an idea of this?

Code:
$ adb install messenger-v236-resigned.apk 
adb: failed to install messenger-v236-resigned.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.facebook.orca attempting to redeclare permission com.facebook.receiver.permission.ACCESS already owned by com.facebook.katana]

I've installed facebook before.
 

thanostonia

Senior Member
Sep 16, 2018
87
3
In the first post I can see only the fb lc 15.3. Where are the newest versions like fb lc 16 p.e

Στάλθηκε από το MI 8 μου χρησιμοποιώντας Tapatalk
 

evilwombat

Senior Member
Dec 26, 2012
268
2,600
Norcal
Hello hello. Minor update - the Video tab ("Watch" tab?) seems to have reared its ugly head, complete with red notification badges for things I never cared about in the first place, which Facebook wants me to care about because they're trying to grow their video platform. Sigh.... I thought I had taken care of this (like I did with the Marketplace tab) and yet the Video tab is back. I guess they weren't pushing this to me when I made the 16.1 release, so I had no way to test the patch for the Video tab... but after a minor tweak, that patch is working again.

This is a minor update to the 16.1 experimental release, but I'll leave it in a post for a few days, before updating the top post. If you actually like the Video tab, it should be fine to stay on 16.1.
facebook-lc-v16.2.apk

As for the compatibility/installation issues, hmmm. The base APK that I used for this release was labelled as being for "Android 5.1" on apkmirror (or so I remember, anyway), but looking more closely, it looks like the APK requires minimum API level 26, which corresponds to Android 8.0. This unfortunately leaves a lot of older devices in the dark. I've been meaning to go back to using the Android 4.1 version as the base APK, but they are using a new "redex" format for packaging the DEX files, and between work, work, startup life, work, more work, and the revent PG&E power outages, I have not had any time to try to reverse-engineer this yet. Some things about it seem straightforward, but there seems to be a lot of extra data that goes with the DEX files, and I'm not quite sure what to do with it. When I have some time, maybe I can take a look. In the meantime, the previous release should continue to work for Android 4.1+ devices. Yes, the "new UI" has a new color scheme, but you really aren't missing anything.

As always, have fun, and good luck!
-evilwombat
 

Flasher8

Senior Member
Apr 24, 2011
1,194
175
Hello hello. Minor update - the Video tab ("Watch" tab?) seems to have reared its ugly head, complete with red notification badges for things I never cared about in the first place, which Facebook wants me to care about because they're trying to grow their video platform. Sigh.... I thought I had taken care of this (like I did with the Marketplace tab) and yet the Video tab is back. I guess they weren't pushing this to me when I made the 16.1 release, so I had no way to test the patch for the Video tab... but after a minor tweak, that patch is working again.

This is a minor update to the 16.1 experimental release, but I'll leave it in a post for a few days, before updating the top post. If you actually like the Video tab, it should be fine to stay on 16.1.
facebook-lc-v16.2.apk

As for the compatibility/installation issues, hmmm. The base APK that I used for this release was labelled as being for "Android 5.1" on apkmirror (or so I remember, anyway), but looking more closely, it looks like the APK requires minimum API level 26, which corresponds to Android 8.0. This unfortunately leaves a lot of older devices in the dark. I've been meaning to go back to using the Android 4.1 version as the base APK, but they are using a new "redex" format for packaging the DEX files, and between work, work, startup life, work, more work, and the revent PG&E power outages, I have not had any time to try to reverse-engineer this yet. Some things about it seem straightforward, but there seems to be a lot of extra data that goes with the DEX files, and I'm not quite sure what to do with it. When I have some time, maybe I can take a look. In the meantime, the previous release should continue to work for Android 4.1+ devices. Yes, the "new UI" has a new color scheme, but you really aren't missing anything.

As always, have fun, and good luck!
-evilwombat
Tqsm.. much appreciated.
 
  • Like
Reactions: stiggerby

KenjiHannya

Senior Member
Dec 31, 2014
1,539
925
São Paulo
Hello hello. Minor update - the Video tab ("Watch" tab?) seems to have reared its ugly head, complete with red notification badges for things I never cared about in the first place, which Facebook wants me to care about because they're trying to grow their video platform. Sigh.... I thought I had taken care of this (like I did with the Marketplace tab) and yet the Video tab is back. I guess they weren't pushing this to me when I made the 16.1 release, so I had no way to test the patch for the Video tab... but after a minor tweak, that patch is working again.

This is a minor update to the 16.1 experimental release, but I'll leave it in a post for a few days, before updating the top post. If you actually like the Video tab, it should be fine to stay on 16.1.
facebook-lc-v16.2.apk

As for the compatibility/installation issues, hmmm. The base APK that I used for this release was labelled as being for "Android 5.1" on apkmirror (or so I remember, anyway), but looking more closely, it looks like the APK requires minimum API level 26, which corresponds to Android 8.0. This unfortunately leaves a lot of older devices in the dark. I've been meaning to go back to using the Android 4.1 version as the base APK, but they are using a new "redex" format for packaging the DEX files, and between work, work, startup life, work, more work, and the revent PG&E power outages, I have not had any time to try to reverse-engineer this yet. Some things about it seem straightforward, but there seems to be a lot of extra data that goes with the DEX files, and I'm not quite sure what to do with it. When I have some time, maybe I can take a look. In the meantime, the previous release should continue to work for Android 4.1+ devices. Yes, the "new UI" has a new color scheme, but you really aren't missing anything.

As always, have fun, and good luck!
-evilwombat

Tnx very much ?
 
  • Like
Reactions: stiggerby

aminjomaa13

Senior Member
Aug 6, 2018
138
23
Hello hello. Minor update - the Video tab ("Watch" tab?) seems to have reared its ugly head, complete with red notification badges for things I never cared about in the first place, which Facebook wants me to care about because they're trying to grow their video platform. Sigh.... I thought I had taken care of this (like I did with the Marketplace tab) and yet the Video tab is back. I guess they weren't pushing this to me when I made the 16.1 release, so I had no way to test the patch for the Video tab... but after a minor tweak, that patch is working again.

This is a minor update to the 16.1 experimental release, but I'll leave it in a post for a few days, before updating the top post. If you actually like the Video tab, it should be fine to stay on 16.1.
facebook-lc-v16.2.apk

As for the compatibility/installation issues, hmmm. The base APK that I used for this release was labelled as being for "Android 5.1" on apkmirror (or so I remember, anyway), but looking more closely, it looks like the APK requires minimum API level 26, which corresponds to Android 8.0. This unfortunately leaves a lot of older devices in the dark. I've been meaning to go back to using the Android 4.1 version as the base APK, but they are using a new "redex" format for packaging the DEX files, and between work, work, startup life, work, more work, and the revent PG&E power outages, I have not had any time to try to reverse-engineer this yet. Some things about it seem straightforward, but there seems to be a lot of extra data that goes with the DEX files, and I'm not quite sure what to do with it. When I have some time, maybe I can take a look. In the meantime, the previous release should continue to work for Android 4.1+ devices. Yes, the "new UI" has a new color scheme, but you really aren't missing anything.

As always, have fun, and good luck!
-evilwombat

Thank you. But like v16.1 parsing error on android 7.1.
 

drakenabarion

Senior Member
Dec 13, 2010
1,164
199
Kildare
OnePlus Nord 2T
Nothing Phone 2
No video tab which is good.

Still can't interact with anything in groups and profiles listed under albums here.

Overall seems stable in 16.2 but needs a few days to be sure.

Sent from my OnePlus 6 using XDA Labs
 

Attachments

  • Screenshot_20191109-062823.jpg
    Screenshot_20191109-062823.jpg
    204.2 KB · Views: 671

Tropo850

Member
Nov 8, 2017
31
3
Here you go. Working for 7.1.1
https://www103.zippyshare.com/v/vlsTQKZO/file.html

Seems to be running fine. Only issue I've come across so far. The icon for the APK is a generic android one. Tried replacing but keeps reverting back to the generic icon. Use nova launcher to change the launcher icon.
 

Attachments

  • Screenshot_20191109-155615.jpg
    Screenshot_20191109-155615.jpg
    161.8 KB · Views: 765

James Bottomtooth III

Senior Member
Dec 6, 2012
160
49
Hi, any way to bring the sort button in the marketplace? It should be at the bottom of the screen - see screenshot
 

Attachments

  • Screenshot_20191109-135208_Facebook.png
    Screenshot_20191109-135208_Facebook.png
    128.5 KB · Views: 666

jctmobz26

Senior Member
Apr 12, 2019
166
35
Finally a clean version of FB I've been looking for this, I hate the extra stuff that the official has and also the useless updates that didn't really make anything better. I don't want to offend anyone but I just wanna say that I hope this doesn't leak our info's or anything, other than that everything's working and the bugs that the others reported doesn't really bother me so it's fine. Great work.
 

deggar

Senior Member
Feb 27, 2017
53
26
For the record, the current lc-16.2 is based on Facebook 242.0.0.43.119 (176515213) (arm-v7a) (360-480dpi) (Android 8.0+).
Latest lc-Messenger, Facebook Messenger 236.0.0.14.120 (176465023) (arm-v7a) (360-640dpi) (Android 5.0+).
Cheers. Btw, great work.
 
Last edited:
  • Like
Reactions: riceboL

jineshpatel30

Senior Member
Nov 8, 2012
1,583
1,188
facebook-lc-v16.2.apk

As for the compatibility/installation issues,

-evilwombat

Still can't interact with anything in groups and profiles listed under albums here.
@evilwombat if it's not much trouble, can you look into below 4 things to make this version rock-solid for long run ?

  1. We can't interact with anything in groups and profiles listed under albums. (Can't open Pics in Albums )
  2. Sharing Pic form post to External like Whatsapp is also not working
  3. (Option next to GIF for new comment) Comment Strikers are not loading
  4. Sometimes stories are visible "in-line"


Android 6.0.1 not compatible, Problem with Parsing Error

Thank you. But like v16.1 parsing error on android 7.1.

For compatibility with previous version of android, users can try to use apps like https://appcloner.app/ or similar, as they have option to decrease minimum android requirement from my previous experience at modding. Though i won't be able to help much as i haven't done it for a long time but just play with the settings when you press clone and see if you can get something useful. You may need premium version of AppCloner which you can buy it or find it from somewhere. Do share outcome here for others.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 593
    Last edit: 10 / 16 / 2019
    Last patched Messenger update: 10 / 13 / 2019
    Last patched Facebook APK update: 11 / 08 / 2019 [For Android 8.0+ only]
    Last source Facebook APK update: 11 / 15 / 2019

    Hello. I've been working on a patched Facebook APK for some time. My patched version tries to get rid of as much clutter, junk, and social garbage as possible. I am primarily targeting things like the clutter that pops up after most interactions with content ("Related Articles", "People Also Shared", "More Videos", etc), as well instagram upsells, "suggested posts", ads (obviously), and generally anything designed to either hijack your attention or to disingenuously present itself as "organic" content while being, in fact, paid content.

    Though I've seen a number of facebook mods on here, I hadn't been able to find anything that focuses this closely on removing clutter and optimizing the interaction between user and content. And although this stuff can probably be done with an Xposed extension, the nice thing about a standalone APK is that non-rooted users can obviously benefit from it too.

    I don't mind patching the stuff myself, though I'm mainly an ARM dude so having to dig through megs and megs of DEX bytecode all by myself has been rather tedious. The community has shown some interest, so I am publishing a preliminary link to my "bleeding-edge" version below, as well as to an older and possibly more stable version.

    Clearly you have only my word that I hadn't introduced malware or a bitcoin miner, though you are welcome to unpack the APK and diff it against stock.

    Terminology

    * Facebook LC = "Facebook (with) Less 'Clutter'" - cleaned-up version of facebook with various garbage removed
    * PYML = "Pages You May Like" (aka Suggested Pages)
    * GYSJ = "Groups You Should Join" (aka Suggested Groups)
    * PYSF = "People You Should Follow" (are they serious???)
    * IA = "Instant Articles"
    * Story = one fixed "item" in the news feed
    * Chaining = you interacted with a certain piece of content, so here's a bunch of "related" junk in your face (because you are obviously incapable of managing your own attention). Related to FollowUp
    * FollowUp = the crap that appears under a story whenever you interact with it.


    List of mods (latest version):

    * Hide "Suggested Posts" / "Sponsored Posts"
    * Hide the snapchat-wannabe "Stories" bar at the top of the news feed (if I wanted snapchat, I'd install snapchat, thanks)
    * Hide "People You May Know" from the NOTIFICATION area (and also in the main feed, for the time being)
    * Hide "Pages You May Like" crap (facebook's over-promotion of "Pages" is what caused me to start this whole mod in the first place)
    * Hide "Story you may publish" nonsense (I haven't seen this myself but others have, so I'm preemptively nuking this)
    * Hide "Top Stories From Your Groups" stuff (seriously, who actually wants to see this stuff?)
    * Hide "Popular Stories From Your Pages" / "Page Stories You Missed" / whatever that nonsense is called these days. (again with the pages... I know how to click on them if I care, thanks)
    * Hide "Suggested Products" / "Product Deals For You" nonsense (seriously guys?)
    * Hide "Invite your friends to join this group" (or whatever that spam-promption junk is called)
    * Hide "Groups You Should Join" / "Suggested Groups" (we are all capable of using the search box to find things we care about, thank you very much).
    * Hide "People You Should Follow" (really? are they serious?)
    * Hide "Products shown:" cards (please stop giving me ads based on object recognition in my friends' photos, thx)
    * Hide "Recommended from you from marketplace" garbage
    * Hide "Related Articles" crap from news feed when interacting with an article (trying too hard to hijack the content interaction flow)
    * Hide "Trending Topics" / "Topics to Follow" crap I think. I haven't seen this in a while but may as well hide it since it sounds useless.
    * Hide "Sale Groups Near You" nonsense (again with the pushing of sales. All we want to do is to organically interact with our friends, thanks)
    * Hide "Marketplace Stories For You" junk (again, people who don't care about your "Marketplace" aren't suddenly going to use it because you're pushing ads. If I cared, I'd click on the Marketplace icon. My refusal to use it is not for a lack of knowing where to find it)
    * Hide some junk that may potentially be related to place recommendations (though I always just deny location access to FB anyway)
    * Hide some things related to people on Messenger, maybe. Though some of these may still show up, facebook seems to respect your choice if you click the triangle and select "I don't want to see this."
    * Hide just about all "follow-up" items. Ie, "More from related pages" junk that happens when you interact with an outbound content item (I think). Again, stop trying to hijack my attention - I am perfectly capable of managing it myself
    * Maybe hide "Connect with Facebook" nonsense that sometimes appears (though I haven't seen this in a while and it's hard to prove a negative)
    * Hide ads interspersed throughout Instant Articles (though perhaps not the ones occurring after the articles)*
    * Hide "Related Articles" / "Popular from <X>" in Instant Articles (now they're just trying too hard)
    * Hide "Sign up with your email address" junk from Instant Articles, at least at the TOP of the article (are you kidding me...?)
    * Partially hide some instagram upsells (yes, I know where to get instagram - I haven't been living under a rock). You might still see a post or two promoting instagram photos from friends, though this should be better addressed in the current release. This isn't super high on my radar right now, but I'll revisit it if I find a way to easily reproduce this. Otherwise, the risk of force-close using untested code isn't really worth it.
    * Kill the update nag screen. (we'll stick to the patched version, thanks).
    * Get rid of more "call-to-action" junk (install instagram, etc)
    * Get rid of the Groups tab (guys, your attempts to increase group engagement are seriously starting to backfire)
    * Get rid of the Marketplace tab (let's get something straight. our refusal to use marketplace has nothing to with our lack of awareness of marketplace)
    * Get rid of redundant Photo footer nonsense, etc.
    * Get rid of the "Up Next" countdown bar that appears after watching some videos (especially episodes). When I watch videos, I watch them for the content, rather than for knowing what comes after. Stop trying to hijack my attention by pushing the "next" video, before I'm even done watching the current one.


    Known issues:

    * "So-and-so likes <page X>" isn't hidden. I have no idea where to even begin looking for this type of thing.
    * Ads in Instant Articles might be hidden, but they might show up as lingering spinner boxes. It's hard for me to test this because most of these are served from external ad servers, and my phone has DNS-based ad blocking, so I can't test vanilla behavior without undoing that.
    * Some of the more random / annoying "attachment junk" (Learn More, Shop Now, etc) might not be hidden. These can have some text in them that may actually be useful to the post, so I'm hesitant to just nuke these
    * I haven't done manifest cleanup on this version (or the one before it, technically). That means stripping out annoying background services, location-related crap, bluetooth scanning, etc.


    Installation
    Prior to installing, be sure to uninstall all other applications that are made by Facebook. This includes FB itself, Messenger, Messenger Lite, Page Manager, etc. These do not always cause installation problems (though they should). The problem is that all apps in the FB family use key-based authentication for data sharing. So since my modded app is signed with my key, all FB companion apps need to be signed with that key as well. I've included some of the popular ones below. You might also need to enable installation of apps from unknown sources. If you get an installation error, try installing with ADB and see what the actual error is.

    THE STUFF:
    Facebook LC (the main reason for all this):
    Latest version (most up-to-date, but received less testing as a result): This version works for Android 8.0+ devices only
    facebook-lc-v16.2.apk

    Previous (stable) release - should be compatible with Android 4.1 and above:
    facebook-lc-v15.3.apk


    Messenger (v241, ads removed, and hopefully update nags removed): messenger-v241.2.apk

    Previous version: facebook-lc-v14.2.apk (more tested but will nag you to update)

    See "past releases" for earlier versions.

    Other FB apps signed with the same key (but not modified):
    Messenger Lite (v37): https://androidfilehost.com/?fid=5862345805528058323
    Messenger Lite (v26): https://androidfilehost.com/?fid=962187416754466503
    Pages Manager (v143): https://androidfilehost.com/?fid=889964283620770148
    Workplace by Facebook (as of late 11/17): https://androidfilehost.com/?fid=745849072291692749
    Workplace Chat (as of late 11/17): https://androidfilehost.com/?fid=673791459329065274
    Groups: https://www.dropbox.com/s/fpbo4yupb7k015m/groups-82-resigned.apk
    FB Lite (as of 8/5/17, re-signed but otherwise unmodified): https://www.dropbox.com/s/22yw4wti335420p/fb-lite-51-resigned.apk
    Ads Manager: https://www.dropbox.com/s/kddzttl9h4619k3/admanager-52-resigned.apk

    If someone wants to join forces in terms of decompilation / disassembly / searching the haystack for how to nuke other unwanted FB garbage, please let me know. I can give you the script I use for repacking the APK (though since FB stopped using their obnoxious Buck multi-dex structure, this is basically just a bunch of calls to sha1sum and apktool). My current method of modding the DEX files involves a decompiler (to find the logic I want), a disassembler (to find the instructions I want), a hex editor (to do the actual patching), and FixDEXChecksum from the internets. Surely there must be a better way! I am not sure of smali/baksmali would work here (again, due to multi-dex) but perhaps the less obnoxious (non-Buck) stuff that FB is using these days may be easier to work with when using the smali tools. (I don't really know how this stuff works - I'm more used to ARM code and all this java stuff is way over my head)

    Changelog and past releases:

    v15.2 - Previous release (5 / 2 / 2019)
    * Rebase to latest version of APK (4 / 19 / 2019)
    * Download link: facebook-lc-v15.2.apk

    v14.2 - Previous release (10 / 15 / 2018)
    * Rebase to the latest version of the source APK
    * Download link: facebook-lc-v14.2.apk

    v13.1 - Previous release (7 / 25 / 2018)
    * Rebase to the latest version of the source APK
    * Download link: facebook-lc-v13.1

    v12.3 - Previous release (5 / 18 / 2018)
    * Rebase to the 5 / 5 / 20178 version of the source APK

    (v12.1 and v12.2 were intermediate / experimental releases that were superseded by v12.3, above. These were missing a few things and weren't terribly interesting)

    v11.1 - Previous release (3 / 08 / 2018)
    * Rebase to the 3 / 1 / 2018 version of the source APK
    * v11.1 download link: facebook-lc-v11.1

    v10.2 - Previous release (12 / 07 / 2017)
    * Rebase to the 11/22/2017 version of the source APK. This is an APK for Android 4.x+.
    * v10.2 download link: https://androidfilehost.com/?fid=673791459329065503
    * Optional: Alternate version with event footers removed.

    v9.2 - Previous release (9 / 30 / 2017)
    * Rebase to the 9/23/2017 version of the source APK. This is an APK for Android 5.x+.
    * Try to do a better job of getting rid of marketplace-related nonsense
    * v9.2 download link: https://androidfilehost.com/?fid=745849072291677473

    v8.4 - Previous release (9 / 14 / 2017)
    * Get rid of the Marketplace tab
    * Get rid of the Groups tab
    * Get rid of new marketplace "recommended" garbage
    * v8.4 download link: https://androidfilehost.com/?fid=962021903579481430

    v8.2 - Previous release (8 / 4 / 2017)
    * Update base APK to 7 / 25 / 2017.
    * v8.2 download link: https://androidfilehost.com/?fid=745849072291677503

    v7 - Latest stable (but outdated) release (7 / 8 / 2017)
    * Unlock internal settings menus (Feed Settings, MobileConfig, Internal Preferences). These are accessed via long-press. See main post for details.
    * See main post for complete list of mods
    * v7 download link: https://androidfilehost.com/?fid=673791459329049834


    v6 - Latest stable release (7 / 8 / 2017)
    * Fix a bug where "Products shown" crap wasn't being hidden properly. You might still see the title, but the actual product ads should be gone
    * v6 download link: https://www.dropbox.com/s/vvck330o9tchqey/facebook-lc-v6.apk


    v5 - Previous release (6 / 12 / 2017)
    * Fix a bug where the update nag screen wasn't being disabled properly.
    * Bring back the built-in browser, which also brings back "related content" associated with videos that play directly in the browser. I can try to kill specifically just the video-related stuff, but this is much more nuanced.
    * v5 download link: https://www.dropbox.com/s/j1vsbfefyjh5vxd/facebook-lc-v5.apk

    v4 - Previous experimental release (6 / 7 / 2017)
    * Rebase all patches on top of base APK from 6/1/17
    * Use Android 4.0.3 version of base APK this time
    * Hide the "related content" crap that appears on the lower half of the screen when watching a video that opens using the built-in browser. This is probably the single worst UI feature of the facebook app (partly because it loads external content and has been used as a malware channel). What were these people thinking?
    * v4 download link: https://www.dropbox.com/s/d33ubcpaxrrnb70/facebook-lc-v4.apk


    v3 - Latest stable release (5 / 23 / 2017)
    * Remove "People You May Know" from the Notification list (what the hell were they thinking??)
    * Get rid of more obnoxious follow-ups ("More From Related Pages", "Featured For You") and clean up existing anti-followup patches
    * Get rid of the snapchat-wannabe "Stories" bar. If I wanted snapchat, I'd install snapchat.
    * Try to do a better job of hiding "Pages You May Like", but it's tough to tell if this is working (since it's hard to prove a negative).
    * v3 download link: https://www.dropbox.com/s/0s1mx5jxlococ9v/facebook-lc-v3.apk?dl=0

    List of mods:
    * Hide "Suggested Posts" / "Sponsored Posts"
    * Hide the snapchat-wannabe "Stories" bar at the top of the news feed (if I wanted snapchat, I'd install snapchat, thanks)
    * Hide "People You May Know" from the NOTIFICATION area. (I don't mind this in the news feed, but what moron thought to put this under Notifications? Zuck must be afraid investors will bail because growth is slowing)
    * Hide "Pages You May Like" horizontal scroll crap
    * Hide "Related Articles" crap from news feed when interacting with an article (trying too hard to hijack the content interaction flow)
    * Hide Pages You May Like*
    * Hide "Suggested Products From Your Groups" (seriously guys?)
    * Hide "Featured for you" items in groups / pages (I think) (featured by whom? organic selection or paid manipulation?)
    * Hide "Invite your friends to join this group" (or whatever that spam-promption crap is called)
    * Hide "Groups You Should Join" / "Suggested Groups" (we are all capable of using the search box to find things we care about, thank you very much)
    * Hide "People You Should Follow" (really? are they serious?)
    * Hide "Video Chaining"
    * Hide "Products shown:" cards (please stop giving me ads based on object recognition in my friends' photos, thx)
    * Hide "Follow / Share" bar that appears when you interact with content (I know where to find the share button, since it's already plastered all over the damn screen, thanks)
    * Hide ads in Instant Articles*
    * Hide "Related Articles" / "Popular from <X>" in Instant Articles (now they're just trying too hard)
    * Hide "Sign up with your email address" crap from Instant Articles (are you kidding me...?)
    * Partially hide some instagram upsells (yes, I know where to get instagram, if I should ever find myself in need of something to motivate me to bash my head in with a rock)
    * Partially hide the "More Views" pill that appears 2/3 into watching a video. (I don't need yet one more piece of UI garbage to hijack my attention flow, thanks)
    * Replace passive-aggressive "Now now" response options to user-unfriendly actions with more appropriate (and more snarky) responses
    * Kill the update nag screen (I think). (we'll stick to the patched version, thanks)
    * Hide the "related content" crap that appears on the lower half of the screen when watching a video that opens using the built-in browser. This is probably the single worst UI feature of the facebook app (partly because it loads external content and has been used as a malware channel). What were these people thinking?
    * Try to get rid of most of the follow-ups, period ("More From Related Groups", "Related Articles", "Featured For You", "People Also Shared"). Not sure if this worked, since it's hard to prove a negative, but it should work in theory. If the facebook were less of a crufty piece of crap, I'd be more confident that I had patched the right code path.
    * Get rid of more "call-to-action" crap (install instagram, etc)

    Known issues:
    * The "Connect With Facebook" / "People You Can Message" crap might not be fully hidden. But, from looking at the code, it looks like facebook "might" respect your wishes if you click the triangle icon and click on "I don't want to see this". If not, we'll revisit this code path :)
    * "So-and-so likes <page X>" isn't hidden. I have no idea where to even begin looking for this type of thing.
    * The "More Videos" pill has its text / arrow hidden, but a blue circle still appears in its place
    * Ads in Instant Articles might be hidden, but they might show up as lingering spinner boxes. It's hard for me to test this because most of these are served from external ad servers, and my phone has DNS-based ad blocking, so I can't test vanilla behavior without undoing that.



    v2 - Past release (05 / 04 / 2017)
    * Get rid of the "related content" crap that appears on the lower half of the screen when watching a video that opens inside the built-in browser. This is probably the single worst UI feature of the facebook app (partly because it loads external content and has been used as a malware channel).
    * Try to get rid of the "featured for you" follow-up, when interacting with a page your friend liked. Not sure if this worked, since it's hard to prove a negative.
    * Get rid of more "call-to-action" crap (install instagram, etc)
    * v2 download link: https://www.dropbox.com/s/z3keufx05i97mrv/facebook-lc-v2.apk?dl=0

    v1 - Past release (04 / 08 / 2017)
    * Initial release
    * v1 download link: https://www.dropbox.com/s/kvo056f1iokzxqu/facebook-lc-v1.apk?dl=0


    ENJOY AND HAVE FUN!
    - evilwombat

    Ps. At one point, I had a resource-hacked version that replaced all instances of "Like" with "Lick", though I am not sure how well that would fly with modern code.
    58
    Hey guys. Here are a few quick updates:

    1. Messenger (v213, latest as of like, last week) - re-signed and with inbox ads removed:
    https://androidfilehost.com/?fid=1395089523397965005

    2. Minor update to the Facebook APK (v15.3) - this is a minor update that deletes Stories from the main news feed. I nuked Stories from the top of the feed, but they still sneak in between the other posts. This update fixes that. If these don't bother you, there's no need to update.
    https://androidfilehost.com/?fid=1395089523397965009

    3. For people who actually *like* Stories, here's a version with Stores restored (they are present at the top of the feed, and in the feed), but all the mods to all the other stuff are still in place. Although this is technically just a revert of one minor change, I have only run this version for a few minutes, so that technically makes it quite experimental.
    https://androidfilehost.com/?fid=1395089523397965011

    I'll go update the top post, too.

    Anyways, I need to go get back to the work I've been procrastinating :). But hopefully this will help out the people who actually like the "Stories" feature.

    As always, have fun, and good luck!
    -evilwombat
    56
    Hello hello. Quick update on things....

    Like some of the other users, I got my first update nag. So it begins...

    It seems like this update nag happened almost exactly six months since the last update. I thought that could be "good" because it meant having to update less frequently...

    ... but from looking at the code, a lot can change in six months. On top of being super busy with work (startups and all), I'm somewhat rusty on the FB internal structure - time to dig up the notes. Plus, the code has changed a fair bit - some of my earlier breadcrumbs are barely recognizable. But, I started digging into things tonight, and I "think" I managed to rebase my first patch. We'll see if I've actually found the right code path, or if that code path is still in use, or if the associated logic is doing what I *think* it's doing. So we'll see.

    Unfortunately the changes also mean that some of my earlier semi-automated tools won't work on this version, and will require some modification. For at least one of the patching tools, I think the porting should be straightforward, but I have to sit down and do it, before I can apply the patches and spin up an APK. I tried to port one of the auto-generated patches by hand and the very early results look like they might be promising, but it would be annoying to do 30 of these by hand. So... time to update the tools for the new code structure.

    Some of my other automated tools look like they were less affected, but I won't know for sure until I try applying the patches that they generate (and again, assuming the code paths they touch are still in use in the application). So hopefully that part will be a little easier, but I won't know for sure until I try. Something frustrating and unforeseen always comes up ...

    Then, I have to rebase all the manual patches (there's a handful), and of course, deal with whatever unwanted junk was added over the past six months.

    But, one step at a time....... here we go :)
    49
    FAQs

    1. What if my phone came with Facebook as a system app, and I can't uninstall it?
    This is unfortunate, because trying to directly install Facebook LC on such a phone will result in a package conflict. The phone will not accept the modded FB app because it has the same package name as the System FB app, and they are not signed by the same key. One possible solution is to use something like App Clone or APK Editor (or perhaps something that's free) to change the APK name of Facebook LC from the default name ("com.facebook.katana") to something unique, to avoid the package conflict with the System FB version. However, this may lead to residual problems with the interactions between FB and Messenger. Even though you can probably re-name and re-sign both Facebook and Messenger, the problem is that even through their names have been changed, the communications code inside them will still refer to the original factory names for each other, which can prevent them from properly communicating. This could result in FB showing Unread Message notifications, even though Messenger has consumed them. I... am not sure how to get around this, but perhaps someone who's had to deal with this directly can provide more insight.

    All About Messenger....

    You will keep getting Message Notification in FB-LC app even if you don't install messenger, But you won't able to see those message as FB will Redirect/Force you to download messenger (-_-)
    If you are not heavy FB Messenger user, you can try http://mbasic.facebook.com/messages in browser/chrome when you get notification to see/reply, as i do. (Bookmark that link for easier access) Otherwise read below....

    2. How to Use/Update Messenger with FB-LC
    You need to sign FB-LC & Messenger (or any other FB app with same signing key


    3. But..But...WHY ?
    1. All Facebook-related applications (including FB for Android, Messenger, Pages Manager, etc) on any given phone must be signed using the same key. This is what allows them to talk to each other (in terms of account / notification info), despite technically being separate applications. Normally, when you install FB and Messenger (and other stuff) from the Play Store, this is not a problem, because these apps are already signed by the same key. However, any modded version of FB (such as what is posted here) will be signed with the key of the person who modded it. Therefore, when installing a modded FB app, it is necessary to uninstall *all* other FB applications (including Messenger) prior to installing the modded FB app.

    2. So, If you wish to install a Messenger app along side the modded FB app, you have two options:
    A) The first post in this thread contains links to Messenger (and other FB-related apps) that have been re-signed with the same key as Facebook LC. This allows them to coexist (and co-operate) on the same phone without issues.
    B) You can grab the APK for Facebook LC, the APK for any version of Messenger you like, generate your own signing key, sign them BOTH with the key you generated, and install them both on your phone. This will work just as easily. The upside is that you have more choices over which exact version of Messenger to install, but the downside is having to go with manually signing.

    I dunno how to resign it as you suggested. I'm not a developer, so I don't know anything about it.
    4. How to Sign APKs ?

    Steps
    1. Uninstall all the FB apps from your phone including FB-LC
    2. Download apk from apkmirror (messenger) & FB-LC from OP (if not already)
    3. Sign all these APKs with "test key" (use windows tool for faster signing because zip signer will take half an hour to sign all these)
    4. Install these signed APKs

    Details
    Windows , (I suggest this option as it'll be much faster)
    You need Java installed in windows.
    Download it from here..https://java.com/en/download/manual.jsp
    Use,
    https://xdaforums.com/showthread.php?t=2478180

    OR
    Android
    https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en

    # Use test-key. Sign with same key to ALL your Facebook apps, FB-LC, Messenger, Lite apps or any other you are using.

    # You need to sign FB-LC only once before installing (whenever new version comes)
    For Messenger and all, You have to sign them whenever you want to update it with same key that you used in FB-LC (test-key in this case).

    # After signing first time you need to Uninstall PlayStore version of all FB apps & original FB-LC before you install your signed apks. As cross signature installation is not possible.

    # Once you install your signed version you can update them with your future signed version (test-key) without uninstall

    # After signing Messenger you won't get update via play store. So, you need to use apkmirror whenever you want to update & sign it. You can grab updated apk from here. https://www.apkmirror.com/apk/facebook-2/messenger/

    PS : You can zipalign APKs after signing for better ram management. Read Here.(it's not mandatory but recommended).
    46
    Hey guys! Thanks for being patient. I've been crazy busy with work as always, but here's the rebased version of Messenger:
    https://androidfilehost.com/?fid=1395089523397913485

    This should have Dark Mode (at least it does for me), and hopefully less/no ads :)

    I'll see how things go with this version, and update the top post in a few days with a link, if things go well.

    As always, have fun, and good luck!

    -evilwombat