Former Writer · Jun 7, 2012 at 04:00 am

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!
TAGS:

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Mathew Brack · Jul 3, 2015 at 12:00 pm · no comments

The Atlas of XDA

A few weeks ago, we asked you "How Does Your Location Affect Your Life As A Power User?". In the days that followed, members from all over the world shared their stories and experiences of life across the globe. Allow me to introduce the true story of what it means to be a power user on this pale blue dot.   Index Africa & Oceania: Indonesia, Libya, Madagascar, New Zealand, Nigeria, South Africa, Americas: Brazil, Chile, Columbia, Costa Rica, Guatemala, Martinique, United States,...

XDA NEWS
Mario Tomás Serrafero · Jul 3, 2015 at 11:10 am · 3 comments

New Snapdragons: Some Context & Contrast

It hasn’t been a good year for Qualcomm so far. Every device featuring the Snapdragon 810 has had a less-than-stellar fate, be it because of overheating complaints or actual decreased sales. HTC is in a particularly worrisome situation, and Sony’s Z4 is slipping down Japanese charts just over a week after its release. The G Flex 2, Mi Note Pro and Z3+ all saw complaints as well. Even MediaTek is seemingly getting an advantage over this.   But a particularly...

XDA NEWS
Aamir Siddiqui · Jul 3, 2015 at 10:12 am · 1 comment

Google To Launch Next Gen Android One On July 14

The first gen of Android One devices to be launched in India in September 2014 were decent starter smartphones, featuring budget specs and a promise of fast updates. However, the phones did not pick up as big a response as Google hoped. Now, as per a report by The Economic Times, it appears that Google is rethinking their strategy towards Android One in India. The first gen Android One devices focused on first time smartphone users, but were flawed in...

XDA NEWS
Share This