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.
Mario Tomás Serrafero · Jul 5, 2015 at 11:00 am · 2 comments

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC's situation. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     HTC is underperforming, and there isn’t much of a way of denying this. In April, their revenue nearly declined 40%, plummeting after the HTC One M9 had...

XDA NEWS
Mathew Brack · Jul 4, 2015 at 05:07 pm · 4 comments

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading speed, audio and selfies. Whilst you are surely astounded that HTC won every time, the tests were incredibly biased and their release shows something concerning about the company and how they are performing in the current market.     One of the many reasons companies tend to utilize blind trials is when they feel that their product is comparable or better than its competitors. This leads to the assumption...

XDA NEWS
Mario Tomás Serrafero · Jul 4, 2015 at 12:00 pm · 5 comments

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a million apps on the Google Play Store and new apps being submitted to our forums every day, staying up to date on the latest apps and games can be a hassle. At XDA we don’t discriminate apps - if it’s interesting, innovative, original or useful, we mention them. The XDA Portal Team loves apps too, and here are our top picks for this week.  ...

XDA NEWS
Share This