APKNEEDS - Simple wrapper to work APK's
Hi guys,
i mainly use Linux for my every day needs and someday i wanted to decompile a prebuilt APK. There my search began and i have tried many tools out there but none had what i wanted/needed or worked like i pretended. So my solution was to do it myself.
apkneeds is a simple wrapper in bash to decompile, compile and deodex APKs from KitKat to Lollipop. I find it pretty useful for my needs so i hope it can help some of you and that some can even contribute to it.
I will make a quick walk throw, using a 5.1 rom from a s905 device as an example so that you guys can take a look.
You can grab the wrapper from here or you can use git to clone it
I hope it helps some of you, because it sure saves me some time.
Enjoy
i mainly use Linux for my every day needs and someday i wanted to decompile a prebuilt APK. There my search began and i have tried many tools out there but none had what i wanted/needed or worked like i pretended. So my solution was to do it myself.
apkneeds is a simple wrapper in bash to decompile, compile and deodex APKs from KitKat to Lollipop. I find it pretty useful for my needs so i hope it can help some of you and that some can even contribute to it.
I will make a quick walk throw, using a 5.1 rom from a s905 device as an example so that you guys can take a look.
1. I have started the wrapper, and placed the 'app', 'framework' and 'priv-app' folders from my rom on the 'place_here_for_deodex' folder that the wrapper will create on first run.
2 .I select option '11' to start the deodex process (LL is API 22).
3. On completion, i grab the 'framework-res.apk' and the 'SystemUI.apk' and place them on the 'framework' folder to install them so that i can decompile some apks
4. I will put 2 jar files and 2 apk file in the 'place_apk_jar_here_for_modding' folder so that i can work on them.
5. Decompile
6. Now my decompiled APK will be in the 'working' folder under the a folder with the selected APK name and i can edit it as i please.
7. Decompiling a JAR is basically the same process and outcome
8. Recompiling with ask you if you pretend to use the original META-INF and AndroidManifest.xml. As a rule of thumb you should always keep them unless you have edit the AndroidManifest.xml file. If you don't keep it the APK will automatically be sign with platform keys. The final APK will be in the 'out' folder, the folder with the decompile APK in 'working' will be kept.
9. You now can push/install you edited APK.
You can grab the wrapper from here or you can use git to clone it
Code:
git clone https://Abdul_pt@bitbucket.org/Abdul_pt/apk_needs.git
Enjoy
No comments:
Post a Comment