If you are familiar with Xiaomi, you might have heard that they are not the most compliant when it comes to the General Public License that makes the core of Android open to us. The terms of the GPLv2 state that since the Android kernel is based on the Linux kernel, which is licensed under GPL,v2 Android has to be open-source for everyone to study or modify, and those that modify the Android kernel have to make their sources immediately available for...
Comprehensive Guide To Successfully Manipulating Troublesome ICS .APKs
Application package files or APKs for short, are something that I’m sure most of you are familiar with, whether you’re a Developer or a Themer you probably spend a fair bit of time tinkering with them. However, if you’ve spent much time editing APKs since the release of Ice Cream Sandwich then you may well have encountered a few which refused to play ball but thanks to XDA member memnoc we now know why.
It would seem that there are a few rogue APK files which refuse to either decompile or recompile with ApkTool, probably the most commonly used tool for manipulating APKs. If you have found yourself stumped by one of these problematic files then turn your attention to memnoc’s comprehensive guide to overcoming the issue.
As well as thoroughly explaining all the necessary steps involved in the process of decompiling the APK then properly recompiling and signing it, the guide also includes a selection of helpful screen shots to guarantee that you’re able to get into those pesky problem files (and put them back together again). It also lists all of the required components you will need to accomplish this i.e. Java, JDK, JRE, Android SDK and of course ApkTool
According to memnoc the problem with manipulating these particular files is as follows;
“The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail.”
So there you have it, head on over to the tutorial thread found here and be sure to thank memnoc for this most useful of guides.
Thanks to samuel2706 for the tip.
Want something on the XDA Portal? Send us a tip!
Xiaomi was founded on April 6th, 2010 and its fifth anniversary is just around the corner. In the past five years, the company has grown by leaps and bounds, rising to the positions of largest smartphone OEM in China and third-largest globally and coupled with its expansion plans and 100 million sales benchmark, this anniversary warranted a fervent celebration. After teasing products on its forums for a few days, Xiaomi held the anniversary event earlier today and staying true to the...
A few months ago, we came up with the idea of presenting the history of flagship devices released by some of the major Android OEMs. In this, we've had the pleasure of bringing you the stories of Sony (Ericsson) and Samsung. Now, it's time for our third and final installment. This is a very special episode, as the OEM I will talk about was heavily connected to Android and the beginnings of XDA as a whole. Yes, I'm talking about HTC, the...