[Q] APK Tool - Samsung Infuse 4G

For the life of me I can not recompile my systemUI.apk using the APK Tool
I decompiled it using:
java -jar apktool.jar b systemui.apk ./systemui
I get a few errors which I think should be ok if I could just Force the compile.
But the F orce doesn't seem to work. Any suggestions???
Here's the command line that I'm using.
java -jar apktool.jar b -f systemui/ newsystemui.apk
Any suggestions???

You have to install framework from framework-res.apk first with apktool....then you have to recompile systemUI.apk with dependencies ....the systemUI.apk uses the framework u installed as its base to decompile and recompile...
Sent from my SAMSUNG-SGH-I997 using xda premium

Edit..decompile systemUI with dependencies ...
Sent from my SAMSUNG-SGH-I997 using xda premium

Thanks, got it.
Cranky...
MitRa

Related

APK Decompile errors

Keep getting Config flags size > 32. Exceeding bytes: -xxxxxxx errors when trying to edit any .apk for ics 4.0.3 with akptool. Can anyone steer me in the right direction?
Sent from my LG-P999 using XDA
Set heap at 64mb
Sent via G2X-SINGH-UI
Still not working. Any other ideas?
Sent from my LG-P999 using XDA
Update apktool and install the framework first by running:
apktool if framework-res.apk
then decompile your apk with:
apktool d whateverapp.apk
Mr. Apocalypse said:
Update apktool and install the framework first by running:
apktool if framework-res.apk
then decompile your apk with:
apktool d whateverapp.apk
Click to expand...
Click to collapse
I use just these two commands
DeCompiling
Java -jar apktool.jar d framework-res.apk
ReCompiling
Java -jar apktool.jar b framework-res out/framework-res.apk
A new folder out is added with recompiled framework inside it
LEWA OS M-1
I think I have the latest version of apktool and already installed frame-res and I still get the errors. It starts to decompile but then stops.
Sent from my LG-P999 using XDA

[Q] an interesting Apktool error

hi. I use apktool to decompile an apk but when i try i take errors. for example i can decompile framework-res and twframework-res on the other side i cannot decompile settings.apk, systemui.apk etc. this why?
I see this is your first post so maybe you haven't seen this thread
http://forum.xda-developers.com/showthread.php?t=1755243
Sent from my M886 using Tapatalk 2

[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.

Can't de-compile framework-res.apk in 6.0.1

I can't de-compile framework-res.apk in 6.0.1.
Apktool version 2.0.3.
Apktool reports "Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file", when I using "apktool.bat if framework-res.apk".
Anyone knows the reason?
Thanks!
Apktool 2.0.3 dont work only apktool2.0.0. But recompiling framework-res.apk error will
grzegorz354 said:
Apktool 2.0.3 dont work only apktool2.0.0. But recompiling framework-res.apk error will
Click to expand...
Click to collapse
Thanks.
Does that mean we can't re-engineering framework-res.apk in Android 6.0?
Sent using XDA One

SystemUi_framework for devs

HERE IS THE SYSTEMUI.APK AND FRAMEWORK-RES.APK FOR DEVS TO ADD MODS.
CAN BE DECOMPILED AND COMPILED WITH APKTOOL WITHOUT ERRORS.
I AM USING BATCH APKTOOL.
https://androidfilehost.com/?fid=674106145207486704

Categories

Resources