Hi masters,
I wanted to modify an android game named Injsutice gods among us. I used ApkEasyTool to decompile the APK and I didn't modify anything. After decompilation I recompiled the APK without doing any changes to its source. After successfully recompilation I installed the APK in android. The error I get while installing the app is "App is not installed". Can you tell me how to recompile the android app in a proper way and what are the steps to make it run successfully? The application is built for arm64-v8a architecture.
Thank you sir.
Use the original APK file.
jwoegerbauer said:
Use the original APK file.
Click to expand...
Click to collapse
Please read the post again. I am trying to modify the application. I would install modified application. But I got an issue while installing the application which is recompiled from apkeasytool.
I was referring to the title of the thread ...
Related
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????
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
xdadfm said:
I have a question here , is there any way to Installing duplicated apps ver without overwrite each other ?
Eg : firefox verion 21 smooth and fast but version 24 provide more features. Hoping to install both each other if I needed some features.
Currently the only option is , backup data 22 and 24 with titanium bk and restore it when I need the features.
Possible to install alongside without overwrite ? needed to modified the .apk ? I was hoping to retain the original apk.
It's just like you installing Office 2007 and 2010 alongside in the same window.
Thank you
Click to expand...
Click to collapse
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
ivan.untalan said:
I think you cannot without modifying the two .APK, can you rename one then copy to root/system/app ?
Click to expand...
Click to collapse
It crash as I assume
Sami Kabir said:
By modifying the package name of any of the .apk file, I think you should be able to install both versions.. because while installing an App, Android will compare the .apk's package name with the .apks already installed before... The point of modifying the .apk file is to make sure that Android sees it as a completely different app, and not think of one as an update to the other...
For more info, check out link below:
http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app
and try Googling this:
"install two versions of the same app android"
Click to expand...
Click to collapse
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
xdadfm said:
It crash as I assume
The linked having various discussion but non of them are working
I had google around and the only way is to have different profile https://play.google.com/store/apps/details?id=fahrbot.apps.switchme&hl=en
Which is very risky getting boot looping.
The safest method is to modified the .xml but I am not an android dev.I doesn't know how to modified it.
Does anyone know any tools which can modified .apk to custom version. ?
Thank you
Click to expand...
Click to collapse
For modifying .apk files you need to Download and Setup a small tool called APKTOOL (for Windows)
Below is the link to the GUI version of apktool:
http://forum.xda-developers.com/showthread.php?p=33815550
The original version of apktool works with Windows' Command Promt's command line interface... If you want that instead, then Google "apktool for windows" or anything similar
After decompiling, I think you need to edit your AndroidManifest.xml file BUT I am not sure about this.. please Google "how to change application package name android"
Hello everybody i tried multi apktool to decompile apks but when i recompile those apps and try to install app on my phone its shows app not installed. Even when i don'T EDIT any file in the app. Please give me simple and best way to edit apk files.
Thanks.!!!
Hello,
I a quite new to Android development/hacking and need some clarification regarding signing system apps.
I did not find any answer yet that fully helped me solve my problem...yes, I did use search on the forum and even Google :laugh:
Scenario:
Let's assume I wanted to modify some system apks (in /priv-app or /app doesn't matter).
All those apks I want to modify do rely on the same framework.apk.
As far as I know, if I modify a system apk all other system apks that rely on the same framework.apk have to be resigned using the same certificate.
1) Is this correct (any pitfalls there)?
2) Do I have to resign the used framework.apk with the same certificate also?
3) Do I have to take other files/things into consideration that would have to be changed / resigned / etc.?
Thanks in advance! :good:
Regards
Markus
deomaki said:
Hello,
I a quite new to Android development/hacking and need some clarification regarding signing system apps.
I did not find any answer yet that fully helped me solve my problem...yes, I did use search on the forum and even Google :laugh:
Scenario:
Let's assume I wanted to modify some system apks (in /priv-app or /app doesn't matter).
All those apks I want to modify do rely on the same framework.apk.
As far as I know, if I modify a system apk all other system apks that rely on the same framework.apk have to be resigned using the same certificate.
1) Is this correct (any pitfalls there)?
2) Do I have to resign the used framework.apk with the same certificate also?
3) Do I have to take other files/things into consideration that would have to be changed / resigned / etc.?
Thanks in advance! :good:
Regards
Markus
Click to expand...
Click to collapse
All system apps have to be signed the same way, yes. You can sometimes mod your services.jar to turn off signature verification but that can leave you a bit more open to malware.
When you mod a system app, you just have to make sure you use the original signature in the new version. The only exception to this is if you change anything in the manifest. Then you will need a new signature, which means either signing everything else with that signature or doing the services.jar I mentioned earlier.
Hello Ticklefish,
first of all: Thanks a lot!
To summarize your answer:
1) Modding services.jar is out of the question! Would never have done this anyway...(risky from a malware point of view)
2) In case I modify a system apk WITHOUT altering the manifest.xml I can reuse the old apk signature for my new apk (the whole META-INF folder has to be copied over to the new apk?)
Nothing else has to be adjusted?
I suppose I still can do a zipalign afterwards in that case?
3) In case of modifying the manifest.xml I would have to resign ALL system apks.
All of them or only those that rely on the same framework as the modded apk?
Do I have to resign the framework apk as well?
I am asking, because I will have to mod several apks relying on different frameworks: At least one where I have to alter manifest.xml...
Thanks in advance
Markus
deomaki said:
Hello Ticklefish,
first of all: Thanks a lot!
To summarize your answer:
1) Modding services.jar is out of the question! Would never have done this anyway...(risky from a malware point of view)
2) In case I modify a system apk WITHOUT altering the manifest.xml I can reuse the old apk signature for my new apk (the whole META-INF folder has to be copied over to the new apk?)
Nothing else has to be adjusted?
I suppose I still can do a zipalign afterwards in that case?
3) In case of modifying the manifest.xml I would have to resign ALL system apks.
All of them or only those that rely on the same framework as the modded apk?
Do I have to resign the framework apk as well?
I am asking, because I will have to mod several apks relying on different frameworks: At least one where I have to alter manifest.xml...
Thanks in advance
Markus
Click to expand...
Click to collapse
If you're modifying an APK without changing the manifest, the best method is to use 7zip or similar to open the new APK and drag the modded files over to the original APK. That way you're still using the same META-INF at the same compression ratio.
Or use Tickle My Android (https://forum.xda-developers.com/showthread.php?t=1633333) to do it for you....cough...cough...
You can zipalign afterwards, just remember that any further changes will affect that zipaligning so you'll have to do it again.
As far as resigning the APK goes, all I know is that you have to change every file that uses the same key/signature as the app you resigned so that they all match.
I have to confess that I've never actually done this. I rarely change the manifest myself and, when I do, I disable signature verification. Yes, it makes you more prone to malware but as long as you're careful about what you install you should be okay.
deomaki said:
Hello,
I a quite new to Android development/hacking and need some clarification regarding signing system apps.
I did not find any answer yet that fully helped me solve my problem...yes, I did use search on the forum and even Google :laugh:
Scenario:
Let's assume I wanted to modify some system apks (in /priv-app or /app doesn't matter).
All those apks I want to modify do rely on the same framework.apk.
As far as I know, if I modify a system apk all other system apks that rely on the same framework.apk have to be resigned using the same certificate.
1) Is this correct (any pitfalls there)?
2) Do I have to resign the used framework.apk with the same certificate also?
3) Do I have to take other files/things into consideration that would have to be changed / resigned / etc.?
Thanks in advance! :good:
Regards
Markus
Click to expand...
Click to collapse
I usually use Mixplorer, (if you use your phone to de/re-compile). Click on compiled apk, select 'explore' and a new tab opens with the contents of the apk. Delete the manifest that was created in recompile, then go to folder with decompiled apk, /original, and long-press to select android manifest xml, and META-INF folder. Choose copy, and paste them into new apk.
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.