Fix Common Compile Errors on Sense 4 APKs
While Ice Cream Sandwich brought with it many important and needed changes to Google’s star OS, it frustrated many users and developers because many popular tools for modifying files such as APK Tool and APK Manager didn’t always work as planned, particularly when OEM skins such as Sense 4 were added to the mix. Currently, Sense 4 is the big culprit as there is apparently a nice list of compilation errors associated with modifying its proprietary files in APK Tool and APK Manager. Thankfully, there is now an answer.
In particular, XDA Recognized Themer he_stheone64 noticed that three important files created fatal errors—framework-res.apk, com.htc.resources.apk, and systemui.apk. He was kind enough to figure out why the errors occurred and create workarounds. In his words:
The 3 most important files framework-res.apk, com.htc.resources.apk and systemui.apk all create fatal errors, when using latest apktool 1.43 version. Apktool`s error log is always a big help to solve compile issues, but you need a bit of compile and coding experience to finally solve these. After I stumbled about many people having Sense 4.0 compile issues, I decided to post this guide. Hopefully this will encourage more guys to add mods to One S, after they might have hit a wall before.
Although originally intended for the HTC One S, the modified files are present in all Sense 4.0 ROMs, so this guide has the potential to help anyone looking to modify Sense 4. For more information, visit the original thread.
Want something on the XDA Portal? Send us a tip!