whatisgithub

What is avf-notes?

rurioss/avf-notes — explained in plain English

Analysis updated 2026-05-18

4PythonAudience · developer

In one sentence

A collection of practical notes on running Linux virtual machines on Android phones using Android's built-in AVF virtualization framework.

Mindmap

mindmap
  root((avf-notes))
    What it does
      Notes on Android AVF
      Linux VMs on phones
      crosvm command reference
    Tech stack
      crosvm
      Rust
      Android 14 plus
    Use cases
      Launch Linux VMs
      Configure networking
      Share files with host
    Audience
      Android developers
      Linux hobbyists
    Devices
      Tensor Pixel
      MediaTek GenieZone
      Snapdragon Gunyah

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Launch a Linux VM on a rooted Android 14+ device using crosvm

USE CASE 2

Compare AVF support and quirks across Tensor, MediaTek, and Snapdragon chips

USE CASE 3

Configure memory, CPU cores, and networking for a Linux guest VM

USE CASE 4

Share files between an Android host and a Linux guest VM

What is it built with?

crosvmRustAndroidAVF

How does it compare?

rurioss/avf-notesadeliox/klein-head-swapats4321/ragit
Stars444
LanguagePythonPythonPython
Setup difficultymoderatemoderate
Complexity3/52/5
Audiencedeveloperdesignerdeveloper

Figures from each repo's GitHub metadata at analysis time.

So what is it?

avf-notes is a collection of practical notes about running Linux virtual machines on Android devices using AVF (Android Virtualization Framework), a feature introduced in Android 14 that allows real virtualization on compatible hardware. The notes are written by someone who has experimented with this on multiple device types and documented what works, what doesn't, and what settings to use. AVF uses a virtualization backend called crosvm, written in Rust, and the notes cover how to launch Linux VMs using crosvm command-line arguments, including how much memory to allocate, how many CPU cores to assign, how to set up networking via a TAP interface, and how to share files between the Android host and the Linux guest. The document covers three hardware families separately: Google Tensor chips (Pixel devices), MediaTek GenieZone (such as Dimensity 9400+), and Snapdragon Gunyah. Each has different quirks, for example, Snapdragon Gunyah is described as the most unstable of the three with the crosvm binary from the official AVF package, and MediaTek requires a large SWIOTLB buffer (a memory translation region) to avoid crashes during heavy disk writes. Tensor devices on Pixel phones are noted as the most well-supported option. Using AVF requires a rooted Android device with a pvmfw partition. The notes are based on Android 16 and were last updated in May 2026, so some details may change as AVF continues to evolve. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
Help me set up a Linux VM on my Android phone using AVF and crosvm
Prompt 2
Explain the differences in AVF support between Tensor, MediaTek, and Snapdragon devices
Prompt 3
Walk me through configuring networking with a TAP interface for my Linux VM
Prompt 4
What rooting and partition requirements does AVF need on Android?

Frequently asked questions

What is avf-notes?

A collection of practical notes on running Linux virtual machines on Android phones using Android's built-in AVF virtualization framework.

What language is avf-notes written in?

Mainly Python. The stack also includes crosvm, Rust, Android.

Who is avf-notes for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.