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

[tutorial]**Fix for recompiling framework-res with apktool** 4/15/2012

Tip us?
 
hawknest
Old
#21  
hawknest's Avatar
Senior Member
Thanks Meter 12,428
Posts: 5,307
Join Date: Jan 2012

 
DONATE TO ME
Thanks man

Sent from my ADR6350 using Tapatalk

Helps support development and goes into the M8 fund...

Follow Development @ http://www.android-edge.com

Or Search Edge On TapaTalk


And Twitter @Hawknest12


My Daughter Is Doing a fund Raiser For A Friend With Cancer So Here Is What We Are Doing, Please Check It Out!

 
fernando sor
Old
#22  
fernando sor's Avatar
Recognized Themer - OP
Thanks Meter 5,414
Posts: 9,427
Join Date: Sep 2010
Location: north of the wall
Quote:
Originally Posted by rayford85 View Post
That sucks. One of our guys themed resources image by image running them all thru draw 9 patch tool One by one

I felt sorry for him

Sent from my HTC One X using XDA
Man that is a lot of images.

Sent from my ADR6425LVW using xda premium
Bad seed Customs Founder



 
Scabes24
Old
#23  
Scabes24's Avatar
Recognized Themer
Thanks Meter 787
Posts: 2,374
Join Date: Aug 2008
Location: Seattle, WA

 
DONATE TO ME
Quote:
Originally Posted by fernando sor View Post
Man that is a lot of images.

Sent from my ADR6425LVW using xda premium
Well I wouldn't say all of them, but quite a few :P

I was able to add a lot of them to a different resources.apk and decompile.

Sent from my HTC Flyer.
Search XDA using Google
 
hawknest
Old
#24  
hawknest's Avatar
Senior Member
Thanks Meter 12,428
Posts: 5,307
Join Date: Jan 2012

 
DONATE TO ME
Quote:
Originally Posted by Scabes24 View Post
Well I wouldn't say all of them, but quite a few :P

I was able to add a lot of them to a different resources.apk and decompile.

Sent from my HTC Flyer.
Like the avatar

Sent from my ADR6350 using Tapatalk

Helps support development and goes into the M8 fund...

Follow Development @ http://www.android-edge.com

Or Search Edge On TapaTalk


And Twitter @Hawknest12


My Daughter Is Doing a fund Raiser For A Friend With Cancer So Here Is What We Are Doing, Please Check It Out!

The Following User Says Thank You to hawknest For This Useful Post: [ Click to Expand ]
 
fernando sor
Old
#25  
fernando sor's Avatar
Recognized Themer - OP
Thanks Meter 5,414
Posts: 9,427
Join Date: Sep 2010
Location: north of the wall
Quote:
Originally Posted by Scabes24 View Post
Well I wouldn't say all of them, but quite a few :P

I was able to add a lot of them to a different resources.apk and decompile.

Sent from my HTC Flyer.
You could probably decompile sense 3.6 and use a lot of those from the xdpi folder

Sent from my ADR6425LVW using xda premium
Bad seed Customs Founder



The Following User Says Thank You to fernando sor For This Useful Post: [ Click to Expand ]
 
pstevep
Old
#26  
pstevep's Avatar
Senior Moderator / Developer Committee / XDA Portal Team / Recognized Themer / Teh Pony Overlord
Thanks Meter 6,167
Posts: 5,518
Join Date: Aug 2010
Location: A place just beyond throwing distance

 
DONATE TO ME
Quote:
Originally Posted by fernando sor View Post
It should work on any ics framework sense 4.0

Unfortunately com.htc. resources will not work until apktool is updated.

Sent from my ADR6425LVW using xda premium
Thank you good sir.
The Following User Says Thank You to pstevep For This Useful Post: [ Click to Expand ]
 
iBotPeaches
Old
#27  
iBotPeaches's Avatar
Senior Member
Thanks Meter 2,095
Posts: 701
Join Date: Apr 2011
Location: KCK

 
DONATE TO ME
I've actually been working on fixing apktool for about a month. That nasty plurals error is fixed and the error where it reverses the attributes of the XML is still in progress.

I've tried to contact brut.all various times for help on updating his tool, but he seems to be missing. If anyone else has some extensive knowledge in apk decompiling contact me, so we can work towards a community product that doesn't mess up XMLs for ICS.
The Following User Says Thank You to iBotPeaches For This Useful Post: [ Click to Expand ]
 
fernando sor
Old
#28  
fernando sor's Avatar
Recognized Themer - OP
Thanks Meter 5,414
Posts: 9,427
Join Date: Sep 2010
Location: north of the wall
Quote:
Originally Posted by iBotPeaches View Post
I've actually been working on fixing apktool for about a month. That nasty plurals error is fixed and the error where it reverses the attributes of the XML is still in progress.

I've tried to contact brut.all various times for help on updating his tool, but he seems to be missing. If anyone else has some extensive knowledge in apk decompiling contact me, so we can work towards a community product that doesn't mess up XMLs for ICS.
At least there is a fix. I have been working on apktool to decompile com.htc.resources and the dimens hdpi and xdpi errors make it impossible to decompile even the image folders. I have tried updating some of the files in apktool with no success

Sent from my ADR6425LVW using xda premium
Bad seed Customs Founder



 
jeffsanace
Old
#29  
jeffsanace's Avatar
Senior Member
Thanks Meter 2,878
Posts: 2,797
Join Date: May 2010
Location: Wilmington, De.

 
DONATE TO ME
Very nice tutorial Fern, I'll be coming along as well. I like seeing some of the names in here, very comforting knowing there will be some really good devs on the ONE X. Look forward to some of the new stuff I can learn.


If I have helped you, Please hit the the THANKS BUTTON!

The Following 3 Users Say Thank You to jeffsanace For This Useful Post: [ Click to Expand ]
 
tommytomatoe
Old
#30  
tommytomatoe's Avatar
Recognized Developer
Thanks Meter 6,806
Posts: 6,255
Join Date: Dec 2010
Location: Knoxville USA

 
DONATE TO ME
Great job ferno!!!!

Quote:
Originally Posted by rayford85 View Post
That sucks. One of our guys themed resources image by image running them all thru draw 9 patch tool One by one

I felt sorry for him

Sent from my HTC One X using XDA
Quote:
Originally Posted by Scabes24 View Post
Well I wouldn't say all of them, but quite a few :P

I was able to add a lot of them to a different resources.apk and decompile.

Sent from my HTC Flyer.
I was just about to say do just that. lol. Throw the 9.png in a decodable resource.apk (or any apk for that matter) and decode. There is also a handy Mac and Linux tool for decoding 9.png :)

The Following 2 Users Say Thank You to tommytomatoe For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes