Former Writer · May 6, 2012 at 08:00 pm

Modified APKTool for Troublesome System APKs on ICS

Users and developers alike are still getting used to Ice Cream Sandwich. And while the adaptation period has taken a little longer than with prior versions of Android, progress is being made in getting used to the new OS and its new tools. Developers and themers alike often have to compile and decompile apk files in order to apply their themes and modifications. However, many have had issues decompiling Samsung ICS system apk files.

Luckily, those working on the Samsung Galaxy S II I9100 now have a modified version of APKTool. XDA Forum Member xtremesv found and tested a modified version that is capable of editing the Galaxy S II system.apk file and similar files, which have been the bane of many themers and modders. The functionality and usability of APKTool hasn’t been changed much, but has been expanded to allow users to work with these difficult files a little bit more easily. Says xtremesv:

Some people are still having problems de/compiling system apks on Samsung ICS builds, most of the errors arising are related to “bad magic values”. I googled a little and managed to find a modded Apktool. I’ve tested it and it has worked fine so far with many apks (e.g. framework-res, TouchWiz30Launcher, etc).

That’s not all though. Some apk files require a little special attention. So if the modified APKTool doesn’t decompile an app, you may have to decompile it with the original APKTool provided by xtremesv, and then recompile using the modified APK Tool. A little complicated? Yes. Does it work? You betcha. Additionally, since the modified APKTool wasn’t designed specifically for the Galaxy S II, any users having difficulties with ICS apks may want to give it a shot as well.

If you’re having problems with ICS apk files and are looking for solutions, check out the original thread for more details.


_________
Want something on the XDA Portal? Send us a tip!

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users. View Former Writer's posts and articles here.
Faiz Malkani · Mar 31, 2015 at 10:59 am · 1 comment

Xiaomi Announces Redmi 2A and More for 5th Anniversary

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...

XDA NEWS
Tomek Kondrat · Mar 31, 2015 at 10:00 am · 2 comments

The History of Flagships: Part III – HTC

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...

XDA NEWS
Jimmy McGee · Mar 31, 2015 at 07:00 am · 2 comments

Fix Lollipop Memory Leak – XDA Xposed Tuesday

Unfortunately there was a memory leak in Android 5.0.x Lollipop. Thankfully it was fixed in Android 5.1. However, at the time of this video Xposed Framework doesn’t have Android 5.1 support. So you are faced with a choice of fixing the memory leak or running your Xposed Modules. Or are you? In this episode of XDA Xposed Tuesday, XDA TV Producer TK reviews an Xposed Module that adds the Android 5.1 memory fix to pre 5.1 Lollipop devices. The module...

XDA NEWS
Share This