yashsingh1/xdaforums huggingface dataset:
[Android Software Development] raziel23x:
1. well for best results use the setup script to install the three apk files

2. then you will need to afterwords run the main script and select your systemui and just use option 9 to decompile the apk

3. make you changes

4. use option 11 select y when prompted (only hit enter once)

5. navigate to the keep folder which will be in the same directory as the setup.bat and script.bat

6. double click the keep folder

7. delete the resources.arsc

8. delete the layout\TW_super_status_bar.xml

9. go back to the main folder

10. then go back into the script and where it say Press any key to continue . . . now press any key to continue

11. test out the new edited apk file
[Android Software Development] -4ndr01d-:
does this newest version support the decompile/recompile of com.htc.resources.apk?

this apk is hell to decompile without errors. running JB and a htc dna 1080p device

it has folders of xxhdpi and some hdpi-480 folders

can anyone show me a process to decompile then edit xml's recompile after deleting the ones i modifed, etc ??
[Android Software Development] raziel23x:
v1.5.3 (TBA)

-Updated to smali/baksmali to v1.4.2

-Fixed (issue #396) - Correctly handle android:debuggable while in debug mode.

-Fixed (issue #340) - Fixed superclass errors on debug mode.

-Updated to Gradle 1.4

-Updated known bytes for configurations to 38 (from addition of layout direction)

-Fixed NPE when handling odex apks even with --no-src specified. (Thanks Rodrigo Chiossi)
[Android Software Development] djb77:
May i make a couple of suggestions for addons:

- Have a batch decompile function which decompiles all the APKs found in the place-apk-here-for-modding folder

- Have a batch compile function which decompiles all the APKs found in the place-apk-here-for-modding folder, with an option to move them to the place-apk-here-for-signing folder for batch signing.

I work on themes a lot and this function would be very handy for me.

Thanks in advance.
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

If you are trying to port from one room to another or just a more updated version. You can use the theme porter which does mass APK file porting
[Android Software Development] djb77:
Not just for porting themes. I also like to make mass apk decompiles of the originals too.

Since I've never really used the Theme Porter I'm not sure if it would do this or not as well, if it does I can use this obviously.
[Android Software Development] raziel23x:
How the theme porter works is

1. You places all the Original APK files in the themer\transferred folder

2. Place the modified version from the previous version or from previous Modified version of the ROM in the themer folder

3. Then run the theme porter option

This will port over all of the png files from the res folders of the modified themed apk into the unmodified ones

but when doing the frameworks-res You will have to manually replace the progress_horizontals.xml file as the theme porter only ports over the images
[Android Software Development] djb77:
Yea, thats the thing, most of my APKs have .xml adjustments all over the place (not just in framework-res), so its not just images that would need to be ported.

this is the procedure I did ages ago when doing a major port for a theme back when I was only working on the I9000, as you see I did a bit of work.

- Decompile all original APK files from FW #1

- Decompile all APK files from Theme (based on FW #1)

- Use Beyond Compare to delete unwanted files from the Theme APKs (so its only my changes)

- Decompile all original APK files from FW #2

- Use Beyond Compare to insert the files from the Theme

- Compile all APK files with FW #2 and Theme.

It's ok if you don't want to worry about adding the batch support, as I do have some DOS skills of my own and I can just write my own script, I just thought it would be nice to share this idea with you because I know of a few themers that would be VERY grateful for proper batch support.

Have a good one :)
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

I am working on batch support also pull request always always welcome on Github
[Android Software Development] raziel23x:
Minor updates to scripts and binary updates

Added Donation option to script.bat

UPDATED to apktool-cli-1.5.3-SNAPSHOT

-Updated to smali/baksmali to v1.4.2

-Fixed (issue #396) - Correctly handle android:debuggable while in debug

mode.

-Fixed (issue #340) - Fixed superclass errors on debug mode.

-Updated to Gradle 1.4

-Updated known bytes for configurations to 38 (from addition of layout

direction)

-Fixed NPE when handling odex apks even with --no-src specified. (Thanks

Rodrigo Chiossi)

-Fixed (issue #427) - Correctly handles `--frame-path` on uild
[Android Software Development] Fugitive05:
Hi!

I have some trouble with this app. When I want to compile, and choose the keep folder option, the scrip doesn't wait, until I delete the files from the keep folder. If I choose 1 or 3 option, the script verify some files, and if reach the point, where the keep folder option are, (go to keep folder, and delete files ...) it runs towards without waiting. So I can't delete the files, what I modifyed. Any suggestion, how to solve this problem?
[Android Software Development] raziel23x:
Sounds like when you go to switch to the keep folder you are hitting a key by mistake when switching screens I have had this happened to me a few times because would sometimes double tap the keys by mistake and the Command window detects the key strokes
[Android Software Development] Dragon7780:
C:\apktools>

C:\apktools>java -jar apktool.jar if framework-res.apk

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:

spec=0x010800ce drawable/background_holo_dark, config=-nodpi

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:201)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:170

)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:135)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11

0)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource

s.java:554)

