Gmail Hide Ads

Verified safeOpen sourceExclusive
No reviews reviews
12
downloads
8.0
android

AI summary

Xposed module that removes sponsored rows from the Gmail Android app by hooking framework-level view methods. Targets ad views by their stable class name under com.google.android.gm.ads, zeroing their height and hiding them before measurement. Requires rooted device with Zygisk or LSPatch, plus a modern Xposed framework.

Generated by AI. May contain inaccuracies.

About this app

A focused Xposed module for removing sponsored rows from the Gmail Android app.

Features

- Removes sponsored conversation rows from the Gmail inbox before they are measured - Identifies advertisements by view class, which cannot be renamed by minification - Needs no per-locale word list; never mistakes a message whose subject reads "Ad" for an advertisement - Hooks an Android framework method rather than a Gmail class, so Gmail updates do not move the hook point - Fails open: if the layer cannot install, Gmail is left exactly as it was - No native library and no DEX-search dependency - Scope limited to the official Gmail Android package (com.google.android.gm)

How it works

Gmail is minified on every release, so almost nothing inside it keeps a stable name — except the advertisement rows. The module:

1. Waits for Application.attach() so Gmail's final application context is ready before the hook is installed. 2. Hooks ViewGroup.addView(View, int, ViewGroup.LayoutParams), the overload that the other addView signatures funnel into. 3. Classifies each view by walking its superclasses for a name under com.google.android.gm.ads. ending in AdTeaserItemView. 4. Caches the verdict per class, keeping a hot framework path cheap. 5. Zeroes the layout height and sets visibility to GONE on matching rows before measurement. 6. Deoptimises the hook target so ART cannot serve an inlined copy past the hook.

Requirements

- A framework implementing the modern Xposed API, version 101 or newer - Rooted: Vector on Android 8.1 or newer, with Magisk or KernelSU and Zygisk enabled - Rootless: LSPatch (JingMatrix fork) with Vector embedded - Official Gmail app (com.google.android.gm)

Installation

1. Download and install the latest APK. 2. Open the framework manager and enable Gmail Hide Ads. 3. Force-stop Gmail once after installing or updating the module, then reopen it. 4. Check framework logs for entries beginning with "GmailHideAds".

License

GNU General Public License v3.0

What's new

v1.0.0Sep 11, 2026

First release.

About this version

Version
1.0.0 (1)
Size
637.5 KB
Requires Android
8.0
Target SDK
26
Architecture
universal
Downloads
12
Updated
Sep 11, 2026
Package
my.MrxSiN.gmailhideads

Similar apps

Ratings & reviews

0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app