yashsingh1/xdaforums huggingface dataset:
[Android Software Development] gho5t82:
Ahh I figured out it cant recompile system apks. But I also tried to change the app icon on google chrome but it didnt stick. Did I do something wrong?
[Android Software Development] Flextrick:
Let me clear you up about the freezes:

If you recompile your apk and some resources were not found it freezes. Then you can close the program, it won't finish.

For normal it should give you some errors, but should not freeze.

I'm working on a fix!
[Android Software Development] droopyar:
Is it compatible with windows XP?
[Android Software Development] Flextrick:
no, i'm sorry
[Android Software Development] J0YU:
You also need to install both framework-res.apk AND SemcGenericUxpRes.apk (also found in /system/framework folder).
[Android Software Development] :
are you planning on a windows xp version? My computer dual boots both 7 and xp but I love xp
[Android Software Development] Kalpit Nathwani:
Hi

I am trying to compile framework-res file but getting below error can somebody tell me what I am doing wrong.

[Log appears after installing framework, compiling, decompiling, or signing]Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\AndroidApktool>cd C:\AndroidApktool\Program_Files

C:\AndroidApktool\Program_Files>apktool b C:\AndroidApktool\Decompiled_apk\framework-res

C:\AndroidApktool\Program_Files>move "C:\AndroidApktool\Decompiled_apk\framework-res\dist" "C:\AndroidApktool\Compiled_apk\dist"

C:\AndroidApktool\Program_Files> REN "C:\AndroidApktool\Compiled_apk\dist" "framework-res"

C:\AndroidApktool\Program_Files>W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

C:\AndroidApktool\Decompiled_apk\framework-res\res\anim\activity_close_enter.xml:8: error: Error parsing XML: junk after document element

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Sony\AppData\Local\Temp\APKTOOL2564332266941421289.tmp, -x, -0, arsc, -S, C:\AndroidApktool\Decompiled_apk\framework-res\res, -M, C:\AndroidApktool\Decompiled_apk\framework-res\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)

at brut.androlib.Androlib.buildResources(Androlib.java:283)

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

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

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

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Sony\AppData\Local\Temp\APKTOOL2564332266941421289.tmp, -x, -0, arsc, -S, C:\AndroidApktool\Decompiled_apk\framework-res\res, -M, C:\AndroidApktool\Decompiled_apk\framework-res\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\Sony\AppData\Local\Temp\APKTOOL2564332266941421289.tmp, -x, -0, arsc, -S, C:\AndroidApktool\Decompiled_apk\framework-res\res, -M, C:\AndroidApktool\Decompiled_apk\framework-res\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)

... 6 more

The system cannot find the file specified.

The system cannot find the file specified.

Thanks

Kalpit Nathwani
[Android Software Development] Flextrick:
checkt the line 8 in activity_close_enter.xml
[Android Software Development] LasVegasRomeo:
I been getting these errors since i upgraded to the new version and tried solving my problem. But with no luck, thought to finally ask. So when you get a free min can you take a look at my log please and give me some advice. I have everything installed correctly sdk,jave,apktool, and followed instructions down to the bone. Anyways I included framework and two app logs in the attached file. Cm framework doesn't throw any errors on installing but still the same sorta errors on the decompile & compiling, every framework is similar. Thank you sir!
[Android Software Development] mongo41:
This tool is a God send...lol. It really makes modding apk's idiot proof. Tried it out on the T-Mobile note 2 and worked like a charm. Sure does make themeing alot easier. Thank you so much for this.

---------- Post added at 07:45 AM ---------- Previous post was at 07:40 AM ----------

Do you wanna send me your framework-res.apk and the apks your trying to mod to see if I get the same errors?
[Android Software Development] DaRk-L0rD:
[MENTION=4642185]Flextrick[/MENTION] bro, i have a strange issue. I am able to recompile almost all apks from sony xperia T but not the SemcDlna. When i decompile the apk everything works fine, but when i recompile it, i have 10 minutes and after that apktool freezes. Any idea why? Thanks in advance :)
[Android Software Development] LasVegasRomeo:
Ok, just walked back in the door. I loaded them up on my dropbox. Im on uXYLON 4.2.2 commin from Pac and issues as well. Also currently win 8 & have the x64 adb package and both x64 & x86 JDK. If all good on your end then prob somewhere else bc i have tried both x86 & x64 set ups and no luck really with doing system apks. Thanks

