I'm making a program which will extract a Apk and modify some Smali code and again recompile it.
Apk Editor is good but I want the function in my app anybody can help ?
Related
Hi!.i was rying to reverse engineer an app.ihave managed to convert it to a jar file and decompile it using JD(via dex2jar)ihave also tried apktool but it converts it to smali code..and its not readable at all :/.my question is:
after i got the .Java files and loaded them to netbeans...made the changes..how should i compile it back to an apk? thanks
marko.gangsta said:
Hi!.i was rying to reverse engineer an app.ihave managed to convert it to a jar file and decompile it using JD(via dex2jar)ihave also tried apktool but it converts it to smali code..and its not readable at all :/.my question is:
after i got the .Java files and loaded them to netbeans...made the changes..how should i compile it back to an apk? thanks
Click to expand...
Click to collapse
As far as I know you can't. You will have to reference the java code to smali in the apk
Sent from my ADR6350 using XDA Premium App
is this the only way? i just cant modify anything in the smali files they are very confusing..the only problem i get when im compiling the jar is that netbeans cant find the Android SDK like: android.view.WindowManager;.and as far as i know netbeans doesnt support android.any help?
Hi all,
I have a problem, im trying to modify an apk with APK Manager 4.9, i descompile it, i go to projects, i modify the .smali files, i go to the script i select the project with the option 22 and i compile (option 11) and sign (option 12). But the .smali files dont changed. i try to delete de classes.dex in the keep folder, but the changes dont saved in the .smali files. Help please. This .apk is for run on bluestacks.
And sorry for my bad english.
Hi all,
I have a problem, im trying to modify an apk with APK Manager 4.9, i descompile it, i go to projects, i modify the .smali files, i go to the script i select the project with the option 22 and i compile (option 11) and sign (option 12). But the .smali files dont changed. i try to delete de classes.dex in the keep folder, but the changes dont saved in the .smali files. Help please. This .apk is for run on bluestacks.
And sorry for my bad english.
I want to share my Tool I made yesterday in a couple of hours. I was just sad about all the steps which have to be done until you have a proper codebase of an android app (apk) so I automated some processes.
You might think "this guy have only 1 post I can't trust him !!!" I would probably think the same but I'm here on xda actually pretty long but just read as anonymous user without an account and now I just wanted to give something back so I created an account.
My Tool includes following thirdparty software:
jad (decompile .class files)
dex2Jar (converts apk files into .class files)
apktool Decompile (is used for extracting resources and Smali code)
apktool build (is used to build the smali code into an apk again)
testsign.jar (is used to sign the build apk file)
Features:
Decompile assets
Decompile resources
Decompile smali files
Decompile java files
Build apk from smali source
Sign build apk
Nice gui with drag and drop
The application is written in java so it should probably work on all operating system (not sure because jad isnt written in java so I have to use os specific files)
Screenshot:
i.imgur.com/U85AU.png
Virustotal
virustotal.com/file/69601c98a25edf2fcb22b94fb58863848a4cd4a7ee0a39b4ad40de54c086f102/analysis/1358111315/
Download: ul.to/5hy2wf9x
Awesome tool! Tested it and works perfectly! Thank you!
Hi dear friends
I want to write an app like app cloner
to decompile and recompile I think apktool is best library
Unfurtunatley I'm not android expert and I don't know what package of apktool I need.
I decompile and recompile with apktool using c++ and apktool.jar obtained from apktool site in windows app but I don't know how to use this jar file in my android project code
I write this but i dont know what I missed it partialy decompile apk and throw force close dialog and debugger dont show what the error is
brut.androlib.ApkDecoder decoder=new ApkDecoder();
decoder.setApkFile(new File( arrlist.get(position).app.publicSourceDir));
File out=getApplicationContext().getDir(arrlist.get(position).app.packageName, Context.MODE_PRIVATE);
decoder.setOutDir(out);
decoder.decode();
Any help apperciated