Skip to content

About

Stop unwanted apps from being installed by system updates or malicious actors.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

InstallBlock

Prevent unauthorized and unwanted apps from installing on Android

An open-source Android utility that permanently prevents specified apps from being installed on your device. Protects your system from unwanted OEM bloatware, silent system update installs, malicious actors, and unauthorized app installations unless explicitly unblocked.

License: GPL-3.0 Android Release

CodeQL Support



What We Do & Why

The Problem

Android phones often end up with apps you never asked for. Phone makers push new bloatware through system updates, carriers bundle sponsored apps, and sideloaded APKs or unauthorized users can install things behind your back. Normal uninstalls only work until the next update or auto-installer runs, bringing that same software right back.

The Solution

InstallBlock stops this directly at the Android system level. When you block an app, InstallBlock locks that package from being added again. Whether the install comes from an OEM system update, Google Play, a browser download, or a third party, the system rejects it immediately. The app stays off your phone until you choose to unblock it.


1. Browse Catalog 2. Block Package 3. Active Blocklist
Browse Catalog Block Package Active Blocklist
4. Play Store Download 5. Installation Blocked 6. Settings & Modes
Play Store Download Installation Blocked Settings & Modes


Key Features

  • Permanent install prevention: Stops unwanted apps and bloatware from returning through system updates, app stores, or sideloading.
  • Two install modes:
    • Shizuku Mode (Recommended): Fast, silent 1-tap blocking using elevated permissions with no prompt clutter.
    • Normal Mode: Works out of the box on any stock Android device using standard system prompts.
  • Tamper-resistant: Built-in safeguards keep your block rules active and hard to bypass from device settings.
  • Curated & custom catalog: Search thousands of pre-listed apps and bloatware packages, or type in any package name yourself.
  • Completely private: No accounts, no analytics, no ads, and no network tracking. Runs entirely on your own device.

Quick Start

Installation


Building from Source

Prerequisites

  • Android SDK (API 35+)
  • JDK 21 (Temurin / OpenJDK recommended)
  • Android SDK Platform-Tools & Build-Tools 35.0.0

Build Commands

# Clone the repository
git clone https://github.com/Ujwal223/InstallBlock.git
cd InstallBlock

# Run unit tests
./gradlew :app:testDebugUnitTest

# Build debug APK
./gradlew :app:assembleDebug

# Build release APK (requires configured release signing)
./gradlew :app:assembleRelease

Manual Recovery with ADB

If InstallBlock is removed while system-level blocks remain active, blocks can be removed manually over adb:

# Standard unblock
adb shell pm uninstall <package_name>
# Fallback for standard user space:
adb shell pm uninstall --user 0 <package_name>

# Admin-locked unblock
adb shell dpm remove-active-admin <package_name>/com.ujwal.installblock.placeholder.BlockAdmin
adb shell pm uninstall <package_name>

# Clear residual state
adb shell pm clear <package_name>

License

This project is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).

About

Stop unwanted apps from being installed by system updates or malicious actors.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages