yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Flextrick:
Thanks!

No, the image should fit center, I'll care about it.
[Android Software Development] pepitoff:
[MENTION=4642185]Flextrick[/MENTION]

I tried the last version of AndroidMulitool v.3.5.1.

I decompiled successfully my framework2.jar file, made some changes.

Then I tried to compile it back but in Compiled_jar folder is framework2 folder and inside only classes.dex file :(

Before I used v.3.3 and all was fine.

Where I can download again v.3.3 for Win8 and Win8.1?

Does somebody can share v.3.3?

Thanks in advance!
[Android Software Development] Flextrick:
Just copy the classes.dex file in the old framework2.jar and you'r good.
[Android Software Development] bovirus:
Report about v. 43.5.1 (running under XP).

Some problems

Load framework.res

Log report Impossible to found the specifed path. Which one?.

APK Decompilation

Error n.1: The decompiled folder is under Files subfolder and not under Decompiled_apk folder

Error n. 2: The program report that the decompiled folder already exist (say to use use -f parameter). Is not true. I delete the folder before to run the decompilation. Probably the program make the some cycle two times.

Decompilation/compialtion - unknown file

During decompilation/compilation the program not recognized right manifest file.

It copied into unknown folder.

Save Log error

Using Save Log appear "Exception not handle in the application.ùa

Could be usefull a more detailed log about the operation done.

Which is the use of "Use bak.smali"?

Pelase fix the errors.

Add more detailed log

Add automatically the file (.zml and META-INF) got from the original APK
[Android Software Development] Flextrick:
It will never give a more detailed log, something lets freeze the program then, all the log is coming from the apktool itself, I cannot change anything.
[Android Software Development] bovirus:
I believe that it's enough (to start) to show teh comamnd expanded with alla parameters that you sue to run framwerk instllatuon, decompiling, recompiling, signing apk

In this way could be easier for you and for us identified the problem (like command not recognized that the log show).

Please take care that 3.5.1 has serious problem that create decompiled fodler not in the right place and do it twice.
[Android Software Development] Flextrick:
Yeah, I think that's possible.
[Android Software Development] bovirus:
In my XP batch (I will post it as soon as) I have a similar function.

I made and echo with comamnd line (full with argiments) to show is it's OK.

I'm working on batch to include .xml file/META-INFfoklder (source apk) directly in compliled apk.
[Android Software Development] Flextrick:
Nice, I really appreciate it because I cannot test on XP, I've got no chance.
[Android Software Development] andreasyeah:
Excellent. Loved it!
[Android Software Development] RealSlimShadyMC:
bugannoyance

the donate button is slightly out of allignment
[Android Software Development] TheFixItMan:
It would be useful if you could select what type of key you wish to sign the apk with

adding the use of signing with a platform key instead of a test key would be useful
[Android Software Development] stoneson:
take a try ....
[Android Software Development] Karl:
mirror please ............

Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.
[Android Software Development] kpbird:
Do you have plan to port this tool for OSX - Mac ?
[Android Software Development] exodius48:
Add some mirrors please. I cant download.
[Android Software Development] youngcreative:
Mirror link please
[Android Software Development] Flextrick:
I'll provide a Mirror as soon as possible.
[Android Software Development] bovirus:
Android Multitool - Download (mirror mega.co.nz)

[MENTION=4642185]Flextrick[/MENTION]

In this archive I did some adds

- Update adb platform tool to v 20 / android build tool v20.

- add command list txt file (that contain list of apktool.jar/baksmali/smali.jar/signapk.jar commnands and parameters)

- add jar application list txt file (that contain info about jar program version)

- add aapt.source.properties and adb.source.properties text file that contains detailed version info about aapt/adb

I believe that you can integrate it in your version.

I will reelase as soon as a new revision that will integrate the XP batch file.
[Android Software Development] dssagar93:
cant download the file...showing bandwidth limit reached....mirror please...xD

:good:
[Android Software Development] bovirus:
Did you read my post (just before your post)? Please read it!
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

Plase fixup the bug of decompiled folder that was created under Files subfolder (and not under Decompiled_apk folder).

What do you think (for a cleran process) to create a Framwerk subfolder and change the program to search framework-res.apk under "Framework" subfolder 8instead like now thats earch it under fiels subfolders)?