Framework Files
[Android Software Development] Flextrick:
then some resources are missing, you have to install them propably.
[Android Software Development] DaRk-L0rD:
Since i don't know much about this stuff bro, could you explain me?
[Android Software Development] Flextrick:
There is the Sony xperia framework which has to be installed before de- or recompiling Sony apps.

Gesendet von meinem Nexus 7 mit Tapatalk 4
[Android Software Development] iRoNX:
C:\Apk_Multitool_2.0\AndroidApktool\Program_Files>'java' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the file specified.
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

What is it that!?

I can't open framework or apk!!
[Android Software Development] Flextrick:
Propably you have not installed Java...
[Android Software Development] iRoNX:
Yes I have
[Android Software Development] mongo41:
tried both frameworks and no issues istalling, decompiling or recompiling.
[Android Software Development] sean.trinidade:
Have you configured Java in your path variables?
[Android Software Development] iRoNX:
No I don't.

I just follow the instructions on first post

How can I configure Java in my path variables? And what is the path variables?
[Android Software Development] LasVegasRomeo:
Set PATH to JDK on Windows 8

ex:

Control Panel->System->Advanced>Environment Variables->Edit Path Variable and add "C:\Program Files\Java\jdk1.7.0_25\bin "& "C:\android\adt-bundle-windows\android-sdk\platform-tools” into the Path Variables. Remember to put the [ ; ] before & after each with no spaces.
[Android Software Development] MBariya:
During signing of apk, I am selecting path from compiled_apk folder. But it gives error.

If I put apk to files folder, then it work and creats signs apk.

Is it normal?

I think it's file selection having problem.

sent from my GT-N7100. Press thanks if I helped..
[Android Software Development] Flextrick:
No, it's normal. but i can integrate, that you also can select an apk from the compiled_apk folder.
[Android Software Development] iRoNX:
Thank you! do the task.

Now I have to be able to find the value of money in asphalt 8 ..

This will be a challenge! haha if anyone has some advice .. I'm here to learn :)
[Android Software Development] ewoks:
win7 update

any clue when win7 version will be updated?

p.s. side effect question: how many developers are actually using win8?! it is too crappy in my opinion..I was surprised that developer made win8 version at all..
[Android Software Development] MBariya:
Try win8 version on win7. It works for me. No problem.

sent from my GT-N7100. Press thanks if I helped..
[Android Software Development] gius321:
cant do it , any program missing?

Winows OS 7 / 8

Installed Java on Windows

Installed Microsoft Powerpacks

Installed .NET framework installed this 4 ...

[Log appears after installing framework, compiling, decompiling, or signing]Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\AndroidApktool>cd C:\AndroidApktool\Program_Files

C:\AndroidApktool\Program_Files>apktool if C:\AndroidApktool\Files\framework-res.apk

C:\AndroidApktool\Program_Files>'java' is not recognized as an internal or external command,

operable program or batch file.

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\AndroidApktool>cd C:\AndroidApktool\Program_Files

C:\AndroidApktool\Program_Files>apktool d C:\AndroidApktool\Files\SystemUIPreferences.apk

C:\AndroidApktool\Program_Files>RD /S /Q C:\AndroidApktool\Program_Files\SystemUIPreferences\smali\com

C:\AndroidApktool\Program_Files>move "C:\AndroidApktool\Program_Files\SystemUIPreferences" "C:\AndroidApktool\Decompiled_apk\SystemUIPreferences"

C:\AndroidApktool\Program_Files>java -jar baksmali.jar -x C:\AndroidApktool\Files\SystemUIPreferences.apk -b -o C:\AndroidApktool\Decompiled_apk\SystemUIPreferences\smali

C:\AndroidApktool\Program_Files>'java' is not recognized as an internal or external command,

operable program or batch file.

The system cannot find the path specified.

The system cannot find the file specified.

'java' is not recognized as an internal or external command,

