[Q] Edit Package Name - General Questions and Answers

How can I edit the package name of Facebook.apk ?
I want to install two facebook apps in same device

pasindupeiris said:
How can I edit the package name of Facebook.apk ?
I want to install two facebook apps in same device
Click to expand...
Click to collapse
Before you begin you need to install these two apks
1. Apk Editor.apk
2. Apk editor patch.apk
Installing same application twice
Now after downloading these two apks.
First, install Apk Editor and then the Apk editor patch.
Now open Apk editor and browse to the apk of the application you want to install.
Long press the apk and select "Clone".
Now change the name of the apk and press ok.
Now open your regular file manager and install the apk as you would normally
Source: http://swapmyapp.com/how-to/run-multiple-instances-of-one-app/
Google has the best answers!
Don't forget about the Thanks button :silly:

Hey thanks for the reply. I've already tried this method.
But Cant open the clone app. Every time it force closes. :crying:

pasindupeiris said:
Hey thanks for the reply. I've already tried this method.
But Cant open the clone app. Every time it force closes. :crying:
Click to expand...
Click to collapse
Will do some research for you when I'll have some time.
Btw I don't even use one facebook app!!

Newyork! said:
Will do some research for you when I'll have some time.
Btw I don't even use one facebook app!!
Click to expand...
Click to collapse
Thanks mate!

