Running a Debian VM on Pixel 9a — Install Kali Tools Without Root

Running a Debian VM on Pixel 9a — Install Kali Tools Without Root

Derrk SamuelMay 30, 20266 min
Use Google's Android Virtualization Framework to run a real Debian VM on your Pixel 9a — no root, no bootloader unlock. Then install Kali tools inside it for a production-safe mobile security lab.

🐧 Running the Debian VM on Pixel 9a

This uses Google's Android Virtualization Framework (AVF). It gives you a real Debian environment running in a secure VM — no root, no bootloader unlock, no hacks.

Once Debian is running, you can install Kali tools inside it.

⭐ Step 1 — Enable Developer Options

  1. Open Settings → About phone
  2. Tap Build number seven times
  3. Go back → System → Developer options
  4. Enable:
    • Virtualization support (if present)
    • USB debugging (optional but useful)

⭐ Step 2 — Install the "Linux on Android" App

Google distributes a first-party app called "Android Virtualization Framework Terminal" or "Linux Terminal" depending on region.

When you enable the Linux VM in Developer Options, the Linux app is automatically downloaded and installed by default. You can also find it in the Play Store for your Pixel 9a. If it's not available in your region, you can sideload the official APK from Google's developer site.

Once installed, open it — it will automatically create and boot a Debian VM.

⭐ Step 3 — Update Debian

Inside the VM terminal:

sudo apt update
sudo apt upgrade -y

This gives you a clean, up-to-date Debian environment.

⭐ Step 4 — Add Kali Tools

You won't turn Debian into Kali, but you can install the Kali toolsets.

Option A — Install the "Top 10" Kali Tools

sudo apt install kali-tools-top10

Option B — Install the Full Kali Metapackages

sudo apt install kali-linux-large

Option C — Install Specific Tools

sudo apt install nmap hydra sqlmap wireshark

Everything runs inside the VM, isolated from Android.

⭐ Step 5 — (Optional) Add a GUI

The Debian VM is terminal-only by default, but you can add a lightweight desktop.

For example, XFCE:

sudo apt install xfce4

Then run it through a VNC server:

sudo apt install tightvncserver
vncserver

Connect from Android using any VNC client.

⭐ What This Setup Gives You

  • A real Debian environment
  • Ability to install Kali tools
  • No root required
  • No risk to your Pixel 9a
  • Works even with a locked bootloader
  • Stable and supported by Google's virtualization stack

This is the most "production-safe" way to run Linux on a Pixel.

Want to Go Further?

I can walk you through:

  • Setting up a full Kali-like environment inside the VM
  • Installing Metasploit, Burp Suite, or other heavy tools
  • Adding GPU acceleration (where supported)
  • Automating startup scripts
  • Setting up a desktop environment that feels like a real Kali box

Also featured on TechDerks Insights

I write more takes like this one on my second blog — blockchain deep dives, security breakdowns, and builder tools.

Read more on TechDerks Insights
D

Derrk Samuel

Web3, crypto, and Linux PC insights — practical guides, security tips, mining setups, blockchain tools, and decentralized tech strategies for techs.

Discussion

Leave a comment

No comments yet. Be the first to start the discussion!