operable program or batch file.
[Android Software Development] ewoks:
Thanks for the tip! ;)
[Android Software Development] sean.trinidade:
You need to add Java to your Path variables. You can either google this, or check a few pages back which has the link to instructions.
[Android Software Development] LasVegasRomeo:
with everything in place still puzzled why i am getting this. I dont get it with the cm framework but every one i have tried get it. Even with cm not throwing errors, it still doesnt dompile system apps correctly and hit or miss on user . Just going do a system refresh and start fresh. Installing on my old 32bit labtop in mean time and see if i can get everything going on that. ugh x64! lol Let me know if any ideas on this. Thanks for your time.

[Log appears after installing framework, compiling, decompiling, or signing]Microsoft Windows [Version 6.2.9200]

(c) 2012 Microsoft Corporation. All rights reserved.

C:\AndroidApktool>cd C:\AndroidApktool\Program_Files

C:\AndroidApktool\Program_Files>apktool if C:\AndroidApktool\Files\framework-res.apk

C:\AndroidApktool\Program_Files>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

W: Config flags size > 36. Exceeding bytes: 0x2000000.

W: Invalid config flags detected: drawable-xhdpi-v8-ERR3

I: Framework installed to: C:\Users\Scott\apktool\framework\1.apk
[Android Software Development] spiderio:
awesome...!! now modifing apk is so easy
[Android Software Development] rakeshbro:
Not working for me tried on both win 7& 8

Installed Java on Windows 32 7 64 bit

Installed Microsoft Powerpacks

Installed .NET framework 4.5

Any solution?

Edit :

Working Now!!!!!!! Thx for the tool. :* :D
[Android Software Development] LasVegasRomeo:
Edit

Sent from my Samsung Galaxy S 4 using Xparent Skyblue Tapatalk 2
[Android Software Development] Flextrick:
Hello,

Good news: I think I finally fixed the freezes! I'll release the new version at once with the Win7 version soon.

Regards
[Android Software Development] :
What does copy the android manifest.xml and meta-inf folder after compiling? Theres no meta-inf folder in my apk and if I copy the android manifest.xml wont i have to recompile?

---------- Post added at 07:42 PM ---------- Previous post was at 07:28 PM ----------

version 2.1 awesome!!!

---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------

try uninstalling current java, restart, and install java se
[Android Software Development] gius321:
hello

what did u do ? i have installed everything but still not working...
[Android Software Development] sean.trinidade:
did you update your PATH variables as I mentioned to you in my previous post? Or are you now having a different issue?
[Android Software Development] rakeshbro:
Install JDK: (Java Development Kit).
[Android Software Development] darkn3ss1:
problem

i have a strange problem..

i have decompiled MiuiHome.apk (the launcher of roms MIUI) for adding new grid size..

i've modded in the folder values-xx (xx=languages es. values-it) the file array.xml and add 5x5 and 5x6 grid size.

I copied this strings from folder "values" and without mods i have possibility to set 5x5 and 5x6 in english languages, my intent is correct this bug on other languages.. but when i recompile the apk i receive errors in the log.. on folders named drawable-largeui-xhdpi, with string "largeui" inside title show me errors..

i've deleted this folders (for my Glaxy Note II this resolution not necessary i think) and recompiling done!

At this point from old apk i've copied in the new apk (with 7zip) manifest and e meta-inf folder.

Putted the file to the phone in the system directory and rebooted.. load the launcher correctly but without modified files!! WHY??

Same thing on the file MiuiSystemUI.apk, i've modded some things but nothing appear.

I'm confused.. :confused:

anyone have a suggest for my problem??

*sorry for my bad english :cyclops:
[Android Software Development] Flextrick:
Android Multitool 2.1

Update! I finally fixed the freezes. It should decompile well now ;)

Changelog:

v2.1:

fixed freezes

bigger UI for better overview

option to save log to a text file

other small fixes

Downloads:

http://www.mediafire.com/?3xc18gs3we9gt8h (Win8)

http://www.mediafire.com/?5aby5m5zh9vj1h9 (Win7)
[Android Software Development] :
how do I recompile, i dont fully understand the instructions given:crying:
[Android Software Development] DaRk-L0rD:
After you did all the changes you want in the decompiled file, open AndroidMultitool.exe and from the Compiling menu navigate using the ....

to the folder you previously decompiled. Clicking on the ... will pop up a small windows. Go AndroidMultitool->Decompiled_apk and click on the main folder of the apk (for example if the file you decompiled was Settings.apk, click on Settings folder).

