• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [International] [mod] ICS apk de/recompile script for APK Tool - Windows

SUroot

Extreme Android User
ICS Framework-res.apk does not like to be decompiled and recompiled by APK tool.

The work around is to use 2 different versions of APK tool and keep swapping files for decompile and recompile.

I have put this in a handy little batch file package to manage all this. It really is basic stuff, but hopefully for those who are not quite sure, it will ease the pain a little.

Please feel free to test it. Enjoy:

This is an updated script to modify ICS *.apk using APK tool.

I take no credit for Apk tool or the process.
I have simply automated it for Windows as there are issues with ICS framework-res modification


Pre -requisites

1. WinRar
2. Java
Initial setup

1. Extract the apk folder from the .rar to the root of C:\

The structure should then look like c:\apk\ACTIONS

2. Go into c:\apk\ACTIONS\Install_files

3. Double click "Setup_Install.bat"
Usage

Simply double click START.bat and follow the instructions
Limitations

Can decompile any one .apk with any name at a time. Do not put any .apk files into the "in" folder until prompted to.
Thanks to Rob222 for confirming the method.
 

Attachments

Yeah I always have a windows VM in Unity mode running.

Its just easier in Windows. In Linux you have to do it as root to move the files to where they need to be, which is tricky from an automation perspective.

..and to be honest, when I was testing apk tool, I never got it working on Linux. Sure I only tried for a minute or two, but I knew it was easier on windows.
 
I think I'll maybe wait until there is an official response.. I know its not correct so not too fussed!
 
First Post updated. Now decompiles and recompiles any ICS apk. Only one script to run.
 
Back
Top Bottom