yashsingh1/xdaforums huggingface dataset:
[Android Software Development] raziel23x:
I Am taken a small break to work on my Motorola xoom stingray working on modifications and tweaks for it
[Android Software Development] raziel23x:
On a Side note I have not received a single donation in the past 2 years for my work on this application and it is just depressing since I have made so many improvements and added requests for new features yet all i get is fix this add that. So for now I am working a project for my device I actually use and taken a break from this since I am burned out with ask the changes and bug fixes I will start back in about the first full week in June
[Android Software Development] sga999:
Sorry you are feeling depressed about this. I'm sure people are appreciative, but they don't think much about contributing. I guess if I had asked you for lots of new features, I would have considered it, but mostly, I've been looking at your script and telling you about fixes to it. (I did ask about support for .jar files, but I was able to do that by just pretending it was a .apk file).

I can see how you would be disappointed. There are plenty of people who don't read your instructions or really try hard at all to find a solution before bothering you. I guess you have to have tough skin!

You should work on your device, as you said, get yourself in a good frame of mind, and not worry about this! I've already changed the for-modding to for-signing in my own script, so I'm fine. I'm just trying to help you.
[Android Software Development] raziel23x:
your fine you actually contribute to the application by submitting fixes and such it is the others I am taking about
[Android Software Development] metalfan78:
I actually just started using this tool. It definitely makes things easier. Thanks for providing it. I still have a lot of reading to do and I plan on donating soon.
[Android Software Development] metalfan78:
I have a question maybe someone can help with. I searched and couldn't find a straight answer. I'm working on switching out some sounds. I have a sprint gs3. The ogg files I'm switching are in seccontacts and gallery. I want to be able to post these modified system apps for others to use. Since I just started modding I'm not quite sure what to do. I have them decompiled, modded, and recompiled. Any tips or advice would be appreciated.
[Android Software Development] fne02:
How to set compression level to 0 in APK-Multi tool? Thnx.
[Android Software Development] sga999:
Please do not copy the long OP when posting.
[Android Software Development] metalfan78:
I follow the instructions exactly for modding a system app but I keep getting fc's. Any tips would be great
[Android Software Development] raziel23x:
Please do not ask questions such as this when the answer to the question is plain as day when you actually read the option menu
[Android Software Development] Buleste:
I'm trying to decompile HwIME.apk from a Huawei U8350 stock ROM but it won't decompile. This is what I get in the log.

java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:540)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:76)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:68)
at brut.androlib.Androlib.getResTable(Androlib.java:51)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
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:219)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:179)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:167)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:133)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:108)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more

I have attached the apk and an adition apk from the Framework folder of the phone.
[Android Software Development] M_J_Nazari:
you have one item that defined on 2 places.

open the /res/values/ids.xml

check line 181 and line 384 . it seems these 2 lines are the same, remove one of them.
[Android Software Development] JovieBrett:
OMG! after 3 days of suffering from that error, I successfully recompiled it now! Thank you so much! I love you :good:
[Android Software Development] pauldiddy:
when decompiling the latest gmail,I always get this:

java version "1.7.0_21"

Java(TM) SE Runtime Environment (build 1.7.0_21-b11)

Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Graf Pichler\apktool\framework\1.apk

I: Loaded.

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=internal, name=layout_maxHeight, value=0x00004001

W: Could not decode attr value, using undecoded value instead: ns=internal, name=layout_minHeight, value=0x00004001

