yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Robobob1221:
Find your folder named apktool. In to this folder place any framework apk you need (framework-res + twframework-res for samsung; com.htc.resources for sense).

Open a cmd terminal from this directory and enter the said cmd: apktool if framework-res.apk. repeat for any other dependancies, apktool if _____.apk, if needed.

私はローボーボブ。 Haro！！
[Android Software Development] c_shekhar:
1. In apktoolv1.03 there is folder named "platform-tools". This has apktool.bat and apktool.jar. here I place "framework-res.apk" as well as "twframework-res.apk" to take care the dependency. Right?

2. I place the apk to be decompiled in folder "place-apk-here-for-modding"

3. now I run Script.bat by double clicking it. Right?

When I do like this I get same error. No change..
[Android Software Development] raziel23x:
You missed a step now in that folder you need to open cmd and do apktool if framework-res.apk and do the same with the other
[Android Software Development] c_shekhar:
Done as suggested. still there is error....

the log is as follows:-
[Android Software Development] Arcanium:
I got a problem

i asked permition of a dev to theme his apk and publish on the market, after he passed me the signed apk i did this:

Decompiled it with no dependencies

modded pngs

compiled it answering no to both prompt questions

signed it normally

Installed app on my phone

Untill now everything its ok

But then i tried publishing on the market

was giving me the 50 Years Error, so i had to generate a key

was able to upload it on market

but when i install it after generating key

dosent istall. gives me a parsin error

so now im testing different ways

1 im getting the app on ''for mooding folder'' app name 2.apk

2 Open script.bat

3 Decomplite Mode set to Sources and Resources

4 press 23 to set current project which is 2.apk( all folders are clean)

5 press 1 to extract ( it extracts no problem) i now have a folder on projects

6 press 3 to zip apk it asks me signed or regular i pick regular no signing

After that what am i supose to do if i sign it gives me error

---------- Post added at 07:25 PM ---------- Previous post was at 07:22 PM ----------

after extracting it do i have to delete Meta_Inf?
[Android Software Development] raziel23x:
Try the BETA BUILD off the website under the Github Nightly builds

I automated the process all you have to do is drop the framework-res.apk twframework-res.apk and com.htc.resources.apk into the platform-tools then run the setup.bat and use option 2 this should fix most issues
[Android Software Development] zelendel:
Will this also work for installing the systemUI.apk framework files which are needed? Just wondering before someones else asks. I have an older version that I have been updating and have working on ICS AOKP so not really a question for me.
[Android Software Development] raziel23x:
It should the apktool binary is semi compatible right now and in theory should work i might also may need to tweak the script more but yes it should.

Just make sure to unzip in the root directory of the android sdk binary.
[Android Software Development] zelendel:
Man to be honest My set up is working right now. Like I said I figured I would ask for those that are bound to. I have no prob with my current set up working on ICS.
[Android Software Development] c_shekhar:
Tried beta also. The setup creates the framework and depency folders properly. but the error still occurs as before

[OP] pl help..
[Android Software Development] plegdroid:
you need to go into every values file and edit every plurals xml @ line 79 .. you'll have % word % you need to add an extra % like this %word %%, when you've done them all it will allow you to recompile ok :)

cm9 cfx 4.0.4 nightlys
[Android Software Development] SafiXS:
WOW... will got this fixed? this is REALY annoying :o
[Android Software Development] raziel23x:
This should be fixed with the next binary release of apktool.jar
[Android Software Development] raziel23x:
I have completely rewritten the Setup bat scripts fixing some issues and also added Dependencies installation on the fly into it allowing you to install just the Dependencies you need not trying to install all needed Dependencies for all os versions.

Later on I will make up some Documents for which files you need for what version be it 1.x 2.x 3.x 4.x 5.x Android Versions

