Install multiple APK with one APK - Android Q&A, Help & Troubleshooting

Need your help folks..
So I have 4 APK and I want to merge them into 1 APK for installation, but when installing it will be back into 4 different application. Is there any way to do this? Thanks

This should be possible in theory, It could be done by decompiling the app and merging them all together and creating different app-drawer references in there. But this creates a few problems regarding deleting one of the apps, once you delete 1 you delete all. The same story goes for updating them, if you want to update an app you should rebuild the whole crazy app configuration. You might be better of creating an ADB script or even a pm (package manager) script to automate installing apps.

meLodiazz said:
Need your help folks..
So I have 4 APK and I want to merge them into 1 APK for installation, but when installing it will be back into 4 different application. Is there any way to do this? Thanks
Click to expand...
Click to collapse
try this http://forum.xda-developers.com/android/software/tool-android-multiple-apk-file-t3516849

Related

Application Duplication (Cloning)

Hi everybody.
For my work I need to have more istances of the same app (one of this is Instagram) because I use more than one account. So I try to duplicte Instagram apk. To do this I know that I must change apk package name, so I take the apk, decompiled with APKtool, than edited AndroidManifest with new Package Name, edited all the file under /res and /smali following the new name, and change the folder structure unerd /smali to the new packlage name.
After that I build new APK, signed it and try to install, but, when i open the new app it show me an error.
Anybody here can help me?
Try to logcat your error?
Maybe it's better to use multiple titanium backups...
Sent from my Galaxy Nexus using Tapatalk 2
mDroidd said:
Maybe it's better to use multiple titanium backups...
Click to expand...
Click to collapse
There's a way to automate the loading of different backups, for example using a shortcut?
ehm maybe it could be the DataProfiles option of TB, but I'm not sure and never tested...
You could also make a script that automates packaging (for new backup) of the data folder, switching and extract/replacing.
Sent from my Galaxy Nexus using Tapatalk 2
check the database
you also need to debug the database if application is using any database

[UPDATED 11/1/2012] [Exclusive] Unreleased Gmail 4.2 APK With Pinch-To-Zoom

Now that the dump is out, im hosting the gmail apk again! enjoy!
here it is guys, the newest Gmail 4.2 Reported to be working for Android 4.0+, rooted devices only. If you are having issues with 'waiting to sync', clear app data under settings and try again
Installation Option 1:
uwdus said:
Uninstalled old apk with Titanium -> Reboot -> Installed new Gmail apk with explorer -> Reboot - Done
Click to expand...
Click to collapse
Installation Option 2:
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
OK, let's get down to it. You'll probably need ADB installed on your computer (here's an easy way that doesn't require downloading the Android SDK). There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 from one of the mirrors above.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
5. You may need to delete the .odex files matching the APKs in step 4 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
6. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
7. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 7, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
get it here
Video review courtesy of qbking added
original link: http://www.androidpolice.com/2012/1...ed-gmail-4-2-apk-with-pinch-to-zoom-and-more/
Ur always finding something cool...good job maan !!
Sent from the boulevard of shattered Screen!!
Perry977 said:
Ur always finding something cool...good job maan !!
Sent from the boulevard of shattered Screen!!
Click to expand...
Click to collapse
Lol...np bro, enjoy!
Sent from my SGH-T999
1-up for u thanks
bump, apk is back in the OP!

[WEBTOOL] Note 2 Multi Window Tool

