Compiling errors with the new I337MVLUAMG1 base (Canada) - Galaxy S 4 Q&A, Help & Troubleshooting

Hey guys,
I was wondering whether anybody could successfully recompile the SystemUI.apk from the July update (MVLUAMG1) of the Canadian variant SGH-I337M. I have decompiled/modified/recompiled the SystemUI.apk of the previous base MVLUAMDJ tens of times WITHOUT ANY ISSUES. I have tried various versions of APK Multi Tool with all the latest updates, as well as Tickle My Android 6.0 - ALL UNSUCCESSFUL
Should anybody be interested in testing it, here are the necessary resources
Here is a log from APK Multi Tool:
Code:
|Sun Jul/28/2013 -- 11:34:33.87|
--------------------------------------------------------------------------
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\CN\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'am' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Thanks!

nacos said:
Hey guys,
I was wondering whether anybody could successfully recompile the SystemUI.apk from the July update (MVLUAMG1) of the Canadian variant SGH-I337M. I have decompiled/modified/recompiled the SystemUI.apk of the previous base MVLUAMDJ tens of times WITHOUT ANY ISSUES. I have tried various versions of APK Multi Tool with all the latest updates, as well as Tickle My Android 6.0 - ALL UNSUCCESSFUL
Should anybody be interested in testing it, here are the necessary resources
Here is a log from APK Multi Tool:
Code:
|Sun Jul/28/2013 -- 11:34:33.87|
--------------------------------------------------------------------------
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\CN\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'am' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res; found: mk
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\COSMIN~1\AppData\Local\Temp\APKTOOL6436926932609608025.tmp, -0, arsc, -I, C:\Users\CN\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\res, -M, C:\APK-Multi-Tool-O\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Thanks!
Click to expand...
Click to collapse
try this
in res/layout, delete this .xml
system_bar_notification_panel_title
and
system_bar_settings_view
decompile, make changes and compile
for last, add again this files in res/values
ready

» Arrow « said:
try this
in res/layout, delete this .xml
system_bar_notification_panel_title
and
system_bar_settings_view
decompile, make changes and compile
for last, add again this files in res/values
ready
Click to expand...
Click to collapse
Well, thanks a lot! The suggested trick did it. After I have changed the status bar transparency, the number of icons in the quick settings bar, the size of the date text in the notification bar and some other minor tweaks, I could successfully recompile the SystemUI.apk without any errors, then, as advised I put back the 2 files previously removed ..however, once the SystemUI.apk was replaced, none of the changes had any effect whatsoever - none! Not even after wiping the Dalvik cache & Cache
I did notice some major changes Samsung has made within the SystemUI.apk but I didn't quite expect that. Well I guess I'll have to do some more digging. Anyway, thanks again for your useful advice.

nacos said:
Well, thanks a lot! The suggested trick did it. After I have changed the status bar transparency, the number of icons in the quick settings bar, the size of the date text in the notification bar and some other minor tweaks, I could successfully recompile the SystemUI.apk without any errors, then, as advised I put back the 2 files previously removed ..however, once the SystemUI.apk was replaced, none of the changes had any effect whatsoever - none! Not even after wiping the Dalvik cache & Cache
I did notice some major changes Samsung has made within the SystemUI.apk but I didn't quite expect that. Well I guess I'll have to do some more digging. Anyway, thanks again for your useful advice.
Click to expand...
Click to collapse
ok, remember delete resources.arsc file and folder res before finish compiling
regards
im using wanam apk manager

So you delete the files within the apk before compiling? I removed the files from the build directory and apktool is now throwing an error with the public.xml.
Sent from my SGH-I337M using XDA Premium 4 mobile app

Same Problem I am having, caused bootloops because I deleted it and I couldnt place it back in the compiled apk

Related

Build framework-res.apk?

