yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bovirus:
[MENTION=7247496]sgian217[/MENTION]

You requets is OT here. The thread is regarding the tool. Not how to modifty an app.

Bypass game server is a violation of legal rights.

[MENTION=954336]Ev0luti0n_[/MENTION]

Please read fine the first posts with application requirements.

The application is compatible with all Windows system (from XP to Windows 10).

Please describe with the details the error reported.
[Android Software Development] sgian217:
oh ok I see so I better stop doing it now
[Android Software Development] NeiPCs:
If you know answers reply here, don't ask user to send you PM to get help.

That's why we have a public forum.
[Android Software Development] KiakSvk:
I got this when trying to install framework:

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file

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

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

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:607)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:589)

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

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

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

Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000000

at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)

at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:292)

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

at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:212)

at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:154)

at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:116)

at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:78)

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

... 6 more

Solution? Can somebody help?
[Android Software Development] Josephigloe:
It's a marshmellow thing , ibotpeaches is working on a new apktool that will work with mm
[Android Software Development] BKhandual:
Best of the best tool so far...

But if you will add functions for unpacking/repacking boot.img, recovery.img kernel etc... It will be a great aio tool for modders.
[Android Software Development] bovirus:
[MENTION=6378823]BKhandual[/MENTION]

It's complete out of scope of this tool (decompress/recompress apk).

And for your request are already availble specfic tools. Please check and find

Carliv Image Kitchen - to decomrpess/recomrpess boot.img/recovery.img

http://xdaforums.com/android/development/tool-cika-carliv-image-kitchen-android-t3013658

Android Image repack

http://xdaforums.com/showthread.php?t=2600364
[Android Software Development] BKhandual:
i know that...what i was trying to say is to make this tool an AIO tool for modding android. Anyway....thank you very much for this tool..this helps me alot...
[Android Software Development] MrHellRider:
Really a great tool can anybody help me in how can we edit the FB lite apk to change colours and many more
[Android Software Development] ismael523:
W: Config flags size > 52. Exceeding bytes: 0x16662214.

W: Invalid config flags detected: string-mcc204-mnc4-ERR0

W: Config flags size > 52. Exceeding bytes: 0x16662214.

W: Invalid config flags detected: array-mcc204-mnc4-ERR1

W: Config flags size > 52. Exceeding bytes: 0x16662214.

W: Invalid config flags detected: bool-mcc204-mnc4-ERR2

When installing framework it gives me those errors. Anyone know how to fix it?
[Android Software Development] weirdgyn:
Hallo I need an hint... I just downloaded MultiTool to decompile and recompile an application that loads with the wrong screen orientation (portrait instead landscape).

I tought I could modify the AndroidManifest.xml and reinstall the app. and so I did..

I was ready to reinstall it when I noticed that in the first post of this thread there's a short Q & A that remarks to overwrite the 'compiled' AndroidManifest.xml file (plust META etc) with the original, decompiled, file to avoid bootloop.

I would like to clearly understand how to operate:

1) this issue have been outdated in current MultiTools release or it is still present?

2) the bootloop issue refer to the 'boot' of the application or the Android system?

3) since the compiled app is packed I have to unpack, overwrite files and repack it?

4) the message in the original post seems to refer to an application message or readme file present in the application itself but I haven't noticed such message or found a text file with this warning anywere in the Multitool application...

Best Regards,
[Android Software Development] weirdgyn:
Hallo,

I've copied framework-res.apk file from my device to the Framework-files sub folder:

If I try to install it I got this message:

"MySQL" non Š riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.

In english should sound like: "MySQL" it's not an internal\external command, an executable application or a batch file...

Looks like something is trying to run mysql from command line or something like that but I really cannot figure why.

BTW: file C:\Users\%USER%\apktool\framework\1.apk have been created.

Best Regards,
[Android Software Development] bovirus:
[MENTION=7276024]weirdgyn[/MENTION]