READ ALL OF THIS POST CAREFULLY!
Multi Window on the Note 2 is kinda cool, but it only works with limited apps, which kinda sucks. There are 2 solutions to this - the first is to wait for developers to add support (perhaps using my guide), the second is to edit one of the framework APKs to enable other apps. The second is the most useful, but perhaps a little complex for most people.
So here's a tool to help.
This tool takes a list of apps and creates you an update zip (for flashing via clockworkmod) with a modified framework APK that enables your chosen apps for multi window support.
Important points to note...
This tool is ONLY tested on the LJ1 release, additional options are added via user requests. I STRONGLY recommend you don't use the resulting zip on a ROM version other than that for which it's intended.
Backup before flashing the update zip. No really! Or at LEAST backup the framework-res.apk.
If you don't want to use clockworkmod you can extract the framework-res.apk and push it via ADB. Make sure to set the permissions to 0644 or your device won't boot.
Be very careful to ensure that your entries in the tool are correctly formed or again you could end up with a non-booting device.
Use this tool at your own risk!
Got that? OK, let me tell you how to compile the list in the tool.
Simply, you need to enter <item> </item> tags with the 'package names' of your chosen apps in the textbox. Package names are best found on the web Play Store by looking at the URL. Here's some examples for you.
Plume on the web Play Store is at play.google.com/store/apps/details?id=com.levelup.touiteur - therefore the package name is com.levelup.touiteur and you should use the entry <item>com.levelup.touiteur</item>.
TVCatchup on the web Play Store is at play.google.com/store/apps/details?id=com.gzero.tv - therefore the package name is com.gzero.tv and you should use the entry <item>com.gzero.tv</item>.
Simple eh? Just put in the ones you need, hit the button and download your update zip.
To use the tool, head on over to this topic.
Have the xml precharged samsung apps or build from 0 and we need to add chrome, talk, snote, etc?
The pre-configured stuff stays, just put in things you want to *add*.
P
If someone on LJ3 can post their unedited/stock framework-res.apk Paul said he should be able to update his script to deal with that too.
Lennyuk said:
If someone on LJ3 can post their unedited/stock framework-res.apk Paul said he should be able to update his script to deal with that too.
Click to expand...
Click to collapse
i have posted on his forum, he is working on it ;D
alj3 tool already available, going to test. thx
LJ3 support added.
P
paulobrien said:
LJ3 support added.
P
Click to expand...
Click to collapse
working!!! thx
work perfectly! now I have about 40 apps
I'm a bit short of time, but I will add an option where you can upload your framework-res.apk for patching to avoid version issues.
P
if you want faster to find out package name. go to www.play.google.com then press installed apps and you will be able to find faster package name of your all installed apps
paulobrien said:
READ ALL OF THIS POST CAREFULLY!
Multi Window on the Note 2 is kinda cool, but it only works with limited apps, which kinda sucks. There are 2 solutions to this - the first is to wait for developers to add support (perhaps using my guide), the second is to edit one of the framework APKs to enable other apps. The second is the most useful, but perhaps a little complex for most people.
Click to expand...
Click to collapse
All kinds of love coming your way from me Paul and all the devs like Lenny who got this working, awesome stuff guys.
Hi, very very good,works fine...what the solution to had items stock spen calendar Please?
Thanks
Envoyé depuis mon GT-N7100 avec Tapatalk
Awesome tool Paul, thanks for supporting the Note2 community, it works like a gem
Sent from my GT-N7100 using xda premium
androidizen said:
All kinds of love coming your way from me Paul and all the devs like Lenny who got this working, awesome stuff guys.
Click to expand...
Click to collapse
Paul did most of the leg work even for what I did. All I did was turn his findings into a mod so that people could have something while Paul worked on a better system (like this one he has made).
Working fine.. thanks
Sent from my GT-N7100 using xda premium
I threw together a little app to steamline the process a bit. This is my first android program so this thing contains a whole 3 hours of android wisdom...
It's a frankenstein mix of googled code but it gets the work done. A work in progress. This version asks for some storage/call/debug permissions which I have no idea how to remove or limit. So if that makes you feel uneasy pm me and I can send you the netbeans project in a 7z and you can check the source code and compile it yourself.
What the app does is display a list of installed packages by item name, you can then select the ones you want, hit the export button which will copy your selection to the clipboard, open a browser window to pauls page where you can paste it into the text area and download the generated apk all directly on the phone.
I would not recommend selecting all items in the list, this might have horrible consequences. Just select stuff you recognize.
For me the download popped up cfw but then failed to install the apk (possible due to file location), so I moved the apk to the root dir, rebooted to cfw recovery and then flashed just fine.
In later versions I'll see about reducing permissions, add icons to the list.
Disclaimer: Whatever you do with this app, whatever consequences come from using this app, is on you.
Thanks for the lovely apk page. <3
// m
Hi,....against me....
I can't seem to find source code to generate the application scalendar after several attempts still nothing,can you help me.
Thanks. ..
Envoyé depuis mon GT-N7100 avec Tapatalk
Hi all,
Everytime i add an app to the multiscreen view the one that i flashed before disappears. So, if i add dropbox and then imdb i will imdb but dropbox will disappear. Im flashing the zip files using CWM recovery. Can someone tell me how i can solve this? Thanks
koahhe said:
Hi all,
Everytime i add an app to the multiscreen view the one that i flashed before disappears. So, if i add dropbox and then imdb i will imdb but dropbox will disappear. Im flashing the zip files using CWM recovery. Can someone tell me how i can solve this? Thanks
Click to expand...
Click to collapse
Are you adding one app. Flash the generated zip and then add one app, generate a new file and flash it? If so, dont do it that way You must add all apps you want in the same file, generate that and flash it
Sent from one big Note II

