Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

twoyi

> 编程语言
Open source

A lightweight Android container on Android

1.9K stars0 likes2 views
WebsiteGitHub

About

A lightweight Android container on Android

README 中文版

Introduction

Twoyi is a lightweight Android container. It runs a nearly complete Android system as a normal app (no root required) on Android. Additionally, it supports Android 8.1 ~ 12.

Capability

  1. Use Taichi·Yang without unlocking the bootloader. Xposed, EdXposed and LSPosed will be supported.
  2. Use root on non-rooted devices.
  3. Use a few Magisk modules.
  4. Implement additional system components such as virtual camera by virtualizing the HAL layer.
  5. Do security research such as shelling.

Features

  1. Twoyi is a rootless Android system-level container, which runs a nearly complete Android system as a normal app and is mostly isolated from the main system.
  2. The internal Android version is Android 8.1 and Android 10 will be supported.
  3. Booting up twoyi is very fast (within three seconds) except for the initialization process.
  4. Twoyi is an open source project.
  5. The internal system of twoyi will be fully customizable. Because its system is open source, you can fork the project to compile your own system. You can also customize the system components, such as the HAL layer to implement virtual cameras, virtual sensors and other special features.

Building

Twoyi contains two parts:

  1. The twoyi app, which is actually a UI rendering engine.
  2. The internal ROM of twoyi.

This repository contains the twoyi app, and the twoyi ROM is currently being turned into open-source. Therefore, at this moment, the ROM cannot be compiled from source yet.

Build the App manually

Install Rust

Twoyi is partially written in Rust, so it's nessesary to install Rust and Cargo first.

Install cargo-xdk

Please refer to cargo-xdk.

You can check if it is installed by running ./gradlew cargoBuild. If it succeeded, you will see libtwoyi.so in app/src/main/jniLibs/arm64-v8a.

PS. Please use ndk v22 or lower, otherwise it may fail.

Integrating rootfs

Currently you cannot build the ROM yourself, instead you can use the prebuilt ROM. To do that, extract rootfs.7z from the official release apk and copy it to app/src/main/assets.

Build the app with Android Studio

Build it with Android Studio normally.

Build the ROM

WIP

Discussion

Telegram Group

Contact Me

[email protected]

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javaandroidtwoyivirtual

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言