Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[UPDATE]Universal Multipurpose AutoAPKTool 2.0.4a

OP agat63

15th April 2012, 07:34 PM   |  #41  
Senior Member
Thanks Meter: 206
 
218 posts
Join Date:Joined: Aug 2011
When recompiling framework-res.apk with option 15 of my Sense4(lite) ROM, I get this:

PHP Code:
[*] "C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res" 
recompiling "C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res"... 
WCould not find sources
I
Building resources...
invalid resource directory nameC:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/animator
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw600dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-sw600dp-hdpi
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/drawable-xlarge-nodpi
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-sw600dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-w600dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/layout-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-mdpi
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/mipmap-xhdpi
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-ar-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-bg-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-ca-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-cs-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-da-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-de-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-el-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-en-rGB-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-es-rUS-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-es-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-fa-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-fi-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-fr-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-hi-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-hr-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-hu-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-id-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-it-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-iw-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-ja-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-ko-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-lt-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-lv-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-nb-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-nl-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-pl-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-pt-rPT-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-pt-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-ro-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-ru-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-sk-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-sl-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-sr-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-sv-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-th-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-tl-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-tr-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-uk-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-vi-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-zh-rCN-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/raw-zh-rTW-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-h720dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-land
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-w1024dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-sw600dp-w1280dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w360dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w480dp
invalid resource directory namException in thread 
"main" eC:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w500dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w600dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-w720dp
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-xlarge
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/values-xlarge-land
invalid resource directory name
C:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res/xml-xlarge
brut
.androlib.AndrolibExceptionbrut.common.BrutExceptioncould not exec command: [aaptp, -FC:\Users\Lukas\AppData\Local\Temp\APKTOOL2179726619885175998.tmp, -x, -SC:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -MC:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
    
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
    
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
    
at brut.androlib.Androlib.buildResources(Androlib.java:248)
    
at brut.androlib.Androlib.build(Androlib.java:171)
    
at brut.androlib.Androlib.build(Androlib.java:154)
    
at brut.apktool.Main.cmdBuild(Main.java:182)
    
at brut.apktool.Main.main(Main.java:67)
Caused bybrut.common.BrutExceptioncould not exec command: [aaptp, -FC:\Users\Lukas\AppData\Local\Temp\APKTOOL2179726619885175998.tmp, -x, -SC:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res, -MC:\Program Files (x86)\Android\autoapk\AutoAPKTool2.0.4\_INPUT_APK\framework-res\AndroidManifest.xml]
    
at brut.util.OS.exec(OS.java:83)
    
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
    ... 
6 more 

I guess that's some sort of an error message... what am I doing wrong?
15th April 2012, 07:37 PM   |  #42  
agat63's Avatar
OP Recognized Contributor / Recognized Developer
Las Vegas, NV
Thanks Meter: 7,947
 
3,984 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Did you install framework-res.apk with option 1 first?
Is it a stock app or it has been moded (themed) before?
15th April 2012, 08:08 PM   |  #43  
Senior Member
Thanks Meter: 206
 
218 posts
Join Date:Joined: Aug 2011
I did install the framework-res.apk with option1 (just wondering: should I have done anything else for installing than just pressing 1 e.g. putting framework-res.apk in a certain folder.?)
Since I'm porting from a port (not from the original RUU) I guess the framework-res.apk has been modded.
15th April 2012, 08:10 PM   |  #44  
agat63's Avatar
OP Recognized Contributor / Recognized Developer
Las Vegas, NV
Thanks Meter: 7,947
 
3,984 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by lms24

I did install the framework-res.apk with option1 (just wondering: should I have done anything else for installing than just pressing 1 e.g. putting framework-res.apk in a certain folder.?)
Since I'm porting from a port (not from the original RUU) I guess the framework-res.apk has been modded.

Modded apps/framework files are always a problem.
To make sure it's not the tool by file itself try to decompile and recompile the stock file without making any changes to it. If it works than the problem is in the app/framework you trying to mod.
If it doesn't than we should look what went wrong with the tool and/or framework installation.
15th April 2012, 08:17 PM   |  #45  
sleshepic's Avatar
Recognized Themer
Flag PA
Thanks Meter: 6,779
 
3,791 posts
Join Date:Joined: Oct 2011
Donate to Me
More
First thing to do i think would be to update the aapt file with the newest one from your android sdk directory. If your not sure if it is, update everything in sdk manager then transfer the new aapt file from android(think its in platform tools? Maybe not) into your apktool folder(replacing existing aapt). That should do it, running programs "as administrator" can also help issues with not accessing folders.

Sent from my SPH-D710 using xda premium
Last edited by sleshepic; 15th April 2012 at 08:33 PM.
The Following User Says Thank You to sleshepic For This Useful Post: [ View ]
16th April 2012, 12:12 AM   |  #46  
12MaNy's Avatar
Recognized Themer
Flag Seattle
Thanks Meter: 762
 
2,187 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by lms24

I did install the framework-res.apk with option1 (just wondering: should I have done anything else for installing than just pressing 1 e.g. putting framework-res.apk in a certain folder.?)
Since I'm porting from a port (not from the original RUU) I guess the framework-res.apk has been modded.


Shortcut: Try using 7-Zip to swap the .9's that you don't have to mod from port .apk to stock .apk....then just decompile to mod .XML, .dex, .jars.....etc.


EDIT: Nevermind....you have to be able to decompile port .apks in order to see which files are modded. Derr...sorry, a little hung over.
Last edited by 12MaNy; 16th April 2012 at 12:37 AM.
16th April 2012, 08:12 AM   |  #47  
Tiffany84's Avatar
Recognized Themer
Thanks Meter: 2,975
 
5,837 posts
Join Date:Joined: Jul 2010
Donate to Me
Sorry I didn't get back to you sooner but I was finally able to test your tool a couple days ago and this is the first tool that I was successfully able to de-compile and re-compile an ICS apk on the first try. That's a WIN in my book.
16th April 2012, 08:13 AM   |  #48  
agat63's Avatar
OP Recognized Contributor / Recognized Developer
Las Vegas, NV
Thanks Meter: 7,947
 
3,984 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by Tiffany84

Sorry I didn't get back to you sooner but I was finally able to test your tool a couple days ago and this is the first tool that I was successfully able to de-compile and re-compile an ICS apk on the first try. That's a WIN in my book.

Thanks for feed back.
Means a lot to me.
Sorry to hear about your laptop.
Did send a little some in your direction. Hope you will be back soon.
I love your work and looking forward to see more from you.
It's not much but hope every little bit helps.
16th April 2012, 08:26 AM   |  #49  
Tiffany84's Avatar
Recognized Themer
Thanks Meter: 2,975
 
5,837 posts
Join Date:Joined: Jul 2010
Donate to Me
Quote:
Originally Posted by agat63

Thanks for feed back.
Means a lot to me.
Sorry to hear about your laptop.
Did send a little some in your direction. Hope you will be back soon.
I love your work and looking forward to see more from you.
It's not much but hope every little bit helps.

It's way more than u needed to do. I really appreciate the support. Thanks for all u are doing for the community.

Sent from my SPH-D710 using Tapatalk 2 Beta-5
16th April 2012, 08:27 AM   |  #50  
agat63's Avatar
OP Recognized Contributor / Recognized Developer
Las Vegas, NV
Thanks Meter: 7,947
 
3,984 posts
Join Date:Joined: Sep 2010
Donate to Me
More
Quote:
Originally Posted by Tiffany84

It's way more than u needed to do. I really appreciate the support. Thanks for all u are doing for the community.

Sent from my SPH-D710 using Tapatalk 2 Beta-5

The life is not only about what we need to do buy sometimes what we want to do or what our heart tells us to do.
Isn't it?
And I need you active and working so we can take a look at that Contact and Phone transparency.

The Following User Says Thank You to agat63 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes