Many smartphone owners face the need to use two accounts in one app, such as one phone number for work and another for personal use. On Xiaomi devices with MIUI shell or the new HyperOS, this problem is solved at the system level thanks to the cloning feature, you do not need to install third-party programs or constantly log out of your profile to switch to another account.
Essentially, cloning creates an exact digital copy of an already installed application, and this copy works as a completely independent module: it has its own data, its own caches, and its own login settings. For the system, it looks like you installed the same program twice from different sources, even though technically it is the same installation file running in an isolated container.
In this article, we will discuss in detail how this technology works, what are the limitations and how to properly set up a second account in popular messengers. You will learn about hidden settings and ways to solve problems when a clone stops receiving notifications or incorrectly displays in the interface.
The principle of Dual Apps technology
A feature known as Dual Apps uses the isolation mechanism of Android processes. When you activate a clone, the system creates a separate user profile for that particular application. All the data that the cloned version records is stored in a separate memory area without intersecting with the original. This ensures security: if one application crashes, the second one will remain stable.
It's important to understand that cloning isn't available for all programs. The developers of the MIUI shell make a special list of compatible applications, most often social networks and instant messengers such as WhatsApp, Telegram, Viber and WeChat. Attempting to clone system utilities or games is often impossible without obtaining superuser rights (Root), since they do not have the appropriate permissions in the system manifest.
β οΈ Attention: Clone apps consume additional RAM resources. If your smartphone has less than 4 GB of RAM, activating a large number of clones can lead to a slowdown in the interface.
Technically, the process is as follows: the system replaces the packet IDs for the second copy. If the original application has an ID com.whatsapp, then the clone can receive an ID like com.whatsapp.clone or run in an isolated space with changed environment variables, which allows you to bypass checks for the already installed version.
- π± Create an independent shortcut on the desktop with a characteristic icon (usually a yellow label).
- πΎ Cache and login data are stored in a secure partition of the file system.
- π Notifications come separately for the main and cloned application.
- π Battery consumption increases in proportion to the operating time of both copies.
How to activate cloning in MIUI settings
The process of enabling the function is as simple as possible and does not require complex manipulations. All the necessary tools are in the standard system settings menu. First, you need to open the Settings section and find the Application item, and this is where you hide the management of all installed programs and their copies.
Inside the app menu, select the option Dual Apps, and you'll see a list of all the programs that support copy creation on your device, and next to each compatible application, you'll have a switch, and activating that switch triggers the cloning process, which takes only a few seconds.
Once you've successfully created a copy, you'll see a new label on your desktop, which will be visually different from the original by having a small yellow tag in the corner of the icon, which is a standard MIUI token that allows you to quickly distinguish the main account from the secondary one. If you don't see the yellow tag, check the theme of the design β some third-party themes may be hiding the indicator.
βοΈ Pre-activation check
Itβs worth noting that for some apps, such as Facebook or Messenger, the system may offer not just a clone, but the installation of a separate official Lite app or a special version, if one exists, but most popular messengers use a built-in emulation mechanism.
Set up notifications and energy saving
One of the most common problems with cloned applications is the lack of timely notifications. Android and the MIUI shell are known for their aggressive energy saving policies, and they can automatically kill secondary applications processes, considering them less important than the main ones.
To keep the cloned messenger online, you need to manually configure its power consumption settings. Go to Settings β Applications β All applications. Find a cloned application in the list (it will be marked with an icon). Click on Charge Saving and select No Limits mode. This will prevent the system from stopping background processes.
Itβs also important to check autorun permissions. In the same app settings menu, find Autorun and activate it. Without that permission, after you reboot your smartphone, the cloned app wonβt run on its own, and you wonβt receive a message until you manually open it.
| Setup parameter | Recommended value | Where to find out. |
|---|---|---|
| Auto-start | Included. | Application settings β Auto-start |
| Saving charge | No restrictions. | Application settings β Battery |
| Notifications | Allow everything | Settings β Notifications |
| Working in the background | Permission. | Application settings β Permissions |
β οΈ Note: If you use Do Not Disturb or Sleep mode, notifications from cloned apps may be blocked along with the primary.
Working with different Google Play accounts
Users often wonder if you can clone the Google Play store itself or apps that require a specific Google account, or if you can clone Google Play Services with standard MIUI tools, or if you canβt, but thereβs an elegant solution for separating accounts within the same store.
Google Play itself has native support for multiple profiles. You don't have to clone the app, just add a second account. Click on the profile avatar in the top right corner and select Add another account, and then you can switch between stores, downloading apps that are only available in a particular region or linked to another payment card.
For games and apps that are tightly tied to a Google Play Games account, cloning through the standard Dual Apps feature often doesnβt work correctly. In such cases, the system can give authorization errors. The only reliable way to launch a game on a second Google account is to use the Second Space feature.
- π The second space creates a completely separate environment with its applications.
- π The data in the two spaces are completely isolated from each other.
- π To move between spaces, you need to enter a password or fingerprint.
- βοΈ You can install different versions of Android on each profile (in rare cases).
What is the difference between Dual Apps and Second Space?
Solving Typical Problems and Errors
Despite the system's fine-tuning, users may experience a variety of failures, most often with application updates. When the main application is updated through the store, the cloned version may stop working or require re-authorization, this is due to version desynchronization.
If the clone stopped opening or crashes immediately after launch, try clearing its cache. Go to Settings β Apps, find the clone and select Memory β Clear the cache. Don't confuse it with the Clear All button, otherwise you will have to re-enter your login and password, and the chat may be lost if there is no backup.
Another common problem is that you can't remove the clone, and sometimes the delete button is inactive or hidden, and in this case, resetting the cloning function will help. Go to the Double Apps menu, click on the gear in the corner, and select Delete all dual apps, and this action will delete all the copies you've created at once, freeing up space and resetting any configuration errors.
π‘
If a cloned WhatsApp doesnβt see a backup in Google Drive, make sure that when you create a copy, you select the same Google account that the backup is on, or temporarily disable cloning for that app and restore the data mostly.
Alternative methods of cloning
If the built-in Xiaomi feature doesnβt support the app you want, third-party solutions come to the rescue. There are many clone apps in the Play Market store, such as Parallel Space, 2Accounts or Multiple Accounts, which work on a similar principle, creating a virtual environment inside themselves.
But these solutions have significant drawbacks: They require broad permissions, consume more battery, and often contain advertising, and some banking applications and secure services may block work inside these sandboxes, deeming the environment unsafe.
For advanced users, there's a method of creating a clone through ADB (Android Debug Bridge), which allows you to clone almost any application, even a system one.
pm create-user --name=CloneUser 10Using this method requires caution. Incorrect actions can lead to instability of the system, it is recommended to use this method only if you understand how the Android file system works and know how to work with the command line.
π‘
The built-in Dual Apps feature on Xiaomi is the most stable and secure. Third-party cloners should only be used in extreme cases when it is impossible to clone the program with regular means.
Data security and confidentiality
Using two accounts on the same device increases the risk of data leakage if different people use the phone. Clone apps have access to your gallery, contacts and microphone. If you hand over the phone to someone to call, make sure that the cloned personal messaging app is closed or hidden.
MIUI has an app hide feature, you can hide both the original and the clone, and in the app menu, swipe up the app list (or use a special folder called Hidden, depending on the firmware version) to do this, adding an extra layer of protection against curiosity.
Also, remember the rules of digital hygiene: If you use a clone to work with sensitive information, set a separate pin code or biometric protection on it if the application supports such a feature (such as Telegram with a password code).