In this way in the Files subfodler there are only apk to decompile.
[Android Software Development] Flextrick:
As I said I'm on holidays, I can't do anything right now.

When I'm at home again, I'll fix all the requested things.. Please be patient. :)
[Android Software Development] bovirus:
You are right! Sorry.....
[Android Software Development] icrossm:
link dont work

Link dont work... too much downloaded
[Android Software Development] bovirus:
Plreas read carefully the post. The mirror link available inb post (809)

http://xdaforums.com/showpost.php?p=53964875&postcount=809

is working right. Tested 5 second ago!:

Please stop to say that original link is not worlking. Please use the mirror.
[Android Software Development] RanceJustice:
This seems like a great tool - thanks for all your hard work. I don't have much experience with decompiling/unpacking .apks, but I was wondering if your tool would perhaps be able to unpack .obb files as well ?

There's a particular game (Final Fantasy IV) that has audio files I'd like to mod/replace, but it seems that all these files are stored in a large .obb (which, cannot be extracted simply using 7zip) as opposed to directly in the small .apk itself. If this tool will manage to decompile the entire contents of the .apk and the .obb, that would be great, but perhaps that is beyond the scope of this tool. I know this is a relatively unusual task. In any event. thank you.
[Android Software Development] Flextrick:
I just added a more detailed log and fixed the issue with the Decompiled folder.

But I've no idea why the message box pops up several times.

I'll search on..
[Android Software Development] Flextrick:
v3.5.2

UPDATE:

v3.5.2:

add more detailed log

fix decompiling/compiling/signing/installing framework multiple times sometimes

add batch decompiling (preview)

fix donation image not fitting center

add txt files with descriptions for all tools inside (thanks to [MENTION=637263]bovirus[/MENTION])

The batch option is just a preview, it's nothing stable or anything else.. to test, open the batch (located under /Program_Files/Batch) and edit the code to your thoughts. I had no time to write batchs with arguments for all features.

[DOWNLOAD]

MIRROR: https://drive.google.com/file/d/0B6-9-IIam8f-NVFKaTFrQzRuZzA/edit?usp=sharing
[Android Software Development] bovirus:
Did you go back from vacancy? Thanks for your fixes.

Sorry but I found two problem.

- When you browse and seelct the file to decompile, it is not showed as name in "Select file" box

- If you have already decomprssed the apk when you truy to decompile it again the log show that you have to use -f to overwire teh folder already existing. Please use by default -f option (por cleanup the fodler befroe to unpack).

As I explained before I think that could be better to have a subfolder "Framework" where the user can copy the framework-res (to install it) and the first option have to search in Framework subfodler. Or put it into Progr,m_files (and serch on it when you want to install).

This is due to maintain Files subfodler free of files that are npot apk to decompile.
[Android Software Development] Flextrick:
Yeah, I'm @ home again.
[Android Software Development] Flextrick:
Everything ok here for me, I also did no changes therefore.

This is a security solution from the base apktool devs, so why set it as default? If somebody has done a lot of changes and does not think enough and decompiles it again, all his work is gone.
[Android Software Development] bovirus:
An option could be ask to the user if he want to delete folder available before to unpack.
[Android Software Development] Flextrick:
This would be possible, yes.
[Android Software Development] bobgeneric:
Hi folks!

I'm have a NEXUS 4 - 4.4.4 (stock and rooted), and I would like change my battery's icon.

I did decompile my framework-res and SystemUI.

Can somebody help me?
[Android Software Development] Flextrick:
You do not need Multitool for this, just open SystemUI.apk with WinRar and navigate to /res/drawable-xhdpi and replace the icons with yours.