NMM type for Recoveries

Anyone think it's possible to implement the manager system from nexus mod manager or something similar to a recovery. For example, have it keep track of the mods you install and the files it changes and put an option to remove it where it removes the files that were editing and replaces them with the files that were there prior to installing the file? If it help nexus mod manager is open source allowing to view the source code and I believe all that is handled under the NexusClient under ModManagement. If someone can implement this it will make it a lot easier to manage the mods we install on top of the roms since the only way to remove mods currently is making a backup prior to flashing the mod or by dirt flashing the Rom on top and reinstalling other mods.
Here's a link to the sourcehttp://goo.gl/PFnqI0
Sent from my HTCONE using Tapatalk
luigi311 said:
Anyone think it's possible to implement the manager system from nexus mod manager or something similar to a recovery. For example, have it keep track of the mods you install and the files it changes and put an option to remove it where it removes the files that were editing and replaces them with the files that were there prior to installing the file? If it help nexus mod manager is open source allowing to view the source code and I believe all that is handled under the NexusClient under ModManagement. If someone can implement this it will make it a lot easier to manage the mods we install on top of the roms since the only way to remove mods currently is making a backup prior to flashing the mod or by dirt flashing the Rom on top and reinstalling other mods.
Sent from my HTCONE using Tapatalk
Click to expand...
Click to collapse
So you are simply stating having a program that automate a backup of the files yyou change? So instead of having to do it manually, as soon as you change something it makes a backup..
lacoursiere18 said:
So you are simply stating having a program that automate a backup of the files yyou change? So instead of having to do it manually, as soon as you change something it makes a backup..
Click to expand...
Click to collapse
Similar. The way I see this working is to create a class that adds this support and have it create a temp file of sorts with everything that was editing and a list of files that were created and allowing it to backup the files that were replace so it can put them back when u decide to remove the mod and delete the extra files that were created. Doing this would make it easier for developers to implement this into the scripts used to install the mods and possible having installations split between roms and mods, having the developers define it in the script and if undefined have it follow the default install which should be roms. Defining roms and mods could possibly be done through if-else statements such as adding InstallAsMod or InstallAsRom on the first line of a script and on the recovery have it check if it says InstallAsMod or InstallAsRom on the first line and if neither have it follow the InstallAsRom code which could be an exact copy of the way the recovery currently works. Though those are just my thoughts with my very basic java knowledge, maybe someone else with more insight can give a better method. Also having something like a extra menu in the recovery that displays the installed mods and having the uninstall/removal process there. The problem I see with this would be with rom updates, they will make changes to the files causing issues with the uninstall option if the files where changed through the rom update.
Sent from my HTCONE using Tapatalk

[Q] How to take a Backup of all AndroidManifest.xml's?

Hello, everyone.
Is there any way to take a backup of all AndroidManifests.xml on an Android Device?
ALL Free Apps
ALL Paid Apps
ALL System Apps
And where can you find them on the ES-File Explorer or any other File Explorer?
The app „Android System Information" can actually view all AndroidManifests.xml - System/Paid and Free apps. Every single one.
If an app is able to Display them, there must be a way to backup them or copy them to another folder.
Thanks in Advance.
It most likely workes like an archive veiwer. All those files are stored into the apks. You will have to decompile each apk
Android Installation Packages
zelendel said:
It most likely workes like an archive veiwer. All those files are stored into the apks. You will have to decompile each apk
Click to expand...
Click to collapse
INSIDE of the APK's?
Don't think so...
AndoridManifest includes things like
API Version
App Version
Installation Date and Time (also with seconds)
Some Metadata
Package Name
etc.
Hannah Stern said:
INSIDE of the APK's?
Don't think so...
AndoridManifest includes things like
API Version
App Version
Installation Date and Time (also with seconds)
Some Metadata
Package Name
etc.
Click to expand...
Click to collapse
I am aware of just what it is. They are stored inside the apk. Just unzip one and you will see it, might need to decompile it to read it though.
zelendel said:
I am aware of just what it is. They are stored inside the apk. Just unzip one and you will see it, might need to decompile it to read it though.
Click to expand...
Click to collapse
Are the AndroidManifests also included in an ADB-Backup of one or multiple apps?
Hannah Stern said:
Are the AndroidManifests also included in an ADB-Backup of one or multiple apps?
Click to expand...
Click to collapse
In a way as they back up the whole apk. If you are just wanting those files you will have to rip each one apart. No way around it.

Categories

Resources