[Nexus 4 Q&A, Help & Troubleshooting] Connor Baker:
So, in a way I'm bumping this. By digging deeper through the interwebz, I managed to find this guide: http://xdaforums.com/showthread.php?t=2188545

I've made all the edits, and am trying to recompile SystemUI.apk, but apparently something isn't working in the framework-res.apk\res\values\public.xml

Here's the error that I receive in CMD prompt (yes, I am using Windows):

C:\Users\Connor Baker\Downloads\apktool1.5.2>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Users\Connor Baker\Downloads\apktool1.5.2\fr
amework-res\res/drawable-ldrtl-xhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\CONNOR~1\AppData\Local\T
emp\APKTOOL3157169261723515344.tmp, -x, -0, arsc, -S, C:\Users\Connor Baker\Down
loads\apktool1.5.2\framework-res\res, -M, C:\Users\Connor Baker\Downloads\apktoo
l1.5.2\framework-res\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\CONNOR~1\AppData\Local\Temp\APKTOOL3157169261723515344.tmp, -x, -0, arsc,
-S, C:\Users\Connor Baker\Downloads\apktool1.5.2\framework-res\res, -M, C:\User
s\Connor Baker\Downloads\apktool1.5.2\framework-res\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\CONNOR~1\AppData\Local\Tem
p\APKTOOL3157169261723515344.tmp, -x, -0, arsc, -S, C:\Users\Connor Baker\Downlo
ads\apktool1.5.2\framework-res\res, -M, C:\Users\Connor Baker\Downloads\apktool1
.5.2\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more

C:\Users\Connor Baker\Downloads\apktool1.5.2>apktool b SystemUI
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:94:
error: Public entry identifier 0x7f0204c0 entry index is larger than available s
ymbols (index 1216, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:94:
error: Public symbol drawable/nav_bar_bg declared here is not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:93:
error: Public entry identifier 0x7f0204bf entry index is larger than available s
ymbols (index 1215, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:93:
error: Public symbol drawable/notification_header_bg declared here is not define
d.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:96:
error: Public entry identifier 0x7f0204c2 entry index is larger than available s
ymbols (index 1218, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:96:
error: Public symbol drawable/notification_icon_area_smoke declared here is not
defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:98:
error: Public entry identifier 0x7f0204c4 entry index is larger than available s
ymbols (index 1220, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:98:
error: Public symbol drawable/notification_item_background_color declared here i
s not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:99:
error: Public entry identifier 0x7f0204c5 entry index is larger than available s
ymbols (index 1221, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:99:
error: Public symbol drawable/notification_item_background_color_pressed declare
d here is not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:97:
error: Public entry identifier 0x7f0204c3 entry index is larger than available s
ymbols (index 1219, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:97:
error: Public symbol drawable/notification_shortcut_background_color declared he
re is not defined.
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:95:
error: Public entry identifier 0x7f0204c1 entry index is larger than available s
ymbols (index 1217, total symbols 1215).
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res\values\public.xml:95:
error: Public symbol drawable/system_bar_background declared here is not defined
.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\CONNOR~1\AppData\Local\T
emp\APKTOOL467937039532912873.tmp, -0, arsc, -I, C:\Users\Connor Baker\apktool\f
ramework\1.apk, -S, C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res, -
M, C:\Users\Connor Baker\Downloads\apktool1.5.2\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\CONNOR~1\AppData\Local\Temp\APKTOOL467937039532912873.tmp, -0, arsc, -I,
C:\Users\Connor Baker\apktool\framework\1.apk, -S, C:\Users\Connor Baker\Downloa
ds\apktool1.5.2\SystemUI\res, -M, C:\Users\Connor Baker\Downloads\apktool1.5.2\S
ystemUI\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\CONNOR~1\AppData\Local\Tem
p\APKTOOL467937039532912873.tmp, -0, arsc, -I, C:\Users\Connor Baker\apktool\fra
mework\1.apk, -S, C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\res, -M,
C:\Users\Connor Baker\Downloads\apktool1.5.2\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more

C:\Users\Connor Baker\Downloads\apktool1.5.2>

So yeah. I'm not sure what I'm doing wrong :l Any help would be gladly appreciated!

Connor Baker