pstevep · Apr 17, 2012 at 07:00 pm

Fix Your Compile Errors on Sense 4.0 Framework-res.apk

Have you just rooted your brand new HTC One X? Are you are ready to break in and turn it into the custom beast that you have always dreamed of? Have you gone so far as decompiling your framework-res.apk and altering a few .XMLs? Maybe  you even added a custom toast_frame.9.png? Once you start the recompile process, you are unfortunately met with a host of errors. After taking a breath and resisting the urge to destroy your computer, you try to figure out what you can do to fix these errors, but aren’t sure where to start.

XDA Recognized Themer Fernando Sor knows how to fix these common errors and was helpful enough to share it with us. As it turns out, there are 4 .XMLs that need to be rewritten to recompile correctly. Although this may be an arduous task, Fernando has written an in depth tutorial on how to do this. Thus, your process should be less painful, and more of a learning experience. He lays out all of the tools necessary and exactly what you need to change to make sure everything goes smoothly.

There is good news in this, as well as bad news. The good news is this method should work across all ICS Sense 4.0 based roms, the bad news is com.htc.resources.apk cannot be recompiled until apktool is updated. So although you can decompile and recompile your framework-res.apk without issue, you still won’t be able to fully customize your ROM without a little MacGyver skill. For now however check out the original thread and contribute to the conversation as well as learn from some of the best.


_________
Want something on the XDA Portal? Send us a tip!

pstevep

pstevep is an editor on XDA-Developers, the largest community for Android users. View pstevep's posts and articles here.
Emil Kako · May 22, 2015 at 10:35 pm · 4 comments

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover Android, so we're wondering which other sites our community likes to frequent. Tell us your favorite Android website and what about the site that makes it your favorite.

DISCUSS
Mathew Brack · May 22, 2015 at 02:30 pm · 4 comments

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager to learn and the bold. Everyday we see innovation and brilliant ideas across the site, from this we know that many of you have great insight in to your respective fields. That is why today, I am honored to announce a new project that will allow us to work with you directly to have your views and thoughts expressed clearer than ever. Introducing:    ...

XDA NEWS
Jimmy McGee · May 22, 2015 at 12:10 pm · 4 comments

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of Sony cutting the price of the Xperia Z1 and be sure to check out the article talking about the YotaPhone 2 Indiegogo pre-order. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...

XDA NEWS
Share This