English · 简体中文
CubClone is a multi-instance app cloner for Android. It creates real, system-level clone profiles and runs independent copies of any app inside them — the mechanism Android vendors ship as "App Twin", rebuilt as a single open-source app.
One profile, one sandbox: each clone has its own app data, login sessions and notifications, so one installed app can become as many independent accounts as the device allows.
CubClone does not virtualize apps. It drives Android's native multi-user support:
- Create a
profile.CLONEuser viapm create-user— the device-side helper runs throughapp_process. - Install an app into that profile with
pm install-existing --user <uid>. - Launch it with cross-user intents and pin a launcher shortcut for one-tap access.
- Keep a per-profile package registry so system apps pre-installed into a new profile can be cleaned up automatically.
Elevation comes from Shizuku or root, whichever the device has.
- Profiles created by CubClone are tagged at creation time, so ownership survives uid reuse.
- Profiles created by other apps are shown read-only: visible and launchable, never modified.
- Grid and list views, switchable, with adjustable columns and rows
- "Recently opened" strip on both views
- Multi-select batch cloning: pick N apps × M profiles
- Per-clone rename, enable/disable, hide, shortcut pinning, per-profile cleanup
- Input-method picker per new profile, with automatic repair of the profile's IME settings
- Built-in check for the kernel
sdcardfsconflict that leaves clone storage unmountable on some ROMs; the app detects it and generates a one-tap fix module for the device's root manager - Theme: system / light / dark / pure black (AMOLED); English and Chinese UI
No Gradle — plain Android build tools (aapt2 / javac / d8 / apksigner).
# 1) device-side helper jar (shipped as an asset)
(cd proto && ./build.sh)
# 2) the app; signing credentials are read from $CUBCLONE_SIGNING
# (default: ./signing.properties, which is git-ignored)
(cd app && ./build.sh)Requirements: Android SDK build-tools 35.0.0 + platform android-36, JDK 21.
Shizuku API classes are vendored under app/libs/ from the official Shizuku
releases; the matching AIDL sources are in app/libs/aidl.
Semantic Versioning, still in 0.x. The version lives only in versionName inside
AndroidManifest.xml; versionCode is derived from it at build time.
Releases use a short-lived release/<version> branch (GitFlow's release branch):
merged into main, tagged v<version>, then deleted. Pre-releases carry a
-beta.N / -rc.N suffix. Full rules: docs/VERSIONING.md.
Actively developed and used daily by the author. Verified on Android 13–16 devices, both near-AOSP and vendor ROMs.
Apache-2.0 — see LICENSE. Brand assets (logo) are not covered by the license.