pasindupeiris said:
Thanks mate!
Click to expand...
Click to collapse
Its not that simple.
If you decompile the app and change it's package name it won't work. The reason behind this is because when an app is coded, you specify the package name in the manifest and then use the same or a special package name for storing code.
Libraries are attached to the code via package names and so are custom imports. If none of this is correctly modified then you have no chance at getting this app to work at all.
There is however one approach many don't use around here but it's very complicated and takes time, but in the end you can completely reverse engineer any app and have the source code for a closed source application.
You will need the following things.
Time
Eclipse IDE (I only know how to set it up on that)
Dex2Jar
APKMultiTool (Or any decompiling tool)
Notepad++
JavaViewer (or any programming that let's you view Java code).
And the libraries used in the applications (this is because the libraries sometimes break for some reason? Atleast for me.)
Reply back to me if you want to know how to reverse engineer the app.

TheArc said:
Its not that simple.
If you decompile the app and change it's package name it won't work. The reason behind this is because when an app is coded, you specify the package name in the manifest and then use the same or a special package name for storing code.
Libraries are attached to the code via package names and so are custom imports. If none of this is correctly modified then you have no chance at getting this app to work at all.
There is however one approach many don't use around here but it's very complicated and takes time, but in the end you can completely reverse engineer any app and have the source code for a closed source application.
You will need the following things.
Time
Eclipse IDE (I only know how to set it up on that)
Dex2Jar
APKMultiTool (Or any decompiling tool)
Notepad++
JavaViewer (or any programming that let's you view Java code).
And the libraries used in the applications (this is because the libraries sometimes break for some reason? Atleast for me.)
Reply back to me if you want to know how to reverse engineer the app.
Click to expand...
Click to collapse
So I see that these instructions all over the internet is just bs....
Never tried to have two apps running on one device. Maybe I'll try next time I'm bored

Newyork! said:
So I see that these instructions all over the internet is just bs....
Never tried to have two apps running on one device. Maybe I'll try next time I'm bored
Click to expand...
Click to collapse
Well sometimes it may work it is a step in the instructions. There is just more to the whole process though. Nothing would be that easy if it were people would be having duplicates of apps everywhere [emoji14].
The only duplicate app I've seen so far is Instagram.

TheArc said:
Its not that simple.
If you decompile the app and change it's package name it won't work. The reason behind this is because when an app is coded, you specify the package name in the manifest and then use the same or a special package name for storing code.
Libraries are attached to the code via package names and so are custom imports. If none of this is correctly modified then you have no chance at getting this app to work at all.
There is however one approach many don't use around here but it's very complicated and takes time, but in the end you can completely reverse engineer any app and have the source code for a closed source application.
You will need the following things.
Time
Eclipse IDE (I only know how to set it up on that)
Dex2Jar
APKMultiTool (Or any decompiling tool)
Notepad++
JavaViewer (or any programming that let's you view Java code).
And the libraries used in the applications (this is because the libraries sometimes break for some reason? Atleast for me.)
Reply back to me if you want to know how to reverse engineer the app.
Click to expand...
Click to collapse
I tried to reverse engineer the facebook app. But I couldn't. I'll text you. BDW in UC Browser 9.2.3. I edited package name in AndroidManifest.xml and I could install two UC Broswers

pasindupeiris said:
I tried to reverse engineer the facebook app. But I couldn't. I'll text you. BDW in UC Browser 9.2.3. I edited package name in AndroidManifest.xml and I could install two UC Broswers
Click to expand...
Click to collapse
:good:
BTW if you want two Facebook accounts on your phone you can download a third party app like Seesmic

Newyork! said:
:good:
BTW if you want two Facebook accounts on your phone you can download a third party app like Seesmic
Click to expand...
Click to collapse
But you know any app is not comfortable as Official one :3

Related

Decompiling Browser.apk with apktool ERROR

I can compile and decompile the two framework apks without problems.
I cannot for the life of me get any other apk file to decompile with the follow errors...
Does anyone know what is causing this?
Here is video of the error I'm getting for any apk other than frameworks.
http://www.youtube.com/watch?v=4gBmTbntMp4
EDIT: I have figured out what's going on! No longer need help.
cortland1998 said:
I can compile and decompile the two framework apks without problems.
I cannot for the life of me get any other apk file to decompile with the follow errors...
Does anyone know what is causing this?
Click to expand...
Click to collapse
Are you using the correct framework -target?
Not even sure if you need to use a framework target when you compile standard apks.
ante0 said:
Are you using the correct framework -target?
Not even sure if you need to use a framework target when you compile standard apks.
Click to expand...
Click to collapse
I'm not sure what you mean as I'm pretty new with this stuff...
It does mention "Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info."
Every browser with ad blocking will have a list of hosts and it's servers right????? But where is that file.....I searched uc browser, kiwi browser, dolphin etc....but I can't find it at least in one....can anyone help....and how to modify it????

[Q] Integrate SDK with apps made with appsgeyser?

How to integrate any SDK (external) with apps made from appsgeyser.com because there we get straight APKs
chintz24 said:
How to integrate any SDK (external) with apps made from appsgeyser.com because there we get straight APKs
Click to expand...
Click to collapse
Yup, that's the problem. You won't get source code for apps being made in appsgeyser and it contains ads/banners of theirs. Not sure which SDK you want to integrate, but it all happens if the source code is present.
coolsandie said:
Yup, that's the problem. You won't get source code for apps being made in appsgeyser and it contains ads/banners of theirs. Not sure which SDK you want to integrate, but it all happens if the source code is present.
Click to expand...
Click to collapse
I want to integrate startapp SDK, is there anyway to decompile the app or anything
chintz24 said:
I want to integrate startapp SDK, is there anyway to decompile the app or anything
Click to expand...
Click to collapse
For decompiling the apk, there are several tools available like apktool, apkmanager etc. which converts into xml and smali codes. Also, there is another tool called APK to Java by Broodplank which converts the apk into Android App Project like structure containing java codes, xml etc. Just try to see whether those helps.
Many SDK for messaging apps are flooded in the internet market. Like Contus Fly provide an instant solution to integrate the messaging SDK without any hassle. One should give a try!

Change the name of the package for Android application

Hello
I've just before dismantling Android application using apk tool, but I want a way to change the name of the package for later that I could put it in Google Play
Note: I tried to change the name of the package through the Maine Fast. XML, but the application did not work
igi man said:
Hello
I've just before dismantling Android application using apk tool, but I want a way to change the name of the package for later that I could put it in Google Play
Note: I tried to change the name of the package through the Maine Fast. XML, but the application did not work
Click to expand...
Click to collapse
No... You can't change the package name of the app if you didn't make it .. You need to have the full source of the app in order to properly modify the package name .. You can't just decompile it and edit it .. What app are you talking about ?
niranjan94 said:
No... You can't change the package name of the app if you didn't make it .. You need to have the full source of the app in order to properly modify the package name .. You can't just decompile it and edit it .. What app are you talking about ?
Click to expand...
Click to collapse
Thank you my friend
Do you have solutions for how to raise the game to Google Play?
re
Change install folder
Hi,
I'm mobile game distributor. I receive the apk file from the publisher which the package name is the same with the one they publish in other market. For example: com.aaa.bbb
Since they cannot provide me a different build with different package name. I use apktool to decompile and modify the AndroidManifest.xml. The second lind of that file, I change package="com.aaa.bbb" to "com.ccc.ddd".
Then I batch the folder, sign the apk, zipalign it.
Then the apk can be uploaded to Google Play. However, when the game download the extension files, it still find the old package folder which is com.aaa.bbb instead of com.ccc.ddd. Is there any way to force the game to install the extension files to com.ccc.ddd folder?
Thanks,
Giang Anh

Can I override CM 11 theme with Xstana navigation bar mod

I like my custom Xstana module nav bar but my android L theme replaces it and I can't overwrite it.
Also I don't particularly like the keyboard of the android L theme and I can't seem to customise it back to normal?
You can replace the keys within the .apk manually through a computer.
For the keyboard, same thing. You can also download an alternative keyboard, if you're using the Google Keyboard, there are many that look like it, and so on.
Curiousn00b said:
You can replace the keys within the .apk manually through a computer.
For the keyboard, same thing. You can also download an alternative keyboard, if you're using the Google Keyboard, there are many that look like it, and so on.
Click to expand...
Click to collapse
Oh alright I'll give it a ****, how do I browse them on my computer? Android SDK?
lopuandroid said:
Oh alright I'll give it a ****, how do I browse them on my computer? Android SDK?
Click to expand...
Click to collapse
If you pull the theme.apk from your phone, you can explore the APK with Win-RAR/7-zip, and whatever else.
But since you plan on reinstalling, I recommend checking APKTool. You need to decompile, edit, then recompile the APK.
Curiousn00b said:
If you pull the theme.apk from your phone, you can explore the APK with Win-RAR/7-zip, and whatever else.
But since you plan on reinstalling, I recommend checking APKTool. You need to decompile, edit, then recompile the APK.
Click to expand...
Click to collapse
Thanks a bunch
Please do not post non development related threads in the development section
Questions belong in the Q&A section
Thread moved
Curiousn00b said:
If you pull the theme.apk from your phone, you can explore the APK with Win-RAR/7-zip, and whatever else.
But since you plan on reinstalling, I recommend checking APKTool. You need to decompile, edit, then recompile the APK.
Click to expand...
Click to collapse
You don't need to decompile / recompile to swap images. You can do this in winrar and 7zip, as long as you delete the old images first and add the new images with no compression (store)
You only need to decompile if you're adding new images (not swapping) and editing XML
Sent from my Nexus 5 using Tapatalk

How do i re-sign an app that i modified using Android Studio or others. Please help!!

I found out how to do so and I'll be answering myself once more :
In order to add only the files you want to replace in a zip (or apk) sub-directory and choose what compression method used with 7-zip, we simply do as we do with flashable zips:
- you create a folder named "res" on your desktop;
- you crete a folder named "raw" on your desktop;
- you drag the folder "raw" into the "res" folder
- you choose the sound files [of your choice] [in wav format] and rename them to match which ever one(s) you want to replace in the apk and add them in that "raw" folder;
- you right-click on the "res" folder on your desktop and select: 7-zip/"Add to Archive..."
- you select you new Swiftkey apk (rename it first);
- you make sure that "Store" is selected in the "compression level" field;
[see pic - I've changed spacebar and normal key sound in that example]
- Re-sign the apk
cqfd
Click to expand...
Click to collapse
Hi.
I am totally new to this site and app developing in general. I used the above method (ty AL) to modify the Swiftkey Keyboard app and now just need to re-sign the apk and install it on my device ( ZTE Blade Z Max) I googled how to and found Android Studio, i just am having trouble using it I guess. Im just starting to learn how to modify/develop android apps.
If anyone knows how or can offer up another method for re-signing please help! Much appreciated and tyvm.
Amante
Amante10101 said:
Hi.
I am totally new to this site and app developing in general. I used the above method (ty AL) to modify the Swiftkey Keyboard app and now just need to re-sign the apk and install it on my device ( ZTE Blade Z Max) I googled how to and found Android Studio, i just am having trouble using it I guess. Im just starting to learn how to modify/develop android apps.
If anyone knows how or can offer up another method for re-signing please help! Much appreciated and tyvm.
Amante
Click to expand...
Click to collapse
Try the file explorer MiXplorer found here on xda. It has an apk signing add on feature. It is the my favorite and 1 of the best file managers available. Easily the best for free.
Thebear j koss said:
Try the file explorer MiXplorer found here on xda. It has an apk signing add on feature. It is the my favorite and 1 of the best file managers available. Easily the best for free.
Click to expand...
Click to collapse
Tyvm ill try it out.
Thebear j koss said:
Try the file explorer MiXplorer found here on xda. It has an apk signing add on feature. It is the my favorite and 1 of the best file managers available. Easily the best for free.
Click to expand...
Click to collapse
So I installed MiXplorer (totally awesome app btw) and MiX signer but how exactly do you use it to sign, doesnt seem very straight forward and cant find a how to on google.
Amante
Amante10101 said:
So I installed MiXplorer (totally awesome app btw) and MiX signer but how exactly do you use it to sign, doesnt seem very straight forward and cant find a how to on google.
Amante
Click to expand...
Click to collapse
You need to install the Signer add on. Settings--->add one. After that, long press your apk you want to sign hit settings button, then scroll to sign. Choose with automatic i believe. Refer to the MiX FAQ thread. Link located in OP of MiX thread.
Thebear j koss said:
You need to install the Signer add on. Settings--->add one. After that, long press your apk you want to sign hit settings button, then scroll to sign. Choose with automatic i believe. Refer to the MiX FAQ thread. Link located in OP of MiX thread.
Click to expand...
Click to collapse
Im a retard lol, never occured that i could scroll the elipsis menu. Thanks a ton bro.
Amante10101 said:
Hi.
I am totally new to this site and app developing in general. I used the above method (ty AL) to modify the Swiftkey Keyboard app and now just need to re-sign the apk and install it on my device ( ZTE Blade Z Max) I googled how to and found Android Studio, i just am having trouble using it I guess. Im just starting to learn how to modify/develop android apps.
If anyone knows how or can offer up another method for re-signing please help! Much appreciated and tyvm.
Amante
Click to expand...
Click to collapse
Signing worked! fantastic.
Decided I wanted to change more of the sounds in swiftkey to have a couple more themes with the original one i modified so I went through the 7zip process described in an earlier thread, except this time when i did it it didnt replace the mp3 sound files in the apk with the waves I wanted to substitute. This time it just added the .wav(s) to the apk while leaving the .mp3(s) there along with them. seems wierd. I changed the names of the .wav(s) to the same as the ones i wanted to replace, right clicked folder and hit add to archive. Selected drop down menu and selected apk and made sure store was the option selected and zip was the method selected. No go. Any suggestions?
Amante10101 said:
Signing worked! fantastic.
Decided I wanted to change more of the sounds in swiftkey to have a couple more themes with the original one i modified so I went through the 7zip process described in an earlier thread, except this time when i did it it didnt replace the mp3 sound files in the apk with the waves I wanted to substitute. This time it just added the .wav(s) to the apk while leaving the .mp3(s) there along with them. seems wierd. I changed the names of the .wav(s) to the same as the ones i wanted to replace, right clicked folder and hit add to archive. Selected drop down menu and selected apk and made sure store was the option selected and zip was the method selected. No go. Any suggestions?
Click to expand...
Click to collapse
Nvm I got it, some of the sound files for sound themes in apk are .wav some are .mp3. Just made them mp3 and it worked
someone must have got lazy/didnt need to organize w/e when creating the app. lol.
My first app project complete. yeah!

Categories

Resources