Please try to use DOS batch (control center) developped by me available in first post.
[Android Software Development] weirdgyn:
Same error.
[Android Software Development] bovirus:
[MENTION=7276024]weirdgyn[/MENTION]

Please post you framework-res.apk.

Its sems that is not a problem regarding AndrodiMultiTool.
[Android Software Development] weirdgyn:
here it is:

https://drive.google.com/open?id=0B-lPXYt7laDrV0VOSGtLazRfQTA
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

Pelase check downlaod repostitory.

It's availbel a version 3.5.9.

But if you download it and run it, it appear in the title as 3.5.8

Please update your tool with

- My updated DOS batch files

- Latest Android Build Tool (aapt) version fiels (v. 24.0.0)

- Latest Android Platform tool (adb) version files (v. 24.0.0)

- Latest version of apktool.jar

- Latest version of baksmali.jar

- Latest version of smali.jar

- Latest version of 7zip extra tools

For anyone I posted here (until you will update it) the version 3.5.8 updated.

https://drive.google.com/open?id=0ByL-fx0GbfuiQUdMdmdEakpGcU0

[MENTION=7276024]weirdgyn[/MENTION]

I copied your framework and installed it without errors.

Please download and test new DOS batch attached (replace the old one).

The folder for framework-res.apk files is "Framework-Files".

I suggest, to avoid misunderstanding, to rename any framework apk including device name.

Ex "framework-res-Jiayu-S3.apk" (without spaces).

If you have more framework-res.apk it's easier to identify it.
[Android Software Development] weirdgyn:
It doesn't seem to work much better:

** Framework-res list

Framework-res folder = Framework-Files

- 1 - framework-res.apk

Choose the framewoerk file - Enter it's number: 1

Framework-res selected = framework-res.apk

Calling framework.res installer with framework-res.apk

Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound

Exception: Files\framework-res.apk (Impossibile trovare il file specificato)

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

s.java:647)

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

s.java:592)

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

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

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

Caused by: java.io.FileNotFoundException: Files\framework-res.apk (Impossibile t

rovare il file specificato)

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

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

s.java:600)

... 4 more

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

---------- Post added at 02:13 PM ---------- Previous post was at 02:02 PM ----------

I did it! I needed to clean up some folder and to put the framework file in folder 'files' instead 'Framework-files' but now the framework is successfully installed in my homedir ...

---------- Post added at 02:30 PM ---------- Previous post was at 02:13 PM ----------

I successfully decompiled the .apk, (made some layout modifications on AndroidManifest.xml), recompiled it and signed ... but if I leave 'insert AndroidManifest.xml' option checked (as default), all my updates on AndroidManifest.xml file are obviously lost... and the resulting .apk is basically the same as the original.

Is it mandatory to keep this option checked?

