https://github.com/hxreborn/discover-ads-filter
LSPosed module that filters ads and sponsored content from Google Discover.
https://github.com/hxreborn/discover-ads-filter
adblock android dexkit google-discover kotlin libxposed lsposed xposed
Last synced: about 1 month ago
JSON representation
LSPosed module that filters ads and sponsored content from Google Discover.
- Host: GitHub
- URL: https://github.com/hxreborn/discover-ads-filter
- Owner: hxreborn
- License: gpl-3.0
- Created: 2026-04-20T19:59:46.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-04-21T11:01:51.000Z (about 1 month ago)
- Last Synced: 2026-04-21T11:41:28.803Z (about 1 month ago)
- Topics: adblock, android, dexkit, google-discover, kotlin, libxposed, lsposed, xposed
- Language: Kotlin
- Size: 250 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- awesome-android-root - Discover Ads Filter - Hides sponsored cards and ads from the Google Discover feed in the Pixel Launcher -1 screen and inside the Google app itself. `FOSS` `[LSP]` (App Patches and Mods / Non-Social App Mods)
README
# Google Discover Ads Filter
Hide sponsored cards in Google Discover.




## Requirements
- Android 11+
- LSPosed manager with libxposed API 101 support
## Installation
1. Download the APK from [Releases](../../releases)
2. Enable the module in LSPosed.
3. Scope it to Google App (`com.google.android.googlequicksearchbox`).
## Usage
1. Open the app and run a scan.
2. Force stop Google App or reboot.
3. Run the scan again after each Google App update.
## How It Works
The app scans the installed Google App, resolves the hook targets for that AGSA build, and stores the result in a versioned cache. The hooked process uses the cached targets to filter ad items from the Discover feed.
## Notes
- Target resolution is done with DexKit against the installed Google App build using protobuf extension field numbers and type signatures.
- Google App updates can invalidate previously resolved targets. Verify again after each update.
## License
This project is licensed under the GNU General Public License v3.0. See [LICENSE](LICENSE) for details.