[Q] decompile recompile 3rd party apk - General Questions and Answers

how to decompile and recompile 3rd party apk?
for example:rootexplorer, terminal emulator, etc use apktool / apk manager / apk multi tool
because i try decompile rootexplorer use apk manager and apk multi tool but failed

Use apk tool :thumbup: Make sure you install framework files first
Sent from my Xperia Live with Walkman using xda app-developers app

Related

compiling app?

hi i have this app in market that cost money but also a open source code so i can download all files of apk..
but how i complie them into an apk type?? what program and what do i do with it?
Try apktool

Post your apk recompilation/decompilation here

Hello,
Post whatever decompilation or recompilation of apks here.
I will try to help u through the same
Error should be in this form
1. Name of apk in which u r having errors
2. Android version
3. Error
Note: I m not expert in apk editing, its a just initiative by me to help apk editors, hence if I skip any reply then openly understand that I m unfamiliar to the error.
Sent from my Micromax_A70 using Tapatalk 2 Beta-4
What do you use to edit apks?
/noob who wants to learn
Sent from my LG-E739 using Tapatalk 2 Beta-4
At present there is only one decompilation and recompilation tool called apktool by brut.
But there are many derived programs which use apktool and have a GUI.
e.g APK Manager, APK Multitool, APK Easy manager etc.
Sent from my Micromax_A70 using Tapatalk 2 Beta-4
original
here is it:
http://code.google.com/p/android-apktool/

[Q][ICS][V28]SystemUI.apk decompile

Hi.
I have tried many times decompile this apk with many versions of apktools but without success. Every tool "speak" something about wrong framework version. How can i decompile this apk without errors?
Sent from my LG-P920 using xda premium
krija said:
Hi.
I have tried many times decompile this apk with many versions of apktools but without success. Every tool "speak" something about wrong framework version. How can i decompile this apk without errors?
Sent from my LG-P920 using xda premium
Click to expand...
Click to collapse
Windows : C:\Users\Your-User-Name\apktool\framework
Linux: Extract to /home/apktool/framework
Also if you use framework-res / lge-res from the rom with the SystemUI.apk you want to edit you can use
Code:
apktool if framework-res.apk
to generate frameworks. Do not forget to Copy META-INF + AndroidManifest.xml from Original apk to the edited one without them PackageManagerService will Reject the apk:good:
Thanks defcomg
edit
properly decompiled with your framework files, thanks again.
Sent from my LG-P920 using xda premium

[Q] how to get apktool working on android ?

How do I get apktool working on android ? Where do I download latest working version ? I had apktool working but now I flashed custom rom and I installed it again and it won't work. It won't install framework and doesn't decompile the whole app
code.google.com/p/android-apktool/
Yes, it wont decompile whole app successfully sometimes, so it's better to edit the smali code which can be wholly decompiled successfully.
Hope this can help you
henry0504 said:
code.google.com/p/android-apktool/
Yes, it wont decompile whole app successfully sometimes, so it's better to edit the smali code which can be wholly decompiled successfully.
Hope this can help you
Click to expand...
Click to collapse
it's not decompiling any apps all the way.
I don't know what to download from there.
I tried both from here.
http://pan.baidu.com/s/1qWyPYVE
When I try recomepile it won't do it
I think the files in your link is not apktool...
Apktool is a jar file for decompiling and recompiling apks.
Use with cmd, example:
apktool.jar d filetobedecompile.apk
apktool.jar if frameworktobeinstall.apk
apktool.jar b filetoberecompile
It's definitely not an apk so far, so you should go to the official page on google code and download the official jar file.
Hope this can help you. Hit thanks!
henry0504 said:
I think the files in your link is not apktool...
Apktool is a jar file for decompiling and recompiling apks.
Use with cmd, example:
apktool.jar d filetobedecompile.apk
apktool.jar if frameworktobeinstall.apk
apktool.jar b filetoberecompile
It's definitely not an apk so far, so you should go to the official page on google code and download the official jar file.
Hope this can help you. Hit thanks!
Click to expand...
Click to collapse
Are those commands I can use in terminal emulator ? Does it change a jar file to apk or let me run jar files ? I don't know how to get terminal emulator working. I tried a java app that says it can run java files but the app wouldn't run. @henry0504
forum.xda-developers.com/showthread.php?t=1989533
I don't have a computer @henry0504
That's the first time I heard somebody didn't own a computer....
I am shocked that I heard it in xda…
You should own one bro
henry0504 said:
That's the first time I heard somebody didn't own a computer....
I am shocked that I heard it in xda…
You should own one bro
Click to expand...
Click to collapse
Do you know any other way ? I tried different apps that are suppose to run Java apps and they close when I try running the app or I couldn't get it to run the java app.
ryan012 said:
Do you know any other way ? I tried different apps that are suppose to run Java apps and they close when I try running the app or I couldn't get it to run the java app.
Click to expand...
Click to collapse
I don't get what you really mean, but you can try JBED for running java file on Android.
But I strongly recommend you to use computer to decompile apks. If you don't have one, you can't decompile apks and use apktool.
henry0504 said:
I don't get what you really mean, but you can try JBED for running java file on Android.
But I strongly recommend you to use computer to decompile apks. If you don't have one, you can't decompile apks and use apktool.
Click to expand...
Click to collapse
any way to run the java app. I tried that app, it won't run.
To decompile app on android you can try ninja morph
Sent from my Xperia Live with Walkman using XDA Premium 4 mobile app
android yoyash said:
To decompile app on android you can try ninja morph
Sent from my Xperia Live with Walkman using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That app isn't bad. I like zarchiver, app better

Apk Tool App for Android

I was recently looking for system ui smali mods and I came across this apk tool app and I thought I would share it, I think it works good so far but your working with a smaller screen other wise its really nice
Download: ApkTool v4.7.apk
Update fix for Lollipop Roms :ApkToolUpdate.zip
Instructions :
After you install the apk be sure to go to your Framework apks and hit import framework before you do anything
Also Copy system apks to SD card or you with get decompile errors
If you have problems with decompiling system apps on Lollipop flash update zip that has updated jars
You shouldn't have any problems with kit kat though I believe so no need to flash update.zip
Flash via FlashFire
And Finally Enjoy
davidhacks said:
I was recently looking for system ui smali mods and I came across this apk tool app and I thought I would share it, I think it works good so far but your working with a smaller screen other wise its really nice
Download: ApkTool v4.7.apk
Click to expand...
Click to collapse
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
I would normally use the computer Verison of apk tool and then use note pad ++ for looking at the xml files
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
At some point I will decompile the app and update the baksmali and so on to the lollipop Verison
PHP:
killa408shark said:
I'm not familiar with decompiling apks but for the xml files wich program do you use?
Sent from my SM-G900V using XDA Free mobile app
Click to expand...
Click to collapse
Try Axel on the playstore. You can view and edit.
Documentation on this app is hard to find
Documentation on this app is hard to find, did you write this? From what I can gather it turns your active rom into a rom package for redistribution? I'm assuming that's what they mean by create rom? Who wrote this gem? Amazing app

Categories

Resources