They are called stat_sys_battery_0, stat_sys_battery_15 and so on..

Just rename yours like them and copy them into /res/drawable-xhdpi.
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

Are the translatioon of the system interface (not specifc for a single application) iincluded in

framework-res.apk

SystemUI.apk

Is it right?
[Android Software Development] Flextrick:
Generally yes, those are the 2 applications for the system resources.
[Android Software Development] bobgeneric:
Do not exist this files... :crying:

Please see the picture attached.
[Android Software Development] Flextrick:
I checked it and you are right. They were located in this directory on all android versions below 4.4. I looked into status_bar.xml and noticed that they are being drawed by code now.

Short answer: It's hard to change them and impossible to change them by simply replacing icons.
[Android Software Development] bobgeneric:
I did find.

These file are on framework-res now: framework-res\res\xhdpi

Thanks for your attention.
[Android Software Development] Flextrick:
They are old ones. You can change them, but you won't see any changes.
[Android Software Development] bobgeneric:
:crying::crying::crying:

So, where and how to find these files? :mad:

Or how to change by code... ??????!!!
[Android Software Development] Flextrick:
check the file BatteryMeterView.java

It's a smali file if you are working with decompile files... under /com/android/systemui/BatteryMeterView

Here is the source code: https://android.googlesource.com/pl...rc/com/android/systemui/BatteryMeterView.java
[Android Software Development] lacoursiere18:
Can you upload your systemui and framework res for me.. and the image battery you want.. i did a mod for touchwiz, 4.4.2, to modify the smali to find images instead of read smali color codes..
[Android Software Development] Flextrick:
Looks like the old apktool does not allow a backslash at the end, I'll provide a fix!
[Android Software Development] alboz83:
Ok thanks!!
[Android Software Development] Flextrick:
Any errors on installing lg-res.apk?
[Android Software Development] bobgeneric:
Thanks.

Please, see the Attachment:
[Android Software Development] HTC-TYTN2:
how to fix this errors ?

are you test the files
[Android Software Development] Flextrick:
No, I have no time to test files of everybody, sorry. I'm Android App Dev and have to keep my apps up-tp-date everyday.
[Android Software Development] punkmonkey1984:
Im getting this error:

Microsoft Windows [Version 6.3.9600]

(c) 2013 Microsoft Corporation. All rights reserved.

C:\AndroidMultitool>cd C:\AndroidMultitool\Program_Files

C:\AndroidMultitool\Program_Files>apktool d C:\AndroidMultitool\Files\framework-res.apk -o C:\AndroidMultitool\Decompiled_apk\framework-res\

C:\AndroidMultitool\Program_Files>

Microsoft Windows [Version 6.3.9600]

(c) 2013 Microsoft Corporation. All rights reserved.

C:\AndroidMultitool>cd C:\AndroidMultitool\Program_Files

C:\AndroidMultitool\Program_Files>apktool d C:\AndroidMultitool\Files\framework-res.apk -o C:\AndroidMultitool\Decompiled_apk\framework-res\

I: Using Apktool 2.0.0-Beta9 on framework-res.apk

I: Loading resource table...

C:\AndroidMultitool\Program_Files>Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x01030128 style/Theme.DeviceDefault, config=[DEFAULT]

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

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

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

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)

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

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)

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

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

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)

at brut.androlib.Androlib.getResTable(Androlib.java:49)

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

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

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

I extracted to C: drive, also have java and .net installed.
[Android Software Development] vikasb32:
i always get following error when compliing any apk

Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.

but if i add "*" ie '@*android:style/TextAppearance.StatusBar' no problem in compling apk but i need to change all xml file included xml file in layout,value etc this is very irritating.plz fix that problem
[Android Software Development] Nihal @A-JAX:
Thanks for the tool . For me it works for most of .apks i tried, but not for SystemUI.apk . Tried SystemUI.apk from different android versions for my device , decompiles perfectly but while compiling I get errors . This is the log . Please help me out
[Android Software Development] Flextrick:
Typical framework errors:

