CloneSpace
1.0.0 · GitHub
More about this app
App cloner and isolated multi-user workspace powered by Shizuku that runs extra copies of apps in separate profiles without duplicating APKs or needing a PC.
📌 Introduction
CloneSpace is a modern, rootless Android application developed by UDhanika Dissanayaka (UDMODZ). Built using Kotlin, Jetpack Compose, and Material 3, CloneSpace leverages Android's native multi-user architecture via elevated Shizuku IPC (android.uid.shell).
Run multiple isolated instances of WhatsApp, Telegram, banking apps, or games in sandboxed profiles without third-party virtualization overhead, battery drain, or root access.
✨ Features
- ⚡ Rootless & Wireless: Works standalone via Shizuku without requiring root or computer tethering.
- 🏢 Managed Work Profiles: One-click creation of sandboxed work profiles (
pm create-user --profileOf 0 --managed). - 👥 Secondary Workspaces: Create independent user profiles with separate storage and accounts.
- 📦 Zero-Copy APK Cloning: Instant cloning via Android's package manager (
pm install-existing --user <id> <pkg>). No duplicate APK downloads or storage bloat. - 🚀 Direct App Launcher: Modern launcher using
am start --user <id>supporting Android 8 to 16. - 📌 Home Screen Shortcuts: Pin 1-tap shortcuts directly onto your primary home screen via
ShortcutManagerCompat. - 📊 Real-time Shell Stream: Live inspection of ADB commands, stdout, stderr, and execution codes with one-tap clipboard copy.
- 🛡️ Primary User Safeguard: Hard-coded safety protection preventing deletion or stopping of User 0.
- 🏎️ Ultra-Optimized Architecture: 1-call batch package inspection, 72px downsampled memory-safe icon thumbnails, and largeHeap support.
📱 OEM Compatibility & Workarounds
| Manufacturer | Problem | Solution |
|---|---|---|
| ZTE / Nubia | pm create-user returns Maximum user limit is reached (code 6) |
Use Work / Managed Profile (pm create-user --profileOf 0 --managed), which operates under a separate quota. |
| Xiaomi / POCO / Redmi | INSTALL_FAILED_USER_RESTRICTED or SecurityException |
Go to Developer Options ➔ Enable Install via USB & USB Debugging (Security settings). |
| Oppo / OnePlus / Realme | Max users limit reached | Ensure Settings ➔ Multiple Users is toggled ON. ColorOS caps total profiles at 4-5. |
| Samsung (OneUI) | Knox MDM restrictions | Works natively. If corporate Knox restricts work profiles, use standard secondary profiles. |
🛠️ ADB Commands Cheatsheet
# List all active user workspaces
pm list users
# Create a Managed Work Profile (Recommended)
pm create-user --profileOf 0 --managed "WorkSpace"
# Create a Standard Secondary User
pm create-user "Secondary"
# Start / Spin up a workspace
am start-user <user_id>
# Stop / Freeze a workspace
am stop-user -f <user_id>
# Delete workspace and wipe its data (Guarded against user 0)
pm remove-user <user_id>
# Clone app into target workspace
pm install-existing --user <user_id> <package_name>
# Uninstall cloned app from target workspace only
pm uninstall --user <user_id> <package_name>
# Launch app in target workspace (Android 14/15/16)
am start --user <user_id> -n <package_name>/<activity_name>
📦 How to Build from Source
Prerequisites
- JDK 17+ or JDK 21 (e.g. from Android Studio JBR).
- Android SDK Platform 35 and Build-Tools 35.0.0.
Build via Command Line
# Clone the repository
git clone https://github.com/udmodz0/adb-cloner.git
cd adb-cloner
# Build Debug APK
./gradlew assembleDebug
# Install onto your connected Android device
adb install -r app/build/outputs/apk/debug/app-debug.apk
👨💻 Developer & Community
Developed with ❤️ by UDhanika Dissanayaka (UDMODZ)
Full Stack Developer & Software Architect
| Channel | Link |
|---|---|
| 🌐 Official Website | https://udmodz.site |
| 📦 Source Repository | github.com/udmodz0/adb-cloner |
| 💬 WhatsApp Channel | Follow UDMODZ |
| 📱 WhatsApp Support | +94 70 463 8406 |
| 📢 Telegram Updates | @udmodz0 |
| 💬 Telegram Contact | @udmodz |
| 💻 GitHub Profile | github.com/udmodz0 |
| 📺 YouTube | @udmodz |
| ✉️ Support Email | [email protected] |
📜 License
Copyright 2026 UDMODZ (UDhanika Dissanayaka)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
How Shizuku is used
Can clone apps into isolated profiles, manage profiles and launch clones via `pm`, `am` and `cmd package` through Shizuku.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
CloneSpace uses Shizuku to run isolated copies of apps in separate Android profiles without duplicating APKs.
- Create isolated workspaces: a name typed for a new workspace is applied with the
pm create-usershell command through Shizuku, including managed work profile variants, then started automatically. - Manage workspace profiles: existing profiles are listed and started, stopped or deleted with the
pm list users,am start-user,am stop-userandpm remove-usershell commands through Shizuku. - Discover installed apps: the app list and per-profile install state are built with the
pm list packagesshell command through Shizuku, covering third party and system apps plus per-user queries. - Clone apps into profiles: an app chosen for a workspace is installed there with the
pm install-existingshell command through Shizuku, including batch cloning of multiple selected apps. - Remove cloned apps: a clone is removed from a workspace with the
pm uninstallshell command through Shizuku while leaving the original app untouched. - Launch cloned apps: a clone is opened in its profile with the
cmd package resolve-activitylookup plus theam startshell command through Shizuku, with a launcher fallback when no main activity resolves.
Android APIs or commands used
pm list packagespm list userspm create-userpm install-existingpm uninstallpm remove-usercmd package resolve-activityam startam start-useram stop-usermonkey
Changelog
What's new for version 1.0.0
CloneSpace v1.0.0 - Initial Release
CloneSpace is a rootless multi-workspace application manager and app cloner for Android powered by Shizuku.
Key Features
- Rootless Power: Operates via Shizuku elevated ADB shell permissions (pm, m) without unlocking bootloader or rooting.
- Profile & Workspace Isolation: Easily create and switch between personal, work, and managed sandboxes.
- Instant App Cloning: Clone any installed app into your created workspace profile in seconds.
- High Performance & Low Memory: Optimized batch IPC package resolution and low-footprint icon thumbnail caching.
- Modern Material 3 Interface: Designed with Jetpack Compose, edge-to-edge layout, and dynamic terminal output.
Installation
- Ensure Shizuku is running on your Android device.
- Download CloneSpace-v1.0.0.apk below.
- Install and grant Shizuku permission on first launch.
Permissions
4 permissions requested