Does anyone know how to decompile Partition19.img? All I need is the name of an application, windows or linux, that is capable of it.
Related
What software do you guys recommend to start out developing? I'm just planning on starting simple with modifying apks and such. I assume I'd need some sort of java sdk to edit .smali and another program for xml editing. What are some good free software programs to do this?
you will want apk manager - for modifying existing apks
gimp for modifying images
android sdk
and possibly eclipse if you intend to start making your own applications (you will need java jdk to use eclipse)
notepad++ for xml editing
^^ this is what i use then again i am still a novice at development
How about .smali?
http://forum.xda-developers.com/showthread.php?p=4152564#post4152564
http://code.google.com/p/smali/
Hi, i am trying to modify the classes.dex file in an apk but it is giving me problems.
if i decompile the apk and recompile it after modifying the app installs but crashes after one minute. also some functionality in the app is also lost.but when i binary edited the classes.dex file and replaced it in the apk ( i have used different methods for replacing the .dex such as direct replacing in archive and replacing in the decompiled archive) the app doesn't install and the phone or emulator reboots. i have done this with other apps and they are working fine after editing so i couldn't understand what's going wrong. please help
You should use a decompiler and achive to the java code. Than you can easily modify and recompile the app. You will need an Linux virtual machine to do this.
In linux, after you found you .apk file use this to decompile it to a .jar file. http://siis.cse.psu.edu/ded/installation.html. After that, you can use http://java.decompiler.free.fr/?q=jdgui to browse the code. With this method you will need a Linux machine and would give you the best result.
If you want to use windows, follow this tutorial http://androidorigin.blogspot.com/2011/02/dex-format-to-jar-format.html but I warn you, its likely to be faulty.
Hope this will help you.
thanks for replying
i used apktool to decompile and modify the smali code. i had even tried converting the smali code to java but no help.the problem is that the recompiled app runs only for one minute and then crashes without any error message even logcat log is not of help it just says that the process xxx has died but no err msg or exception is logged. if i replace the classes.dex with the patched one and then re-sign it it does not install and crashes the emulator but when i again decompile and then recompile the modified file it return to the same old problem of crashing. do you know how apktool packages the compiled files?
You should follow one of the tutorials posted in my last post. I did not used apktool and I don't know how it works.c the method with that decompiler will work. If you want your application signed just sign it as a normal one.
this particular apk loses about 20-30 kb in filesize on decompiling and then recompiling with apktool while this is not seen in any other apk. maybe this means that this file has some overlay data that goes missing on modifying and creats problems.7-zip is unable to show any extra data in the file.does anyone know how to add and extract overlay data on/from an apk?
Does anyone know of a Xml editor to use for modifying the xmls on the VZW Note 2? I have used several including a couple of Hex editors but the format is still the same. I cannot see the values.
See attachment for format:
You didn't decompile the .apk where you got that from that's why you can't read it. Use APK Manager and decompile the .apk and it'll be read-able.
Android XML is compiled. You must decompile it. Alternately, you can view it on your device.
Thanks guys. I was just reading the SDK training kit online which outlined creating and editing. Now I know that the apk must be decompiled.
Again, thanks!
I wanted to change the graphics of a certain app to my liking. But I guess it can't be achieved in the non-system apps at least not by me. I tried the apktool to decompress it and then edit the the files I needed to, but it won't compile back?! Can anyone tell me what is going wrong. I have attached the whole screenshot of what error my apktool is showing me.
Also in the build folder I'm only getting classes.dex file and nothing more.
I've installed the android sdk, java, and all the other fancy things I was supposed to, but cannot get Android Multitool to decompile any apk's.
This is the error log it throws out:
The system cannot find the path specified.
'apktool' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
Any help is greatly appreciated, I'm lost as to what I'm doing wrong here.
Thanks,
I do not have Android Multitool, but I do have the apktool. Did you install that aswel?
Jooztk said:
I do not have Android Multitool, but I do have the apktool. Did you install that aswel?
Click to expand...
Click to collapse
I did. It's included with Android Multitool and I have it downloaded by itself. I would just use apktool, but I've never used it and have no idea what the commands to decompile/re-compile an apk are.
Thanks for the response,
Ayahuascaa said:
I did. It's included with Android Multitool and I have it downloaded by itself. I would just use apktool, but I've never used it and have no idea what the commands to decompile/re-compile an apk are.
Thanks for the response,
Click to expand...
Click to collapse
If you open a cmd window in the apktool folder, type "apktool.bat decode <file.apk> <outputdirectory>". I have not tried recompiling anything with it though.
guys you dont install apktool. It is just a jar file with a few supporting files. You have to make sure you are in the directory that has apktool in it if you are using the stand alone. As for apkmultitool it could be a bad download. Check the other folder to make sure the jar files are there. I would use the latest apktool from the thread as it is the most up to date. Also keep in mind that there are a few different versions that maybe needed depending on the apks your working on.