[Galaxy S II Themes and Apps] @xDeepS:
So I have been trying to follow this tutorial:

http://xdaforums.com/showthread.php?t=1292707&highlight=transparent

And I pull the SystemUI.apk from my ROM (Dlev2 v3|KI4).

I also pull the framework and install it via apktool. Then decompile the SystemUI.apk. Edit it. And try recompiling. It doesnt work. Throws a bunch of errors. It shows errors even on a untouched decompiled APK.

Kinda frustrated.. help me out please.

Log:

C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:44: error: Public symbol dr
awable/shade_bg declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:8: error: Public entry iden
tifier 0x7f0200aa entry index is larger than available symbols (index 170, total
symbols 3).
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:8: error: Public symbol dra
wable/shade_bgcolor declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:45: error: Public symbol dr
awable/shade_handlebar declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:46: error: Public symbol dr
awable/shade_header_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:47: error: Public symbol dr
awable/stat_notify_alarm declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:48: error: Public symbol dr
awable/stat_notify_more declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:49: error: Public symbol dr
awable/stat_sys_battery_full declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:4: error: Public symbol dra
wable/stat_sys_data_4g_att declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:50: error: Public symbol dr
awable/stat_sys_data_4g_att_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:51: error: Public symbol dr
awable/stat_sys_data_4g_att_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:52: error: Public symbol dr
awable/stat_sys_data_4g_att_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:53: error: Public symbol dr
awable/stat_sys_data_4g_att_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:54: error: Public symbol dr
awable/stat_sys_data_bluetooth declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:55: error: Public symbol dr
awable/stat_sys_data_bluetooth_connected declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:56: error: Public symbol dr
awable/stat_sys_data_connected_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:57: error: Public symbol dr
awable/stat_sys_data_connected_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:58: error: Public symbol dr
awable/stat_sys_data_connected_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:59: error: Public symbol dr
awable/stat_sys_data_connected_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:60: error: Public symbol dr
awable/stat_sys_data_connected_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:61: error: Public symbol dr
awable/stat_sys_data_connected_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:62: error: Public symbol dr
awable/stat_sys_data_connected_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:63: error: Public symbol dr
awable/stat_sys_data_fully_connected_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:64: error: Public symbol dr
awable/stat_sys_data_fully_connected_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:65: error: Public symbol dr
awable/stat_sys_data_fully_connected_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:66: error: Public symbol dr
awable/stat_sys_data_fully_connected_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:67: error: Public symbol dr
awable/stat_sys_data_fully_connected_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:68: error: Public symbol dr
awable/stat_sys_data_fully_connected_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:69: error: Public symbol dr
awable/stat_sys_data_fully_connected_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:70: error: Public symbol dr
awable/stat_sys_data_fully_in_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:71: error: Public symbol dr
awable/stat_sys_data_fully_in_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:72: error: Public symbol dr
awable/stat_sys_data_fully_in_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:73: error: Public symbol dr
awable/stat_sys_data_fully_in_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:74: error: Public symbol dr
awable/stat_sys_data_fully_in_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:75: error: Public symbol dr
awable/stat_sys_data_fully_in_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:76: error: Public symbol dr
awable/stat_sys_data_fully_in_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:77: error: Public symbol dr
awable/stat_sys_data_fully_inandout_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:78: error: Public symbol dr
awable/stat_sys_data_fully_inandout_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:79: error: Public symbol dr
awable/stat_sys_data_fully_inandout_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:80: error: Public symbol dr
awable/stat_sys_data_fully_inandout_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:81: error: Public symbol dr
awable/stat_sys_data_fully_inandout_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:82: error: Public symbol dr
awable/stat_sys_data_fully_inandout_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:83: error: Public symbol dr
awable/stat_sys_data_fully_inandout_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:84: error: Public symbol dr
awable/stat_sys_data_fully_out_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:85: error: Public symbol dr
awable/stat_sys_data_fully_out_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:86: error: Public symbol dr
awable/stat_sys_data_fully_out_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:87: error: Public symbol dr
awable/stat_sys_data_fully_out_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:88: error: Public symbol dr
awable/stat_sys_data_fully_out_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:89: error: Public symbol dr
awable/stat_sys_data_fully_out_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:90: error: Public symbol dr
awable/stat_sys_data_fully_out_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:91: error: Public symbol dr
awable/stat_sys_data_in_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:92: error: Public symbol dr
awable/stat_sys_data_in_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:93: error: Public symbol dr
awable/stat_sys_data_in_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:94: error: Public symbol dr
awable/stat_sys_data_in_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:95: error: Public symbol dr
awable/stat_sys_data_in_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:96: error: Public symbol dr
awable/stat_sys_data_in_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:97: error: Public symbol dr
awable/stat_sys_data_in_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:98: error: Public symbol dr
awable/stat_sys_data_inadnout_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:99: error: Public symbol dr
awable/stat_sys_data_inandout_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:100: error: Public symbol d
rawable/stat_sys_data_inandout_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:101: error: Public symbol d
rawable/stat_sys_data_inandout_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:102: error: Public symbol d
rawable/stat_sys_data_inandout_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:103: error: Public symbol d
rawable/stat_sys_data_inandout_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:104: error: Public symbol d
rawable/stat_sys_data_inandout_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:105: error: Public symbol d
rawable/stat_sys_data_inandout_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:5: error: Public symbol dra
wable/stat_sys_data_lte_att declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:106: error: Public symbol d
rawable/stat_sys_data_lte_att_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:107: error: Public symbol d
rawable/stat_sys_data_lte_att_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:108: error: Public symbol d
rawable/stat_sys_data_lte_att_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:109: error: Public symbol d
rawable/stat_sys_data_lte_att_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:110: error: Public symbol d
rawable/stat_sys_data_out_1x declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:111: error: Public symbol d
rawable/stat_sys_data_out_3g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:112: error: Public symbol d
rawable/stat_sys_data_out_4g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:113: error: Public symbol d
rawable/stat_sys_data_out_e declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:114: error: Public symbol d
rawable/stat_sys_data_out_g declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:115: error: Public symbol d
rawable/stat_sys_data_out_h declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:116: error: Public symbol d
rawable/stat_sys_data_out_h_plus declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:117: error: Public symbol d
rawable/stat_sys_data_wimax_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:118: error: Public symbol d
rawable/stat_sys_data_wimax_signal_0_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:119: error: Public symbol d
rawable/stat_sys_data_wimax_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:120: error: Public symbol d
rawable/stat_sys_data_wimax_signal_1_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:121: error: Public symbol d
rawable/stat_sys_data_wimax_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:122: error: Public symbol d
rawable/stat_sys_data_wimax_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:123: error: Public symbol d
rawable/stat_sys_data_wimax_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:124: error: Public symbol d
rawable/stat_sys_data_wimax_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:125: error: Public symbol d
rawable/stat_sys_data_wimax_signal_disconnected declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:126: error: Public symbol d
rawable/stat_sys_data_wimax_signal_idle declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:127: error: Public symbol d
rawable/stat_sys_gps_acquiring declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:6: error: Public symbol dra
wable/stat_sys_gps_acquiring_anim declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:128: error: Public symbol d
rawable/stat_sys_no_sim declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:129: error: Public symbol d
rawable/stat_sys_r_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:130: error: Public symbol d
rawable/stat_sys_r_signal_0_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:131: error: Public symbol d
rawable/stat_sys_r_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:132: error: Public symbol d
rawable/stat_sys_r_signal_1_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:133: error: Public symbol d
rawable/stat_sys_r_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:134: error: Public symbol d
rawable/stat_sys_r_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:135: error: Public symbol d
rawable/stat_sys_r_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:136: error: Public symbol d
rawable/stat_sys_r_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:137: error: Public symbol d
rawable/stat_sys_r_signal_4 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:138: error: Public symbol d
rawable/stat_sys_r_signal_4_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:139: error: Public symbol d
rawable/stat_sys_r_signal_5 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:140: error: Public symbol d
rawable/stat_sys_r_signal_5_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:141: error: Public symbol d
rawable/stat_sys_ringer_silent declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:142: error: Public symbol d
rawable/stat_sys_ringer_vibrate declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:143: error: Public symbol d
rawable/stat_sys_roaming_cdma_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:7: error: Public symbol dra
wable/stat_sys_roaming_cdma_flash declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:144: error: Public symbol d
rawable/stat_sys_roaming_cdma_flash_anim0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:145: error: Public symbol d
rawable/stat_sys_roaming_cdma_flash_anim1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:146: error: Public symbol d
rawable/stat_sys_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:147: error: Public symbol d
rawable/stat_sys_signal_0_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:148: error: Public symbol d
rawable/stat_sys_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:149: error: Public symbol d
rawable/stat_sys_signal_1_fullyException in thread "main" brut.androlib.Androlib
Exception: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Deep\AppData\Local\Temp\APKTOOL1555933355827091098.tmp, -I, C:\Users\Deep\a
pktool\framework\1.apk, -S, C:\Users\Deep\Desktop\mk\decom\res, -M, C:\Users\Dee
p\Desktop\mk\decom\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Deep\AppData\Local\Temp\APKTOOL1555933355827091098.tmp, -I, C:\Users\Deep\a
pktool\framework\1.apk, -S, C:\Users\Deep\Desktop\mk\decom\res, -M, C:\Users\Dee
p\Desktop\mk\decom\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:150: error: Public symbol d
rawable/stat_sys_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:151: error: Public symbol d
rawable/stat_sys_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:152: error: Public symbol d
rawable/stat_sys_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:153: error: Public symbol d
rawable/stat_sys_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:154: error: Public symbol d
rawable/stat_sys_signal_4 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:155: error: Public symbol d
rawable/stat_sys_signal_4_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:156: error: Public symbol d
rawable/stat_sys_signal_5 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:157: error: Public symbol d
rawable/stat_sys_signal_5_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:158: error: Public symbol d
rawable/stat_sys_signal_flightmode declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:159: error: Public symbol d
rawable/stat_sys_signal_null declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:160: error: Public symbol d
rawable/stat_sys_tty_mode declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:161: error: Public symbol d
rawable/stat_sys_wifi_signal_0 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:162: error: Public symbol d
rawable/stat_sys_wifi_signal_1 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:163: error: Public symbol d
rawable/stat_sys_wifi_signal_1_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:164: error: Public symbol d
rawable/stat_sys_wifi_signal_2 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:165: error: Public symbol d
rawable/stat_sys_wifi_signal_2_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:166: error: Public symbol d
rawable/stat_sys_wifi_signal_3 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:167: error: Public symbol d
rawable/stat_sys_wifi_signal_3_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:168: error: Public symbol d
rawable/stat_sys_wifi_signal_4 declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:169: error: Public symbol d
rawable/stat_sys_wifi_signal_4_fully declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:170: error: Public symbol d
rawable/status_bar_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:171: error: Public symbol d
rawable/status_bar_call_ongoing_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:172: error: Public symbol d
rawable/status_bar_close_on declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:173: error: Public symbol d
rawable/statusbar_background declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:174: error: Public symbol d
rawable/title_bar_portrait declared here is not defined.
C:\Users\Deep\Desktop\mk\decom\res\values\public.xml:175: error: Public symbol d
rawable/title_bar_shadow declared here is not defined.

Attached apk..