hi
I want to modify my apk with Eclipse . but I don't know how to give apk to eclipse and modify package name and manifest.xml and .... .
Can anyone help me plz ?
TNQ .
I don't want to use Apk manager .
What do you mean?
You 've got only the apk file?
You cannot modify this...!!
You must have the source code of your app before compiling it to apk file.
So, modifying the source code you will able to compile again a new apk file....
Sent from my home using my tablet
Sorry .
I just want to modify my APP not Source with Eclipse & do some changes like renaming the android package name and MANIFEST.XML & change the icon & .... .
Isn't it possible ?
But I've done same changes using ApkMultitools .... .
Eclipse can't modify APK files, you need necessarily decompile your APK file using APKTool (or APK Multi-tool).
The correct way is firstly to own your code.
Then you have to edit it and compile in eclipse to generate your new *.apk file.
If the application is yours, I think that you have the source code you wrote...
Sent from my home using my tablet
Related
Can anyone please direct me to the correct tutorial(or similar) on how to modify framework-res.apk files of 2011 xperias like St15i,st18i, etc.. ????
I have been Here but it is for the earlier xperias. Does it apply to today's xperias also ???
decompile apk using apkmanager , edit files and zip.
install apkmanager first and you will get to know everything, no need for a tutorial.
metalrawk said:
decompile apk using apkmanager , edit files and zip.
install apkmanager first and you will get to know everything, no need for a tutorial.
Click to expand...
Click to collapse
I'm using Apk Multi tool, since Apk manager is no longer supporting.
My problem is that the system ui apk i have is from a custom rom(Hybrom v11) which has control panel in the notification area.
Now when i'm decompiling the system ui.apk i get an error in apk tool, an error too technical in the log for me to understand.
I get an error in Apk Manager 4.9 too probably the same as apk multi tool.
So if error occurs some part of the apk is not decompiled right ?
If it is not decompiled correctly how am i going to edit the xmls and recompile it ??
systemui.apk needa dependencies to be decompiled. check there will be an option of decompiling apk with with dependency. when it asks for dependency file, point it to framework-res.apk
metalrawk said:
systemui.apk needa dependencies to be decompiled. check there will be an option of decompiling apk with with dependency. when it asks for dependency file, point it to framework-res.apk
Click to expand...
Click to collapse
Just now did that. But apk tool says that framw-res is not the dependent apk. So what is the solution ??
decompile it without dependency and post log here.
Strange now i'm not getting any error . I really had that problem today morning. Thanks for Prompt replies prateek
Any way one off topic question . Can you tell me how to mod power menu. I want to add reboot and recovery in power menu for my st15i . Do i have to add images for it ??
its not in systemUI afaik. there is other file I forgot its name.
metalrawk said:
its not in systemUI afaik. there is other file I forgot its name.
Click to expand...
Click to collapse
Currently i'm refering This thread. It says I have to edit fw-res and Android.policy.jar . Is that method applicable to Xperia 2011 devices ??
crazyadmit said:
Currently i'm refering This thread. It says I have to edit fw-res and Android.policy.jar . Is that method applicable to Xperia 2011 devices ??
Click to expand...
Click to collapse
yes it will work
Hello guys!
I wanted to mod a simple android app.
Now i decompiled the apk with apktool.
It worked fine!
But the only files I get after compiling are .xml files and .smali files...
So now, how i can edit the .smali files?
Respectively can I mod apk apps by a other way?
What are you trying to do? what do you need to mod?
to mod a apk is to make changes in the xml files and smali files itself .
smali files are difficult to mod because the java source code is converted into smali .
I think there is a baksmali tool you can use to mod smali files
search on xda what you want to mod in particular
Sent from my GT-S5670 using xda premium
Hi guys
I was being decompiling my settings.apk
And after compiling i was edit XML Files there
And after editing i compile it
And theres a error that it said go to option 21 to take a log but its only a compression level for apks i think its should 24
But can someone help me fix this?
I was only creating a rom but this only compiling made the day long to post it here
Thanks for help
Sent from my GT-S5300 Rooted w/Remix v2 Rom using XDA-Developers App
Iam Filipino
LOG
Check you log file to find out error and fix it. You can find the log in the root folder of APK Multi Tool, named 'APK-Multi-Tool'. Open with Notepad (Notepad++ is recommended). Figure out the errors and try to fix them.
rhar**** said:
Check you log file to find out error and fix it. You can find the log in the root folder of APK Multi Tool, named 'APK-Multi-Tool'. Open with Notepad (Notepad++ is recommended). Figure out the errors and try to fix them.
Click to expand...
Click to collapse
i have same problem
but what should i do ? delete some strings ?
janreytuazon15 said:
Hi guys
I was being decompiling my settings.apk
And after compiling i was edit XML Files there
And after editing i compile it
And theres a error that it said go to option 21 to take a log but its only a compression level for apks i think its should 24
But can someone help me fix this?
I was only creating a rom but this only compiling made the day long to post it here
Thanks for help
Sent from my GT-S5300 Rooted w/Remix v2 Rom using XDA-Developers App
Iam Filipino
Click to expand...
Click to collapse
Kevalvino said:
i have same problem
but what should i do ? delete some strings ?
Click to expand...
Click to collapse
It could be an outdated aapt file. For those that have this problem,check the aptktool and aapt version.Make sure your apk's are also deodexed.Heres the latest version of apktool.... https://code.google.com/p/android-apktool/downloads/list
Apktool has to be able to support every generation APK, and that is becoming quite difficult to do. Especially with the new restrictions of aapt in every latest version.
Off the top of my head there is 2 major changes in newer aapt.
1) Implicit parent now requires a parent.
If you had
Code:
<style name="Door.Knob.Color"> ... </style>
You need
Code:
<style name="Door.Knob"></style>
<style name="Door"><style>
Even if they are NULL styles.
2) Android styles are enforced private.
So if you are extending some styles which HTC & Samsung are doing, then on newer aapt it fails to build. The obvious question is "well lets just use old aapt". Then my obvious answer is this (via Google)
Thanks, it's help me out
hi
i have a program that i want to decompile and change something and then compile it
and i use 2 way
first i use apktool that decompile it but when i want compile it , it show errors ( even withot change nothing )
second i rename apk with zip and extract all and then without change nothing I compress extracted file and rename it to apk and sign it and then the program not work .
the program attached
i think it use some protection or ...
any one have an idea ?
thanks a lot
zeytunak said:
any one have an idea ?
Click to expand...
Click to collapse
Update your apktool...
XperienceD said:
Update your apktool...
Click to expand...
Click to collapse
hi
thanks for your reply
now i update my apktool but after compile decompiled package its not work
even after i use below swith when decompilation
apktool d -s -r b15.apk
you can chack the compiled apk and signed not work correctly .
Is that after doing your mods, just because it builds with no errors doesn't mean the mod hasn't broke something.
Also alot of apps are starting to add code that will break it if it is modded in anyway. Many paid apps are doing this to prevent pirating the app or getting some of the paid features for free. There is nothing you can really do if this is the case.
hi developers...
i want to edit an apk from another site's apk...
this site's theme like my site...because same theme...
i think apk will work true if i edit true
i used apkstudio-2.0.3b-windows program and i edited smali/com files and manifest file for new add...
and i repack again...
but there is a problem
i install program but not worked....
if i click app it isnt opening...
where am i mistake ?
how can i fix it?