Reading around I saw that 'keeping' the original manifest file is needed to avoid bootloops but this happen because of a misalignment on file signatures (if I'm not failing).

Does the apk 'sign' procedure avoid this? In other words may I leave the 'insert AndroidManifest.xml' option unchecked if I'm going to Sign the .apk?

Best regards,

Mike
[Android Software Development] bovirus:
[MENTION=7276024]weirdgyn[/MENTION]

Probably you are using something in the wrong way.

I tested it before to post it and my files now are in "Framework-files".

In the old batch was in "Framework" subfolder.

What's the scope to changes Android Manifest.xml?
[Android Software Development] weirdgyn:
I need to change the layout of an app that is forced in portrait mode and I will try to change it in landscape (I know it can lead to other malfunctions but I need to try).
[Android Software Development] Flextrick:
Thanks [MENTION=637263]bovirus[/MENTION]

I updated it again, check it out: https://drive.google.com/open?id=0B6-9-IIam8f-WFU5UTI2bTZVaE0

Cheers
[Android Software Development] bovirus:
[MENTION=3594560]lextric[/MENTION]k

What dio you think to remove version (now 3.5.8 - should be 2.5.9) from thread title?

I think that be useful.

AMT-start.bat is not necessary now. Was replaced by AMT.bat.
[Android Software Development] bovirus:
[MENTION=7276024]weirdgyn[/MENTION]

Thanks for the report.

I will update the batch file.

Could you please post the apk that you want to modify?
[Android Software Development] weirdgyn:
Of course.

Here it is: https://drive.google.com/open?id=0B-lPXYt7laDrSVBGUVJmb2JrX1E

---------- Post added at 08:26 AM ---------- Previous post was at 08:00 AM ----------

I did it. The apk have been recompiled and signed and it's running with the correct layout (landscape) right now.

I did also a warm restart of the device and it seems to me that it has no boot problems but I dont't know if it's really "booting" or not.
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

[MENTION=7276024]weirdgyn[/MENTION]

This the new batch file revided

Fixed ".. ket to continue."

Added option to get date about batch file and show it in the title. useful to check batch version.

[MENTION=7276024]weirdgyn[/MENTION]

I tried a more recent framework-res.apk and most off the error (except the latest) disappeared.
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

Update proposal

- Remove for thread title 3.5.8 (as version): It will be OK for any fitire version

- Post as first line in first thread info about version and date of latest release. Could be useful also a changelog of all versions

- Update your zip file of latest AMT with my latest DOS batch (and remove AMT-start.bat).
[Android Software Development] dewettie:
Getting the following error when trying to sign Kodi.apk downloaded from kodi.tv

No errors.Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

at java.util.Arrays.copyOf(Unknown Source)

at java.io.ByteArrayOutputStream.grow(Unknown Source)

at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)

at java.io.ByteArrayOutputStream.write(Unknown Source)

at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)

at java.util.zip.DeflaterOutputStream.write(Unknown Source)

at java.util.zip.ZipOutputStream.write(Unknown Source)

at com.android.signapk.SignApk.copyFiles(SignApk.java:405)

at com.android.signapk.SignApk.main(SignApk.java:473)

Microsoft Windows [Version 6.3.9600]

(c) 2013 Microsoft Corporation. All rights reserved.

and then the signed file doesn't get generated.
[Android Software Development] zelendel:
Increase the memory for the project. The error is right there in the first 2 lines. Basic fix.
[Android Software Development] dewettie:
I set the Java heap size to 1GB, 2Gb, 4GB in control panel but still get that error.

Is there an easier or different way I can try to fix it?
[Android Software Development] akram2009:
very goog my bro
[Android Software Development] Vikas Dhar:
Very nice tool.

Multitool is very nice software for android. Which devices can download from its official servers without any cost, And after installing this tool on your PC you can easily unlock your android device locks. So it’s a good opportunity for us to remove your a download android system locks easily.
[Android Software Development] Blodhgard:
Thank you for this useful tool!!!
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

Please update your package with latest apktool/baksmali/smali jar modules. Thanks.
[Android Software Development] CmDaRkShAdOw:
THANKS!!!
[Android Software Development] s_wheel:
[MENTION=4642185]Flextrick[/MENTION]

Please update your package with

latest apktool/baksmali/smali jar modules

. It's a very important for many users.

Thanks.
[Android Software Development] zelendel:
Do it yourself.
[Android Software Development] bovirus:
@ s_wheel

Latest beta apktool/baksmali/smali file

Latest apktool/naksmali/smali files

[MENTION=1140856]zelendel[/MENTION]

