Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,893 Members 42,563 Now Online
XDA Developers Android and Mobile Development Forum

[UPDATE]Universal Multipurpose AutoAPKTool 2.0.4a

Tip us?
 
lms24
Old
#41  
Senior Member
Thanks Meter 205
Posts: 215
Join Date: 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?
 
agat63
Old
#42  
agat63's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 7932
Posts: 3,977
Join Date: Sep 2010
Location: Las Vegas, NV

 
DONATE TO ME
Did you install framework-res.apk with option 1 first?
Is it a stock app or it has been moded (themed) before?
My work can be found here:

http://d-h.st/users/agat/?fld_id=0#files

If you like my work and want to help
Donate Here
 
lms24
Old
#43  
Senior Member
Thanks Meter 205
Posts: 215
Join Date: 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.
 
agat63
Old
#44  
agat63's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 7932
Posts: 3,977
Join Date: Sep 2010
Location: Las Vegas, NV

 
DONATE TO ME
Quote:
Originally Posted by lms24 View Post
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.
My work can be found here:

http://d-h.st/users/agat/?fld_id=0#files

If you like my work and want to help
Donate Here
 
sleshepic
Old
(Last edited by sleshepic; 15th April 2012 at 07:33 PM.)
#45  
sleshepic's Avatar
Recognized Themer
Thanks Meter 6676
Posts: 3,751
Join Date: Oct 2011
Location: PA

 
DONATE TO ME
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
If you enjoy my work, Please Consider a Donation. I go through alot of Coffee
The Following User Says Thank You to sleshepic For This Useful Post: [ Click to Expand ]
 
12MaNy
Old
(Last edited by 12MaNy; 15th April 2012 at 11:37 PM.)
#46  
12MaNy's Avatar
Recognized Themer
Thanks Meter 752
Posts: 2,167
Join Date: Jun 2010
Location: Seattle
Quote:
Originally Posted by lms24 View Post
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.


On hiatus, but here's some older work and ports...

Green Machine - HERE

Dark Fire X - HERE

Dark Fire Blue X - HERE
 
Tiffany84
Old
#47  
Tiffany84's Avatar
Recognized Themer
Thanks Meter 2879
Posts: 5,737
Join Date: 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.
 
agat63
Old
#48  
agat63's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 7932
Posts: 3,977
Join Date: Sep 2010
Location: Las Vegas, NV

 
DONATE TO ME
Quote:
Originally Posted by Tiffany84 View Post
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.
My work can be found here:

http://d-h.st/users/agat/?fld_id=0#files

If you like my work and want to help
Donate Here
 
Tiffany84
Old
#49  
Tiffany84's Avatar
Recognized Themer
Thanks Meter 2879
Posts: 5,737
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by agat63 View Post
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
 
agat63
Old
#50  
agat63's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 7932
Posts: 3,977
Join Date: Sep 2010
Location: Las Vegas, NV

 
DONATE TO ME
Quote:
Originally Posted by Tiffany84 View Post
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.
My work can be found here:

http://d-h.st/users/agat/?fld_id=0#files

If you like my work and want to help
Donate Here

The Following User Says Thank You to agat63 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes