How to duplicate an application. How to install two identical applications on an Android phone (VK, Viber, WhatsApp)? Installing a clone of the application in Xiaomi smartphones

To install two (or more) identical applications on one phone, you need to change the value package in file AndroidManifest.xml , located inside the apk build.

For example, we have this:

In order to install this application again, you need to do something like the following:

After such a change, the newly compiled apk file will have to be signed with a certificate. Information on how to unpack, pack and sign apk files can be found in any search engine upon request SmartApkTool.

Possible problems

Problem 1

If next to AndroidManifest.xml the file is not created apktool.yml , then in the user's home directory find the folder apktool\framework and delete the file from it 1.apk .

Problem 2

Sometimes simply changing the package name doesn't help. Most often this happens in cases where the file AndroidManifest.xml Relative paths to various activities are specified. For example:

In such a situation, you need to specify the full path to all activities, that is:

Please note that you do not need to enter a new package name (that is, in our case, not ru.bamd.new), but the real path to the activity in the smali directory of the unpacked apk file. Naturally, in the general case, the path matches the old package name (in our case it is new ).

Problem 3

If in the file AndroidManifest.xml there is a tag provider , then in its attribute authorities you also need to add the symbols that we used as an addition to the parameter package (in our case this is .test). For example, it was:

Became:

As in Problem 2, the attribute value name no need to change.

We tell you how to install two identical applications on one device.

There are situations when Android smartphone users need to make a copy of a certain application so that it is installed in two copies. This is useful for using several accounts on social networks at the same time and logging into some program or games with different settings.

The basic functionality of the Android operating system does not provide such a possibility, although Chinese Xiaomi engineers offered users a solution in the proprietary MIUI firmware - . The idea is simple - activate the function and select which applications you want to clone. They appear on the desktop in two independent copies.

For other versions of Android and proprietary shells, you can also install clones of applications. To simultaneously use the same application on an Android smartphone, you need to install the premium version of the App Cloner program, which is available on Google Play. By the way, there are many similar programs, but most, unlike those, require root rights.

To copy applications, you need to launch App Cloner and find the desired game or program in the list. The tool will scan the system and tell you which features may not be available on the clone. Typically, restrictions apply to the use of Google services, and this, unfortunately, is a serious limitation.

The essence of App Cloner is that the program creates a new identical application that has the same capabilities as the original. They work independently of each other, and they can also be launched simultaneously when using dual-window mode.

The user can independently choose the color of the label, rotate it, and also add icons. It is also possible to modify the application by changing some operating parameters.

It is worth noting that App Cloner can copy almost all popular instant messengers and social networks, including those tied to a SIM card: WhatsApp, Viber, Telegram, and so on. Another advantage is the possibility of unlimited copying of applications, and each copy can have its own settings.

Detailed instructions for installing it yourself.

There are times in life when it becomes necessary to install two copies of one application on a device (iPhone or iPad). For example, you and your relatives use the same toy on a common tablet, and you can only create one account in the game. There may also be a need to use two accounts at once on the popular social network VKontakte. The ability to download copies of the desired application to your iPhone or iPad is the best way out of this situation.
If you are tired of switching between your accounts on social networks, then this issue can be solved.
At the moment, MacDigger will outline a method for installing two duplicates of one application on one device - iPhone or iPad. Let's get started!
You will need a laptop or computer running a Mac operating system with Xcode and iTunes and Cydia Impactor installed from the Mac App Store. If everything is at hand, then we can start.

  1. You should find the IPA file of the application you want to duplicate. This file must be hacked. You can find it on the Internet on various sites.
  2. Make a copy of the downloaded application, which needs to be duplicated, on the desktop of the machine and change the file extension from .ipa to .zip.
  3. You need to double-click on the resulting file with the ZIP extension and extract the folder in it.
  4. In the extracted folder you will see another folder called "Payload". Remove it and it will appear on the desktop.
  5. Double-click on this folder, in it you will find the file of the desired application, right-click on it. Then use the “Show package contents” option.
  6. You will see a list where there will be files and folders. Find a file called "info.plist". Then open it in Xcode.
  7. Find the Bundle Identifier line and change the Value to something else, for example, this is com.company.appname.
  8. While in Xcode, hover over "File", open it, then "Save" in order to save edits.
  9. Exit Xcode, right-click on the folder called Payload, then you need to Compress it. A newly created file with a ZIP extension will appear on the desktop of the machine.
  10. Again change the extension from zip to ipa. You can use whatever filename you want.
  11. Connect your iPhone to your computer and use Cydia Impactor. Using the usual method, copy the IPA file you just made to your device.
  12. In order for the application on your smartphone to start working, you need to find in the item Settings –> General. Then - Profile or General -> Device Management. In the final section, you need to add the certificate to the trusted ones.

  13. That's all! Now you will be able to use two copies of one application on your device.
    Connect with us on all social networks: from Twitter to Facebook, from VKontakte to Google+. You can also join via RSS, and then you will know all the latest news from such branded companies as Apple, Google and, of course, Microsoft.