Not all user can able to compile apktool/bajksmalòi/smali jar file.
[Android Software Development] dewettie:
Is there a way to decompile SystemUI can keep the message id number strings after the text strings in the /res/values/*.xml files as in the source files?

I want to eg. add extra translations.

Because I can't use the recompiled SystemUI.apk in firmwares as it is missing the message ID's next to the strings in Android Lollipop.

The Settings.apk can boot without the message ID next to the strings in xml files and be recompiled but not the SystemUI.apk file.

Request: Maybe extra settings to compile/sign system and non system apps
[Android Software Development] masster64:
You call this a decent behavior from you as a moderator? s_wheel asked the author to do it. Why your aggressive answer??
[Android Software Development] zelendel:
This is a developer site. Not a support site. Never ask someone to do anything until you at least try to do it yourself first. This is one of the main reasons developers are moving away from this site. Things just like this. If you are not here to learn to do things on your own then you are in the wrong place.
[Android Software Development] bovirus:
[MENTION=1140856]zelendel[/MENTION]

This a fiorm. Not a developer site.

And not alld eveloper has teh same knowledge.

Just to reply do it yourself is not polite. Just reply if you can offer something otherwise tyou can also not reply.

I post it here to help others. Not to reply " do it youself".
[Android Software Development] zelendel:
Then you have no idea what this site is for. XDA was made for and by developers to help people learn to do things on their own. People being lazy is a huge part of the reason developers are leaving the site.

Have a look HERE

Then have a look at everyone that thanked the post. You will find just about the whole mod team and most of the developers from this site.

There are plenty of tut around on how to do things yourself. This is what this site is here for.
[Android Software Development] Bubba:
Damn skippy. I love that post. Hence why I attached a link to it in my sig. [emoji106]

Cowboy from Hell on a twisted trail.

Koffed From my Big Ass Outlaw Phone.
[Android Software Development] masster64:
[MENTION=1140856]zelendel[/MENTION]

You still don't get it. You had an unfriendly reply. Perhaps you need a holiday or some anger management classes to reflect on the philosophy of this open forum.. Trust me, no developer will quit this forum if it is asked nicely to update his software. I mean a normal developer will not think he is a sacred cow looking down at peasants.

Keep your head cool and restrain yourself from being a jerk. People expect more from a moderator. Exercise some modesty instead.
[Android Software Development] zelendel:
You dont get it do you. First I am nor here to make friends not am I friendly to people I do not know. This is not a social networking site.

You have to remember that this site is XDA-Developers.

You would be surprised at how many developers and things are no longer released outside of private talks because of things just like this. XDA is here top teach people to do things on their own. Plain and simple.

Now ask yourself this. Why do you think it is being ignored?
[Android Software Development] crashpsycho:
The reason you were told to do it yourself is because that information is ready and available all you have to do is simply copy and paste the new update to the appropriate folder. If you cant find it google search it simple as that.Now move off the subject people in this forum prefer to learn not see bicker complaints
[Android Software Development] Bubba:
Trust you? How many actual Developers do you personally know? I know quite a few that I speak with daily. Trust me when I tell you ... Developers ARE leaving this site. Releasing builds in controlled private chats as well as websites that they control. The reasons are many, but the majority of the reasons are "users".

When I say "users" I am referring to the people here on xda that come here to just take and take never giving back. Then they complain, *****, moan, and groan wanting more and wanting it at their pace (not the developers who actually have lives away from here and provide this to you free of charge).

Back not so long ago, people came here to learn, develop and give back. Now most people come here to make their phone cool.

Your attitude toward the Moderator won't get you far here on xda. No one owes you anything. If you can't do it for yourself, then you should wait patiently or learn to do it .

At least you're building your post count.
[Android Software Development] crashpsycho:
Thanks for this tool so far this ius the only apk tool that works for me that provides the smali folder without errors. I dont know if anyone can help or not or maybe a point in a direction for decompiling/recompling smali files so i can edit and make changes for my first custom rom so far i have the base of the rom. but im having trouble finding a good how to guide on baksmali and smali and what tool to use or even command line information. ive been looking for the past 2 two weeking and found snipets of info. anyone have a good how to?
[Android Software Development] Bubba:
If you are talking bout editing smali files, they should open with Notepad++ just like an xml.

If you want to learn and ask questions about smali Go Here [MENTION=3065070]Goldie[/MENTION] is an expert in it. Sadly, he is a developer that has moved away from xda. But there are helpful people there.

My experience with smali is limited. I only have used it to edit colors and a few other small things.

Hope that helps ya out and good luck with your rom.
[Android Software Development] crashpsycho:
Thanks I'll start there an work up every time I try to open smali file with notepad++ it says it can't open it but thanks for a starting place
[Android Software Development] zelendel:
If it cant open the files then it is corrupted and didnt decompile correctly.
[Android Software Development] Bubba:
Yeah that's really strange

Cowboy from Hell on a twisted trail.

Koffed From my Big Ass Outlaw Phone.
[Android Software Development] crashpsycho:
Your right notepad++ does decompile I guess the tool I was using before was causing an issue or I'm just an idiot I put more money on the idiot part
[Android Software Development] EasyGame7:
When I compile systemui the log says:

W: Could not find sources

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

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

Anybody can help? Sorry for my bad English!
[Android Software Development] bovirus:
[MENTION=6320953]EasyGame7[/MENTION]

It's just a warning. It's not an error.

There is no master English strings for text.

The app recompiled will work fine.
[Android Software Development] EasyGame7:
After edit one value in xml file, I compile apk file but the progress don't stop. Anyone can help?
[Android Software Development] :
Dont mind those warnings, its still successful
[Android Software Development] ttcontributor:
I experienced the same thing. The progress keeps going on nonstop
[Android Software Development] andriman:
Use the batch method. That will solve the problem.
[Android Software Development] Wyzp:
Can't compile framework-res, like others it just keep going and never compile, no error on log. At batch method it just give a lot of error when trying to compile. Any help ? Tried everything already.
[Android Software Development] mustafa ismail:
I have this massege and it not compil please help me

APK NAME = SecSettings

APKTOOL JAR = Program_Files\apktool.jar

SOURCE FOLDER = Decompiled_apk\SecSettings

DESTINATION APK = Compiled_apk\SecSettings-unsigned.apk

## Compiling Compiled_apk\SecSettings-unsigned.apk

I: Using Apktool 2.1.1

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:249)

at brut.androlib.Androlib.build(Androlib.java:261)

at brut.androlib.Androlib.build(Androlib.java:254)

at brut.apktool.Main.cmdBuild(Main.java:224)

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

Caused by: brut.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

105)

at brut.androlib.Androlib.readMetaFile(Androlib.java:245)

... 4 more
[Android Software Development] wiking76:
do you mean the file AndroidMultitool-batch.zip?

---------- Post added at 06:53 PM ---------- Previous post was at 05:59 PM ----------

me too

don't works
[Android Software Development] andriman:
Yes.
[Android Software Development] bovirus:
[MENTION=4642185]Flextrick[/MENTION]

What do you think to update the first post

- Removing version number (3.5.8) by thread title.

Please lave "[TOOL][WINDOWS] ANDROID MULTITOOL" (without version reference)

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

- Update 3.5.9 archive file with latest changes about

apktool.jar (2.2.1)

smali.jar/baksmali.jar (2.1.1)

7zip console (16.04)

Android platform Tools (15.0.3)

Android Build Tool (15.0.2)
[Android Software Development] felipegcoutinho:
Excllent work!

But I have a problem, I got a signed apk but it not install in my device.

Appear the error : "File corruped"

I read all post and cannot understand
[Android Software Development] bovirus:
[MENTION=6156300]felipegcoutinho[/MENTION]

Please post tehd etails like

- link of original apk

- operation that you did in details

- link to downlaod new apk
[Android Software Development] pritam dutta:
help please

Caused by: java.io.FileNotFoundException: apk\AndroidMultitool_3.5.9\AndroidMultitool\Framework-Files\framework-res.apk (The system cannot find the path specified)

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:600)

... 4 more

:crying::crying: what does it mean please why i cant decompile framework-res.apk