I have already dexcode the framework-res.apk, the tool which I used is named "apktool".
And I have done it like this,
apktool if framework-res.apk;
apktool if twframework-res.apk;
apktool d framework-res.apk;
There is no any warnings or errors alarm, and out for framework-res directory and resources.
After I modify some part of *.xml, I type
apktool b reamework-res
it got some errors.
Please help me, why that happend?
----------------------------------------
log:
G:\Android\Tools\apk>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'RestrictedOnSms' has no default translation in G:\Android
\Tools\apk\framework-res\res; found: zh_CN zh_TW
aapt: warning: string 'RestrictedOnVoiceData' has no default translation in G:\A
ndroid\Tools\apk\framework-res\res; found: zh_CN zh_TW
.......................
aapt: warning: string 'zzz_screen_captured_succeed' has no default translation i
n G:\Android\Tools\apk\framework-res\res; found: zh_CN
I: Building apk file...
---------------------
After I repack the framework-res.apk and update the update.zip, the device was stuck at the booting time. How to make the framework-res.apk to get the right way to boot the device?

Error compile apk [problem partially solved]

Hi xda people!!!
I start this thread to help those who have trouble building apk
I was inspired by this thread started by cybdani and thank him for reporting the problem.
It isn't a real solution...but a way to bypass the problem
If you have problem building apk (with apktool/apk manager) you have to:
1) Update file aapt and apktool (download them from here)
2) Search for the type of error in log
3) Look here for solution (thanks to connor.tumbleson
Example taked by my systemui.apk
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarNotificationText').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsRow').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsIcon').
C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsContents').
C:\Users\Silvia\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value @style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL7613493943368638322.tmp, -0, arsc, -I, C:\Users\Silvia\apktool\framework\1.apk, -S, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res, -M, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL7613493943368638322.tmp, -0, arsc, -I, C:\Users\Silvia\apktool\framework\1.apk, -S, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res, -M, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\xxx\AppData\Local\Temp\APKTOOL7613493943368638322.tmp, -0, arsc, -I, C:\Users\Silvia\apktool\framework\1.apk, -S, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\res, -M, C:\Users\xxx\Desktop\s4\Apk_Manager_jb\other\..\projects\SystemUI.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Click to expand...
Click to collapse
I had some style's errors in system_bar_notification_panel_title.xml and system_bar_settings_view.xml...so I try solve them by extracting them before decompile and push them into apk after rebuilding.
With connor.tumbleson'solution I have add a + before any style-error file ( @style/SystemBarNotificationText becomes + @style/SystemBarNotificationText ) and all works well :good:
I hope aapt and apktool file will be updated as soon as possible....until then we can modify our apks bypassing errors
Thanks for the info!
I hope that apktool will be updated too :good:
.malo2000 said:
Hi xda people!!!
I start this thread to help those who have trouble building apk
I was inspired by this thread started by cybdani and thank him for reporting the problem.
It isn't a real solution...but a way to bypass the problem
If you have problem building apk (with apktool/apk manager) you have to:
1) Update file aapt and apktool (download them from here)
2) Search for the type of error in log
3) Look here for solution (thanks to connor.tumbleson
Example taked by my systemui.apk
I had some style's errors in system_bar_notification_panel_title.xml and system_bar_settings_view.xml...so I try solve them by extracting them before decompile and push them into apk after rebuilding.
With connor.tumbleson'solution I have add a + before any style-error file ( @style/SystemBarNotificationText becomes @style/SystemBarNotificationText ) and all works well :good:
I hope aapt and apktool file will be updated as soon as possible....until then we can modify our apks bypassing errors
Click to expand...
Click to collapse
Good job my friend both solutions temporarily resolved this problems, but and i think must be update apktool as soon as possibile :good:
bluflight said:
Good job my friend both solutions temporarily resolved this problems, but and i think must be update apktool as soon as possibile :good:
Click to expand...
Click to collapse
Of course it is the more important thing :thumbup:
Inviato dal mio GT-I9505 con Tapatalk 2
waitting aapt update,current aapt is R16
zhangqip said:
waitting aapt update,current aapt is R16
Click to expand...
Click to collapse
Yes...we need aapt update, but we can turn around compiling problems by reading the log file
Inviato dal mio GT-I9505 con Tapatalk 2
so.. adding + before that style error and then compile? can i copy that new SystemUI.apk with ES File Explorer to that /system/app folder?
or how? now my status bar is gone.. can someone upload SystemUI.apk for me? I9505XXUAMDN...
Vihru said:
so.. adding + before that style error and then compile? can i copy that new SystemUI.apk with ES File Explorer to that /system/app folder?
or how? now my status bar is gone.. can someone upload SystemUI.apk for me? I9505XXUAMDN...
Click to expand...
Click to collapse
Show your log file.... Yes, I added a + before @style errors and then it works
Inviato dal mio GT-I9100 con Tapatalk 2
.malo2000 said:
Show your log file.... Yes, I added a + before @style errors and then it works
Inviato dal mio GT-I9100 con Tapatalk 2
Click to expand...
Click to collapse
here log file.. but can someone give that systemUI.apk, now i havent statusbar ;/
F:\apktool>apktool b system testi.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran
slation in F:\apktool\system\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran
slation in F:\apktool\system\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'am' has no default translation in F:\apktool\system\res;
found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in F:\apktoo
l\system\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in F:\apkto
ol\system\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in F:\apktool
\system\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in F:\apktool
\system\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in F:\apktoo
l\system\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in F:\apktool\
system\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation i
n F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in
F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translatio
n in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation
in F:\apktool\system\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translati
on in F:\apktool\system\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in F:\apkto
ol\system\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in F:\apkto
ol\system\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in F:\apktoo
l\system\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in F:\
apktool\system\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in F:\a
pktool\system\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in F:\
apktool\system\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in F:\apk
tool\system\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in F:\ap
ktool\system\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in F:\apkt
ool\system\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in F:\
apktool\system\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in F
:\apktool\system\res; found: mk
aapt: warning: string 'pm' has no default translation in F:\apktool\system\res;
found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in
F:\apktool\system\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in
F:\apktool\system\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in
F:\apktool\system\res; found: zh_HK
aapt: warning: string 'today' has no default translation in F:\apktool\system\re
s; found: mk
aapt: warning: string 'tomorrow' has no default translation in F:\apktool\system
\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in F:
\apktool\system\res; found: mk
aapt: warning: string 'yesterday' has no default translation in F:\apktool\syste
m\res; found: mk
I: Building apk file...
F:\apktool>
Vihru said:
here log file.. but can someone give that systemUI.apk, now i havent statusbar ;/
Click to expand...
Click to collapse
Here u go
so have anybody get systemUI modded? please share your results.. i want change clock color and other things..
Vihru said:
so have anybody get systemUI modded? please share your results.. i want change clock color and other things..
Click to expand...
Click to collapse
I have decompiled systemui posted you by DocRambone...I'll post you the one with error style solved :good:
Here you find systemui.apk (mdn) with style errors solved
.malo2000 said:
I have decompiled systemui posted you by DocRambone...I'll post you the one with error style solved :good:
Here you find systemui.apk (mdn) with style errors solved
Click to expand...
Click to collapse
i can compile that, then edit, and when decompile it back, it should work? thanks a lot!
Vihru said:
i can compile that, then edit, and when decompile it back, it should work? thanks a lot!
Click to expand...
Click to collapse
Sure... If you modded it in the right way
Inviato dal mio.... Non ricordo più
.malo2000 said:
Sure... If you modded it in the right way
Inviato dal mio.... Non ricordo più
Click to expand...
Click to collapse
not working.. i tried make 1% battery mod.. no statusbar at all.. something is messed up with this..
I have insert it without problem...perhaps you have missed something do you have recovery? I can try to do a zip for you....
.malo2000 said:
I have insert it without problem...perhaps you have missed something do you have recovery? I can try to do a zip for you....
Click to expand...
Click to collapse
im using apktool and if compile that systemUI.apk, it is 2.75mb before.. and when dont edit anything and compile it back, it was something like 1.9mb.. so how it can be different size that i even dont edit anything.. very wierd.
Vihru said:
im using apktool and if compile that systemUI.apk, it is 2.75mb before.. and when dont edit anything and compile it back, it was something like 1.9mb.. so how it can be different size that i even dont edit anything.. very wierd.
Click to expand...
Click to collapse
What apktool's version do you use? Try download latest from here http://code.google.com/p/android-apktool/downloads/list
Inviato dal mio GT-I9505 con Tapatalk 2
.malo2000 said:
What apktool's version do you use? Try download latest from here http://code.google.com/p/android-apktool/downloads/list
Inviato dal mio GT-I9505 con Tapatalk 2
Click to expand...
Click to collapse
yes im using latest.. so what next?
Vihru said:
yes im using latest.. so what next?
Click to expand...
Click to collapse
So....try with apk manager , put in other folder your framework-res, twframework-res and systemui. Install them with command prompt, decompile e build (without change) ssytemui I posted you. In apk manager folder you'll have a log file and if you get errors in building...post me it

framework-res won't build.

I can decompile fine but even unedited it won't build.
I'm using apktool.
Is there any framework I could me missing for that?
Code:
E:\Cellphone\root\apktool>apktool.bat b ./framework-res-bac
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_passwor
d_landscape.xml:22: error: Error: No resource found that matches the given name
(at 'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_passwor
d_portrait.xml:22: error: Error: No resource found that matches the given name (
at 'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_tab_unl
ock.xml:23: error: Error: No resource found that matches the given name (at 'lay
out' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_tab_unl
ock_land.xml:17: error: Error: No resource found that matches the given name (at
'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_unlock_
landscape.xml:18: error: Error: No resource found that matches the given name (a
t 'layout' with value '@layout/keyguard_transport_control').
E:\Cellphone\root\apktool\.\framework-res-bac\res\layout\keyguard_screen_unlock_
portrait.xml:23: error: Error: No resource found that matches the given name (at
'layout' with value '@layout/keyguard_transport_control').
Exception in thread "main" aapt: warning: string 'default_audio_route_name_hdmi'
has no default translation in E:\Cellphone\root\apktool\.\framework-res-bac\res
; found: en_GB es
aapt: warning: string 'default_permission_group' has no default translation in E
:\Cellphone\root\apktool\.\framework-res-bac\res; found: en_GB es
aapt: warning: string 'perms_hide' has no default translation in E:\Cellphone\ro
ot\apktool\.\framework-res-bac\res; found: en_GB es
aapt: warning: string 'perms_show_all' has no default translation in E:\Cellphon
e\root\apktool\.\framework-res-bac\res; found: en_GB es
aapt: warning: string 'securekeypad_restrict' has no default translation in E:\C
ellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg' has no default translation in
E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg_all' has no default translation
in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg_applicationmanager' has no defa
ult translation in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_
CN
aapt: warning: string 'ss_clear_default_hint_msg_more' has no default translatio
n in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
aapt: warning: string 'ss_clear_default_hint_msg_settings' has no default transl
ation in E:\Cellphone\root\apktool\.\framework-res-bac\res; found: zh_CN
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-s
dk-version, 17, -F, C:\Users\XXXXXX\AppData\Local\Temp\APKTOOL7010540710286080272.
tmp, -x, -0, arsc, -S, E:\Cellphone\root\apktool\.\framework-res-bac\res, -M, E:
\Cellphone\root\apktool\.\framework-res-bac\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\XXXXXX\AppData\Local\Temp\APKTOOL7010540710286080272.tmp, -x, -0, arsc, -S,
E:\Cellphone\root\apktool\.\framework-res-bac\res, -M, E:\Cellphone\root\apktoo
l\.\framework-res-bac\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\XXXXXX\AppData\Local\Temp\AP
KTOOL7010540710286080272.tmp, -x, -0, arsc, -S, E:\Cellphone\root\apktool\.\fram
ework-res-bac\res, -M, E:\Cellphone\root\apktool\.\framework-res-bac\AndroidMani
fest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
E:\Cellphone\root\apktool>
Anyone?
Bump?
Sent from my Microwave using xda-developers app

Problems compiling SystemUI.apk

I'm trying to follow the guide in the general android section for decompiling/compiling SystemUI.apk for 4.2.2 but am running into problems with apktool. Details are here: http://forum.xda-developers.com/showthread.php?t=1814441&page=32
I get as far as decompiling and modifying files without any problem, but re-compiling (even when unmodified) with apktool results in the following errors:
Code:
C:\Users\Public\Documents\Android\apktool>apktool b SystemUI almostdone.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran
slation in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran
slation in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\Users\Public\Documen
ts\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\Users\
Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\Users
\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\Users\P
ublic\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\Users\P
ublic\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\Users\
Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\Users\Pu
blic\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation i
n C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translatio
n in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation
in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found:Exception in t
hread "main" C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\syste
m_bar_notification_panel_title.xml:14: error: Error: No resource found that matc
hes the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_notific
ation_panel_title.xml:19: error: Error: No resource found that matches the given
name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_notific
ation_panel_title.xml:21: error: Error: No resource found that matches the given
name (at 'style' with value '@style/SystemBarNotificationText').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:5: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:6: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:7: error: Error: No resource found that matches the given name (at 's
tyle' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:10: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:11: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:12: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:13: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:15: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:16: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:17: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:18: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:21: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:22: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:23: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:26: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:27: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:28: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:29: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:32: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:33: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsRow').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:34: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsIcon').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:35: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsContents').
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_setting
s_view.xml:37: error: Error: No resource found that matches the given name (at '
style' with value '@style/SystemBarPanelSettingsPanelSeparator').
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-s
dk-version, 17, -F, C:\Users\[removed]\AppData\Local\Temp\APKTOOL6455675562911469
390.tmp, -0, arsc, -I, C:\Users\[removed]\apktool\framework\1.apk, -S, C:\Users
\Public\Documents\Android\apktool\SystemUI\res, -M, C:\Users\Public\Documents\An
droid\apktool\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:
\Users\[removed]\AppData\Local\Temp\APKTOOL6455675562911469390.tmp, -0, arsc, -I,
C:\Users\[removed]\apktool\framework\1.apk, -S, C:\Users\Public\Documents\Andr
oid\apktool\SystemUI\res, -M, C:\Users\Public\Documents\Android\apktool\SystemUI
\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 17, --target-sdk-version, 17, -F, C:\Users\[removed]\AppData\Local\Tem
p\APKTOOL6455675562911469390.tmp, -0, arsc, -I, C:\Users\[removed]\apktool\fram
ework\1.apk, -S, C:\Users\Public\Documents\Android\apktool\SystemUI\res, -M, C:\
Users\Public\Documents\Android\apktool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
mk
aapt: warning: string 'month_long_standalone_september' has no default translati
on in C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\Users
\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\Users
\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\Users\
Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\
Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\U
sers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\
Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\Use
rs\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\Us
ers\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\User
s\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\
Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C
:\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\Users\Public\Documen
ts\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in
C:\Users\Public\Documents\Android\apktool\SystemUI\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\Users\Public\Docu
ments\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\Users\Public\D
ocuments\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:
\Users\Public\Documents\Android\apktool\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\Users\Public\
Documents\Android\apktool\SystemUI\res; found: mk
This is with stock, odexed XXUAMDC and installing framework-res.apk, twframework-res.apk and SystemUI.apk with apktool. My apktool and SDK are up to date. Does anyone have any idea what's going wrong here?
Found the solution now, even if it's an ugly one: http://forum.xda-developers.com/showthread.php?t=2263664
First off don't worry about the translation errors.
All of the other errors apktool is telling you what the issue is. Did you copy and past your edits?
Because it is telling you there are no resources to match your edits and it's telling you exactly where the error is. Just follow the errors to the listed xml.
Sent from my HTC6435LVW using xda premium
fernando sor said:
First off don't worry about the translation errors.
All of the other errors apktool is telling you what the issue is. Did you copy and past your edits?
Because it is telling you there are no resources to match your edits and it's telling you exactly where the error is. Just follow the errors to the listed xml.
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
It wasn't to do with the edits, it refuses to compile SystemUI.apk even without any changes. But following the advice here about removing/re-adding system_bar_settings_view.xml and system_bar_notification_panel_title.xml allows you to get around this and compile the apk. From what others have written, I presume this is an issue with the current apktool.
XTCrefugee said:
It wasn't to do with the edits, it refuses to compile SystemUI.apk even without any changes. But following the advice here about removing/re-adding system_bar_settings_view.xml and system_bar_notification_panel_title.xml allows you to get around this and compile the apk. From what others have written, I presume this is an issue with the current apktool.
Click to expand...
Click to collapse
Yes you have to add the missing references. Your aware that apktool is telling your what your missing right? You either rewrite those are add them in manually.
Also make sure you have the latest aapt and apktool from Ibotpeaches. 1.5.3 I believe
Sent from my HTCONE using xda premium
fernando sor said:
Yes you have to add the missing references. Your aware that apktool is telling your what your missing right? You either rewrite those are add them in manually.
Also make sure you have the latest aapt and apktool from Ibotpeaches. 1.5.3 I believe
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
Yes, I'd gathered that it had to do with the missing "style/SystemBarNotificationText" etc. but I've no idea where to actually find the missing styles referenced in system_bar_settings_view.xml and system_bar_notification_panel_title.xml. The fix of not decompiling/re-compiling those files works well enough for me, but the 'real' fix would be to find and add those I guess.
XTCrefugee said:
Yes, I'd gathered that it had to do with the missing "style/SystemBarNotificationText" etc. but I've no idea where to actually find the missing styles referenced in system_bar_settings_view.xml and system_bar_notification_panel_title.xml. The fix of not decompiling/re-compiling those files works well enough for me, but the 'real' fix would be to find and add those I guess.
Click to expand...
Click to collapse
Yes you can completely rewrite xml. Usually as long as it will decompile you can find a fix. You can add xmls to values that were not there to begin with.
We have had projects where we have added numerous ids, xmls to existing system apps. Usually when you are building ids and values you just follow the errors and keep fixing until it compiles.
Sent from my HTC6435LVW using xda premium
fernando sor said:
Yes you can completely rewrite xml. Usually as long as it will decompile you can find a fix. You can add xmls to values that were not there to begin with.
We have had projects where we have added numerous ids, xmls to existing system apps. Usually when you are building ids and values you just follow the errors and keep fixing until it compiles.
Click to expand...
Click to collapse
But what I mean is I have no idea where the source of those missing styles from those two xml files are. Without randomly decompiling other system files until I find their source, it would be a bit difficult to add them.
XTCrefugee said:
But what I mean is I have no idea where the source of those missing styles from those two xml files are. Without randomly decompiling other system files until I find their source, it would be a bit difficult to add them.
Click to expand...
Click to collapse
Yes for some reason it is erroring out. But you can see that a lot of the errors are missing references in styles. So you just add the reference.
Sent from my HTC6435LVW using xda premium
fernando sor said:
Yes for some reason it is erroring out. But you can see that a lot of the errors are missing references in styles. So you just add the reference.
Click to expand...
Click to collapse
I'm afraid I don't think we're understanding each other on this. I get that I need to add the missing references. But other than "style/SystemBarNotificationText" etc. I have no information about what is missing or what files the styles are in. How can I add references for them, surely I don't have enough information to do so?
XTCrefugee said:
I'm afraid I don't think we're understanding each other on this. I get that I need to add the missing references. But other than "style/SystemBarNotificationText" etc. I have no information about what is missing or what files the styles are in. How can I add references for them, surely I don't have enough information to do so?
Click to expand...
Click to collapse
Where the text style is referenced in an xml in layout. Just delete it and write in a reference in the xml itself. Styles are easy to delete or reroute
Sent from my HTCONE using xda premium
Guys...
It is very simple to solve this problem, just add the sign + before any style error " @style/..."
Example:
@style/SystemBarNotificationText becomes + @style/SystemBarNotificationText
etc...
More information here, thanks connor.tumbleson
softwork_brasil said:
It is very simple to solve this problem, just add the sign + before any style error " style/..."
Click to expand...
Click to collapse
Thanks, and I saw another of connor.tumbleson's replies on the apktool bug tracker explains how to do a "proper" fix too. Worth knowing for theming perfectionists
The correct fix is to move the "private extended" styles into that applications styles.xml. You can look at AOSP styles.xml to get the list of those styles which are private. Then simply add them into that APKs styles and all should work. This was tested and worked with the problematic apks.
Apktool isn't met to "fix" apks. As AAPT becomes more restrictive, Apktool will become more difficult to use. These APKs that have this problem were obviously built with an older AAPT before this was enforced. So this actually is NOT an apktool problem. Just a problem building old vs new aapt.
I am writing a good deal of documentation to explain stuff like this for 2.0, but this bug in particular is not really a bug, but a feature request to somehow automatically re-map privately extended styles automatically into the local styles.
Click to expand...
Click to collapse
See https://code.google.com/p/android-apktool/issues/detail?id=441#c20

[SOLVED] - APK Tool Error for recompiling secsettings apk

What causes the below error ?
I've been trying hours to figure out. Im trying to recompile secsettings.apk with AppOps Mod.
--------------------------------------------------------------------------
|Fri 04/10/2015 -- 11:00:02.89|
--------------------------------------------------------------------------
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
warning: string 'SS_EVENT_NOTIFICATIONS_WILL_BE_DISPLAYED_ON_NEW_YEARS_DAY_LUNAR
_NEW_YEAR_VALENTINES_DAY_MSG_SEA' has no default translation.
warning: string 'SS_THEMED_WALLPAPER_WILL_BE_APPLIED_ON_NEW_YEARS_DAY_LUNAR_NEW_
YEAR_VALENTINES_DAY_MSG_SEA' has no default translation.
warning: string 'accessibility_display_title' has no default translation.
warning: string 'accessibility_screen_magnification_summary' has no default tran
slation.
warning: string 'app_notification_priority_summary_dnd' has no default translati
on.
warning: string 'app_notifications_dialog_priority' has no default translation.
warning: string 'app_notifications_dialog_show' has no default translation.
warning: string 'app_notifications_dialog_visibility' has no default translation
.
warning: string 'battery_saver_always_on_title' has no default translation.
warning: string 'battery_saver_description' has no default translation.
warning: string 'bluetooth_message_access' has no default translation.
warning: string 'bluetooth_preference_paired_dialog_use_label' has no default tr
anslation.
warning: string 'call_roaming_customer_center' has no default translation.
warning: string 'call_roaming_customer_center_body' has no default translation.
warning: string 'cancel_button' has no default translation.
warning: string 'cardCrash' has no default translation.
warning: string 'carrier_match_accept' has no default translation.
warning: string 'carrier_match_auto_sync' has no default translation.
warning: string 'carrier_match_auto_sync_disclaimer' has no default translation.
warning: string 'carrier_match_decline' has no default translation.
warning: string 'carrier_match_last_sync' has no default translation.
warning: string 'carrier_match_smartcsp' has no default translation.
warning: string 'carrier_match_smartcsp_summary' has no default translation.
warning: string 'choose_input_methods' has no default translation.
warning: string 'crypt_keeper_desc_vzw8' has no default translation.
warning: string 'crypt_keeper_processing_msg' has no default translation.
warning: string 'default_area_code' has no default translation.
warning: string 'default_area_code_summary' has no default translation.
warning: string 'device_info_fcc_cert' has no default translation.
warning: string 'dnd_description_na' has no default translation.
warning: string 'dnd_description_wifi' has no default translation.
warning: string 'easy_mode_j_vzw' has no default translation.
warning: string 'eid_networkerror_message' has no default translation.
warning: string 'enable_quickboot_summary' has no default translation.
warning: string 'enable_quickboot_title' has no default translation.
warning: string 'fingerprint_change_backup_password' has no default translation.
warning: string 'location_category_enhanced_location' has no default translation
.
warning: string 'mirror_link_no_apps' has no default translation.
warning: string 'no_exceptions' has no default translation.
warning: string 'ok_button' has no default translation.
warning: string 'ok_button_wifi_off' has no default translation.
warning: string 'percentage' has no default translation.
warning: string 'personal_page_secretbox_disclaimer_message_vzw' has no default
translation.
warning: string 'power_discharging' has no default translation.
warning: string 'print_download_subtitle' has no default translation.
warning: string 'screen_pinning_description_wifi' has no default translation.
warning: string 'select_location_title' has no default translation.
warning: string 'set_exceptions' has no default translation.
warning: string 'set_schedule' has no default translation.
warning: string 'settings_unable_flight_mode_warning' has no default translation
.
warning: string 'ss_to_set_your_birthday_go_to_contacts_me' has no default trans
lation.
warning: string 'ts_unable_to_turn_on_torch_camera_light_being_used_by_activity_
zone' has no default translation.
warning: string 'unlock_set_unlock_enterprise_identity_title' has no default tra
nslation.
warning: string 'user_summary_managed_profile_not_enabled' has no default transl
ation.
warning: string 'webview_data_reduction_proxy' has no default translation.
warning: string 'webview_data_reduction_proxy_summary' has no default translatio
n.
warning: string 'wifi_ap_unavailable_while_bt_or_usb_tethering_active' has no de
fault translation.
warning: string 'wifi_assistant_change_message' has no default translation.
warning: string 'wifi_assistant_change_title' has no default translation.
warning: string 'wifi_hs20_noti_connected_msg' has no default translation.
warning: string 'wifi_hs20_noti_connected_operator_msg' has no default translati
on.
warning: string 'wifi_hs20_noti_connected_title' has no default translation.
warning: string 'wifi_share_profile_empty_candidate_aps' has no default translat
ion.
warning: string 'zen_mode_events_summary_na' has no default translation.
C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res\values\strings.xml:8339: erro
r: Resource entry app_ops_settings_summary is already defined.
C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res\values\strings.xml:2436: Orig
inally defined here.
C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res\xml\general_headers.xml:30: e
rror: Error: No resource found that matches the given name (at 'icon' with value
'@drawable/ic_settings_applicationpermissions').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Ja\App
Data\Local\Temp\brut_util_Jar_5367009800729330311.tmp, p, --forced-package-id, 1
27, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --versi
on-name, 5.0.1-N915FXXU1BOC6, -F, C:\Users\Ja\AppData\Local\Temp\APKTOOL43965294
82662475895.tmp, -0, arsc, -I, C:\Users\Ja\apktool\framework\1.apk, -S, C:\APK-M
ulti-Tool-2.0\projects\SecSettings.apk\res, -M, C:\APK-Multi-Tool-2.0\projects\S
ecSettings.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:443)
at brut.androlib.Androlib.buildResources(Androlib.java:380)
at brut.androlib.Androlib.build(Androlib.java:283)
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\Ja\AppData\Local\Temp\brut_util_Jar_5367009800729330311
.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version,
21, --version-code, 21, --version-name, 5.0.1-N915FXXU1BOC6, -F, C:\Users\Ja\App
Data\Local\Temp\APKTOOL4396529482662475895.tmp, -0, arsc, -I, C:\Users\Ja\apktoo
l\framework\1.apk, -S, C:\APK-Multi-Tool-2.0\projects\SecSettings.apk\res, -M, C
:\APK-Multi-Tool-2.0\projects\SecSettings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:511)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:429)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Ja\AppDa
ta\Local\Temp\brut_util_Jar_5367009800729330311.tmp, p, --forced-package-id, 127
, --min-sdk-version, 21, --target-sdk-version, 21, --version-code, 21, --version
-name, 5.0.1-N915FXXU1BOC6, -F, C:\Users\Ja\AppData\Local\Temp\APKTOOL4396529482
662475895.tmp, -0, arsc, -I, C:\Users\Ja\apktool\framework\1.apk, -S, C:\APK-Mul
ti-Tool-2.0\projects\SecSettings.apk\res, -M, C:\APK-Multi-Tool-2.0\projects\Sec
Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:505)
... 6 more
Press any key to continue . . .
Click to expand...
Click to collapse
JazonX said:
What causes the below error ?
I've been trying hours to figure out. Im trying to recompile secsettings.apk with AppOps Mod.
Click to expand...
Click to collapse
How ?
check res/values/strings.xml
look for app_ops_settings_summary
you might see 2 values for the same strings, delete the one you made, and keep the original one!
(if you didn't know which one, just delete one of them)
go to res\xml\general_headers.xml
search for this line: drawable/ic_settings_applicationpermissions
and change the icon..
if you see at the end of the xml file, there are few icons for application manager and settings, just copy one drawable/ic_*************
and use it for app ops
and then try to compile again.

Categories

Resources