yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Perseus:
Before running that, did you execute the Setup.bat ? If so, I think the tool is not installed properly on your machine. Please install it in C:\TOOL_DIR\. You may name the directory something else but it has to be one word and no Spaces in the Directory name.
[Android Software Development] bovirus:
@raziel23x

Should be possible to modify teh script to create the filename

application.name-signed.apk (ex. test1-signed.apk)

application.name-unsigned.apk (ex. test1-unsigned.apk)

instead like now

signedapplication.name.apk (ex. signedtest1.apk)

unsignedapplication.name.apk (ex. unsignedtest1.apk)

Thanks. Bye.
[Android Software Development] raziel23x:
That is on the todo list for the next release already
[Android Software Development] Perseus:
Asking this as I have not personally done before. So please be gentle.

If I wanted to modify an existing non-system app APK and Recompile, do I need to sign it ? If yes, where'd I get the Key files ? Are the ones included with this tool ok to do the job ?
[Android Software Development] bovirus:
@raziel23x

Thanks.

I found that in the latest APK MT version if I setup a compression level (ex. 0) and exit from APK Mutli Tool and rerun it the app don't store latest compressione level but restart from 9.

Should be possible to store the latest compresison level selected?
[Android Software Development] bovirus:
1. I have a proposal about GUI.

Building an non system APK (12). appear

---------------------------------------------------------------------------

1. Create an unsigned apk using the keep folder option

2. Create an unsigned apk

*Notice* Options 3 and 4 are experimental use with care *Notice*

3. Create an apk using the original Signature using the keep folder option

4. Create an apk using the original Signature

*Notice* Options 3 and 4 are experimental use with care *Notice*

---------------------------------------------------------------------------

Type input 1 - 4:

I propose youto change it in

---------------------------------------------------------------------------

1. Create an unsigned apk using the keep folder option

2. Create an unsigned apk

3. Create an apk using the original Signature using the keep folder option

4. Create an apk using the original Signature

Warning: options 3 and 4 are experimental. Use with care.

---------------------------------------------------------------------------

Type input 1 - 4:

2. Add pause before to go to main menu

Could you aadd a pause (pause > nul with text "Press any key to continue") at the end of the process before to go back main menu?

It help to check what's happened.

3. meaning of "keep folder" option

Could you explain the meaning of" keep folder" option?

4. Use a specific output folder for recompiled apk (not the same for source apk)

In this way the source folder is not populated by signed/unsigend apk hat you rebuild.
[Android Software Development] raziel23x:
The keep folder option is explained in the next window when it is selected

As for the output folder for compiled files I will see what to do about that as in order to do that I will have to rewrite other sections of the source in order for that to work because it will break other fields when moving the edited files to a separate folder. it is doable but will require extra work but I do like the idea and will add this option
[Android Software Development] Perseus:
I actually like the fact that all my files are in one Directory. I hope you make it an optional setting.
[Android Software Development] bovirus:
What do you think about point 1 & 2?

I'm using your tool to open APK file, to edit .xml files of GUI and recompile it.

Now i don't use the original signature/certificate because using option 3/4 (in option 12. compilation of non system APK) I have some problems to have an APK working fine.

Is not clear (for me of course) the emaning of keep file option because I check the keep folder and I see only compiled resource files and I cannot identify which resources are unchanged or not.

I hope that my contriibute will help you to have an improve,mnts in your app.

Thanks.
[Android Software Development] raziel23x:
I updated my signer tool I wrote for you as the one i sent you was broken i packaged the wrong one lol sorry it took me so long to respond and send you a new one https://github.com/ApkMultiTools/APK_Signer/archive/master.zip that actually works
[Android Software Development] alkhafaf:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Hello raziel

I forked in github. I hope i made that in the right place: p

Regards
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

I did not see the forking log you might of cloned it instead
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

https://github.com/ApkMultiTools/APK-Multi-Tool is the git that you need to fork
[Android Software Development] bovirus:
@raziel23x

Problem with APK Multitool website

Please check teh website http://apkmultitool.com/

Error

Warning: Table './apkmulti_drup935/dr_sessions' is marked as crashed and should be repaired query: SELECT u.*, s.* FROM dr_users u INNER JOIN dr_sessions s ON u.uid = s.uid WHERE s.sid = 'd512643607436203beb3087a9098f49c' in /home/apkmulti/public_html/includes/database.mysql.inc on line 135

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/apkmulti/public_html/includes/database.mysql.inc:135) in /home/apkmulti/public_html/includes/bootstrap.inc on line 1165

Warning: Cannot modify header information - headers already sent by (output started at /home/apkmulti/public_html/includes/database.mysql.inc:135) in /home/apkmulti/public_html/includes/bootstrap.inc on line 729

Warning: Cannot modify header information - headers already sent by (output started at /home/apkmulti/public_html/includes/database.mysql.inc:135) in /home/apkmulti/public_html/includes/bootstrap.inc on line 730

Warning: Cannot modify header information - headers already sent by (output started at /home/apkmulti/public_html/includes/database.mysql.inc:135) in /home/apkmulti/public_html/includes/bootstrap.inc on line 731

Warning: Cannot modify header information - headers already sent by (output started at /home/apkmulti/public_html/includes/database.mysql.inc:135) in /home/apkmulti/public_html/includes/bootstrap.inc on line 732

Site where download latest build

Can I get always updated kit from https://github.com/ApkMultiTools/APK-Multi-Tool

Changelog - latest version to first release

I propose to change in the changelog the version order.

Top - Latest

Bootom - First

How to Update APK MultiTool

I I have already decompressed/configured/used a previous version of APK Multitool, when I want to update is it enough to decompress the new files in APK Multi Tool fodler (overwriting existing files)?

---------- Post added at 10:54 AM ---------- Previous post was at 10:14 AM ----------

Tested 1.0.12 - Didn't works (for me)

I downloaded latest 1.0.12 build (28.02.2013).

I unpacked it.-> OK

I installed framework-res -> OK

In ran the setup to create fodlers -> OK

Then I ran SCRIPT.BAT

Didn't see the menu.

Just only "Android debug Bridge Version 1.0.312" and the prompt for DOS.
[Android Software Development] raziel23x:
you are using this correct?

https://github.com/ApkMultiTools/APK-Multi-Tool/archive/Experimental-RELEASE.zip
[Android Software Development] alkhafaf:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Ok i will fork that

Can i undo what I previously did?
[Android Software Development] Perseus:
Ok Will give this a shot.
[Android Software Development] bovirus:
@raziel23x

Yes of course.

I used: https://github.com/ApkMultiTools/APK-Multi-Tool/archive/Experimental-RELEASE.zip

The problems arethe problem reported befroe.

The build 11 works fine. The build don't works.
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

I am having no issues with it try installing the latest java JDK
[Android Software Development] MR.Volkf:
I always error to decompilr a apk file ,dunno where is the problem
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

A log works wonders
[Android Software Development] bovirus:
Downlaod link

Stable release: https://github.com/ApkMultiTools/APK-Multi-Tool/archive/Stable-RELEASE.zip

Experimental (Beta) release: https://github.com/ApkMultiTools/APK-Multi-Tool/archive/Experimental-RELEASE.zip

File name APK compiled APK

Please add in the file name classificaton (ex. OriginalSignedkey) at the end of file and not at begin. Ex.

Now -> OriginalSignedKeytest.apl

Proposal -> Test-OriginalSignedKey.apk

---------- Post added at 11:57 AM ---------- Previous post was at 11:55 AM ----------

Pending proposals

- GUI changes

Building an non system APK (12). appear

---------------------------------------------------------------------------

1. Create an unsigned apk using the keep folder option

2. Create an unsigned apk

*Notice* Options 3 and 4 are experimental use with care *Notice*

3. Create an apk using the original Signature using the keep folder option

4. Create an apk using the original Signature

*Notice* Options 3 and 4 are experimental use with care *Notice*

---------------------------------------------------------------------------

Type input 1 - 4:

I propose youto change it in

---------------------------------------------------------------------------

1. Create an unsigned apk using the keep folder option

2. Create an unsigned apk

3. Create an apk using the original Signature using the keep folder option

4. Create an apk using the original Signature

Warning: options 3 and 4 are experimental. Use with care.

---------------------------------------------------------------------------

Type input 1 - 4:

- Add pause before to go to main menu

Could you add a pause (pause > nul with text "Press any key to continue") at the end of the process before to go back main menu?

It help to check what's happened.

- Use a specific output folder for recompiled apk (not the same for source apk)

In this way the source folder is not populated by signed/unsigend apk hat you rebuilt.

- Changelog - Top to bottom version

Please show the changes in CHANGELOG file with at top the latest version.
[Android Software Development] raziel23x:
This is something I am working on adding later on after I fix bugs as I do not want to change too much and break more then what is already been broken from recent changes and addons

The TWO WARNING MESSAGE are there to make sure the user sees them and not say I did not see that as i had way to many people email me about them when i only had one warning

Already implemented in the current Github builds

Too many people do not like the idea of having the apk files all over the place they want them all in one location

IT is much easier to admin the changelog from the bottom without plus it seems odd to read a book from end to beginning is why i add the new changes to the end
[Android Software Development] bovirus:
To enhanche the emaning should be add a space

---------------------------------------------------------------------------

1. Create an unsigned apk using the keep folder option

2. Create an unsigned apk

Warning: options 3 and 4 are experimental. Use with care.

3. Create an apk using the original Signature using the keep folder option

4. Create an apk using the original Signature

Warning: options 3 and 4 are experimental. Use with care.

To have in the some place original (souce) apk and modified apk (without the alphabetical order) can create many misunderstandings.

To have under APK Multi tool folder two different folders

1. for original APK

2. for modded APK

and using the same name and plus at the end -signed/-nosigned/etc can avoid this misundersatnding.

About changelog to see the latest changes you have tos croll down the entire list.

If the latest changes is on the yop it's easier to check.

---------------------------------------------------------------------------

Type input 1 - 4:

Thenk like now without CR.
[Android Software Development] MR.Volkf:
This is for you

hope you will help me :fingers-crossed:
[Android Software Development] Kamy:
Anybody can help me out here?

I am currently using APK-Multi-Toolv1.0.10 version but when I download the new version APK-Multi-Tool-Experimental-RELEASE I get this error!

APK-Multi-Toolv1.0.10 version can be used now but fresh version one.
[Android Software Development] bovirus:
The latest stable release (03.03.2013) didn't work as expected.

Signing a non systemm APK (option 13). display an error.

This is the log.

--------------------------------------------------------------------------

|05/03/2013 -- 10.18.55,67|

--------------------------------------------------------------------------

java version "1.7.0_15"

Java(TM) SE Runtime Environment (build 1.7.0_15-b03)

Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Documents and Settings\xxxx\apktool\framework\1.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Done.

I: Copying assets and libs...

I: Checking whether sources has changed...

I: Smaling...

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'

has value '1.7', but '1.6' is required.

Error: could not find java.dll

Error: could not find Java SE Runtime Environment.

The previous APK Multi Tool version works fine.

---------- Post added at 10:54 AM ---------- Previous post was at 10:28 AM ----------

In my system I have both Java 1.6 and Java 1.7 (instaleld befroe 1.7).

I changed the reg ky (about JAva version). Now teh signing process don't have problem with java library but didn't work.

Thsi si the log

java.lang.NoClassDefFoundError: sun/security/tools/JarSigner

Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

Exception in thread "main" Could not find the main class: sun.security.tools.JarSigner. Program will exit.

Impossibile trovare D:\Download\android-apktool\APK-Multi-Tool-Stable-RELEASE\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedCanon-Easy-PhotoPrint-2.3.0.apk
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

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
[Android Software Development] bovirus:
Please fix the problem with option 13 and Java version 1.7/1.6.

In my system I have both version but when I run option 13 to sign an application I received an error.

The error log

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'

has value '1.7', but '1.6' is required.

Error: could not find java.dll

Error: could not find Java SE Runtime Environment.

It happened with both Stable reelase (03.03) and Experimental release (05.03).

With APK Multi Tool 1.0.11 it works fine.
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Did you go into your computers advance settings and select environment variables the create a entry called Java_Home then point it to the jdk main folder as I have instructed in the post above yours for example mine is set to C:\Program Files\Java\jdk1.6.0_41
[Android Software Development] bovirus:
Created

Java_Home=C:\Program Files\Java\jdk1.6.0_41

Same error.

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'

has value '1.7', but '1.6' is required.

Error: could not find java.dll

Error: could not find Java SE Runtime Environment.

Please add in log report when you select "13" sign the header with date/time (like as happen when you select option 12 - compile not system apk).
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Download the se jdk for 1.6 the latest version make sure you have the install directory correct I an using the 64bit version of the jdk in my example
[Android Software Development] bovirus:
I downloaded and installed the latest JDK (1.6.43).

Changed the variable Java_Home=C:\Program Files\Java\jdk1.6.0_43

Nothing changed. I will try with JDK 7.x
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Ok cool because on am not having Abby issues and trying to recreate your issue but from what I see it seems to be a registry issue
[Android Software Development] bovirus:
I agree with you..

But I didn't understand because the "older" APK Tool (1.0.0.12) is working fine.

Thanks.
[Android Software Development] Mr.Wolf:
I've sent you a PM.
[Android Software Development] raziel23x:
I made a registry file for the latest 1.6 here it is I made both a 32 bit version and a 64 bit version for the 64 bit machines and if you are a 32bit machine to begin with use the 64 bit version if need be I will create a 1.7 version if anyone needs it just say it and I will get it and btw the reason the earlier versions option 13 working was it was just cloning the same option as option 4 which Was done by mistake no clue why I had it done twice since both options was the same and that was when I decided to make a option for signing with a none testkey
[Android Software Development] slim80:
I have a problem with compile SecPhone.apk (Samsung Galaxy S3). I changed any smali files. But, I also tried without making any changes.

