yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

Some propsoal to update the first post

- Removing version number (3.5.8) by thread title.

- Please leave as title "[TOOL][WINDOWS] ANDROID MULTITOOL" (without version reference)

Note: now latest version is 3.5.9. Please update info in first post.

- Update your 3.5.9 archive file with latest changes about

apktool.jar (2.2.2)

smali.jar/baksmali.jar (2.1.3)

7zip console (16.04)

Android PlatformTools (25.0.3)

Android Build Tool (25.0.2)

I attached the latest build (3.5.9) with all files updated (I included also a new version of dos batch amt.bat)

Android Multitool 3.5.9 mod updated

Thanks.

To get info please post the link to downlaod your framework apk file.

Please use latest build 2.5.9 mod and try to sue command line (amt.bat)
[Android Software Development] s_wheel:
Thanks a lot for updating!! Nice and useful job! :good:
[Android Software Development] kauw5164:
I decompile and then compile without changes anything.

decompile: working good

compile: show error
[Android Software Development] bovirus:
[MENTION=5837112]kauw5164[/MENTION]

Please update Android Multitool (3.5.9)/aoktool (2.2.2)/baksmali/smali jar files.
[Android Software Development] kauw5164:
Yes now i already updated.
[Android Software Development] bovirus:
Please provide the link to download the apk file.
[Android Software Development] kauw5164:
This link is YI Action - YI Action Camera 3.7.0.5.apk

http://apkfind.com/root/apk/2017/4/... YI Action Camera_3.7.0.5_apk-dl.com.apk&dl=1
[Android Software Development] kauw5164:
Thank you so much. Now it's working. :good:
[Android Software Development] mionelgg:
Which version of Java works well?

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

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

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

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

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

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

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:58)

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:72)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:513)

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

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

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

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

at brut.apktool.Main.main(Main.java:81)
[Android Software Development] bovirus:
What any JDK recent version. Please post the details.

- Application link (to download it)

- Android Multitool version

- Java JDK version

- Operative system version.
[Android Software Development] mionelgg:
ِDetails

Android Multitool Version 3.5.9

JDK version 8 update 131 (64-bit)

Windows 10 Enterprise
[Android Software Development] bovirus:
It's my same configuration.

Please post the link to download the apk file to test.
[Android Software Development] mionelgg:
http://www.dl.farsroid.com/app/App-Lock-Quick-AppLock-Pro-1.3.0(www.Farsroid.com).apk
[Android Software Development] bovirus:
Please rename the apk file as

App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com.apk

and use my latet build of Android Multitool (with AMT.bat and latest appktool/smali/baksmali).

I used my AMT batch and it works.
[Android Software Development] mionelgg:
I got decompile applications.

But when I compile this gives error.
[Android Software Development] bovirus:
[MENTION=8248509]mionelgg[/MENTION]

Please read carefully my previous post.

I asked you to use latest version of the tool (mod by me).

Your apktool 2.2.1 (and I believe baksmali/smali) are not updated.

I didn't get any error with my tool version (v. 3.5.9 with AMT.BAT and apktool 2.2.3 and baksmali/smali updated).
[Android Software Development] mionelgg:
Please give the correct link Android Multitool
[Android Software Development] bovirus:
Please read previous posts.

https://xdaforums.com/showpost.php?p=72132658&postcount=1263
[Android Software Development] bovirus:
[MENTION=8248509]mionelgg[/MENTION]

I believe that the problem could be your framework that is not updated or right for this app.

## Decompile apk

APKTOOL JAR = Program_Files\apktool.jar

APK NAME = App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com

SOURCE APK = Files\App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com.apk

DECOMPILED APK FOLDER = Decompiled_apk\App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com

## Decompiling Files\App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com.apk...

I: Using Apktool 2.2.3-4800bd-SNAPSHOT on App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Roberto.Boriotti\AppData\Local\apktool\framework\1.apk

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

## Compile apk

APK NAME = App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com

APKTOOL JAR = Program_Files\apktool.jar

SOURCE FOLDER = Decompiled_apk\App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com

DESTINATION APK = Compiled_apk\App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com-unsigned.apk

## Deleting old Compiled_apk\App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com-unsigned.apk file...

## Compiling Compiled_apk\App-Lock-Quick-AppLock-Pro-1.3.0-www.Farsroid.com-unsigned.apk

I: Using Apktool 2.2.3-4800bd-SNAPSHOT

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

I: Checking whether resources has changed...

I: Building resources...

I: Building apk file...

I: Copying unknown files/dir...
[Android Software Development] LasVegasRomeo:
Just for who ever may want...

Bleeding-Edge.. "Unofficial" ApkTool SNAPSHOT Build

Version: v2.2.3

File: ApkTool_v2.2.3-118094-SNAPSHOT.jar (11.61MB)

?*Download Version 2.2.3-118094-SNAPSHOT.jar (11.61MB)
[Android Software Development] vhick:
Quick question:

In my framework.jar. I have two .dex file named classes.dex and classes2.dex. When I recompiled the framework.jar, I only see only classes.dex in Compiled_jar folder.

Do I need to delete the classes.dex and classes2.dex files and copy the new classes.dex

or

I delete classes.dex and leave classes2.dex in my framework.jar and I will copy the new classes.dex?

Please help. Thank you.
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

Culd you please make some updates on first posts ?

Like

- Remove 3.5.8 (version - not update) from title. Please use a title without version. It's mroe Flexible

- Add in first a link to the latest build (now is 3.5.9) like

Android Multi Tool 3.5.9

- Update apktool/baksmali/smali to the latest version

- Integrate in your ZIP my batch to amke and easy dos menu to use easier the tool

- Integrate my additionl file like info about special characters and apktool/baksmali/smali/sign jar command line parametrs.

Please get latest (mod) version of APK Multitool here

Android Multitool 3.5.9 updated/modded

..
[Android Software Development] vijaygopalbalasa:
Android Multi Tools v1.02b

I have tried this amazing tool and done flashing, rooting. Everything on the way using Laptop connected with the Phone.

I have followed the steps given by the site in Google: -

You can check this here: -

Requirements: -

Windows PC

Android Multi Tools TOol (You can get from the link which is given above)

USB cable connected with the phone
[Android Software Development] bovirus:
What's the request or feedback?
[Android Software Development] s_wheel:
Dear [MENTION=637263]bovirus[/MENTION],

Do you have ideas for the correct decompiling/recompiling of the latest versions of framework-res.apk by use of apktool?
[Android Software Development] bovirus:
Depend by many values/settings and by the framework-res.apk.

You should use latest vesrion of apktool/baksmali/smali and install the framework.

Then now you can try to decompile/recompile the framework-res.apk.
[Android Software Development] s_wheel:
Yes, I use all the new (2.2.4) versions and install framework but the recompilation is with the warning "Could not be find resources" and after use of "new" framework-res.apk I get a bootloop.

The problem with this warning is also, if only just decomil/recompil. framework-res.apk without any modifications. It exists in my case for various framework (LOS, PA and other). All need software are updated.
[Android Software Development] bovirus:
Please provide a link where we can download the framework-res.apk file.

