[Android Software/Hacking General [Developers Only]] XTCrefugee:
OK, I deleted the apk's in C:\Users\[My user ID]\apktool\framework and first tried installing just framework-res.apk and twframework-res.apk (not SystemUI.apk), then decompiling SystemUI.apk and re-compiling without any changes. I got the following errors, similar to the ones I had before:

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...
C:\Users\Public\Documents\Android\apktool\SystemUI\res\layout\system_bar_notific
ation_panel_title.xml:14: 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: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').
Exception in thread "main" aapt: warning: string 'abbrev_wday_abbrev_month_day_n
o_year' has no default translation 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:brut.androlib.
AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: c
ould not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17
, -F, C:\Users\[removed]\AppData\Local\Temp\APKTOOL7813695682802494060.tmp, -0, a
rsc, -I, C:\Users\[removed]\apktool\framework\1.apk, -S, C:\Users\Public\Docume
nts\Android\apktool\SystemUI\res, -M, C:\Users\Public\Documents\Android\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\APKTOOL7813695682802494060.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\APKTOOL7813695682802494060.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

I then deleted the SystemUI directory, installed SystemUI.apk, decompiled it and again compiled it with no changes. Again, I got the errors I posted earlier today. So you're right, it's obviously nothing to do with any changes I'm making. Maybe I need to install some other file in addition to framework-res.apk and twframework-res.apk? Or this caused by something else?