[Q] How to decompile apk in android - Android Q&A, Help & Troubleshooting

If anyone knows pls rply to this...

Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A

decompile IN android? you can use root explorer to go in to an app and see the drawable-hdpi but you CANT edit smali's in here. Good luck
Sent from my GT-I9001 using xda premium

rjAndroid88 said:
If anyone knows pls rply to this...
Click to expand...
Click to collapse
You can use the apk tool to decompile apk.
Google it and you will find alot of tutorials.
Sent from my SPH-D710 using Tapatalk 2

you can use apk tool and decompile and recompile apks

Related

[Help] Apk manager

please help me ,i use Apk manager but always tha adb was not found ??
this thread need to be in Q&A section!!
ohh sory about this and thanks
Sent from my R800i using XDA App

[THEME][DEV][HELP] "Archos_JellyBeaned" custom framework

Hi all,
I have a project : make a custom framework for Archos gen8 with a Android Jelly_Bean style.
I've found a framework-res.apk from a Galaxy S2 JB ROM. I've began to "mix" the content of drawable-hdpi folders.
But when I try to remake the .apk (zipped with WinRar and renamed .zip by .apk), replace it in my /system/framework with 644 permissions, my a43 boot loop. Why ?
(I've bricked five times yesterday...).
Thanks for your help and sorry for my bad english.
GoL LuM
Ps: i'm under UrukDroid 1.6.4
Sent from my A43 using xda premium
Nobody to help me ?
Sent from my A43 using xda premium
Apk is not the same as zip AFAIK
I would personnaly have baskmali the apk (=uncompile) to mod the files - then recompile it (smali)
Search on Google how to theme a framework
---------- Post added at 11:03 AM ---------- Previous post was at 11:01 AM ----------
And I think you should have posted it on the theme and apps part on the forum
Hello minidou-77,
Thank you for your reply. I've searched on Google the necessary tools for theming Android. But nothing work. Maybe am i crazy ??
I will try to install the RoTtEnApPlEiCe custom framework just to see if the problem isn't UrukDroid. Maybe...
If someone wanna help me to decompile/compile that f****** framework, PM me and i'll send by mail the .zip folder with content inside.
GoL LuM
PS: i've not posted it in "theme&apps" section because it's always in developement
Sent from my A43 using xda premium
GoL LuM said:
Hello minidou-77,
Thank you for your reply. I've searched on Google the necessary tools for theming Android. But nothing work. Maybe am i crazy ??
I will try to install the RoTtEnApPlEiCe custom framework just to see if the problem isn't UrukDroid. Maybe...
If someone wanna help me to decompile/compile that f****** framework, PM me and i'll send by mail the .zip folder with content inside.
GoL LuM
PS: i've not posted it in "theme&apps" section because it's always in developement
Sent from my A43 using xda premium
Click to expand...
Click to collapse
Development is much more considerate as software dev without just modifying pngs but don't worry this forum is not that much active
Take a look at apk multi tools my friend
minidou-77 said:
Development is much more considerate as software dev without just modifying pngs but don't worry this forum is not that much active
Take a look at apk multi tools my friend
Click to expand...
Click to collapse
I'm not only modifying png's ^^ i will edit some .xml's for a more "realist" JB theme.
I've installed APK Manager. I find it more easy for noobies like me
Are you french, minidou ?
Sent from my A43 using xda premium
GoL LuM said:
I'm not only modifying png's ^^ i will edit some .xml's for a more "realist" JB theme.
I've installed APK Manager. I find it more easy for noobies like me
Are you french, minidou ?
Sent from my A43 using xda premium
Click to expand...
Click to collapse
Yes ^^
Like 99% of Archos customers ^^
Ok, i've modified 60% ~ of png's, but i want recompile it with ApkManager, it says there is an error occured...
I don't know why :what:
I've also tested the "RoTTeNaPPlEIce", it works perfectly ... on a screen resolution of 160dpi (a43 has a 240dpi resolution ^^ )
Pour le moment, je vais dodo XD
Sent from my A43 using xda premium
Hi,
You can see more details of my "recompiling" error with apktool.
The problem seems to be the /values/public.xml but i don't know what exactly is it.
Now, i will begin the drawable-mdpi folder modifications for all a70/a101 owners. But i can't test it for the moment...
Should i sign framework-res.apk ?
Sent from my A43 using xda premium
No no need to sign a system apk that you will push manually
Actually I'm sorry but I don't know well what happens here...
Did any apk have been created ?
No apk's have been created. After some searches on Gugole, the problem is the Apktools version. I'm using v1.5.0.
If someone want compile it for me, let me a PM
Sent from my A43 using xda premium
make it work, please. It will be a demn good thing.
Hi all,
About my problem, Apktool doesn't support png changes.
I was trying a simple xml editing in an .apk and it works. But when i begin to modify .png's, all goes off.
Friends are compiling it for me... ^^ thanks you bros
Sent from my A43 using xda premium
GoL LuM said:
Hi all,
About my problem, Apktool doesn't support png changes.
I was trying a simple xml editing in an .apk and it works. But when i begin to modify .png's, all goes off.
Friends are compiling it for me... ^^ thanks you bros
Sent from my A43 using xda premium
Click to expand...
Click to collapse
Can we expect it for UrukDroid? Or it will be a CM7 theme?
It's a custom framework-res.apk for stock ROM and UrukDroid. Maybe a CM7 theme after ^^
Sent from my A43 using xda premium
Hi,
Just for fun, this is my PC (my brother's PC XD).
Processor: Pentium IV @1,5Ghz
RAM: 128Mo
Graphic card: ATI Rage XL 128 Pro
HDD: Maxtor 22.4Go
OS: WinLSD 3.0
A great hardcore gamer machine ... Oo''
Sent from my A43 using xda premium
For just replacing image files, the easiest you can do is just opening .apk file with WinRAR and manually replacing files within WinRAR.
P.S. I don't know for sure what you exactly did with mixing apk files, but your 43IT probably boot loops because of the missing META-INF folder from the 43it apk.
What is the META-INF folder utility exactly ? (I don't touch this folder. Only "drawable-hdpi" and "drawable-mdpi" folders).
When i've tried to ''mix'' png's with winRar, my a43 bootloop.
Sent from my A43 using xda premium
No I would suggest you not to touch the apk with a archive explorer
I don't really know try to look inside it or ask Google
Thanks to ranomez for the compiling ^^ i'll be more vigilant next time
I'm testing the all first version of framework. Screens on next post
(Teasing powaaa)
Sent from my A43 using xda premium

How to change statusbar central clock to right clock?

pls tell me wat to edit inorder to change statusbar center clock to right
thank you
SREEHARI.NAIR said:
pls tell me wat to edit inorder to change statusbar center clock to right
thank you
Click to expand...
Click to collapse
You have to decompile the apk if you want to know how to do the further process n if you don't then you can read guide for Decompiling and then I can proceed to tell you how to do that
Just tell me i will try to understand
SREEHARI.NAIR said:
Just tell me i will try to understand
Click to expand...
Click to collapse
k, i'll tell you tomorrow because I have a test today
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
I will Try this
soham jambhekar said:
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
Thanks Bro I will try this out
soham jambhekar said:
decompile SystemUI.apk
it has a xml file called status_bar.xml
search clock in it
in that line you will get a attribute android_gravity .
if it is center_vertical change it to left|vertical ( I have like this in my apk)
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
How can we do "decomplile"?
Please help me. Is it work on "[ROM] SGS3 V3.0 |Ultimate| |Smooth|"?
Vishnu pv said:
How can we do "decomplile"?
Please help me. Is it work on "[ROM] SGS3 V3.0 |Ultimate| |Smooth|"?
Click to expand...
Click to collapse
to decompile we use an app called as apk multi tools and another app apk manager !!
both are good...works fine for me...!!
i think u will need sdk tools installed in pc to make apk managaer and apk tools work on your pc !!
google about it, you will get more answers.
and there is a guide in development section named 'make custom rom' which shows how to decompile any apk..!!
Sent from my GT-S5830i using xda app-developers app

How to edit system apps with apktool for android

Can someone tell me that how to decompile system apps with apktool for android....
Sent from my MT11i using xda premium
PRAKASHPANDEY193 said:
Can someone tell me that how to decompile system apps with apktool for android....
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
Look in MY Guides and Manuals ( Noob Developers section ) link below
Check this out! You , YES! you are an " Android ". Not your phone but U.​
xsenman said:
Look in MY Guides and Manuals ( Noob Developers section ) link below
Check this out! You , YES! you are an " Android ". Not your phone but U.​
Click to expand...
Click to collapse
I mean edit my apk on my android device.... If u know apktool launch its tool also for android( no need of pc nd lappy)....
Sent from my MT11i using xda premium

how can I edit apk?

Hi
How can I edit or make change in apk sourse .
I tried apk editor but when I finish editing it refuse to save .
thank u
Sent from my SM-N910C using XDA Premium 4 mobile app
yagahrhm said:
Hi
How can I edit or make change in apk sourse .
Click to expand...
Click to collapse
You can use ES File Explorer for that actually.
If you know what to edit and you know where your desired files are located than you should just use ES File Explorer.
Of course there might be more apps that do this but this works for me from personal experience.
And if you want your answer faster the next time than you should consider posting in the Q&A section instead.

Categories

Resources