https://github.com/hxreborn/amznkiller
Xposed module that hides sponsored content and ads in the Amazon Shopping app.
https://github.com/hxreborn/amznkiller
adblock amazon android jetpack-compose kotlin libxposed lsposed lsposed-module material-3-expressive material3 root xposed xposed-module
Last synced: about 1 month ago
JSON representation
Xposed module that hides sponsored content and ads in the Amazon Shopping app.
- Host: GitHub
- URL: https://github.com/hxreborn/amznkiller
- Owner: hxreborn
- License: gpl-3.0
- Created: 2026-02-06T19:18:10.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-06-02T00:23:10.000Z (about 1 month ago)
- Last Synced: 2026-06-02T02:17:24.210Z (about 1 month ago)
- Topics: adblock, amazon, android, jetpack-compose, kotlin, libxposed, lsposed, lsposed-module, material-3-expressive, material3, root, xposed, xposed-module
- Language: Kotlin
- Homepage: https://github.com/Xposed-Modules-Repo/eu.hxreborn.amznkiller
- Size: 5.75 MB
- Stars: 57
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-android-root - AmznKiller - Hides sponsored content and ads in the Amazon Shopping app. `FOSS` `[LSP]` (App Modifications / General Mods)
README
Xposed module that hides ads and sponsored content in the Amazon Shopping Android app.
## Features
- Strips sponsored cards, video carousels, and ad slots from the Amazon app
- Bundled selector list with remote sync, custom URL, and CSS-injection sanitization
- Price history charts on product pages via Keepa and CamelCamelCamel (US, UK, DE, FR, JP, CA, IT, ES, IN, MX, BR, AU)
- Optional Force Dark for the Amazon UI (experimental, see [below](#force-dark))
- Material 3 Expressive settings UI in Jetpack Compose
- Free and open source (FOSS)
## Requirements
- Android 10 (API 29) or higher
- LSPosed Manager with libxposed API 101 support
- Amazon Shopping (`com.amazon.mShop.android.shopping`)
## Install
1. Grab the APK:
2. Enable the module in LSPosed and scope it to `com.amazon.mShop.android.shopping`.
3. Open the AmznKiller app to confirm the module is active and refresh selectors.
4. Force-stop Amazon Shopping and relaunch.
## Screenshots
Search query: _"macbook air m1 16gb 512"_
| Stock (2 real results, rest are ads) | Patched |
| --- | --- |
|
|
|
| Force Dark | Price History |
| --- | --- |
|
|
|
| Dashboard | Selectors | Settings | Settings (bottom) |
| --- | --- | --- | --- |
|
|
|
|
|
## Force Dark
Amazon disables Android force dark via `forceDarkAllowed=false` in its theme. The module hooks `ViewRootImpl.determineForceDarkType` and forces the return to `FORCE_DARK_ALWAYS`, triggering GPU-level darkening across native views and WebViews. Extra hooks paint window backgrounds dark and block white-flash on WebView load. `DarkModeInjector` ships CSS overrides for elements the algorithm gets wrong.
`determineForceDarkType` was introduced in Android 15 (API 35). On Android 10-14 the primary hook does not apply. A fallback on `HardwareRenderer.setForceDark` is attempted but Amazon's theme opt-out blocks darkening on those versions.
Disabled by default. Enable in settings if on Android 15+.
## Troubleshooting
1. Confirm the module is enabled in LSPosed and scoped to Amazon Shopping.
2. Force stop Amazon Shopping and reopen.
3. Check the AmznKiller dashboard: Xposed must be active and selector count above 0.
4. Tap refresh. If it fails, reset the selector URL in settings.
5. If pages render broken, disable CSS injection, refresh selectors, then re-enable.
This is cosmetic blocking only. Network requests still happen. Pair with DNS-based blockers (AdGuard, NextDNS, Pi-hole) for full coverage.
## Build
```bash
git clone https://github.com/hxreborn/amznkiller.git
cd amznkiller
./gradlew :app:assembleDebug
```
Requires JDK 21 and Android SDK. Configure `local.properties`:
```properties
sdk.dir=/path/to/android/sdk
# Optional: release signing
RELEASE_STORE_FILE=
RELEASE_STORE_PASSWORD=
RELEASE_KEY_ALIAS=
RELEASE_KEY_PASSWORD=
```
## Contributing
See [CONTRIBUTING.md](.github/CONTRIBUTING.md). For bugs or feature requests, [open an issue](https://github.com/hxreborn/amznkiller/issues/new/choose).
## License
GPL v3.0. See [LICENSE](LICENSE).