I: Decoding values */* XMLs...

I: Done.

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

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

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

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

at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)

at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)

at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)

at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)

at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:64)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:98)

at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:102)

at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)

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

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

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

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

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

used the stable release of apk tool and installed the latest framework
[Android Software Development] raziel23x:
Please report here

http://xdaforums.com/showthread.php?t=1755243

This is a apktool.jar issue not a APK multi-tool issue
[Android Software Development] pauldiddy:
ah,ok.I am sorry.thanks for your help and your awesome tool
[Android Software Development] raziel23x:
Yea sorry I have no control of the source.
[Android Software Development] abo hani:
please i had this problem !! pliz help me !! i tried apk tool and i had the same problem + i formated the computer because i think the problem from the computer

see the log
[Android Software Development] raziel23x:
There is spaces in the file name.

remove the spaces and it should work
[Android Software Development] abo hani:
thanx its work !! :laugh::laugh:
[Android Software Development] dydbg:
I have a little problem.

I want to translate an app to my language for personal use.

I am decompiling the app with 9 and then I create the new "values" folder for may language. I put in it the translated strings.xml file.

After this I press 12 for compile.

The problem is that after installing the app the language is not there.

APK-Multi-Tool doesn't add the new folder to the apk file.

What I am doing wrong. Please help me.
[Android Software Development] JovieBrett:
I cannot decompile SystemUI.apk from CM10.1 ROM, I installed the Framework-res.apk from Setup.bat because as what I've seen on the error, it tells that Framework-res.apk is needed to be installed in order to decompile SystemUI.apk and still, it ends up on this error. But I'm wondering when I install framework-res.apk, it always ends up installing in Users/Name/Apktool/framework/1.apk

Is it that normal to be installed on that path?

Btw, here's the error log:
[Android Software Development] Ryuinferno:
Yes, that's normal to be renamed as 1.apk...you face that error because you have spaces in one of your folder's name...
[Android Software Development] JovieBrett:
Oh I'm so sorry haha, actually I misunderstood what have you told me about the spaces that needs to be remove so for a clearer understanding, I reread the instructions on the first post for placing and installing the apk multitool package and I realize that it should be in the ROOT of the directory, stupid me -_- and I tried to decompile it, it worked! Thanks a lot for helping me! :*
[Android Software Development] Ryuinferno:
You had spaces on the "Decompiling and Compiling tools" folder...
[Android Software Development] JovieBrett:
Yaah! thanks!
[Android Software Development] jigarmpattani:
Try This.

After make changes as you need press 11 for system app compilation.

den DON'T press Y for KEEP folder option, Press N.

den you can sign by option 13.

Try this,It may work.

Thank You.
[Android Software Development] bovirus:
[MENTION=3562440]dydbg[/MENTION]

You have to leave untoched the value fodler.

Then create a new folder called "value-xx" (where xx are the letter of language name. ex. values-it for italian).

Make a copy of the strings.xml file (from value folder) into values-xx folder.

Edit the strings in strings.xml file in values-xx (using a compatible editor like Notepad++)

Then recompile the apk and you will have you app multilanguage
[Android Software Development] ibshar:
Thanks for the application man!
[Android Software Development] raziel23x:
Pushed two new commits to github check out the github page for the updated as I have not added them to the change log
[Android Software Development] skyx26:
Hi raziel23x, I'm trying to repack an APK but when I choose option 12 I got this error

|12/06/2013 -- 13:39:33,67|

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

java version "1.7.0_09"

Java(TM) SE Runtime Environment (build 1.7.0_09-b05)

Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

I: Checking whether sources has changed...

I: Smaling...

[1095,15] Error for input '<': Invalid text

[1095,21] Error for input '>': Invalid text

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: C:\Downloads\android\APK-Multi-Tool\other\..\projects\SomeProject.apk\smali\com\google\android\vending\expansion\downloader\impl\DownloadThread.smali

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)

at brut.androlib.Androlib.buildSources(Androlib.java:214)

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

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

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

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

The weird thing is, I have unpacked, modify, and repacked this APK yesterday without problems and now I can't repack it.

How I can solve this???
[Android Software Development] raziel23x:
Experimental Build updates

Multiple updates to add support for more devices

Added Support for pulling the needed files to install the dependencies for

all mediatek chipset Devices.

Added Support for pulling the system/framework/framework-miui.apk file

to install for All MIUI ROMs that may require it

Fixed some mistakes when I added some more devices to the setup.bat

Minor changes to the UI in the setup.bat to make room for more in the

future releases
[Android Software Development] hara74:
first I wanna thank you for this great tool :good:

I always use it to build my themes ;)

but I have one question,

I use v1010

and I wanted to update this tool,

but I downloaded all three of the OP, and I don´t which one to choose :confused:

I saw in changelog there´s a 1012 and also the v2,

what is the difference between this two,

or should I work with the last stable release

go ahead with this awsome tool and thank u for ur answer in advance

greetings

hara
[Android Software Development] raziel23x:
Use the experimental build I did a update yesterday
[Android Software Development] hara74:
thanks for ur quick reply

I'll use it ;)

sent from my G-Note
[Android Software Development] c_shekhar:
May I invite attention of the expert here?
[Android Software Development] Ryuinferno:
Did you check the files specified in the log? They might have extra characters produced when decompiling...common apktool bug...
[Android Software Development] roflloler:
I've a question about the compression levels for apk and resources.arsc:

whats the effect of changing them? (I don't mean the size of the apk!)

1) I wonder if it makes a difference while running the apps on my phone?

2) Are apps loaded faster/slower when compression is lower?

3) Is there a difference in the efficiency while excecuting them?
[Android Software Development] Chirag_Galani:
Help

Hey guys,

I am facing the following error. Please help...

java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-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\Ch@m\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-nodpi-v8-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-v8-ERR1
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: drawable-hdpi-v8-ERR2
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080a80
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080a81
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010806fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010808d6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080a80
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0104066e
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValueExt(ResScalarValue.java:86)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:55)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlItemValue(ResScalarValue.java:48)
at brut.androlib.res.data.value.ResArrayValue.getType(ResArrayValue.java:74)
at brut.androlib.res.data.value.ResArrayValue.serializeToResValuesXml(ResArrayValue.java:50)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
[Android Software Development] raziel23x:
TODAYS UPDATES

BINARY UPDATES

Using the latest Master Branch of APKTOOL SRC and LATEST AAPT Builds from https://github.com/iBotPeaches/Apktool
[Android Software Development] JustArchi:
Hey.

Thank you so much for such awesome tool.

I'd like to request one feature. At the moment your awesome tool uses roptipng. It is based on OptiPNG from version 0.6.3. Could you perhaps change old roptipng to newest optipng ( http://optipng.sourceforge.net/ )? I know that roptipng works recursively but I bet it's not a problem for you to make some little changes and execute optipng for every .png instead of roptipng for a directory :).

And if you want to ask why then it's really simple. It includes newer algorithms for compression, newer libraries and some security fixes. TL;DR - it's better :o

Thanks!

EDIT:

Nevermind for now, your Linux version uses optipng as a standard so I can easily replace it by newer version :). But I think that it's a nice to do so anyway!
[Android Software Development] RedSkyRoad:
Could someone help me:

I've installed Java, set the path, made sure there is no spaces in the path string but it still does not detect.

Found solution : Clearly sub-folders are not automatically included in the PATH string
[Android Software Development] c0rsaro381:
hello to all. I have this problem with apktool.

I can not decompile a specific framework. others can decompile but not this and this error message:

could you help me?
[Android Software Development] JustArchi:
Try to firstly use apktool if framework-res.apk
[Android Software Development] raziel23x:
Updated README

ADDED Other Manuel options by added two other help document types in case there is a compatibility issue with any of them

Updated the keep folder options of all the compilers which use the keep folder

Went through the main script and done some spell checking and rewrite some parts for grammar issues.

I am working slowly on making some more changes improving areas of the script and perhaps adding in new options

I also have a app on the android google play store called APK Multi-Tools Mobile Blog this is my android version of my Online Blog as well as it has a Online Manuel which is only accessible through the application right now until i can get some things set up before it being accessible on any device or pc mainly it is a domain issue which once cleared up i will fix be able to fully release its url
[Android Software Development] Simoleon23:
Batch optimization not working...

Hi,

The batch optimization in the latest stable build doesn't work. It requires user intervention for ever process. Am I doing something wrong or what? Please help me out, thank you.
[Android Software Development] raziel23x:
stable build is broken is not updated very often always use the experimental builds
[Android Software Development] Simoleon23:
I'll try out the experimental build, thank you.
[Android Software Development] Simoleon23:
Where do you put the apks for batch optimization in experimental build? I moved the apks to the batch optimization folder but it doesn't work. What I am I doing wrong?
[Android Software Development] ashinh:
1.0.11 worked fine on my comtuper except for installing new system files(framswork、systemUI........)to compile new system apks.Strangly I can compile/decompile them with old system files installed.

Now I am trying to use the experimental version.When I run setup.bat,the window comes up and then disapears soon.

The log is full of

'de' is not an internal or external command,executable program or bat...

't' is not an internal or external command,executable program or bat...

'errorlevel' is not an internal or external command,executable program or bat...

..

.

I can't finger out what is the problem.any help?
[Android Software Development] raziel23x:
Thanks for the report I now have a report that helps me troubleshoot
[Android Software Development] raziel23x:
For though who do not know I have been on medical leave on short term disability which means my paychecks have been cut in half due to a spinal injury which I go seen the spinal surgeon august 6th. I been out on medical leave since the last week of may. On top of this my wife's mother passed away June 17th. She did not have life insurance so me and my wife have to pay out of pocket and some how have to come up with 4 grand plus car payment and utilities by the end of this month which two grand of this is so we can pay so we can claim her ashes. Plus I lost my other two jobs because I can't work or else I would not be worried but because my main job pay is only half of what it is normally and the income of the other two jibs are completely gone that leaves my wife's income which is only around 800-900a month I was bringing in around the same thing with all my jobs because my main job was where my health insurance came out which is 1200 a month for me my wife and son and my mother n law was paying 900 a month as well but now her passing away we are trying to disperly get by until I can go back to work. It would not so bad if we did not have to pay the 2 grand to pay for the funeral but because of that we are at a loss to what to do.

On other news

I will try and fix this last reported issue today
[Android Software Development] sga999:
So sorry to hear about your spinal injury...and everything else that is going on for you. Stay strong. We are all thinking good thoughts for you.
[Android Software Development] camaro1173:
Hi all I have a most nube question of all, I have been using the older versions for quite some time know and I just got back into playing around with APKs and what not, I am having a problem right off the bat in the OP it says how to install APK multi tool,

" Run the installer and make sure it is pointed to the root of hard drive

Example

C:\APKMultiTools\"

when I download the zip file I extract it and I find no installer am I missing something?

Any help is welcome and I thank you in advance for any ones help.
[Android Software Development] raziel23x:
Now you manually create the folder and extract the zip file into
[Android Software Development] dhirend_6d:
Hmm. Ohk I was using APKManager till now, trying to switch to APKMultiTool.

Why can I not install framework-res.apk even after keeping it in "other" folder?? O__O

I have to use "apktool if framework-res.apk" to install it.

So Java 1.7 is not supported?? That s why getting so many errors while signing.
[Android Software Development] min0rity:
Getting error when trying to re-compile framework-res.apk heres my log

|Sat 07/13/2013 -- 16:56:40.54|

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

java version "1.7.0_25"

Java(TM) SE Runtime Environment (build 1.7.0_25-b17)

Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Could this be an issue with java 1.7.0_25 on win 8?
[Android Software Development] J0KER!:
one little question. when i try to recompile with the keep folder option my modded png files are not in the final decompiled apk

i did it like its in the advice to delete the modded files in the keep folder. in my case in /res/drawable hdpi.

but after recompiling the files are not there.

help please
[Android Software Development] bovirus:
[MENTION=1436418]min0rity[/MENTION]

Plase try with JDK 1.6.xx