
Originally Posted by
camaro1173
Hi all looking for some info on decompiling apks with apk manager. I have no problem decompiling any apks like framework apk, browser apk or the phone apk. My problem comes when I go to decompile any systemUI apks or settings apks I always end up with the same massage from apk manager saying
"An Error Occured, Please Check The Log (option 21)"
Press any key to continue . . . "
Dose anyone have any idea why this is happening, I can post the log if needed?
I am newish at this, I can sit here and read the log all day but I am going to be honest with you I have no idea what it means.
Any help is welcome Thanks.
I've tested and verified it to work with APKManager following what I'll explain...
OK... some guy at XDA was tinkering with apktool.jar and noted that this command helped with decompiling the SystemUI.apk... has to do with the certificate signature already in use with the framework-res.apk or to that effect, thus erroring out when trying to decompile SystemUI...
my suggestion is to copy your apktool.jar from the apkmanager 'others' folder to your C drives root directory, so you have it available in both places and much easier than typing on the full path for it when you run this command...
I also had the framework-res.apk and the SystemUi.apk in the C directory as well so that apktool sees them...
then run
java -jar apktool.jar if framework-res.apk
then
java -jar apktool.jar d SystemUI.apk decompiled
Once that's done you should be able to run APKManager as usual and it'll decompile the SystemUI.apk without errors... and it should always be able to decompile that apk from that point on, so you can get rid of the framework, SystemUI.apks, and the decompiled folder from the C directory and it will still decomp[ile in APKManager properly from that point on...
Give it a whirl and let me know.... I am 100% certain it'll work for you guys as well...
"