[Sony Xperia P, U, Sola, Go] sijav:
Hi I'm getting some apktool error on recompiling framework-res.apk,

I'm currently working on getting Extream-Security working on Xperia P but having this problem on recompiling framework-res.apk->

apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6274: error: Public symbol drawable/ic_commit declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5668: error: Public entry identifier 0x1080998 entry index is larger than available symbols (index 2456, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5668: error: Public symbol drawable/input_method_fullscreen_background declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5669: error: Public entry identifier 0x1080999 entry index is larger than available symbols (index 2457, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5669: error: Public symbol drawable/input_method_fullscreen_background_holo declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5664: error: Public entry identifier 0x1080994 entry index is larger than available symbols (index 2452, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5664: error: Public symbol drawable/notification_item_background_color declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5665: error: Public entry identifier 0x1080995 entry index is larger than available symbols (index 2453, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5665: error: Public symbol drawable/notification_item_background_color_pressed declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5673: error: Public entry identifier 0x108099d entry index is larger than available symbols (index 2461, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5673: error: Public symbol drawable/notification_template_icon_bg declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5674: error: Public entry identifier 0x108099e entry index is larger than available symbols (index 2462, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5674: error: Public symbol drawable/notification_template_icon_low_bg declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5667: error: Public entry identifier 0x1080997 entry index is larger than available symbols (index 2455, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5667: error: Public symbol drawable/safe_mode_background declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5672: error: Public entry identifier 0x108099c entry index is larger than available symbols (index 2460, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5672: error: Public symbol drawable/screen_background_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5671: error: Public entry identifier 0x108099b entry index is larger than available symbols (index 2459, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5671: error: Public symbol drawable/screen_background_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5666: error: Public entry identifier 0x1080996 entry index is larger than available symbols (index 2454, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5666: error: Public symbol drawable/search_bar_default_color declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5670: error: Public entry identifier 0x108099a entry index is larger than available symbols (index 2458, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5670: error: Public symbol drawable/selected_day_background declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7361: error: Public symbol drawable/semc_bg_bright_tile declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7362: error: Public symbol drawable/semc_bg_tile declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6883: error: Public symbol drawable/semc_ic_cab_done_holo declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7363: error: Public symbol drawable/semc_ic_dialog_reboot declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6922: error: Public symbol drawable/semc_list_longpressed_holo declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6927: error: Public symbol drawable/semc_lockscreen_btn_default_normal declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6928: error: Public symbol drawable/semc_lockscreen_btn_default_normal_disable declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6929: error: Public symbol drawable/semc_lockscreen_btn_default_normal_disable_focused declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6930: error: Public symbol drawable/semc_lockscreen_btn_default_pressed declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6931: error: Public symbol drawable/semc_lockscreen_btn_default_selected declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6951: error: Public symbol drawable/semc_numberpicker_down_disabled_focused_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6952: error: Public symbol drawable/semc_numberpicker_down_disabled_focused_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6953: error: Public symbol drawable/semc_numberpicker_down_disabled_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6954: error: Public symbol drawable/semc_numberpicker_down_disabled_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6955: error: Public symbol drawable/semc_numberpicker_down_focused_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6956: error: Public symbol drawable/semc_numberpicker_down_focused_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6957: error: Public symbol drawable/semc_numberpicker_down_normal_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6958: error: Public symbol drawable/semc_numberpicker_down_normal_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6959: error: Public symbol drawable/semc_numberpicker_down_pressed_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6960: error: Public symbol drawable/semc_numberpicker_down_pressed_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6962: error: Public symbol drawable/semc_numberpicker_up_disabled_focused_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6963: error: Public symbol drawable/semc_numberpicker_up_disabled_focused_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6964: error: Public symbol drawable/semc_numberpicker_up_disabled_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6965: error: Public symbol drawable/semc_numberpicker_up_focused_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6966: error: Public symbol drawable/semc_numberpicker_up_focused_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6967: error: Public symbol drawable/semc_numberpicker_up_normal_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6968: error: Public symbol drawable/semc_numberpicker_up_normal_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6969: error: Public symbol drawable/semc_numberpicker_up_pressed_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:6970: error: Public symbol drawable/semc_numberpicker_up_pressed_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7059: error: Public symbol drawable/semc_switch_bg_disabled_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7060: error: Public symbol drawable/semc_switch_bg_disabled_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7061: error: Public symbol drawable/semc_switch_bg_focused_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7062: error: Public symbol drawable/semc_switch_bg_focused_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7063: error: Public symbol drawable/semc_switch_bg_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7064: error: Public symbol drawable/semc_switch_bg_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7076: error: Public symbol drawable/semc_switch_thumb_activated_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7077: error: Public symbol drawable/semc_switch_thumb_activated_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7080: error: Public symbol drawable/semc_switch_thumb_disabled_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7081: error: Public symbol drawable/semc_switch_thumb_disabled_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7083: error: Public symbol drawable/semc_switch_thumb_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7084: error: Public symbol drawable/semc_switch_thumb_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7086: error: Public symbol drawable/semc_switch_thumb_pressed_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7087: error: Public symbol drawable/semc_switch_thumb_pressed_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5662: error: Public entry identifier 0x1080992 entry index is larger than available symbols (index 2450, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5662: error: Public symbol drawable/status_bar_closed_default_background declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5663: error: Public entry identifier 0x1080993 entry index is larger than available symbols (index 2451, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5663: error: Public symbol drawable/status_bar_opened_default_background declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7254: error: Public symbol drawable/sym_keyboard_delete_holo declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5660: error: Public entry identifier 0x1080980 entry index is larger than available symbols (index 2432, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5660: error: Public symbol drawable/textfield_searchview_right_holo_dark declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5661: error: Public entry identifier 0x1080981 entry index is larger than available symbols (index 2433, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5661: error: Public symbol drawable/textfield_searchview_right_holo_light declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7350: error: Public entry identifier 0x1080982 entry index is larger than available symbols (index 2434, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7350: error: Public symbol drawable/textfield_selected declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7351: error: Public entry identifier 0x1080983 entry index is larger than available symbols (index 2435, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7351: error: Public symbol drawable/title_bar_medium declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7352: error: Public entry identifier 0x1080984 entry index is larger than available symbols (index 2436, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7352: error: Public symbol drawable/title_bar_portrait declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7353: error: Public entry identifier 0x1080985 entry index is larger than available symbols (index 2437, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7353: error: Public symbol drawable/title_bar_shadow declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7354: error: Public entry identifier 0x1080986 entry index is larger than available symbols (index 2438, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7354: error: Public symbol drawable/toast_frame_holo declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7355: error: Public entry identifier 0x1080987 entry index is larger than available symbols (index 2439, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7355: error: Public symbol drawable/transportcontrol_bg declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7356: error: Public entry identifier 0x1080988 entry index is larger than available symbols (index 2440, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7356: error: Public symbol drawable/unknown_image declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7364: error: Public entry identifier 0x1080989 entry index is larger than available symbols (index 2441, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7364: erException in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, /tmp/APKTOOL8994714394969904015.tmp, -x, -S, /home/sijav/Xtream/diff/framework/made/framework-res/res, -M, /home/sijav/Xtream/diff/framework/made/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, 16, --target-sdk-version, 16, -F, /tmp/APKTOOL8994714394969904015.tmp, -x, -S, /home/sijav/Xtream/diff/framework/made/framework-res/res, -M, /home/sijav/Xtream/diff/framework/made/framework-res/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, 16, --target-sdk-version, 16, -F, /tmp/APKTOOL8994714394969904015.tmp, -x, -S, /home/sijav/Xtream/diff/framework/made/framework-res/res, -M, /home/sijav/Xtream/diff/framework/made/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
ror: Public symbol drawable/unlock_default declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7365: error: Public entry identifier 0x108098a entry index is larger than available symbols (index 2442, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7365: error: Public symbol drawable/unlock_halo declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7366: error: Public entry identifier 0x108098b entry index is larger than available symbols (index 2443, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7366: error: Public symbol drawable/unlock_ring declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7367: error: Public entry identifier 0x108098c entry index is larger than available symbols (index 2444, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7367: error: Public symbol drawable/unlock_wave declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7357: error: Public entry identifier 0x108098d entry index is larger than available symbols (index 2445, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7357: error: Public symbol drawable/usb_android declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7358: error: Public entry identifier 0x108098e entry index is larger than available symbols (index 2446, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7358: error: Public symbol drawable/usb_android_connected declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5228: error: Public entry identifier 0x108098f entry index is larger than available symbols (index 2447, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:5228: error: Public symbol drawable/view_accessibility_focused declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7359: error: Public entry identifier 0x1080990 entry index is larger than available symbols (index 2448, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7359: error: Public symbol drawable/vpn_connected declared here is not defined.
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7360: error: Public entry identifier 0x1080991 entry index is larger than available symbols (index 2449, total symbols 2432).
/home/sijav/Xtream/diff/framework/made/framework-res/res/values/public.xml:7360: error: Public symbol drawable/vpn_disconnected declared here is not defined.

Any Idea or help?

I've upload the files, here's the link -> http://www.mediafire.com/download/h8v6qt6d31l7cy3/framework-res.zip

It's original framework-res.apk and SemcGenericUxpRes.apk

and also a framework-res folder that I want to compile!

thnx in advance for your time and replay