Work is still being done with the APKTool.jar Binary So there is still no official release of the 1.0.4
[Android Software Development] SXUsr:
Is it safe to assume then that at some point in the near future the issue of decompiling and recompiling ICS apks will be resolved? I know there are work arounds at the minute but not all work for me. I can only decompile my framework-res using Apk_Manager_5.0.2, and it recompiles without errors but bricks my phone if I add the modded resources.arsc, 5.0.2 however won't decompile my SystemUI at all so have to use APK Multitool 1.4 for that with no issues.

The frustrating thing is that APK Multitool was working fine one day then just started giving errors the next.
[Android Software Development] raziel23x:
Yea i am working on fixing that issue as well it was a bug I introduced and working on resolving that issue and tracking down what changed with the binary that caused the scripts to not fully function. I am in the process of reverting some code back to APK manager coding and start over to trouble shoot what went wrong which is why there is such a long wait between this release.

Also I am waiting on iBotPeaches to finish tracking down a bug with the Binary itself he added with the last release.
[Android Software Development] manoranjan2050:
helo me.............

Hello sir how r u.................

i need APK Multi-Tool

please provide me download link

if possible mediafire link

i can't download from website ... b,coz site is some problem apkmultitool.com

please provide me APK Multi-Tool windows and linux ver

i waiting for great reply............

thanks
[Android Software Development] raziel23x:
Well i am away from home right now and soon as i get a chance i will fix the issue.

Just got the email from host

Dear Gerald,

You may or may not be aware that server Shared2 is currently offline. We are working as hard as we can towards a resolution of the problem. We had a dual spindle failure on the hard drives associated with Shared2. We are attempting to recover the journals manually and the process has been going on all day. With the way the recovery is going, it appears it is going to be a long recover that could span well into tomorrow. We wanted to reach out to your ahead of time and give you some options. We know that the majority of our clients keep local backup copies of their websites. If you have a local backup of your website and you would like to have your account re-created on a another server, we can recreate your account instantly, and you will have the ability to re-upload your website, to your new hosting account.

We will be giving all clients one free month of hosting for this outage. If we are unable to fully recover the data from Shared2, we will be offering the options of: partial refunds to all client(s) who paid for more than one month up front, or one year free hosting with us. The year free hosting offer is being extended to all clients- not only clients who paid for more than one month at a time. We are doing everything in our power to recover the data from the hard drives, and we only ask for your compassion in dealing with us during *this difficult time. We really appreciate you as a client, and we work hard every day in order to make you happy. If there is anything we can do for you to make this situation better, or to better resolve it in your eyes, then PLEASE open a ticket, or respond to this email and let us know.
[Android Software Development] raziel23x:
I got the website back up and running semi compleded.

It is running off a old november backup so I have a lot to do to get it back up to specs.

I am missing a lot of data on site and give me a day or two to restore everything back.

On a good note the only things lost was mysql databases so all files are still in tact for the download sections so I just have to redo the outdated download page with the correct paths and downloads.
[Android Software Development] raziel23x:
I have the download links restored and up but the other content is outdated and will take a while for me to completely rewrite all the Missing Documentation
[Android Software Development] SafiXS:
do you think brut.all will update apktool once again? when i check his project page it looks not great -.-
[Android Software Development] raziel23x:
Ibotpeaches took over the project
[Android Software Development] ghost_boy1412:
I cant run the script.bat anymore, and the log file show:

--------------------------------------------------------------------------
|Fri 06/08/2012 -- 0:21:00.62|
--------------------------------------------------------------------------
--2012-06-08 00:21:00-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 92.242.132.13
Connecting to update.apkmultitool.com (update.apkmultitool.com)|92.242.132.13|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 996 [text/html]
Saving to: `apkver.txt'

0K 100% 463K=0.002s

2012-06-08 00:21:01 (463 KB/s) - `apkver.txt' saved [996/996]

Missing operand.
1 was unexpected at this time.

How do i fix it :-s
[Android Software Development] raziel23x:
is it installed in the root of the android sdk binary
[Android Software Development] ghost_boy1412:
no sir :eek: 'cause i dont see u mentioned that in the install instruction
[Android Software Development] plegdroid:
cm9 cfx 4.0.4 nightlys
[Android Software Development] raziel23x:
It is right there in that screenshot
[Android Software Development] raziel23x:
Server has crashed and I lost that domain. I'm in the process of re setting up everything
[Android Software Development] raziel23x:
APK Multi-Tool Windows Version is now at Version 1.0.4

