[Galaxy S I9000 Themes and Apps] Rahulrulez:
Hey there,

I want to modify progressbar for the new ICS theme I am making. As progressbar lies in /res/drawable/progress_horizontal.xml, I decompiled framework-res.apk, edited the xml and tried to recompile it (using APKManager, apktool both)

but I'm getting this error :

http://pastebin.com/MATYs4Z9

OR

F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3854:
error: Public symbol drawable/zzz_unlock_ctr_nor_ff declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3855:
error: Public symbol drawable/zzz_unlock_ctr_nor_pause declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3856:
error: Public symbol drawable/zzz_unlock_ctr_nor_play declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3857:
error: Public symbol drawable/zzz_unlock_ctr_nor_rew declared here is not defin
ed.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3858:
error: Public symbol drawable/zzz_unlock_ctr_pr_ff declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3859:
error: Public symbol drawable/zzz_unlock_ctr_pr_pause declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3860:
error: Public symbol drawable/zzz_unlock_ctr_pr_play declared here is not defin
ed.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3861:
error: Public symbol drawable/zzz_unlock_ctr_pr_rew declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3862:
error: Public symbol drawable/zzz_unlock_default_cd_image declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3863:
error: Public symbol drawable/zzz_unlock_disk_background declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3864:
error: Public symbol drawable/zzz_unlock_disk_close declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3865:
error: Public symbol drawable/zzz_unlock_disk_default declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3866:
error: Public symbol drawable/zzz_unlock_disk_open declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3867:
error: Public symbol drawable/zzz_unlock_diskbg declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3868:
error: Public symbol drawable/zzz_unlock_diskimg01 declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3869:
error: Public symbol drawable/zzz_unlock_dualclock_bg declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3870:
error: Public symbol drawable/zzz_unlock_icon_lock declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3871:
error: Public symbol drawable/zzz_unlock_lockbg declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3872:
error: Public symbol drawable/zzz_unlock_music_sound_bg declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3873:
error: Public symbol drawable/zzz_unlock_music_sound_bg_f declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3874:
error: Public symbol drawable/zzz_unlock_music_sound_bg_p declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3875:
error: Public symbol drawable/zzz_unlock_noti_icon_call declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3876:
error: Public symbol drawable/zzz_unlock_noti_icon_email declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3877:
error: Public symbol drawable/zzz_unlock_noti_icon_mail declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3878:
error: Public symbol drawable/zzz_unlock_noti_slidebg declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3879:
error: Public symbol drawable/zzz_unlock_puzzle_bg declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3880:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_call declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3881:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_call_fit declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3882:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_email declared here i
s not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3883:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_email_fit declared he
re is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3884:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_mail declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3885:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_mail_fit declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3886:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_unlock declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3887:
error: Public symbol drawable/zzz_unlock_puzzle_noti_icon_unlock_fit declared h
ere is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3888:
error: Public symbol drawable/zzz_unlock_selector_album declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3889:
error: Public symbol drawable/zzz_unlock_selector_ff declared here is not defin
ed.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3890:
error: Public symbol drawable/zzz_unlock_selector_pause declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3891:
error: Public symbol drawable/zzz_unlock_selector_play declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3892:
error: Public symbol drawable/zzz_unlock_selector_rew declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3893:
error: Public symbol drawable/zzz_unlock_selector_without_album declared here i
s not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3894:
error: Public symbol drawable/zzz_unlock_textbg declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3059:
error: Public symbol drawable/zzzz_tw_popup_btn_check declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3754:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3755:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_disable declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3756:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_disable_focused decla
red here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3757:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3758:
error: Public symbol drawable/zzzz_tw_popup_btn_check_off_selected declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3759:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3760:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_disable declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3761:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_disable_focused declar
ed here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3762:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3763:
error: Public symbol drawable/zzzz_tw_popup_btn_check_on_selected declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3060:
error: Public symbol drawable/zzzz_tw_popup_btn_radio declared here is not defi
ned.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3764:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_off declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3765:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_off_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3766:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_off_selected declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\toolException in thread "main" brut.androlib.A
ndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -
F, C:\Users\rahul\AppData\Local\Temp\APKTOOL8830860605895445426.tmp, -x, -S, F:\
GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res, -M, F:\GalaxyS\ROMS\App-E
dits\apktool\tool\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\rahul\AppData\Local\Temp\APKTOOL8830860605895445426.tmp, -x, -S, F:\GalaxyS
\ROMS\App-Edits\apktool\tool\framework-res\res, -M, F:\GalaxyS\ROMS\App-Edits\ap
ktool\tool\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
\framework-res\res\values\public.xml:3767: error: Public symbol drawable/zzzz_tw
_popup_btn_radio_on declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3768:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_on_pressed declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3769:
error: Public symbol drawable/zzzz_tw_popup_btn_radio_on_selected declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3895:
error: Public symbol drawable/zzzz_webselect_bg_topbar declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3066:
error: Public symbol drawable/zzzz_webselect_btn_bg declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3896:
error: Public symbol drawable/zzzz_webselect_dialog_bg declared here is not def
ined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3897:
error: Public symbol drawable/zzzz_webselect_dialog_btn_bg declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3898:
error: Public symbol drawable/zzzz_webselect_dialog_btn_bg_pressed declared her
e is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3899:
error: Public symbol drawable/zzzz_webselect_topbar_key_bg_option declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3067:
error: Public symbol drawable/zzzz_webselect_topbar_key_bg_option_xml declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3900:
error: Public symbol drawable/zzzz_webselect_topbar_key_bg_press declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3198:
error: Public symbol drawable/zzzzz_tw_cursor_handle_bg declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:2969:
error: Public symbol drawable/zzzzz_tw_cursor_handle_menu_btn_background declar
ed here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3278:
error: Public symbol drawable/zzzzz_tw_quick_clip_board declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3279:
error: Public symbol drawable/zzzzz_tw_quick_copy declared here is not defined.

F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3280:
error: Public symbol drawable/zzzzz_tw_quick_cut declared here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3281:
error: Public symbol drawable/zzzzz_tw_quick_paste declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3282:
error: Public symbol drawable/zzzzz_tw_quick_search declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3283:
error: Public symbol drawable/zzzzz_tw_quick_select declared here is not define
d.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3901:
error: Public symbol drawable/zzzzz_tw_quick_select_all declared here is not de
fined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3284:
error: Public symbol drawable/zzzzz_tw_quick_share declared here is not defined
.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3285:
error: Public symbol drawable/zzzzz_tw_quickcontact_arrow_down declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3286:
error: Public symbol drawable/zzzzz_tw_quickcontact_arrow_up declared here is n
ot defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3287:
error: Public symbol drawable/zzzzz_tw_quickcontact_bottom_frame declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3288:
error: Public symbol drawable/zzzzz_tw_quickcontact_drop_shadow declared here i
s not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3289:
error: Public symbol drawable/zzzzz_tw_quickcontact_frame_divider_med declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3290:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_background declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3902:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_normal declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3903:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_on declared here
is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3291:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_pressed declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3904:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_btn_selected declare
d here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3292:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_grip_left declared h
ere is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3293:
error: Public symbol drawable/zzzzz_tw_quickcontact_slider_grip_right declared
here is not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3294:
error: Public symbol drawable/zzzzz_tw_quickcontact_top_frame declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3905:
error: Public symbol drawable/zzzzzz_ic_lock_data_disable declared here is not
defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3906:
error: Public symbol drawable/zzzzzz_ic_lock_data_enable declared here is not d
efined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3907:
error: Public symbol drawable/zzzzzzz_sec_noti_icon_decryption declared here is
not defined.
F:\GalaxyS\ROMS\App-Edits\apktool\tool\framework-res\res\values\public.xml:3908:
error: Public symbol drawable/zzzzzzz_sec_noti_icon_encryption declared here is
not defined.

I don't know what's wrong with the framework-res.apk

I tried decompiling it with dependency but it doesn't work :(

Anybody wants to help me?

Regards,

Rahul