[Android Themes] anshulsingh:
I was not able to recompile systemui file but able to recompile resource file.

just to clarify

1.I pulled both files.

2.decompiled both files and installed resource file.

3.made changes only in the systemui file

4.now when I try to recompile systemui file it fails.

My question is

1.Do I need to recompile both the files r just systemui?

2.Do i need to create zip file using both the files together or seperately?

3.is recompiling necessary before creating zip or creating zip automaticaly recompiles?

I am confused on the sequence of steps that i need to follow

During recompiling i get the following error

Recompiling "SystemUI.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_2.0.0-dirty.jar"

With Tickle My Android V9.2.4
(tinyurl.com\ticklemyandroid)

----------------

I: Using Apktool 2.0.0-dirty on SystemUI.apk
I: Smaling smali folder into classes.dex...
I: Building resources...
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_0.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_0.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_0_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_0_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_1.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_1.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_1_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_1_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_2.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_2.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_2_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_2_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_3.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_3.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_3_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_3_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_4.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_4.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable\stat_sys_signal_4_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\stat_sys_signal_4_fully.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_5_level_signal_0.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_5_level_signal_1.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_5_level_signal_2.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_5_level_signal_3.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_5_level_signal_4.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_5_level_signal_5.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_6_level_signal_0.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_6_level_signal_1.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_6_level_signal_2.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_6_level_signal_3.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_6_level_signal_4.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_6_level_signal_5.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res\drawable-xxhdpi\tw_stat_sys_6_level_signal_6.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
warning: string 'accessibility_quick_settings_airplane' has no default translation.
warning: string 'accessibility_quick_settings_bluetooth' has no default translation.
warning: string 'battery_low_subtitle' has no default translation.
warning: string 'done_button' has no default translation.
warning: string 'jelly_bean_dream_name' has no default translation.
warning: string 'keyguard_accessibility_status' has no default translation.
warning: string 'kg_password_wrong_pin_code' has no default translation.
warning: string 'lockscreen_voiceunlock_dialog_title_text' has no default translation.
warning: string 'lockscreen_voiceunlock_recognising_text' has no default translation.
warning: string 'quick_settings_wifi_display_label' has no default translation.
warning: string 'quick_settings_wifi_display_no_connection_label' has no default translation.
warning: string 'ssl_ca_cert_dialog_title' has no default translation.
warning: string 'ssl_ca_cert_info_message' has no default translation.
warning: string 'ssl_ca_cert_settings_button' has no default translation.
warning: string 'ssl_ca_cert_warning_message' has no default translation.
res\drawable\stat_sys_signal_0.xml:0: error: Resource entry stat_sys_signal_0 is already defined.
res\drawable\stat_sys_signal_0.png:0: Originally defined here.

res\drawable\stat_sys_signal_0_fully.xml:0: error: Resource entry stat_sys_signal_0_fully is already defined.
res\drawable\stat_sys_signal_0_fully.png:0: Originally defined here.

res\drawable\stat_sys_signal_1.xml:0: error: Resource entry stat_sys_signal_1 is already defined.
res\drawable\stat_sys_signal_1.png:0: Originally defined here.

res\drawable\stat_sys_signal_1_fully.xml:0: error: Resource entry stat_sys_signal_1_fully is already defined.
res\drawable\stat_sys_signal_1_fully.png:0: Originally defined here.

res\drawable\stat_sys_signal_2.xml:0: error: Resource entry stat_sys_signal_2 is already defined.
res\drawable\stat_sys_signal_2.png:0: Originally defined here.

res\drawable\stat_sys_signal_2_fully.xml:0: error: Resource entry stat_sys_signal_2_fully is already defined.
res\drawable\stat_sys_signal_2_fully.png:0: Originally defined here.

res\drawable\stat_sys_signal_3.xml:0: error: Resource entry stat_sys_signal_3 is already defined.
res\drawable\stat_sys_signal_3.png:0: Originally defined here.

res\drawable\stat_sys_signal_3_fully.xml:0: error: Resource entry stat_sys_signal_3_fully is already defined.
res\drawable\stat_sys_signal_3_fully.png:0: Originally defined here.

res\drawable\stat_sys_signal_4.xml:0: error: Resource entry stat_sys_signal_4 is already defined.
res\drawable\stat_sys_signal_4.png:0: Originally defined here.

res\drawable\stat_sys_signal_4_fully.xml:0: error: Resource entry stat_sys_signal_4_fully is already defined.
res\drawable\stat_sys_signal_4_fully.png:0: Originally defined here.

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\DPSingh\AppData\Local\Temp\brut_util_Jar_7207582322453419942.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0-N9005XXUGBNL8, -F, C:\Users\DPSingh\AppData\Local\Temp\APKTOOL5604724833996181529.tmp, -0, arsc, -I, C:\Users\DPSingh\apktool\framework\1.apk, -S, c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res, -M, c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
at brut.androlib.Androlib.buildResources(Androlib.java:379)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\DPSingh\AppData\Local\Temp\brut_util_Jar_7207582322453419942.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0-N9005XXUGBNL8, -F, C:\Users\DPSingh\AppData\Local\Temp\APKTOOL5604724833996181529.tmp, -0, arsc, -I, C:\Users\DPSingh\apktool\framework\1.apk, -S, c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res, -M, c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:506)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\DPSingh\AppData\Local\Temp\brut_util_Jar_7207582322453419942.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version-name, 5.0-N9005XXUGBNL8, -F, C:\Users\DPSingh\AppData\Local\Temp\APKTOOL5604724833996181529.tmp, -0, arsc, -I, C:\Users\DPSingh\apktool\framework\1.apk, -S, c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\res, -M, c:\TickleMyAndroid\_WorkArea1\_working\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:500)
... 6 more

----------------

Recompile Not Successful!

What is going wrong?