If your smartphone supports two SIM cards, and today most of them do, then you can use these SIM cards to create two accounts for one application. For example, this way you can use two accounts of your favorite messenger. But if creating two accounts from different numbers is not a problem (it’s enough to get a code first for one and then for the second number), then making it possible to use two accounts at the same time is much more difficult. But there is a way out.

It is important to note that some manufacturers have begun to implement application cloning functionality into the firmware. An example is MIUI from Xiaomi. This is great because you don't need to install third-party programs to clone apps. But we’ll talk about Xiaomi later, and first we’ll talk about how to clone an application if this functionality is not supported by the firmware. Please note that root rights are not required.

Cloning applications on any Android smartphone

To clone an application, you will need to install a special program. Therefore, open the Play Market.

Install the application on your smartphone using the button of the same name.

Add permissions if necessary.

The application is installed. You launch it.

To add a clone of the application, click on the plus button.

Clone applications have been created. What does it mean? This means that to launch the clone, you will need to open the DualSpace application on your smartphone screen each time and from there log into the Viber or WhatsApp clone.

By the way, if you now open WhatsApp from DualSpace, the account registration page will open, while we simultaneously launched the main WhatsApp application, that is, they can be used simultaneously.

The only condition is that accounts must be registered to two different phone numbers.

Installing a clone of the application in Xiaomi smartphones

In the case of Xiaomi smartphones and MIUI firmware, everything is much simpler.

Open “Settings”.

Find the item “Clone applications”, tap on it.

You see a list of applications for which cloning is available. Select by clicking on the application name. Let it be, say, the VKontakte application.

You open the desktop and see two identical applications. The clone in this case has a yellow mark.

Actually, that’s all, you can use the applications. To remove a clone, open “App Cloning” in Settings and move the switch to the “Off” position next to the cloned application.

To install two (or more) identical applications on one phone, you need to change the package value in the AndroidManifest.xml file located inside the apk build.
For example, we have:


android:versioncode="20110420"
android:versionname="1.8.0"
package="ru.e_num"
xmlns:android =>

In order to install this application again, you need to do something like the following:

android:versioncode="20110420"
android:versionname="1.8.0"
package = "ru.e_num.test"
xmlns:android= "http://schemas.android.com/apk/res/android">

After such a change, the newly compiled apk file will have to be signed with a certificate. Information on how to unpack, pack and sign apk files can be found in any search engine for SmartApkTool. Here is the link to the application: v.2.2 (unpack the contents of the archive into an empty directory). But here is a more correct way to work with apk files: .

Advice. Install one of the copies unmodified to know about updates in the Market.

Below the cut some problems encountered are described, and there is also an Order Table.

POSSIBLE PROBLEMS

Problem 1

If the apktool.yml file is not created next to AndroidManifest.xml, then find the apktool\framework folder in the user’s home directory and delete the 1.apk file from it. (Advice from 4pda.ru, thanks Alex Boroda.)

Problem 2

Sometimes simply changing the package name doesn't help. Most often this happens in cases where relative paths to various activities are specified in the AndroidManifest.xml file. For example:


android:label="E-NUM"
android:name = "SplashScreenActivity"
android:screenOrientation="portrait" >

In such a situation, you need to specify the full path to all activities, that is:

android:label="E-NUM"
android:name= "ru.e_num.SplashScreenActivity"
android:screenOrientation="portrait" >

Please note that you do not need to enter a new package name (that is, in our case, not ru.e_num.test ), but the real path to the activity in the smali directory of the unpacked apk file. Naturally, in the general case, the path coincides with the old package name (in our case it is ru.e_num ).

Problem 3

If there is a provider tag in the AndroidManifest.xml file, then in its authorities attribute you also need to add the symbols that we used as an addition to the package parameter (in our case, this is .test ). For example, it was:


android:authorities="com.someapp.android"
android:name="com.someapp.android" >

android:authorities="com.someapp.android.test"
android:name="com.someapp.android" >

As in Problem 2, the value of the name attribute does not need to be changed.

Order table

I'm taking orders again! If you have read the instructions, but have any difficulties with them, write a link to the application in the comments. It is necessary! Search "viber" or " clash of clans" I won't. I make one copy for free. I don't guarantee the result - test it. If you need more copies, or have any non-standard requests, write to us and we’ll come to an agreement. If you want to say thank you with a pint of beer and one copy, then wallets.

PS.*NIX users can try making copies of applications automatically using this simple bash script:
https://github.com/kodopik/Copyroid
Pull requests are welcome!