Iused stable release. This is the log:
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Your answer can be found here as this is a known issue with the apktool.jar

http://xdaforums.com/showthread.php?t=1755243
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

After further testing it sees your issue is a registry issue not a APK Multi-Tool issue as I could not reproduce it even have have all 4 jdks installed and each time I edited the location to point to each ones 32bit version as well as the 64bit versions and option 13 functions AD adspected.
[Android Software Development] bovirus:
I agree with you that "seems" a problem about PC configuration.

On the other hand please take care that also I'm working with "older" APK Multi Tool 1.0.12 with the sqmame pc configuration configuration without problems.
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

I am running windows 8 pro with media center 64bit a clean install as in just refreshed my PC last month
[Android Software Development] xxScoobxx:
SystemUI not showing up

I'm trying to install my SystemUI after modding it, but when I do it dissapears. I installed the Framework-res, TWFramework-res Dependecies

Im using a Samsung Galaxy S3

1. Decompile SystemUI.apk

2.Mod some Xml

3.Compile it

4. Keep untouched files and signature - Y

5.Delete the files that it asked to be deleted *resources arc, and anything modded* also tried deleting Android Manifest

6.Rename UnsignedSystemUI.apk

7.Push it back using adb

8.Reboot phone

Status bar disappears:confused: ... What am I doing wrong???
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Try decompiling and decompiling the original system ui and just use the keep original key option when using the compiling system APK option and give me the results
[Android Software Development] xxScoobxx:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

So I'm going to decompile, mod the SystemUI and then decompile the original SystemUI and when compiling keep original signatures?
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

No.

Take the original APK decompile then recompile use keep original signature option without changing anything.

Then test that if it works repeat same thing with you're changes if it works and tell me if that works
[Android Software Development] xxScoobxx:
I'll give a try right now and report back

---------- Post added at 08:13 AM ---------- Previous post was at 07:51 AM ----------

I tried it and my changes didn't apply, I tried the your first step with out changing anything, pulled it back

1. Decompile SystemUI

2. Made My changes

3. Recompile and kept original signatures (did not delete anything)

4. Remaned unsignedSystemUI

5. Push Back with adb and reboot

the changes did not apply and the phone rebooted once already by itself
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

What do you have

Phone

Android version

What files changed

Did you pull the required system files from you're phone and installed them using the setup script

Any extra information can you provide
[Android Software Development] xxScoobxx:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

1.Samsung galaxy s3 (at&t)

2. Jellybean 4.1.1

3.TW_super_status_bar, and drawables.xml

4.Framework-res, twframework-res, and SystemUI dependencies
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Can you zip all that up email me and I will see something on my end raziel23x@gmail.com
[Android Software Development] xxScoobxx:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

The apk's or the entire rom?

Sent from my SAMSUNG-SGH-I747
[Android Software Development] Perseus:
I think he meant the APKs alone. Anyway twice you have mentioned renaming the APK from Unsigned to framework-res. You should have signed the APK since its a System APK. Also after pushing the APK, you need to clear the Cache for your Launcher in use. Also Clear Dalvik Cache in Recovery.

If you have Titanium Backup, it automates both steps.
[Android Software Development] xxScoobxx:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Thanks I'll give that a try

Sent from my SAMSUNG-SGH-I747
[Android Software Development] raziel23x:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

Also it is best to download the latest experimental build and use it to push the file back
[Android Software Development] xxScoobxx:
Tried this and it didn't work, I've tried so many different scenarios and none are working for me. I don't know what I'm doing wrong
[Android Software Development] Perseus:
Forgot to mention :p you need to change Permissions too before you overwrite existing APK.
[Android Software Development] raziel23x:
can you also email me the changed files as well that you wanted to change so that I can add them in myself as a test case for you
[Android Software Development] raziel23x:
well from what I see there is two TW_super_status_bar xml files located at:

SystemUI.apk\res\layout\TW_super_status_bar.xml

and

SystemUI.apk\res\layout-sw600dp\TW_super_status_bar.xml

did you modify both of them or just the one in the LAYOUT folder
[Android Software Development] xxScoobxx:
Re: [Windows XP/VISTA/7][UTILITY][TOOL] APK Multi-Tool

No just the one under layout\TW_super_status_bar

And also values\drawables

The only thing I'm doing is making the status bar transparent, I've done it with apktool several times and it works but I wanted to try out multi tool

Sent from my SAMSUNG-SGH-I747

---------- Post added at 01:15 PM ---------- Previous post was at 01:10 PM ----------

I can send you the SystemUI I modified using apktool that works on my phone

Sent from my SAMSUNG-SGH-I747