Users of modern smartphones often encounter a situation where the standard system does not allow installing a second copy of an already downloaded app. This limitation is built into the architecture Android to prevent signature and port conflicts. However, demand creates supply: users need to simultaneously work with a test version of the software or use the old messenger interface in parallel with the new one.

Solving the problem of how to download 2 identical applications on Android of different versions requires bypassing system checks. There are several effective methods, from using built-in shell functions to using sophisticated emulation tools. The choice of a specific method depends on your device model, version Android and availability of rights root. In some cases, it is enough to simply rename the package, in others, you will need to create an isolated environment.

Next we will examine in detail the technical nuances of duplicating packages. You will learn how to change the digital signature APK of a file so that the system treats it as a completely new application. We will also consider working with virtual machines, which allow you to run multiple copies of apps in an isolated space without interfering with system files.

Built-in application cloning functions

Many smartphone manufacturers have already built in the function of creating clones into their shells. This is the easiest and safest method that does not require installing third-party software. Typically this option is called Double applications, App Twin or Clone applications. It allows you to launch a second copy of the messenger or social network under a different account.

However, standard tools often have limitations. They only support a certain list of popular apps and usually do not allow you to select a specific one version for a clone. The system simply duplicates the version that is already installed on the main system. If you need to run exactly the old version next to the new one, the built-in cloner may not be suitable.

Nevertheless, it is worth checking for the presence of such a function first. This guarantees stable operation and no problems with batteries. Owners of devices from Xiaomi, Samsung or Huawei often find this option in the privacy settings or advanced system settings.

โš ๏ธ Warning: Built-in clones create a shortcut on the desktop, but technically it could be the same application with a different user ID. Check whether the interface allows you to select the version of the file to be installed.

To access the settings, you usually need to go to Settings โ†’ Applications โ†’ Cloning. If your phone does not support version selection when cloning, you will have to move on to more advanced methods described below.

๐Ÿ“Š What brand of smartphone do you have?
Samsung
Xiaomi
Huawei
Google Pixel
Other

Using virtual machines and sandboxes

The most universal solution is to use sandbox applications. These apps create a virtual environment inside your Android, which emulates a separate device. Within such an environment, you can install any version of the application, regardless of what is installed on the main system. Popular solutions include Parallel Space, Island or Shelter.

The operating principle is based on technology Work Profile or complete namespace emulation. When you install a app in a sandbox, it receives a new user ID and isolated data storage. This allows you to bypass the check for the presence of an already installed version. You can download the APK file of the old version and install it inside the virtual machine.

The advantage of the method is that it does not require superuser rights. However, there are also disadvantages: virtual machines consume more RAM and can drain the battery more. In addition, some banking applications or games with enhanced protection may refuse to work in the emulated environment, considering it unsafe.

โ˜‘๏ธ Preparing for installation in the sandbox

Done: 0 / 4

After installing the environment, the process is as follows: you open the sandbox, select the option to add an application and specify the path to the downloaded file APK other versions. The system will install it as an independent object. You will need to launch it through the icon of the sandbox itself or the shortcut created by it.

APK modification and signature change

A more complex, but flexible method is manual modification of the installation file. The system Android prohibits the installation of two applications with the same Package Name and the same signature. To get around this, you need to change the package name and resign the file.

For this, special editors are used, such as APK Editor or MT Manager. These tools allow you to unzip the application archive, change the line package in the manifest and create a new cryptographic signature. As a result, the system sees a completely new application, although functionally it is the same app.

This method requires caution. Changing the file structure incorrectly can cause the application to stop launching or crash on startup. It is also worth considering that some applications check the integrity of their signature at startup and may block work if they detect a modification.

Technical details of the signature

When the package name is changed, all internal links to resources and components should be updated automatically by the editor. If the application uses native libraries (.so files), the chance of successful launch is reduced.

Here is an approximate algorithm of actions for advanced users:

  • ๐Ÿ“‚ Download the APK file of the desired version of the application.
  • ๐Ÿ›  Open the file in the editor APK Editor and select mode Common Edit.
  • โœ๏ธ Change the field Package Nameby adding a suffix, for example, .old or .v2.
  • ๐Ÿ’พ Save the changes and install the modified file.

โš ๏ธ Attention: When changing signature, you will lose the ability to receive automatic updates for this clone through Google Play. You will have to update it manually using the same method.

Installation via ADB with the permission flag

For users familiar with USB debugging, there is an installation method via a computer using the utility ADB (Android Debug Bridge). This method allows you to force the installation of the application, bypassing some compatibility checks, although changing the signature may still be required.

You must first enable debugging mode on your phone in the For developerssection. Then connect your device to your PC and open Command Prompt. The installation command looks standard, but you can use flags to replace an existing application if you want to upgrade one version to another while preserving the data, or install in parallel if the packages are different.

adb install -r path_to_app.apk

Flag -r means reinstall, which is useful when updating versions. However, to install two different versions at the same time, the key factor is the difference in package names. ADB cannot magically merge two applications with the same ID into one system without conflict, unless user space is used.

It is possible to create a new user on the system through ADB and install a second version of the application for that user. This creates complete isolation at the OS level.

๐Ÿ’ก

Use the command "adb shell pm create-user --profileOf 0 NewUser" to create an isolated environment where you can install the second version of the application without cloners.

Comparison of installation methods

The choice of method depends on your technical skills and goals. The table below will help compare the main approaches according to key parameters: complexity, stability and resource requirements.

Method Complexity Root required Stability Consumption batteries
Built-in cloner Low No High Low
Sandbox (Parallel) Space) Average No Average High
APK modification High No Low Normal
ADB / New user High No High Normal

As you can see from the table, built-in tools are most preferable if they support your tasks. Modification APK gives maximum flexibility, but requires time to configure each update. Sandboxes are convenient for temporary use, but are not suitable for permanent operation due to the load on the system.

๐Ÿ’ก

For permanent use of two versions, it is best to create a second user of the system or modify the package, as this gives native performance.

Security and compatibility issues

Running multiple versions of the same application carries certain risks. Firstly, older versions of apps may contain vulnerabilities that have already been fixed in new releases. By using outdated software, you potentially open the door to attackers, especially when it comes to instant messengers or financial applications.

Secondly, data conflicts are possible. If both versions of an application try to access the same files in shared storage (for example, the download folder or shared media files), this may result in save errors or data loss. Isolated environments (sandboxes) solve this problem, but complicate the exchange of files between the main system and the clone.

It is also worth mentioning that some services, such as WhatsApp or Telegramcan block accounts if they detect the use of unofficial clients or modified versions. Always check the terms of use of the service before installing modified APK files.

โš ๏ธ Attention: Settings interfaces and function names may differ depending on the Android version and the manufacturer's shell. Always check the current menus of your device.

Before starting experiments, it is recommended to make a full backup of your important data. This will allow you to quickly restore the functionality of your smartphone in the event of a critical system failure or damage to the file structure.

Frequently asked questions

Is it possible to install two versions of WhatsApp at the same time without cloners?

Yes, this is possible if you use the APK modification method (changing the package name) or install the second version in the โ€œWork Profileโ€ using the Island application. The standard system will not allow you to do this directly.

Will you receive notifications from the second version of the application?

Yes, notifications will arrive, but their display depends on the installation method. In sandboxes, notifications may be duplicated or require a special accessibility service to be enabled. When installed by changing the package, notifications work normally.

Does the second version take up a lot of space on the phone?

Yes, each version of the application takes up disk space separately. In addition, cache and user settings data are also duplicated. If the application is heavy (for example, a game), make sure that you have enough free memory.

Is it possible to update the cloned version through Google Play?

No, Google Play does not recognize modified APK files or applications installed in isolated profiles with a changed signature. Updating such versions must be done manually by downloading new APK files.

Does this affect the warranty of the smartphone?

Using third-party cloning applications or modifying APK files does not in itself void the warranty. However, obtaining root access or unlocking the bootloader (which may be required for some methods) will void the warranty.