ResearchesOpen in GitBook

The Hardening guide for Android

The Android Hardening Guide (Stock ROM Edition)

For anyone running pentesting, bug bounty, or blockchain workflows off a daily-driver Android phone — no custom ROM, no root, no bootloader unlock. Just discipline.


The Premise

Rooting kills your attestation chain. Custom ROMs are great until the one app you need for a client engagement refuses to run on an unlocked bootloader. So this guide assumes the constraint most people actually live under: stock Android, hardened to its ceiling.

If you want root-of-trust exclusion from the OEM entirely, that's a GrapheneOS-on-Pixel conversation — different device, different threat model. This is about squeezing every inch out of the phone you already have.

Two ground truths before you start:

  1. More apps = more attack surface, even hardened ones. Every app you install is a decision, not a default.
  2. This is "hard target," not "adversary-proof." A hardened stock phone resists opportunistic attacks, mass surveillance, and casual data harvesting. It will not stop a nation-state with your device in hand.

Phase 1: Foundation

Before touching a single privacy toggle, close the basic gaps:


Phase 2: Shrink the Privacy Surface

This is where most of the actual leakage gets cut off.


Phase 3: The App Layer

Debloat

Disable every non-removable OEM/Google app you don't use. For anything that resists the UI toggle, ADB gets it done from your main machine:

adb shell pm uninstall -k --user 0 <package>

Security Stack

Category App Why
Malware/scam protection Malwarebytes Device-side scam/link protection
App catalog Aurora Store Play Store catalog without a Google account tether
App catalog F-Droid FOSS-only, no telemetry
Password manager Bitwarden Self-hostable, free tier is solid
Password manager KeePassDX Fully offline, manual sync via Syncthing
2FA Aegis Authenticator Open-source, encrypted local backup (F-Droid)
Firewall NetGuard Per-app firewall, no root required
Messaging Signal Encrypted messaging baseline
Browser Brave or Firefox Focus Tracker-resistant by default
VPN ProtonVPN or Mullvad Public Wi-Fi shouldn't happen without one

Encryption & Isolation


Phase 4: Network Discipline


Phase 5: Trend Intelligence, Without the Profiling

You need signal on 0-days, disclosures, and CVEs without handing a platform your entire attention graph.


Phase 6: Cybersecurity / Bug Bounty Field Kit


Phase 7: Blockchain / Web3


Phase 8: Productivity, Tightened


The Key Habit

Everything above is scaffolding for one discipline: isolate by sensitivity, not by convenience.

Bug bounty tools, wallets, and client data live in a separate profile from your everyday apps — Secure Folder, Private Space, work profile, whatever your OEM calls it. Not because any single app is malicious, but because the blast radius of one compromised everyday app (a game, a random utility) should never touch the vault holding program credentials or wallet seeds.

Side-loaded tools will keep tripping your install-protection layer. That's not a bug in the setup — that's the setup working.


What This Doesn't Solve

Know the ceiling. Operate under it.