Changes to this release:

Complete Rewrite of the script moving many options to a new file called setup.bat which you should run when ever you need to change the Android Version or using multiple framworks and android versions

There is many issues fixed in this release with all the scripts not functioning correctly because a old bug that was introduced a while back in version 1.0.1

Fixed many of the reported issues with the app reported by the users that was script related.

What was not fixed:

There was no changed to how apk files are compiled and decompiled as this is related to the Binary which has not official release date for next release as Ibotpeaches states that there should be a release of the next binary which will fix many of the issues with the compiler and decompiler which I will do a minor update and hotfix in the near future
[Android Software Development] c_shekhar:
Shall try this upgrade. Hope problem in ROM signing is resolved...
[Android Software Development] raziel23x:
that was 1 of the many fixes
[Android Software Development] raziel23x:
The latest BUILD Version 1.0.4 is now released.

FULL Change log:

* Fixed Signing Tool

* Fixed Batch File Zipalign bug

* Fixed Batch optimize bug

* Complete rewrite of the update System

* Rewrote how the scripts run moving many features to a setup script

* Added New Feature that allows you to install framework-res for differentAndroid OS to allow building and decompiling Multiple APK BUILDS

* Added New Feature that allows you to install twframework-res for different Android OS to allow building and decompiling Multiple APK BUILDS

* Added New Feature that allows you to install com.htc.resources for different Android OS to allow building and decompiling Multiple APK BUILDS

* Added New Feature that allows you to install SystemUI for different Android OS to allow building and decompiling Multiple APK BUILDS

* Fixed Batch Theme converter

* Minor Tweaks to the scripts to optimize usage
[Android Software Development] zelendel:
Thanks for the update. But I cant run it with the current installer. Some of the options would be great but I am not giving it admin rights to write to the folder the sdk is in. Guess ill stick with my current set up that works great on ICS even if I have to change between jar files
[Android Software Development] c_shekhar:
with new ver 1.0.4

while signing the apk in "place-apk-here-for-signing" and using option 17

I get error in the LOG file as follows

At the same time it signes the APK also.
[Android Software Development] raziel23x:
This new version fixes many bugs. The main reason it needs to be installed in the sdk is because it uses many of the tools that are in the sdk. The old way was to copy these files into a folder and run the app which would have to recopy these files each time there is a sdk update which would bloat the app. This way the app is smaller and there is no need to update the needed sdk files which save me bandwith and time as well as to make sure that the application runs smoothly and less updates when new sdk binaies comes out.
[Android Software Development] raziel23x:
I will look into this as there may be a small glitch which is a easy fix
[Android Software Development] zelendel:
Oh no I completely understand. I just cant use it that way. I have an older version They I have kept updated that has worked without any issues so I will just keep using it. I thank you for the work you did on it. I will follow the "If it aint broke, then dont fix it method" lol Right now I have no issues with it. Yes it is a little extra work on my end but it is well worth it.
[Android Software Development] waterpolo:
I installed a your new release 1.0.4

I found a 2 bugs with the numbering.

1) The log is number 22 instead 24 as given below.

Decompiling Apk

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

Press any key to continue . . .

2) When a choiche the sign option then a get the following error:

Windows cannot find 'tools\signer'

With re-installation this is solved.
[Android Software Development] mDroidd:
But you did install it in the SDK??
[Android Software Development] waterpolo:
Yes, I did.

I updated my previous post.
[Android Software Development] hell_lock:
Alot of bugs in this version!!
[Android Software Development] raziel23x:
That does not tell me anything.

A lot of bugs does not help me at all to fix.
[Android Software Development] hell_lock:
This is some of the problems am facing(i used the basic functions):

1. After installing framework the setup crashes

2.Decompliling and compiling was showing errors even when no changes were done to apk.

3.aapt was not there. Had to manually put it