Which framework-res.apk did you install? Should be one of the same API/framework.
[Android Software Development] Nihal @A-JAX:
Yes I'm using same API/framework
[Android Software Development] daman215:
for me all works but the signing when installing some apks i get such and such is not a valid name using android commander and with root explorer no go only some apks wierd
[Android Software Development] Nihal @A-JAX:
I fixed those errors by removing "android:" from "@android:style/Animation.SearchBar" but still getting error in unedited xml stat_sys_gps_acquiring_anim.xml . Please help
[Android Software Development] pankaj_GB:
Try to compile after removing * from @*android
[Android Software Development] bovirus:
- (Visual) bug report

When you selected a file to decompile the file & path is not showed in the file box.

When you selected a file to compile the file & path is not fully showed in teh file box (space is not enoughgh).

I believe that to have a full path/file show you should add differnt tabs (Install framework/decompile/Compile/Sign) and for each tab use all wspace as width)

- Improvement

When you decompile an apk you save in [original] folder AndroidManifest.xml and META-INF

Why don't use it and include in compiled.apk?

In this way avoid to the user to do it manually.

- apktool update

You are using apktool v. 2.0.0.beta 9.

It's available apktool 2.0.0.RC1. Could you please update it?

Downlaod link apktool 2.0.0.RC1 - http://d-h.st/If1

- apktool mod

Please check: http://xdaforums.com/showthread.php?t=2639400

Based on Apktool 2.0.0-Beta9

Automated Decompiling APK/JAR

Automated Recompiling APK/JAR

Automated Sign APK/JAR

Automated Zipalign APK/JAR

No need to copy META-INF folder after recompiling
[Android Software Development] HassanM:
[MENTION=4642185]Flextrick[/MENTION]

Mate I just downloaded AndroidMultitool 3.5.2... It looks like an amazing tool..... :good::good::good:

Anyway, I did as advised.... Somehow when I try to install the framework-res.apk, it gives me "no error" and but when I try to decompile an apk its gives me the following log...... Ive attached the log file... Moreover how can I tell if the framework-res.apk has been installed? Besides, when I select a file for decomipiling, upon selecting it, it does not show in the small box.... Can u kindly have a look at it and advise me accordingly.....

Your help will be greatly appreciated.....

Thanks
[Android Software Development] Flextrick:
[MENTION=637263]bovirus[/MENTION]

[MENTION=4818927]HassanM[/MENTION]

[MENTION=5210243]exodius48[/MENTION]

Thank you all, I'll fix it. Can take some time, I'm very busy right now.. sorry.
[Android Software Development] robertogl:
When i try to install framework-res.apk it says:

Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: archive is not a ZIP archive
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:698)
at brut.androlib.Androlib.installFramework(Androlib.java:641)
at brut.apktool.Main.cmdInstallFramework(Main.java:252)
at brut.apktool.Main.main(Main.java:91)
Caused by: java.util.zip.ZipException: archive is not a ZIP archive
at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory32(ZipFile.java:717)
at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:672)
at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:406)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:206)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:182)
at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:143)
at brut.directory.ZipExtFile.<init>(ZipExtFile.java:28)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:665)
... 3 more
[Android Software Development] exodius48:
I also get another error:

