[Galaxy S 4 Q&A, Help & Troubleshooting] XoXFaby:
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?

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>