After that, from the main AndroidMultitool folder, go to Compiled_apk and open for example the Settings.apk. You will see some files inside it like Androidmanifest.xml, res etc.

Go to the original Settings.apk file and just drag n drop the AndroidManifest,xml and the META-INF folders in the apk you compiled (META-INF is missing on the apk created by you and you have to replace the AndroidManifest.xml also)
[Android Software Development] papikev:
Settings.apk

delete
[Android Software Development] DarkAngel:
Hello everyone, I have been trying to decompile an apk with no luck. I have tried every means that I can think of that is needed to run the Android Multitool but it just wont work. I need to read up to do this in Ubuntu Linux. It seems this is the only way I am able to connect to my phone or tablet via ADB. I even went as far as updating the paths to the files needed in the C: drive and still no dice. I have attached a document with the log I keep getting just in case you or someone here can point me in the right direction before I go into the actual thread for the Android Multitool.

I get this when loading the framework-res.apk to check for errors. Am I missing another apk?

Sorry can't show the logs again in this thread, not at home but please check this post where I posted them:

http://xdaforums.com/showpost.php?p=45521314&postcount=1642

==============================================================================

Also just a thought as I was reading a GUIDE in the University..... I stumbled on this post dated 25th July 2013 though....:

I do have the lastest JRE 7 installed. I will give JRE 6 a shot and see if that does it. Could that be my issue?
[Android Software Development] Flextrick:
No, your Path is wrong. Did you extract the whole AndroidMultitool folder to C:\?
[Android Software Development] DarkAngel:
Yes. At first I extracted it in the "Program Files" folder but then tried it in the C:\ as well. Kept telling me the same. I even went as far as adding the Path variables.

I did notice something though. I did not see ADB or FASTBOOT added in the Path variable. Would this have something to do with me not being able to connect or for it to recognize my devices when I try and connect via ADB in BOOTLOADER?
[Android Software Development] Flextrick:
No, not the program files folder, you have to open the zip and extract the first folder you see. It's the AndroidMultitool folder above the HowTo.txt.
[Android Software Development] darkn3ss1:
Have you installed Java Platform (JDK) 7u40??
[Android Software Development] DarkAngel:
I did extract the folder. It's the only one in there.

Yes
[Android Software Development] Flextrick:
But it's not called Program_files
[Android Software Development] darkn3ss1:
hum... not..

you have to install this http://www.oracle.com/technetwork/java/javase/downloads/index.html

Java SE Development Kit 7
[Android Software Development] slink722:
[MENTION=4642185]Flextrick[/MENTION], sir im new here, i just want to ask what does this mean ( see my attachment )
[Android Software Development] Flextrick:
It means you have not installed java, mostly JDK.
[Android Software Development] naiponnoi:
Where is smali checkbox? Is it the same as "use baksmali" checkbox?
[Android Software Development] Flextrick:
The smali checkbox was in pre versions. In Versions since 2.0 it's replaced by the jar/apk radio buttons.
[Android Software Development] DarkAngel:
I know it's not. There are only two items inside the zipped document, the txt document and the AndroidMultitool folder with everything inside it. Sorry if I may have not been clear when I wrote it.

I first tried extracting the "AndroidMultitool" folder that's zipped in the zipped document to the "Programs Files" folder located in the C:\ drive of my computer, that didn't make it work. I then deleted the extracted "AndroidMultitool" folder and extracted it once more to the C:\ drive itself with no luck as well.

I am pretty sure I DL that one and installed it as I read several other threads advising of the JDK and not the JRE. That's why I asked about the JRE 6 though. I will have to double check as soon as I get home. I have all the documents & files that I downloaded in a specific folder as I save everything I do for future reference or for my other computers.
[Android Software Development] Flextrick:
It has nothing to do with java. There is something else wrong. The log says that it did not find the path "C:\Program". I don't understand.. why program? You have to pick an apk from the files folder inside the AndroidMultitool folder.
[Android Software Development] DarkAngel:
Yup, and I do. I have two in the AndroidMultitool folder actually, the framework-res.apk and a SystemUI.apk I wanted to mod ( from my nabi2 ). Wait, I have to check on one thing when I get home. I know my computer shows two folders for the "Program Files". One as "Program Files" and one as "Program Files (x64)". I would of course extract the AndroidMultitool in the 64 folder as I am running 64 bit system correct? But then again it shouldn't matter at this point now because I have downloaded all the required programs for my current 64 system as I have already tried it on the C:\ drive ....... this is strange.