4. After a couple of uses the program stopped working. When i tried to open those bat files, they would open for a split second and close again rapidly.

5. Adb was not present.

6.The log files were showing errors related to handle.

7.The size of the logs was increasing spontaneously and it went to about 700mb.

These were some problems I faced during basic operations. I am on win7 using the latest version of ur tool
[Android Software Development] raziel23x:
Okay so your saying its your fault cool.

I see you did not follow the instructions of installing the android sdk and installing my tool in the root of the sdk.
[Android Software Development] zelendel:
The decompiling and recompiling errors could be due to the os version of the files you are trying to edit. ICS will cause issues without the proper apktool jar FILES. You need one to recompile and a different version to compile.
[Android Software Development] miazza:
Hello people.

I have decompiled my APK and corrected the language from Russian to Italian.

Now I'm trying to recompile it but I always get an error:

En Error occured, Please Check the log.

I tried on several computer and always the same issue.

Could you help me ?

thanks miazza
[Android Software Development] maped:
And without any change on your project you can recompile the apk file or have the same error?

Inviato dal mio Nexus S con Tapatalk 2
[Android Software Development] {davros}:
linux install instructions?

i chmod 755 Script.sh

then opened in terminal and it just closes automatically
[Android Software Development] hell_lock:
Sorry i did nt see the instructions cuz i directly downloaded this from ur site... I managed to install again but still some probs persist.. I cant recompile my framework even though i didnt edit it ; m on my rom based on gb. Btw is there any other version goin to come?? Release date?
[Android Software Development] raziel23x:
The compiling issue is from the apktool.jar which is beyond my control as the dev said end of month maybe so as soon as he releases.
[Android Software Development] fishingfon:
Hi all, can someone tell me where i can download this, as the download links on the home page for it are not working. i really need this urgently, so if someone could help i would be very pleased

Cheers Corey
[Android Software Development] raziel23x:
Working fine for me
[Android Software Development] miazza:
Yes. I have the same error. Sorry for the delay in the answer but I was without an internet connection over the week-end.

Ciao

miazza
[Android Software Development] holicl523519839:
I'm modify framework-res.apk , and it's a system app.i dont know how to decompile it.

which file should i delete ? /build ?

I changed apn.xml,could you explain to me ? Thanks
[Android Software Development] raziel23x:
It is because you install both the sdk and apk multi-tool in the program file directory.

You need to uninstall then reinstall the sdk directly on the c drive then install apk again in the root of the sdk binary and that should fix your errors as the app cannot handle spaces on directoies including spaces in the names of the apk files
[Android Software Development] brainard52:
Will I be able to use dos2unix on this?
[Android Software Development] Impact7:
I decompile a system apk, delete a line, compile it with 'system apk' [y] but when i put it into my phone, it doesn´t recognize it.

Am I doing something wrong??
[Android Software Development] hell_lock:
I cant find d keep folder
[Android Software Development] yusuv:
please make the smali fold comes out..
[Android Software Development] hell_lock:
Its in the decompiled apk already!
[Android Software Development] yusuv:
yes, but if i wanted to edit sum codes? only smali can do that..

maybe...
[Android Software Development] pauldiddy:
can't decompile latest google play 3.7.(using latest apk manager and apk tool 1.4.5).any news about this?
[Android Software Development] Captain_Throwback:
That's from Jelly Bean. It'll probably be a while before we can decompile those APKs . . .
[Android Software Development] kormatoes:
Lol me 2 but some times it

Looks like it made the changes in the app already

Any one confirm .keep folder

Newest build

Edit figured it out all good

Nice one mate
[Android Software Development] raziel23x:
This tool Is unable to compile java it can only decompile and already compiled apk file into salmi and back you have to follow the cm9 guide to be able to compile there source code
[Android Software Development] ruvort:
I have decompiled the systemui.apk from my Motorola Xoom running ICS. The decompile runs fine, but when I try to recompile (even with no changes) I get an error....

Does anyone know what I may be doing wrong?
[Android Software Development] raziel23x:
APK Multi-Tool 2 Now In the Works