Probably there are more than one framework.
[Android Software Development] s_wheel:
For example the framework-res.apk from Paranoid Android for OnePlus3 (https://xdaforums.com/oneplus-3/one...anoid-android-7-0-2-aospa-oneplus-3t-t3615015). The framework was recieved from the smartphone with installed PA-7.2.3 by use of root explorer.

1. I decompile the framework by use of your .bat files. Problems and warnings are missing also.

2. And at once after decompiling I recompile (without any changes) the one same framework. In the process of recompiling in the second line of command line you can see warning "Could not find sources". It's the common issue for many frameworks. After message "Building apk file..." appears the second warning which is different for each frameworks (for the framework from PA-7.2.3 it is "warning: string 'global_action_reboot' has no default translation"). Recompiling finished.

The recompiled framework is wrong. I have a bootloop of the smartphone. Permission (0644) of framework file and it place in ROM are correct.

The framework-res.apk from PA-7.2.3 is in the attached zip.
[Android Software Development] bovirus:
[MENTION=7016110]s_wheel[/MENTION]

I installed the framework the I decompiled/revompiled the framework-res.apk

- Decompiling

No error

- Recompiling without make changes

I: Using Apktool 2.2.5-481299-SNAPSHOT

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

W: warning: string 'global_action_reboot' has no default translation.

I: Building apk file...

I: Copying unknown files/dir...

The only warning is about a missing global string.

But it's a warning. Is not an important issues.

I used a recent apktool/baksmali/smali version.
[Android Software Development] adamoex:
hi guys i'm new here

i'm using v3.5.7 and when i select my apk to decompilet it it show this message in the erreurs:

Input file (AndroidMultitool_3.5.7\Decompiled_apk\mycheck) was not found or was not readable.

please some one help me i'm stuck :'( i need help
[Android Software Development] BKhandual:
Ensure that there is not any space in the name of apk...

Like if it is "my apk.apk"...then it will show error...

Just remove those space from the name or replace them with "_"

---------- Post added at 08:17 AM ---------- Previous post was at 08:16 AM ----------

Try to use latest apktool
[Android Software Development] bovirus:
[MENTION=7016110]s_wheel[/MENTION]l

Noe it's available a second post specfic for download.

In the second post you can find Android Multitool updated with all changes explaiend in the second post.

Please download and use this specific updated version.

[MENTION=6378823]BKhandual[/MENTION]

The updated version in second post has a dos batch (It's very useful) to

- install framework file

- select application

- decompile application

- compile application

- sign application

that support file names with spaces.

[MENTION=8827023]adamoex[/MENTION]

Please use updated version (3,.5.9 updated) posted in teh second post and try again.

Please use AMT.BAT DOS batch.
[Android Software Development] openforu:
Two bugs:

1. If filename contain space "name 2018.apk" decompiling says finished but is not, it should show error in filename or something. Change to "name_2018.apk" now working ok.

2. After editing decompiled file and if I made some mistake in file (but dont know about it) When trying to compile its loops forever, should show error too.
[Android Software Development] MegaHz:
new framework

Hi guys,

i am using a framework file from 3 years ago. Today i saw this about Android P:

Anybody of you is using a newer framework file that can provide it?

thanks
[Android Software Development] BKhandual:
Can you tell me why sometime the changes made in the .yml file and AndroidManifest.xml are not getting compiled ?

When i decompile the apk again and check the manifest, it is same as original...

No specific apks.

And please add an option to optimize the images inside an apk.

Another option to encrypt res folder contents to r

Thanks for this tool
[Android Software Development] bovirus:
[MENTION=6378823]BKhandual[/MENTION]

Please remove the QUOTE Of the entire first paragraph.

Please don't never QUOTE a paragraph just to post your question.

Just post your question.

When you post your question you should post the details

- Link to the app

- Details info about log.

- Versions of apktool/baskamsli/smali
[Android Software Development] BKhandual:
Sorry for that..

But there is not any specific app (mentioned above)

Any app, i want to mod by just editing the manifest and yml file refused to update with compiled apk...

I figured out that i have to remove the folder "original" to do this.

And i always use latest stable versions of apktool, bak/smali.

Nothing much..

Please add 2 features..

Image optimisation

And resources encryption

Thanks again for this tool
[Android Software Development] knojap:
Could not write to (C:\Users\Dirk Pajonk\AppData\Local\apktool\framework), using C:\Users\DIRKPA~1\AppData\Local\Temp\ instead...

using win10. c:/android multitool

started as admin.

any help?

thanks
[Android Software Development] Muttahir:
i can decompile files easily but i cant compile them it stucks on doing comilation even no error appears waited for almost 30 mints still itis compiling

what should i do'
[Android Software Development] Sreerag ag:
The updated mega link don't seem to be working. Any mirror links available?
[Android Software Development] bovirus:
[MENTION=5978811]Sreerag ag[/MENTION]

Please don't quote an entire long post just for one line as answer.

Please edit your post and remove quote.

Make a link to the original post relative to your answer.

For you

APK Multitool 3.5.6 mod by bovirus v. 09.06.2018
[Android Software Development] oo0:
3.5.9 hangs, batch doesn't let to select APK, just goes to first menu with two options after "any key" pressed. Only command line java etc worked.
[Android Software Development] jaka45:
Iam really harder to changes packages names with this..some body can help me to changing this packages names..
[Android Software Development] rigattoni:
Signing an edited apk after successful compiling runs into an error:

I´m using the latest greatest version of Android-Multitool-v3.5.9-mod-by-bovirus

## Sign apk

SIGN TOOL = Program_Files\signapk.jar
CERTIFICATE = Program_Files\testkey.x509.pem
KEY = Program_Files\testkey.pk8

APK NAME = readittome
UNSIGNED APK = Compiled_apk\readittome-unsigned.apk
SIGNED APK = Signed_apk\readittome-signed.apk

## Signing Signed_apk\readittome-signed.apk started...

Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Encoder
at com.android.signapk.SignApk.addDigestsToManifest(SignApk.java:182)
at com.android.signapk.SignApk.main(SignApk.java:451)
Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Encoder
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
## Signing Signed_apk\readittome-signed.apk completed

# Press any key to continue or CTRL + C to break

I need some help with it... please :cyclops:
[Android Software Development] Manfred_xda:
I get the message with decompile: Input file (Phenotype) was not found or was not readable. But the file exist. The problem is only with this file.

Another version of xml?
[Android Software Development] pragyan52yadav:
these error are coming while decompiling

see logs attached

no errors were shown while installing framework

i created frameworks using apktool
[Android Software Development] bovirus:
[MENTION=8808471]pragyan52yadav[/MENTION]

Please don't quote on interere post!!!!!

Please edit your previous post, remove all quote, and leave only your answer.

Thanks.
[Android Software Development] abujoo:
thanks
[Android Software Development] jimmer1:
so this is not the actual multi tools to get the screen unlocked via recovery mode or smth?
[Android Software Development] MegaHz:
is this tool still working?
[Android Software Development] calebsb:
I have a question. How do you copy the android manifest to the new apk without compiling it? This has me confused since shouldn't it already be in the new compiled apk? Thanks in advance, this is a great tool. Edit:never mind I got it. Thanks
[Android Software Development] kentandrei:
when compiling it takes time and it not responding :(
[Android Software Development] Taxi341:
opened the new and old apk with winrar or 7zip and drag from the old to the new apk
[Android Software Development] Flextrick:
Android Apktool V1.2

Update!

V1.2 is available!

Changelog 1.2:

Added ability to decompile and recompile ".jar" files

Added baksmali

FolderBrowserDialog: If you push the "browse" button you are in the right directory now and needn't to scroll and search the "AndroidApktool" folder

other small fixes

How-to of the new features:

Decompiling and recompiling ".jar" files:

-select in the combobox ".jar"

-select the ".jar" file you want to mod

-push the "decompile" button

-for recompiling you have to check the "smali" checkbox and select the folder within your decompiled ".jar" file

-push the compile button

-in the folder within your decompiled ".jar" files is located a new file called "classes.dex" now

-delete the "classes.dex" file in your ".jar" file

-copy the new "classes.dex" file you compiled in the ".jar" file

Baksmali:

You can check the "baksmali" checkbox, then e.g. the useless .line text types will be removed

DOWNLOAD:

http://www.mediafire.com/?vcz0llfd6vi0pkd
[Android Software Development] hinnn:
China cannot access mediafire.com, crazy

Would you provide more sharedrives? thanks.
[Android Software Development] Flextrick:
Yeah, when I'm [MENTION=313982]home[/MENTION]

~ via Nexus
[Android Software Development] Flextrick:
Added Win7 version to the OP! For those who have the broken layout
[Android Software Development] chdrummerdude:
Is it just me or are the MediaFire links down?
[Android Software Development] Flextrick:
No, they are not down. Maybe you have to authorize.

~ via Nexus
[Android Software Development] Flextrick:
I guess you made some changes in the widget_info.xml. WidgetCategory does not find a resource, you have to define it.

~ via Nexus
[Android Software Development] Adizzzle:
Weird, I'm not sure how to define the proper resource in the WidgetCategory.

The only change I made was to the file "colors.xml", located in res/values/

Dang.:crying:

EDIT:

Problem solved! I was trying to compile with the wrong framework-res.apk.

I'm modifying a TouchWiz compatible AOSP Mms app, and thought I

needed to use the TouchWiz framework, but I needed to use AOSP.

No wonder it wasn't finding the correct resources!

Thank a ton [MENTION=4642185]Flextrick[/MENTION]
[Android Software Development] Flextrick:
Oh, ok.. that's fine!

~ via Nexus
[Android Software Development] mgbotoe:
I have come across some occations where the tool hangs and lags but does not show any errors. It can still like that for hours unless if i force the program to crash.

I'v come to learn this usually means the decompile file need something extra, that originally did not come with it. Once I add those it compile fine.

I guess my question is, is there a work around to this? Atleast with an error I can troubleshoot but with it hanging and no error I can't do this.
[Android Software Development] Flextrick:
Of course I really want to fix this, but that's hard when I don't know where is the fault.

Did you recognize any conditions for this?
[Android Software Development] veeman:
So I wanted to theme Lightning Browser. I followed the directions in the OP and everything decompiled, recompiled, and signed with no errors. But when I try to install the app on my Nexus 7 it simply says "App not installed" as the error message. Any hints?

Edit: Ok, so apparently I can't read. I forgot to copy the META-INF folder over. Let's see if it works this time.
[Android Software Development] Flextrick:
I think it won't work this time too. You have to sign the apk.
[Android Software Development] Flextrick:
Nearly 6000 downloads.. wow!

Thanks for the donation, who ever he was.. thanks!

You can donate here, if you want to promote my work: https://www.paypal.com/at/cgi-bin/w...63663d3faee8d92b37e35c82a7c965120dd5a9b6ad0e3
[Android Software Development] vignesh_tnj:
Thanks
[Android Software Development] opdrago:
trying to recompile systemUI.apk and i get no responding.

(i didnt make any change in the apk)
[Android Software Development] Flextrick:
Did you use the right framework-res.apk?
[Android Software Development] Javier.D:
OK, I don´t know why, but the 1.2 release doesn´t work for me, when i try to compile systemUI I only get a file called Clases.dex, but no the apk, pease, can you upload the 1.1 relase, that worked fine.

Thanks
[Android Software Development] Flextrick:
You checked the "smali" checkbox, that's why it only compiles the smali.

Uncheck the "smali" checkbox and you'll be fine.
[Android Software Development] Javier.D:
I have already disable this option, but isn't working, can you upload the older version.

PD: I'm uploading a video to YouTube

Edit: Here's the video:

https://www.youtube.com/watch?v=ZMhOTRkVzpA&feature=youtube_gdata_player

Enviado desde mi Nexus 4 usando Tapatalk 4
[Android Software Development] Flextrick:
Thanks for reporting. Could you post the whole error dialog?

Sorry, I can't upload the 1.1 Version, because I'm updating the whole code and I'm not saving pre-versions.

Maybe someone can provide a mirror.
[Android Software Development] NadMaj:
[MENTION=5292983]Javier.D[/MENTION]

there's no apk coz it didn't build... it says so on your video... and if it did build the new apk should be on dist not build...

the error is on the modding you did on the original apk and not on this tool..
[Android Software Development] Flextrick:
Thanks [MENTION=4309610]NadMaj[/MENTION]

I actually had no time for watching this video carefully.
[Android Software Development] hello00:
does this work on 4.3?

and btw i clicked on .exe and nothing popups
[Android Software Development] Flextrick:
Yes, should work.

Did you install everything required from the startpost?
[Android Software Development] mgbotoe:
Hey hey, loving this. I just upgraded to windows 8...anyway to have it working on windows 8? I downloaded the windows 8 version but nothing
[Android Software Development] Flextrick:
If you installed everything required from the startpost it should work fine.