Well, I did download the right one. It's in my folder.

=========================

Okay....... nevermind. I guess the APK's had to be in the "Files" folder in the "AndroidMultitool" folder. I remember seeing that they had to be placed in the "AndroidMultitool" folder directly and no where else. I just saw that from my error log lol. It has found the framework-res.apk and also decompiled my SystemUI.apk as well in the "Files" folder. Thanks again for both your help. I hope the rest goes smooth.
[Android Software Development] umer936:
Hello,

I am unable to get this tool to run. I extracted the Zip, then tried to open the .exe and I got this error:
[Android Software Development] LasVegasRomeo:
umer936, did you extract it and move the AndroidMultitool folder with the contents to c:\ , then try running it ?

Sent from my Samsung Galaxy S 4 using Xparent Skyblue Tapatalk 2
[Android Software Development] XEROling:
recompile odex apk

Nice Tool, But I have a problem:

When I want to recompile odex apk (I want to recompile SystemUI apk) The multitool becomes not responding!!

more info:

I'm win8 user

I'm using multitool

v2.1
[Android Software Development] Flextrick:
Is it an 4.3 apk?
[Android Software Development] MBariya:
This is pc window tool for apk modification. Not for phones.

sent from my GT-N7100. Press thanks if I helped you...
[Android Software Development] XEROling:
No it's 4.1.2 JB apk (this apk is systemui.apk for galaaxy ace 2 i8160)
[Android Software Development] Flextrick:
Sorry, wrong thread.
[Android Software Development] JohnHK:
This tool is really useful, but look in this screenshot at the UI in v2.1 on windows 8:

Can you fix that please? :o
[Android Software Development] Flextrick:
I think that's the Win7 version.
[Android Software Development] T LEONARDIS:
hey everyone ! tried running app but doesnt start up. located on c:\ and also pasted res apk into files but nothing when i run exe ??

thanks in advance :D

UPDATE...DISREGARD ABOVE ! STUPID ME DIDNT INSTALL POWERPACK GRRRR :D
[Android Software Development] Flextrick:
.... like many others :D

Should start a FAQ..
[Android Software Development] Flextrick:
Hello,

There were 13500 Downloads till now, that's pretty good and I think there is enough ask for this tool to ask you the following:

Are there any wishes for new features of the tool? Please tell me and I'll decide if I'll integrate it or not.

Regards
[Android Software Development] LasVegasRomeo:
Good job on the success. Besides possibly a dark UI, maybe an option to make a flashable zip would be a cool & very useful feature for those doing system apps. I think its great how is, but just throwing it out there. Thanks again for the tool!

Sent from my Samsung Galaxy S 4 using Xparent Skyblue Tapatalk 2
[Android Software Development] Flextrick:
Yes, or something like pushing with adb. Just klicking a button and the app will be pushed to /system/app and maybe adding an option to reboot the phone after this.

I'll look at this!
[Android Software Development] LasVegasRomeo:
If there was a folder like the files etc with the flash able template in it where your able to just past the app then just hit a button to build it. Adb is always good also, good call!

Sent from my Samsung Galaxy S 4 using Xparent Skyblue Tapatalk 2
[Android Software Development] Flextrick:
Yes I'll do one of those things, would be very useful, I think.
[Android Software Development] Ty5982:
great tool

I was always getting errors when recompiling,so I installed com.htc.resources aswell,all works perfectly now,thanks a lot;)
[Android Software Development] Flextrick:
Nice.. yeah resources must ever be installed. :)
[Android Software Development] forest1971:
Hi: Can you help make a version for the old win XP please? I am still running this OS.

Thanks a lot!
[Android Software Development] Flextrick:
The problem is, that I've no chance to test it anywhere.
[Android Software Development] forest1971:
Thanks for your reply.

In case possible, I can to the test or upload needed XP files for your reference. Tks.
[Android Software Development] Flextrick:
Could you test the Win7 version and show me the result?