[Q] best tool to decompile/recompile files? - General Questions and Answers

which is the best tool to decompile/recompile files??? because i have tried apk multi tool (which was working good for a week and now when i try to recompile files the changes i made are not there!) tickle my andoid (i'm using this as of now and i don't know why but what ever changes i made in framework.jar after decompiling is not seen after recompiling)
so which is a better and more reliable tool to decompile/recompile files??? and how can i solve above problem

In my opinion the best tool for decompile /compile apk is apktool

Use apk tool or apk multi tool and for more info see this thread
http://forum.xda-developers.com/showthread.php?t=2603096
Sent from my GT-I9070 using Tapatalk

Apktool
shashanksetty said:
which is the best tool to decompile/recompile files??? because i have tried apk multi tool (which was working good for a week and now when i try to recompile files the changes i made are not there!) tickle my andoid (i'm using this as of now and i don't know why but what ever changes i made in framework.jar after decompiling is not seen after recompiling)
so which is a better and more reliable tool to decompile/recompile files??? and how can i solve above problem
Click to expand...
Click to collapse
For me Apktool is the best tool to decompile or recompile apks..
---------- Post added at 11:05 AM ---------- Previous post was at 11:02 AM ----------
shashanksetty said:
which is the best tool to decompile/recompile files??? because i have tried apk multi tool (which was working good for a week and now when i try to recompile files the changes i made are not there!) tickle my andoid (i'm using this as of now and i don't know why but what ever changes i made in framework.jar after decompiling is not seen after recompiling)
so which is a better and more reliable tool to decompile/recompile files??? and how can i solve above problem
Click to expand...
Click to collapse
Apktool is also available in Mobile version... Just search on Google....

Related

[TOOL] Automated Smali and BakSmali

Everytime I used smali or baksmali, I always had to go to the XDA post that described the correct usage...so I made simple batch files to speed up the process and figured I should share with the community.
Extract the .zip below, run the "smali.bat" or "baksmali.bat" batch files, and follow the instructions...they should be self explanatory.
This is obviously for Windows...don't ask for other versions, I'm not a programmer. These are the latest smali and baksmali versions (v1.2.6 released 12/23/2010) as well.
AutoSmali v1.0 | Download​
(Hope this post is in the right forum?)
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
not sure what you mean?...this is just an automated script for decompiling/compiling the .dex files (usually within .jar files)
what exactly are looking to do with an .apk? sign it?
this is pretty cool ... thanks
Hey!
Thanks for this! Really helps alot!
But can you make it compatible with v1.2.7? http://code.google.com/p/smali/downloads/list
Thanks!
xHausx said:
Any chance this will work with framework-res.apk? I've been using apktool for it but dread having to build it twenty times before getting a usable one.
Click to expand...
Click to collapse
hmmm...weird, i had the same issue , then i found the correct cobination of framework files for aptool, that now it builds as easy as one two three.
Did you makes sure you used the original meta-inf folder from the original apk, pm me if you ever need help.
Nice work. .:thumbs up:.
for this to work for the newer versions of smali/baksmali
just change .bat to .txt and edit the place where it says 'smali-1.2.x.jar' to the new version.
that should work.
i still dont know how the hell to do anything with a .smali file but i atleast know how to do that!
hit thanks if that helped
link down
schmittx said:
AutoSmali v1.0 | Download
Click to expand...
Click to collapse
dead link. try:
http://www.mediafire.com/?d5ruxexq15d1pje

[Q][OffTopic] Basic requirements for decompiling and recompiling apks

Hey guys what are the basic things we need to decompile and recompile apk? And which is the best tool for this task?
Please tell in detain
Thanks annoying bee
Sent from my HTC powered with Minimilised ROM
Annoying Bee said:
Hey guys what are the basic things we need to decompile and recompile apk? And which is the best tool for this task?
Please tell in detain
Thanks annoying bee
Sent from my HTC powered with Minimilised ROM
Click to expand...
Click to collapse
Hi..
Best tool will be apktool.. on windows or on linux..
Apktool for it.. Check details on the original thread for it..
Its pretty simple..
with latest apktool you can not only decompile and recompile apks but also jar files using apktool ... by
Code:
apktool d <nameofile>
or
Code:
apktool b <nameoffile>
Annoying Bee said:
Hey guys what are the basic things we need to decompile and recompile apk? And which is the best tool for this task?
Please tell in detain
Thanks annoying bee
Sent from my HTC powered with Minimilised ROM
Click to expand...
Click to collapse
Check this:
http://stackoverflow.com/questions/1249973/decompiling-dex-into-java-sourcecode
akshat.shenoy said:
Hi..
Best tool will be apktool.. on windows or on linux..
Apktool for it.. Check details on the original thread for it..
Its pretty simple..
with latest apktool you can not only decompile and recompile apks but also jar files using apktool ... by
Code:
apktool d <nameofile>
or
Code:
apktool b <nameoffile>
Click to expand...
Click to collapse
Yeah i used it but problems in recompiling apks! So i modded apktool on my own.

(Q) how to compile and decompile apk???