at brut.androlib.Androlib.installFramework(Androlib.java:497)

at brut.apktool.Main.cmdInstallFramework(Main.java:228)

at brut.apktool.Main.main(Main.java:76)

C:\apktools>

Help please! Tried with multiple apktool.jar versions all same error

Cant figure out what it is,,
[Android Software Development] Jori66:
I have this Problem too.

I use the Multitool or APK Tool.

I get this error for all Roms or Hybrid Roms that use TRDS from Slim Bean

Sorry for my Englisch
[Android Software Development] Fugitive05:
Yes, at the beginning I think the same, but I tryed it a lot of times, that when the choosing screen appears, I hit 1 or 3 just once, and very carefully hit enter. And then nothing. :D I don't hit any other key, don't move the mouse, just wait, but when it reach the point, wait 0,5-1second, and run towards. :( I can't identify, what's wrong. My system is win7 64bit, and run the script as administrator.
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Try without administration privileges
[Android Software Development] raziel23x:
Added new feature to the expermental build of being able to Batch Decompile APK files that are located in the place-apk-here-for-modding folder into the project folder on my todo list is to add batch compile
[Android Software Development] DSA:
now this sounds good - great idea

subscribed
[Android Software Development] raziel23x:
Added new feature to the expermental build of being able to Batch Compile APK files that are located in the projects folder into the place-apk-here-for-modding folder recompiling the files listing them as unsignedoriginal.apk
[Android Software Development] iamnotbrian:
my new favorite program for editing, thanks a bunch!
[Android Software Development] eisteh:
Am I the only one actually not being able to pull files from the phone?

I dled the latest from github, whenever I try to pull something, I get errors.

First error I get is that it can't find the AdbWinApi.dll. Can solve that by copying the 2 dll files directly in the root folder of your script (where the script.bat actually is).

2nd error: Now the adb daemon can't start.

Then I thought: Maybe the copy of adb.exe and the dll's in my system32 folder are messing something up, so I got rid of them. Now the adb pull command can't do nothing, because it doesn't recognize adb as a command. There are some parts where your script actually uses the included files in the 'other' folder, some parts where it doesn't.

Is it the script which is bugging, or is it me, just being too stupid? :/
[Android Software Development] zelendel:
You do have the android ask installed right?
[Android Software Development] eisteh:
If by "ask" you mean the SDK, yes, I do have that installed. Should I fiddle with the path stuff as mentioned for Java?
[Android Software Development] zelendel:
Yes. Sorry bloody keyboard lol.
[Android Software Development] fitti28:
I downloaded latest version from git and i am having the same issues with 15 16 17

once i hit 15 and follow directions to hit any key to continue it closes. I am using a Samsung Droid Charge and i was wanting to port a theme from GB to GB.

can i put a theme.zip in the folders? i tried with just framework-res.apk in the themedpak and non theme framework-res.apk in transferred folder.

Please let me know if i am doing something incorrect?
[Android Software Development] raziel23x:
I am not sure whatg could be causing this I will look into what is going on.

Have you tried multiple files and if successful there should be nothing left in the themeed folder and the untouched shbould have a backup
[Android Software Development] fitti28:
I will try some other files this morning and report back when i get a moment

I tried to use the following .apk's

mms.apk

gmail.apk

once i hit 15 it closed the screen
[Android Software Development] raziel23x:
What does your file path look like ie is there spaces
[Android Software Development] fitti28:
This is how it looks

C:\android-sdk\platform-tools;C:\ApkMultiTool\other;C:\Program Files\Java\jdk1.6.0_25\bin;
[Android Software Development] raziel23x:
I will have to look at it more but I do have a stand alone version of the theme porter which is fully functional I am just trying to figure out why it is not working after modifying it a little to work as a intergrated part.

I will have to do some experments to see what I am doing wrong as it could be smothing minor I am overlooking.
[Android Software Development] raziel23x:
Okay I have completely rewritten the theme porter scripts and updated the Github with the most recent version.

Feel free to visit the original post for the changes to test out the latest build

It is very important to read the apk multi-tool documents before using the new features as well as if you having issues with java not being detected and how to fix it as well as will be looking into adb not working next if this latest build of theme porter works
[Android Software Development] gio_n_s:
what seems to be the problem??

I: Decoding values*/* XMLs...

I: Done.

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01060042

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)

at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)

at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)

at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)

at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:46)

at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)

at brut.apktool.Main.cmdDecode(Main.java:120)

at brut.apktool.Main.main(Main.java:57)
[Android Software Development] svtfmook:
i'm getting the same errors as well
[Android Software Development] DroidRC1:
http://xdaforums.com/showthread.php?t=1358541

Read the last post
[Android Software Development] Silver420:
I started that post so was obviously going to read it :p

Where does it go?
[Android Software Development] blueluck77:
I asked that this morning. no answer.
[Android Software Development] raziel23x:
I have no control over the decompiling errors and compiling errors of apk Multi-tool as that is handled by a third party application which is bundled into this application so report all issues with (de)compiling apk files to this thread here

Brut.all is working on updating the apktool.jar which is what is used to either decompile a apk file or to recompiling the apk file he just updated the apk file to support the android os API 13/14 and right now he is working on updating how it handles the Samli code which after he gets done working his magic the apktool.jar binary will be updated in this application and should resolve the issues at hand.

Right now I am using a experimental version of the apktool.jar from compiling his source code from his latest github release which is mainly for testing purposes and helping him get the best exposure to get all the bugs out of apktools
[Android Software Development] lotherius:
First, thanks a TON for this tool! It makes busting APK's open and messing with them so easy.

Now... I wrote up a whole post about a problem I was having...

Then it turns out that if you have WAV files inside an APK you can't compress the APK. Good to know - maybe the script can run a quick check and disable compression automagically?

Anyway, got it compiling without even posting the big rant I had ready. :)
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

I have tweaked a few features to the experimental build. To do list now is to move modified files to the signature folder. And a few more changes how the application works. With the new added features I am running out of room in the menu to add more features so the time has come for a rewrite of the gui of the menus so most Likely merging my side project of APK Multi-Tools2 into this
[Android Software Development] raziel23x:
Completely rewrote how recompiled apk files are stored so to not clutter up the place-apk-here-for-modding as that folder is just for storing unmodified apk files.

Updated the signer location to match up with the changes to how modified apk files are handled
[Android Software Development] DSA:
Seems like you're on a roll dude, love the progression of this
[Android Software Development] raziel23x:
yea trying to resurrect this tool since it seems that somone cloned this tool and changed the name of the tool and used a bat to exe app and started calling it another name has stolen all the code since I leave it in bat format so that others can modify and actually see how the tool works,

It has been about 2 years since the last time I gotten a donation for this tool so i basically stopped working on it when everyone stopped supporting the tool.

I decided that I would bring it back to life and see how useful this tool can become since I am using it for my Go Launcher EX theme Development when I am looking to use another theme as a template and change the images and colors and such and other projects that I began to work on
[Android Software Development] :
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Where can I get DL link.

I get 404 on github links from op.

Thanks

EDIT:

found it by searching github, but links in op are wrong
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Sorry I tweaked the name of the project sever side and forgot to update the links
[Android Software Development] raziel23x:
Fixed the Broken Links
[Android Software Development] raziel23x:
Added support to Xperia devices given the ability to install the dependencies

Added SemcGenericUxpRes pull support
[Android Software Development] moose1313:
what would be the the problem when im decompiling a framework-res.apk and the values folder/xml never appears after its decompiled. Besides it never being there?
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

That is weird never had that happen personally what version of apktool do you have installed
[Android Software Development] raziel23x:
I have been working on a complete rewrite of APK Multi-Tool if you want to test out and tell me what you think of the new look.

Please keep in mind that the WIP 2.0 Version will at times be broken more then often then fully functional as I will be adding features

and since this is a WIP I am doing things in parts as I get times.

I have completely rewritten the menus and I am currently working on other fixes as well as working on more fixes.
[Android Software Development] iBotPeaches:
I wouldn't go near Apktool 2.0 yet. Its not even ready for experimental use until its pushed to master. I doubt it'll work in its current state. Just wait for a RC release.
[Android Software Development] raziel23x:
my WIP 2.0 is completely differnt then your here is my changelog for my WIP 2.0.0

Version 2.0.0
Fixed Compiler bug with option 3 and 4 for none system files.
Fixed Set current project option not working properly
Added the ability to set compression level of the Resources.arsc
Changed the name of recompiled System Applications from unsigned to system to keep the two from being confused
Code Clean up clearing out unused code
UPDATED to apktool-cli-1.5.3-SNAPSHOT
v1.5.3 (TBA)
-Updated to smali/baksmali to v1.4.2
-Fixed (issue #396) - Correctly handle android:debuggable while in debug mode.
-Fixed (issue #340) - Fixed superclass errors on debug mode.
-Updated to Gradle 1.4
-Updated known bytes for configurations to 38 (from addition of layout direction)
-Fixed NPE when handling odex apks even with --no-src specified. (Thanks Rodrigo Chiossi)
-Fixed (issue #427) - Correctly handles `--frame-path` on [b]uild
Added smali/baksmali for adding new up coming Deodex features
Added now when compiling with option 12 when you choose option 3 and 4 it names the apk files to show they have the origianl signature keys
Added new Signing method for signing apk files. With this new method the key used has a shelf life of 1000 years and also apks files signed with this key is able to be published on the android market
Added new checks to cleaning up old recompiled apk files before recompiling again.
Added pause breaks into option 12 so that users can check to see if anything went wrong in the recompiling method when using the keep folder option.
Updated option 13 to use a alternative to a signing method which uses the Java_Home Enviroment Varable which needs to point to for example mine is set to C:\Program Files\Java\jdk1.6.0_41
Added Batch Decompile option
Added Batch Compile option
Completely rewrote how recompiled apk files are stored so to not clutter up the place-apk-here-for-modding as that folder is just for storing unmodified apk files.
Updated the signer location to match up with the changes to how modified apk files are handled
Added support to Xperia devices given the ability to install the dependencies
Added SemcGenericUxpRes pull support
Complete rewrite of the GUI cleaning up many on screen issues
[Android Software Development] iBotPeaches:
You don't have to lie. git has history: https://github.com/APK-Multi-Tool/APK-Multi-Tool/commit/fbd8361ecc4ad6918fc5a6ed9906523f0ca4d8be

I just respectively ask that you don't touch WIP 2.0 Apktool until its out of the WIP branch.
[Android Software Development] raziel23x:
yea it may be in the history but as it has been flipped back and forth between all versions of apktools experimental builds which is completely different then my stable build if this clears any confusion as I though you was referring to APK Multi-tools being apktool 2.0
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7/8][UTILITY][TOOL] APK Multi-Tool

Well back on track. Most of the scripts are broken in a since that they as of right now after running goes back to the main menu. Will fix this on the next Github push
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7/8][UTILITY][TOOL] APK Multi-Tool

Progress report on the upcoming 2.0.

I have fixed the links to the image editing menu which does not use apktool many uses just 7 zip to extract the APK files so just to edit the images.

There is still a lot of work left to do and I will still fix any bugs reported for the experimental build and push to there.

There is still a lot of features I will be adding in once I finish tweaking the menus and fixing or adding scripts to help support the change done to the UI.

I have been working on the 2.0 rewrite for about a year now and had it originally a separate project but scraped that project as it was taken way to long to rewrite the scripts from scratch. But out seems I going to have to do so anyways add looking at the scripts I noticed that many of the scripts share a bunch of features which now that I changed how things work need a new system to work.
[Android Software Development] roids87:
I'm using your latest experimental on win8 64bit, and i keep getting the error decompiling systemUI.apk

Decompiling Apk Sources and Resources Files

Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

"An Error Occured, Please Check The Log (option 26)"

Log is attached.
[Android Software Development] moose1313:
Re: [Windows XP/VISTA/7/8][UTILITY][TOOL] APK Multi-Tool

Sorry forgot to subscribe after posting, I've found my problem but not the solution. Something to do with Java but not sure. Take a look maybe someone can decode. As far as I can tell I have the path setup correctly and I have downloaded 64bit se jdk over top of 32bit se jdk. I'm stumped maybe a better more thorough video tutorial would help.

Sent from my SPH-L900 using Xparent ICS Tapatalk 2
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7/8][UTILITY][TOOL] APK Multi-Tool

Have you installed all the required frameworks files listed in the Setup.bat. Also have you downloaded todays latest push as I update basically everyday