After working on improving APK MULTI-Tools I came to the conclusion that the Current Application GUI AND API is Flawed.

I Have been working on rewriting APK Multi-Tools from the ground up again Removing the requirement of having the SDK installed and installed inside anymore.

As too many users could not understand that they needed to install it inside the official Android SDK or many users did not want to install this third party tool into the SDK out of fear that something might go wrong.

This New Approach changes the ball game of the application and also takes it to the next level as I am adding in many new features and fixing a mass amount of bugs in the application.

There is no ETA on when I will have the Finished product as Right now I am still working on the Design of the application GUI.

I will continue to support the current APK Multi-tool and also make minor updates to it fixing any reported bugs while I work on it replacement but I will not be adding anymore new features to it as this new application will be completely different from what it is currently able to do.
[Android Software Development] raziel23x:
Have you made sure that this was installed in the root of the android SDK as it seems to not being able to detect adb which is a sign that this tool has been installed in the wrong location
[Android Software Development] it's:
I tried to modify a SystemUI.apk(ICS one)... It decompiles and compiles fine, but after reboot, the status bar and all the other stuff is gone. I didn't sign it, I just followed the instructions of apk multi-tool(in the keep folder, I didn't remove anything, because I didn't change anything). When I push the stock one, everything(after a reboot) is fine again... Hope you guys can help me out. :)
[Android Software Development] raziel23x:
APK MULTI-TOOL VERSION 1.0.5 NOW RELEASED

This Release fixes many ICES Related Issues as well as fixes other issues that have been reported. I am continuing to update this with fixes as more reports are given and test cases are submitted

Link to the update can be found in the original post as well as instructions to how to install this.

CHANGE LOG:

* FIXED Error Messages to output the correct Option to use to read the Error Logs

* UPDATE APKTOOL.JAR to 1.4.7 THIS FIXES MANY ISSUES with COMPILING and DECOMPILING ICE 4.0.X

* FIXED (DE)/Compiler Scripts

* FIXED MISC and other issues I may of forgotten
[Android Software Development] amir_s_m:
win 7 x64
[Android Software Development] raziel23x:
For the time Being DOWNLOAD the github version and extract it in the the Android sdk sd manager exe folder
[Android Software Development] jgrimberg1979:
Anyone else having issues with .jar files not showing up in manager? When I got to select current project nothing shows up? If I change the extenstion to .apk it will show up. I have never had this issue before.
[Android Software Development] hell_lock:
Can u add baksmali in it??
[Android Software Development] raziel23x:
I will look into it with the new APK Multi-Tools 2.0 which it's in the works. I am rewriting it from the ground up so always looking for suggestions and feature request.
[Android Software Development] jgrimberg1979:
Do u have an idea as to why .jar files do not show up in projects? Forninstance I put android.policy.jar in moding folder but when I go to select project nothing shows up. If I cha ge the .jar to .apk it will then show up. Any ideas?
[Android Software Development] raziel23x:
I may if broken it with the 1.0.4 update I will look into it.
[Android Software Development] alkhafaf:
hello

I got problem while compiling, I didn't change anything in settings.apk, just for testing. This is from the log file (decompile then compile):

I exported the framework-res.apk and twframework-res.apk from my rom.

I appreciate your help, thanks.
[Android Software Development] raziel23x:
You need to uninstall everything the SDK and apk multi-tool then reinstall it on the main drive example C:\Android
[Android Software Development] alkhafaf:
Y dont i just copy the android sdk to the main drive ?

however, i did copy it to the main drive but same problem. I managed to solve the problem by adding extra % to the last % of line 295 of each reported error as the log shows.
[Android Software Development] amir_s_m:
plz bare in mind make it compatible with 4.0.4 and 4.1 SDK's.thx 4 the gr8 job.
[Android Software Development] raziel23x:
I will do my best.

But the compiler and decoder part that it's controlled by the apktool.jar it's maintained by IBotPeaches and he is hard at work fixing a bug with ICS as we speak.