There is so many guides in xda forum about compiling and decompiling apk.. but none of that working 100% easy way.. i tried apktool, apkmulti tool, Virtuous Ten Studio (VTS) and some other tool... developers please give a link.. or guide me how to decompile and compile an apk easy steps..
Here is the link of apktool which runs straight on your phone http://code.google.com/p/apktool/downloads/list, download the apktool4.1_armhf.zip for faster decompiling and reompiling
Dark Nexus
Dark Nexus said:
Here is the link of apktool which runs straight on your phone http://code.google.com/p/apktool/downloads/list, download the apktool4.1_armhf.zip for faster decompiling and reompiling
Dark Nexus
Click to expand...
Click to collapse
All aside from the apk tool is not downloading. Any other option?
Sent from SgY Evo-x 4.2 using xda-developers app .... btw, i'm a girl, don't call me sir... ;p
Here is direct download link http://apktool.googlecode.com/files/apktool4.1_armhf.zip
Hit thanks if you like
Dark Nexus
with apktools i can easyly decompiling apk.. but problem in compiling.. can anyone guide me how to compile apk..

Androidmanifest of Launcher s5

Hi, I decompiled the Launcher on the galaxy s5 and I extracted this file so that the most 'experts can tell which files (lib or framwork) are used to make this launcher on galaxy i9505 ...
Link: http://www.mediafire.com/download/17j83mq77uz28dk/AndroidManifest.xml
<uses-library android:name="touchwiz"/>
<uses-library android:name="sws"/>
<meta-data android:name="android.nfc.disable_beam_default" android:value="true"/>
<meta-data android:name="rcpFileCopier" android:value=""/>
nop
---------- Post added at 03:46 PM ---------- Previous post was at 03:46 PM ----------
Also search for lib or .so in notepad++ it will tell you what libs it needs
nop
Is it possible also to i9500
Yes it is do the same thing. We can use I9500 launcher on I9505 so just do the same thing.
Get deodex version of the system dump or deodex it yourself.
Decompile the apk and look for needed libs in the androidmanifest.
(sws & touchwiz is in framework folder)
Now open up notepad++ and search for lib or .so files.
There's is possibility that it uses some new files due to its "magazine" feature oh and you might need magazine as well. Can't tell right now sorry.
nop
LastStandingDroid said:
Yes it is do the same thing. We can use I9500 launcher on I9505 so just do the same thing.
Get deodex version of the system dump or deodex it yourself.
Decompile the apk and look for needed libs in the androidmanifest.
(sws & touchwiz is in framework folder)
Now open up notepad++ and search for lib or .so files.
There's is possibility that it uses some new files due to its "magazine" feature oh and you might need magazine as well. Can't tell right now sorry.
nop
Click to expand...
Click to collapse
Thank you I try Later:good:
So does it works, Any news ?
no , ...
m_beek said:
So does it works, Any news ?
Click to expand...
Click to collapse
I tried to port sws.jar and twframwork.(jar/apk) !! Still not working
i know, We need an expert who makes a stroke of genius
m_beek said:
I tried to port sws.jar and twframwork.(jar/apk) !! Still not working
Click to expand...
Click to collapse
Please can anyone can give a quick descriptionand Tools required to Port OEM-Specific App like s5 launcher
New to Xda!!!
to s4:good::good::good:
Anson A said:
Please can anyone can give a quick descriptionand Tools required to Port OEM-Specific App like s5 launcher
New to Xda!!!
to s4:good::good::good:
Click to expand...
Click to collapse
Apktool
Smali baksmali
Android-sdk
Android kitchen
Knowledge in debugging
Notepad++ or any similar that can handle smali files.
USB cable.
Working phone with 4.4 touchwiz rom
nop
Ive been working on trying to get this to work only managed to not get an fc when installed with modified framework and will report back later with more info
Sent from my SGH-M919 using XDA Premium 4 mobile app

smali help

hello everyone
i searched a lot but couldnt find anything so postiong here
i was trying to add some featues to home.apk and i got some errors while recompiling
so i tried decompile and recompile without editing anything...i didnt even open the decompiled home apk folder LOL
but i am getting lots of smali errors only in styles.xml
i think that apktool removes some templates from styles.xml i dont know what it means i just got it from my search
so can someone help me in fixing that error....
@serajr
 @SpaceCaker
 @marcussmith2626
 @iSiddharth
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
marcussmith2626 said:
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
Click to expand...
Click to collapse
Ah sorry
But what do u mean by WRONG apktool version??
abhishekr700 said:
Ah sorry
But what do u mean by WRONG apktool version??
Click to expand...
Click to collapse
use
gingerbread/ics/jb 1.5.2
https://code.google.com/p/android-apktool/downloads/list
jb/kitkat/lolipop apktool rc3
https://bitbucket.org/iBotPeaches/apktool/downloads
use correct framework-res
plus any other framework eg tw-framework
Use Advanced APK Tools for decompiling the APK files and you can also use the Attached Dex Editor to edit classes.dex files.....
Advanced APK tools is specially made for Xperia devicex. (use your "framework-res.apk" to install firmware in Advanced APK Tools)
(Drag and drop classes.dex in "Quick-Baksmali.cmd" to decompile and drag and drop the output folder is "Quick-Smali.cmd" to recompile.
Advanced APK Tools : http://forum.xda-developers.com/showthread.php?t=2639400

Categories

Resources