F:\Android\TOOLS\AndroidMultitool\Decompiled_apk\time\AndroidManifest.xml:4: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\xxx\AppData\Local\Temp\brut_util_Jar_2314032979305137972.tmp, p, --version-code, 26, --version-name, 1.1.3.5-Release, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL1259922913128065940.tmp, -0, arsc, -I, C:\Users\xxx\apktool\framework\1.apk, -S, F:\Android\TOOLS\AndroidMultitool\Decompiled_apk\time\res, -M, F:\Android\TOOLS\AndroidMultitool\Decompiled_apk\time\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\xxx\AppData\Local\Temp\brut_util_Jar_2314032979305137972.tmp, p, --version-code, 26, --version-name, 1.1.3.5-Release, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL1259922913128065940.tmp, -0, arsc, -I, C:\Users\xxx\apktool\framework\1.apk, -S, F:\Android\TOOLS\AndroidMultitool\Decompiled_apk\time\res, -M, F:\Android\TOOLS\AndroidMultitool\Decompiled_apk\time\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\xxx\AppData\Local\Temp\brut_util_Jar_2314032979305137972.tmp, p, --version-code, 26, --version-name, 1.1.3.5-Release, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL1259922913128065940.tmp, -0, arsc, -I, C:\Users\xxx\apktool\framework\1.apk, -S, F:\Android\TOOLS\AndroidMultitool\Decompiled_apk\time\res, -M, F:\Android\TOOLS\AndroidMultitool\Decompiled_apk\time\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:464)
... 6 more
The system cannot find the file specified.
The system cannot find the file specified.

[MENTION=4642185]Flextrick[/MENTION]
[Android Software Development] Flextrick:
Has nothing to do with the tool, it's apktool related.
[Android Software Development] exodius48:
So, what should i do?
[Android Software Development] LasVegasRomeo:
If this is not the case, problem solved, or already been helped, then just regard this obviously.

From looking at it and seeing these lines or similar (.. "Overwrite C:\Decompiled_apk\SecLauncher3\SecLauncher3?" .. "..1 dir(s) moved.") is showing me your trying to decompile the same one over a previous. You said you received while decompiling an apk (assuming you mean a different one) but my opinion based on what I am seeing on the given logcat is that it was trying to decompile an apk that already has been without deleting the previous decompiled folder located in the decompiled_apk directory before hand. .

Which if the case it would create another new folder inside the other/previous and so on...If by accident then don't disregard this. One also will see this when compiling an apk with out removing a previous one still located in the compiled folder.One must delete the "build" folder that was created inside of that particular app's decompiled folder aswell as removing/naming the previously compiled one inside the compiled_apk folder. If failed to do so, you will see something similar to the other situation. But upon doing so one will see that a new folder named "dis" was created, that of which contains the newly compiled apk file.
[Android Software Development] bovirus:
Android Multitool - DOS batch (XP/Vista/W7/W8) with additional features

I found several problems under Windows XP.

Due do that I created a batch that do all features of AMT (Android Multitool) GUI and have some plus

* Basic features

The batch do the same basic features of AMT GUI

- Install framework (apk)

- Select an APK

- Decompile the APK

- Compile the APK

- Sign the APK

* Additional features

The batch has some additional features

- Check if Framework is installed

- Include automatically AndroidManifest.xml and META-INF folder to compiled APK (with GUI version you should do manually).

- How to use

Download the zip file attached to the post.

Decompress the contents (two batch files) to the AndroidMultitool main folder (typically C:\AndroidMultitool).-

Run AMT.bat

Note: the separate batch to install framework (run by main batch file) is need because (I don't know why) the apktool.jar command to install framework (apktool if [Framework-file-path]/[Framework-filename].apk) if run inside a single batch terminate it (back to dos prompt)
[Android Software Development] LasVegasRomeo:
Regarding wanting different apktool version in the tool. Its easy enough for one to swap out themselves if wanting to do so by swapping out the .jar files etc. Or patiently waiting till when he decides to or it happens is next solution. ;)

As I have two of these multitools currently set up with current to latest commit rc1 build and other with slimbeans latest apktool. As this is my own preference as everyone finds what works for them.

Being said I have apktool 2.0 rc1 builds all the way up to latest commit (6/18) loaded up (link below). As well as the betas, previous (pre 2.0), and the slimbeans versions both kk & pre kk (JB) builds . Which just go back a page in my folder this link takes you too for all these others if wanted for any reason. :cool:

Apktool Builds:

- http://www.androidfilehost.com/?w=files&flid=14782