MapAdKiller is an LSPosed (libxposed API 102) module that deterministically blocks splash ads, homepage banners, feed cards and third-party SDKs in Amap / Baidu Maps / Tencent Maps — the three big Chinese map apps.

v2.3.7
Published at
2d ago
630
Stars
13,279
Download
Synced at
8h ago

Latest release

v2.3.7Nov 25, 2026, 01:02 AM
Downloads slow? Switch the source anytime above

README

Project Overview

MapAdKiller is a pure-local LSPosed module (libxposed API 102: XposedModule entry + META-INF/xposed metadata, no legacy de.robv dependency). It targets the three big Chinese map apps — Gaode Maps (com.autonavi.minimap), Baidu Maps (com.baidu.BaiduMap) and Tencent Maps (com.tencent.map) — for deterministic blocking of splash ads, homepage banner ads, feed cards and third-party ad SDKs. All hook points come from static reverse analysis (jadx / apktool / androguard) of the target APKs; evidence table at docs/ANALYSIS.md. Also ships a generic view-cleanup fallback (ViewKiller): on Activity resume it walks the view tree and sets any known ad class/resource names to GONE + removes subtrees.

Item Value
Platform Android (root + LSPosed required)
Language Kotlin (libxposed API 102)
Target apps Amap, Baidu Maps, Tencent Maps
Blocks splash ads, homepage banners, feed cards, third-party ADN SDKs
License MIT

An LSPosed ad-blocker for the three Chinese map apps. Static reverse analysis drives the hooks; ViewKiller cleans up anything that slips through.

Key Features

  • Amap interceptions: splash ad (forces the app's own NO_SPLASH exit path), AJX feed cards hidden same-frame inside onBindViewHolder, homepage banner, background push promo popup, search-page template splash, AJX homepage ad data
  • Baidu interceptions: splash (Native / OpenAPI / Push three channels killed), 6 ADN loaders (Juliang / GroMore / Meishu / Zhangyu / QuMeng / Recommend), floating promo strip, mid-homepage banner, BMAd wrapper
  • Tencent interceptions: GDT SDK init forced to initWith=false (kills tangramsplash + fusion SDK), splash pipeline task, homepage banner binding, POI-list ad card
  • Amap UI customization (v1.0.5+): the module app settings page toggles homepage and Mine-page elements item-by-item — bottom tabs, tool grid tiles, homepage recommendations, homepage promo row, search-page金刚区, Mine-page promo row. Remaining elements auto-distribute to fill the full width
  • Generic ViewKiller fallback: on Activity resume, walks view tree, GONE + removes subtree on any known ad class/resource names

Interface and Operation

  • Module app settings page: Amap homepage / Mine-page element toggles one by one; hide app icon (re-enter from persistent notification); debug log switch; restore defaults
  • LSPosed Manager: enable module with staticScope=true fixed scope on the three map apps

Target Audience

  • Heavy users of the three Chinese map apps on a rooted + LSPosed device
  • Geeks wanting to clean Amap's homepage promo cards
  • Android hook developers (docs/ANALYSIS.md is a useful reference)

Quick Start

  1. Requires root + LSPosed (libxposed API 102; KernelSU + ZygiskNext + LSPosed v2.1.1 / Android 16 verified)
  2. Install MapAdKiller.apk
  3. In LSPosed Manager enable the module, staticScope=true fixed scope on the three map apps
  4. Restart target apps (no need to reboot the phone)

Core Advantages

  • Zero network, zero data: no outgoing HTTP request, nothing collected
  • Same-frame hide, no flicker: AJX feed cards are hidden in the same frame that binds them inside onBindViewHolder — no rendering means no flash
  • Page-scope checks: each hide rule first verifies the correct page is visible (e.g. Amap bottom tabs showing) before acting — doesn't touch navigation pages, search pages or route pages

System Requirements

Item Requirement
OS Android (root required)
LSPosed libxposed API 102 (KernelSU + ZygiskNext + LSPosed v2.1.1 / Android 16 verified)
Build pure CLI (JDK + Android SDK build-tools aapt2/d8/apksigner), no Android Studio / Gradle needed

Notes

  • Ads are probability-served: verification is MapAdKiller: logcat lines, not "this time I saw no ad"
  • Baidu's own content is not blocked: "爱去榜 / 旅游攻略" are Baidu's own content recommendation, not ad-SDK served
  • Amap Explore tab AJX canvas: content rendered inside an AJX canvas view cannot be located in the native view tree — not handled
  • Hook points drift with new app versions: major app updates may shuffle obfuscated names; miss lines in the logcat signal a failed hook

Release history

Sort