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!