[AT&T Samsung Galaxy S II SGH-I777] iRide113:
Running Serendipity 9.

Usually I have no problem decompiling apks and using ADB or whatever. But recently I tried to upload my SystemUI.apk file to UOT Kitchen in hopes of doing a few mods but I kept getting errors. I have no problems at all decompiling framework-res.apk. So, I tried to use ADB and came up with errors. Here is my log below.

So after that failed, I did research and found out that:

"Samsung changed some Hex value in the compiled dex code.

It has nothing to do with resources apks or anthing.

If you want to decompile those apks you have to do the follwing:

Using 7zip extract the classes.dex file from the apk and save it somewhere.\

Delete the classes.dex file from the apk."

So I followed the instructions found here for "[HOW TO] Compile/Decompile ICS Apk easily|100% working" and it still didn't work. So here is my log for that.

[*] "C:\Users\Tony Noel\Downloads\AutoAPKTool2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk"
decompiling "C:\Users\Tony Noel\Downloads\AutoAPKTool2.0.0\AutoAPKTool2.0.0\_INPUT_APK\SystemUI.apk"...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.data.ResConfig.addResource(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readType(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.readTable(Unknown Source)
at brut.androlib.res.decoder.ARSCDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(Unknown Source)
at brut.androlib.res.AndrolibResources.loadMainPkg(Unknown Source)
at brut.androlib.res.AndrolibResources.getResTable(Unknown Source)
at brut.androlib.Androlib.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.getResTable(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)

Here is also my error log from UOT Kitchen.

Error log: UOT-07-12-20-24-1-SHTF.txt

Decompiling framework-res.apk UOT-07-12-20-24-1
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-07-12-20-24-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.(DexFile.java:377)
at org.jf.dexlib.DexFile.(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Compiling framework-res.apk UOT-07-12-20-24-1
W: Could not find sources
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in /home/uot/port5/data/working_dir/UOT-07-12-20-24-1/fw_dec/res; found: sr
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in /home/uot/port5/data/working_dir/UOT-07-12-20-24-1/fw_dec/res; found: sr
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in /home/uot/port5/data/working_dir/UOT-07-12-20-24-1/fw_dec/res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in /home/uot/port5/data/working_dir/UOT-07-12-20-24-1/fw_dec/res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no default translation in /home/uot/port5/data/working_dir/UOT-07-12-20-24-1/fw_dec/res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation in /home/uot/port5/data/working_dir/UOT-07-12-20-24-1/fw_dec/res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no default translation in /home/uot/port5/data/working_dir/UOT-07-12-20-24-1/fw_dec/res; found: en_GB es pt
I: Building apk file...
Compiling SystemUI.apk UOT-07-12-20-24-1
I: Framework installed to: /home/uot/apktool/framework/1.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more

I have no idea what to do. So please, any help would be greatly appreciated!