Change the name of the package for Android application - General Questions and Answers

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

Related

[Q] Modding APK files / resigning?

Hi everyone,
After playing fieldrunners for a while I wanted to make some changes to the game. I openened the .apk file and edited the things i wanted. After that I cannot install that APK anymore. Is there any way to resign this apk again? Or some tweak to make it work again?
Thx
Morgenavond said:
Hi everyone,
After playing fieldrunners for a while I wanted to make some changes to the game. I openened the .apk file and edited the things i wanted. After that I cannot install that APK anymore. Is there any way to resign this apk again? Or some tweak to make it work again?
Thx
Click to expand...
Click to collapse
uninstall existing version,
place modified apk on sd card root,
sign your modified apk with signapktic using the platform key,
install via a file manager and you should be set.
Hi and thx for the reply!
I installesd the program and signed the apk as u explained but nothing changes. It still wont finish the installation. If I choose another output file ( another name and location ) it also says finished almost instantly but I never get a new file. Is this normal and will it only fix the existing file?
Thx
Got it working now. Not with the program but made a key and used signapk.jar
Thx anyways!

invalid package name !

Hello,
I have app on market which I made it before by using Andromo.com, and now I upgrade my app using Makemedroid.com.
but I can not upload new one in google play, because the package name is not the same with previous one.
I extracted apk file using apktoolmulti, I found androidmanifest.xml in binary format that's mean I can not read it.
then I decompiled this apk using apktoolmulti, and I can open androidmanifest.xml by editor and I changed Package name.
after that, I ziped the apk again and signed it and zipaligen too, but when I upload it to google market, it's says the header of androidmanifest.xml is too big and not accept it !!
I think because it was in text mode, I did not make it binary like as before in original one, so...
how to compile androidmanifest.xml ??
how can I make package name is "com.andromo.dev66345.app68755" ??
thank you,

[Q] How Create Modified Apk File From My Apps with My Setting

hi .. i every time after instalation an app , go to setting and change them to my favorite thing!! for Example i always change My File MAnager them to light (defult is dark) !! so how can i Create Modified apk from this app with my changes ??? that when i install it , defult them be light !!!
i know that i can create flashable zip file , but im looking for a way to create APK file From an Changed app !! for example theme change, show hidden file change, paid change and ...........
is there any way ? i want something that make an apk file with my app with app setting!! not a flashable zip file
xperia_sp_2014 said:
hi .. i every time after instalation an app , go to setting and change them to my favorite thing!! for Example i always change My File MAnager them to light (defult is dark) !! so how can i Create Modified apk from this app with my changes ??? that when i install it , defult them be light !!!
i know that i can create flashable zip file , but im looking for a way to create APK file From an Changed app !! for example theme change, show hidden file change, paid change and ...........
is there any way ?
Click to expand...
Click to collapse
You can use Android Studio or use something like APKTOOL (you need to know java and XML)
Or else check if the Xposed module "Resflux" helps you.
GokulNC said:
You can use Android Studio or use something like APKTOOL (you need to know java and XML)
Or else check if the Xposed module "Resflux" helps you.
Click to expand...
Click to collapse
Android Studio or APKTOOL is for pc !! but i want do it in my phone !! in lucky patcher there is an option "Create Modified Apk from this app" but i donwt understand what is this do !! i test it and it never save my setting to apk (change or paid) so i dont know whats the point of this option !!! anyway i want something like this!! that make an apk file with my app with app setting!!
xperia_sp_2014 said:
Android Studio or APKTOOL is for pc !! but i want do it in my phone !! in lucky patcher there is an option "Create Modified Apk from this app" but i donwt understand what is this do !! i test it and it never save my setting to apk (change or paid) so i dont know whats the point of this option !!! anyway i want something like this!! that make an apk file with my app with app setting!!
Click to expand...
Click to collapse
First off Dont mention lucky patcher. IT is a warez app and banned from the site. You will have to use the tools mentioned above on a PC to get what you want. There is no way to do it from your device.
There are a set of settings coded into the app which then gets converted to a DB file upon install. Your changes are done to the DB file which is seperate from the apk. You will have to change the default settings in the base code it itself.

[Q] Edit Package Name

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

Gboard size

Hello,
I find the google keyboard size too small , is there anyway to increase its size beyond the highest setting without root? via ADB perhaps?
Thank you
j1978 said:
Hello,
I find the google keyboard size too small , is there anyway to increase its size beyond the highest setting without root? via ADB perhaps?
Thank you
Click to expand...
Click to collapse
You can use Apktool to unsign and decompile your Gboard apk file then edit the size parameters then recompile and re-sign the apk file then install your newly modified apk.
Droidriven said:
You can use Apktool to unsign and decompile your Gboard apk file then edit the size parameters then recompile and re-sign the apk file then install your newly modified apk.
Click to expand...
Click to collapse
Hello,
Thank you for the reply. I have downloaded APKtool and the Gboard APK file.
Could you by any chance point me to a guide on how to do this?
Thank you very much
j1978 said:
Hello,
Thank you for the reply. I have downloaded APKtool and the Gboard APK file.
Could you by any chance point me to a guide on how to do this?
Thank you very much
Click to expand...
Click to collapse
Apktool for PC, not the APKtool app for android.
Open APKtool, select your apk file, find the option to un-sign the apk by removing its signature, then fimd the option to decompile/extract the apk file inside Apktool.
Then you are looking for the lines of code that set the parameters for the size of the keyboard. I don't have a clue which lines of code you're looking for or what to edit, you'll have to figure that out for yourself. I'm just giving you a general overview of what you need to do, you'll have to do some research on your own to understand each step I've described and which lines/values to edit.
After you've edited the parameters for its size, recompile the apk and re-sign the apk then install your new app.
You'll have to use trial and error until you figure it out and get it edited/installed correctly.
Droidriven said:
Apktool for PC, not the APKtool app for android.
Open APKtool, select your apk file, find the option to un-sign the apk by removing its signature, then fimd the option to decompile/extract the apk file inside Apktool.
Then you are looking for the lines of code that set the parameters for the size of the keyboard. I don't have a clue which lines of code you're looking for or what to edit, you'll have to figure that out for yourself. I'm just giving you a general overview of what you need to do, you'll have to do some research on your own to understand each step I've described and which lines/values to edit.
After you've edited the parameters for its size, recompile the apk and re-sign the apk then install your new app.
You'll have to use trail and error until you figure it out and get it edited/installed correctly.
Click to expand...
Click to collapse
Ok! thank you very much for all the info i will give it a try.

Categories

Resources