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

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

OP fernando sor

17th April 2012, 03:59 AM   |  #21  
hawknest's Avatar
Senior Member
Thanks Meter: 12,531
 
5,395 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Thanks man

Sent from my ADR6350 using Tapatalk
17th April 2012, 04:05 AM   |  #22  
fernando sor's Avatar
OP Recognized Themer
Flag north of the wall
Thanks Meter: 5,481
 
9,464 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by rayford85

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
17th April 2012, 04:23 AM   |  #23  
Scabes24's Avatar
Recognized Themer
Flag Seattle, WA
Thanks Meter: 787
 
2,374 posts
Join Date:Joined: Aug 2008
Donate to Me
More
Quote:
Originally Posted by fernando sor

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.
17th April 2012, 04:33 AM   |  #24  
hawknest's Avatar
Senior Member
Thanks Meter: 12,531
 
5,395 posts
Join Date:Joined: Jan 2012
Donate to Me
More
Quote:
Originally Posted by Scabes24

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
The Following User Says Thank You to hawknest For This Useful Post: [ View ]
17th April 2012, 04:46 AM   |  #25  
fernando sor's Avatar
OP Recognized Themer
Flag north of the wall
Thanks Meter: 5,481
 
9,464 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by Scabes24

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
The Following User Says Thank You to fernando sor For This Useful Post: [ View ]
17th April 2012, 05:37 AM   |  #26  
pstevep's Avatar
Senior Moderator / Developer Committee / XDA Portal Team / Recognized Themer / Teh Pony Overlord
Flag A place just beyond throwing distance
Thanks Meter: 6,244
 
5,553 posts
Join Date:Joined: Aug 2010
Donate to Me
More
Quote:
Originally Posted by fernando sor

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: [ View ]
18th April 2012, 01:10 AM   |  #27  
iBotPeaches's Avatar
Senior Member
Flag KCK
Thanks Meter: 2,329
 
735 posts
Join Date:Joined: Apr 2011
Donate to Me
More
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: [ View ]
18th April 2012, 01:21 AM   |  #28  
fernando sor's Avatar
OP Recognized Themer
Flag north of the wall
Thanks Meter: 5,481
 
9,464 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by iBotPeaches

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
18th April 2012, 03:53 AM   |  #29  
jeffsanace's Avatar
Senior Member
Flag Wilmington, De.
Thanks Meter: 2,878
 
2,797 posts
Join Date:Joined: May 2010
Donate to Me
More
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.
The Following 3 Users Say Thank You to jeffsanace For This Useful Post: [ View ]
18th April 2012, 07:59 AM   |  #30  
tommytomatoe's Avatar
Recognized Developer
Flag Knoxville USA
Thanks Meter: 6,824
 
6,256 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Great job ferno!!!!

Quote:
Originally Posted by rayford85

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

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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes