Android apps, at home on Linux.

Droiduin runs Android apps right on your Linux desktop. Each one gets its own window, its own entry in your app menu and its own icon in your taskbar. No virtual machine. No Android system in the background.

Early development. It runs many real apps today, but it isn't finished. See what works

The app windows on this page are illustrations, not screenshots.

Just the app. Not a whole phone.

Most ways of running Android apps on Linux run a whole Android phone inside your computer, then show its screen in a window. Droiduin rebuilds just the part of Android that apps talk to, and connects it straight to your desktop.

The usual way

A full Android system runs in a container or a virtual machine. Your app lives somewhere inside it.

The Droiduin way

Just the app, as an ordinary Linux process, in a window of its own. Nothing runs until you open it.

It behaves like the rest of your desktop.

An Android app under Droiduin is one more program on your computer. Try the demos: they are small drawings of what Droiduin does, and they work.

Opens in a normal window

Resize it, tile it, move it between workspaces. Or lock an app to a size or a shape you choose in Droiduin Hub.

Shows up in your app menu

Apps open the file types and links they handle, list their shortcuts as menu actions, and can pin shortcuts of their own once you confirm.

Three of these are Android apps. Your menu doesn't care.

Uses your desktop's services

Notifications in your notification center. Your media keys, your input method, your screen reader. Your dark mode, accent color and font size.

Desktop accent color

Keeps your personal data to itself

Each app runs in a sandbox that hides your home folder. And Android's permissions get an extra answer: Allow privately. The app works as if allowed, but gets stand-in data you control.

Location
A place you pick
Contacts and calendar
Empty lists
Camera
A placeholder picture
Microphone
Silence
Photos and files
Storage of its own

New requests are allowed privately by default. You can change that in Droiduin Hub.

Starts fast

The app is translated once, at install. A startup snapshot shared by all apps makes the first start quick, and one of the app itself makes later starts quicker.

Draws with your GPU

Skia on Vulkan, with OpenGL as a fallback. The same graphics engine Android and Chrome use.

Asks for nothing special

No root. No kernel modules. No system image to download and keep running.

Translated once.
Then it's just a program.

Droiduin converts the app once, when you install it, into something your computer already knows how to run. After that, starting it is as quick as starting any other desktop program.

  1. Install

    Android apps are written for Android's own virtual machine. Droiduin's translator rewrites the app's code into standard Java bytecode, once, and saves the result. It unpacks the app's resources and icons and adds the app to your desktop's menu.

  2. Run

    Droiduin starts the regular OpenJDK runtime, loads the translated app, and loads its own version of Android's framework: the android.* APIs every app is built on.

  3. Draw, listen, play

    When the app draws a button, plays a sound or shows a notification, the framework hands the work to Droiduin's runtime, written in Rust. It draws on your GPU, opens Wayland windows, plays audio through PipeWire and talks to your desktop's services over D-Bus.

  4. Native code

    Many apps ship parts written in C or C++. Droiduin's own loader runs these x86_64 libraries directly, translating Android's C library calls to Linux's.

  5. Web pages

    Apps that show web content get a real Chromium engine, kept in its own sandboxed process so a crash there can't take the app down.

What works today

Droiduin is in early development. Here is where it stands, including what it can't do.

49 of 49 test apps start and draw their main screen.

That is our compatibility test of 49 open-source apps from F-Droid: calculators, note-taking apps, music players, podcast and radio apps, file managers and more. Some are also checked end to end.

Android 15 (API level 35) is the target. Apps built with classic Android views and with Jetpack Compose both run.

Graphics

GPU drawing, animations, vector graphics and custom fonts. OpenGL ES and Vulkan games run through the native-code loader.

Media

Audio playback and recording, and Android's audio effects. Video and audio decoding and encoding go through your system's FFmpeg, with hardware encoders used first when they work on your GPU. Media controls appear on your desktop.

Desktop integration

Notifications, clipboard, input methods (IBus, Fcitx), screen readers (AT-SPI), location (GeoClue), dark mode and accent color sync, file and link handlers, and app shortcuts, including ones an app pins to your menu after you confirm. Files open and save through your desktop's file chooser, and printing uses your desktop's print dialog.

Camera

Your PC's webcam through Android's camera APIs, reached through your desktop's camera portal. Allowed privately, apps see a placeholder picture instead of your camera.

Privacy and sandbox

Each app sees only its own files, not your home folder, and talks only to the desktop services it uses. The rest of the system is read-only to it, and it can't make the system calls Android blocks for apps. Its audio and camera connections are restricted to what you allow, and where your desktop supports Wayland security contexts it gets none of the display's privileged features, such as screen capture. It reaches the network only with Android's INTERNET permission, and never your PC's own services. Permissions are managed per app in Droiduin Hub. The sandbox needs unprivileged user namespaces.

Looks as it does on a phone

Droiduin draws apps with Android's own layout, text and drawing code, so an app should look exactly as it does on an Android 15 phone of the same size. A test harness compares apps with a stock Android emulator, and any difference is treated as a bug.

Signed APKs only, as on Android

APK signatures are checked as Android checks them (v1 to v3.1). An APK whose signature doesn't verify doesn't install, and an update signed by anyone other than the app's developer is refused. Unsigned test builds still install. Droiduin Hub shows what you're installing and its permissions before it installs.

Split APKs and bundles

Apps delivered as a base APK plus splits install from the command line or from an app store running in Droiduin, such as Aurora Store. Bundle files (.apkm, .apks, .xapk) install directly.

Web content

WebView through Chromium, with a sandbox and a JavaScript bridge. Droiduin Hub downloads the engine and keeps it up to date.

Google Play services, in part

Droiduin Hub can install microG, a free stand-in for Google Play services, and apps that look for Play services find it. Accounts and license checks are done but tested only against a local stand-in for Google, not Google's own servers.

Text-to-speech

Android's TextToSpeech speaks through your desktop's speech service. An optional second engine with natural voices runs on your CPU from a separate download.

How it compares

Waydroid and emulators run real Android, so more apps work on them today. Droiduin trades that for apps that feel native and start fast.

DroiduinWaydroid / AnboxEmulators
What runsJust the app, as a Linux processA full Android system in a containerA full Android system in a virtual machine
SetupInstall a programKernel modules, an Android image, a background serviceA VM image, hardware virtualization
WindowsOne native window per appAndroid's own windows, or one window for the whole systemOne phone-shaped window
Desktop integrationApp menu, file types, notifications, media keys, input methods, screen readers, theme, printingPartial, through Android's bridgeMinimal
Memory when idleNothing runs until you open an appThe Android system stays runningThe VM stays running
ARM-only native codeNot supportedSupported, with an extra ARM translation layerSupported
Google Play servicesIn part, through microGPossible with extra setupSupported with Google images

Droiduin is the right tool if the apps you care about are ordinary apps, like most open-source apps on F-Droid, and you want them to behave like the rest of your desktop.

News

All news
  1. Droiduin has a home on the web

    droiduin.com is live. It explains what Droiduin is, how it runs Android apps as Linux apps, what works today and how to build it.

Build it. Install an app.
That's the setup.

Droiduin doesn't have release packages yet. Building from source is the way to install it today.

You need

  • Linux on x86_64 with a Wayland desktop: GNOME, KDE Plasma, Sway, Hyprland and others
  • JDK 25 or newer, with javac and java on your PATH for your whole desktop session
  • Rust, stable, through rustup
  • Android SDK build-tools 36.0.0
  • Python 3, used at build time
  • Optional: FFmpeg 7 or newer for audio and video, PipeWire for sound

Build and install

git clone https://github.com/allenguarnes/droiduin.git
cd droiduin && ./install.sh

Put droiduin on your PATH

export PATH="$HOME/.droiduin/bin:$PATH"

Add that line to your shell profile to keep it.

Then run an app

droiduin install SomeApp.apk
droiduin run com.example.someapp

Or open Droiduin Hub from your app menu and double-click an .apk.