[Galaxy S II Themes and Apps] mossination:
I took the framework and twframework from the rom im using and put it in the apktool framework. I renamed them to one and two putting the "1" that was already in there to my "place-for-mod" folder. Does it have anything to do with "aapt"?

a:191)
... 6 more
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\btn_default_normal.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\btn_default_normal.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\btn_default_pressed.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\btn_default_pressed.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_btn_default_focus.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_btn_default_focus.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_btn_default_normal.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_btn_default_normal.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_btn_default_press.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_btn_default_press.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_helptext_bg.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #2 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_helptext_bg.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_information_popup_bg.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_information_popup_bg.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_option_popup_bg.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #4 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_option_popup_bg.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_option_popup_bg_02.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #4 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_option_popup_bg_02.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_option_popup_bg_2depth.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #3 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_option_popup_bg_2depth.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_option_popup_line.9.png malformed.
Image must be at least 3x3 (1x1 without frame) pixels.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_option_popup_line.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_option_popup_scroll.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_option_popup_scroll.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\camera_slider_bg.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #3 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\camera_slider_bg.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\detail_photo_border.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #4 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\detail_photo_border.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\emptynine.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\emptynine.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\highlight.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\highlight.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\highlight_transparent.9.png malformed.
Image must be at least 3x3 (1x1 without frame) pixels.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\highlight_transparent.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\list_selector_background_focus.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\list_selector_background_focus.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\menu_background_fill_parent_width.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\menu_background_fill_parent_width.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\menu_btn_n_l1.9.png malformed.
Image must be at least 3x3 (1x1 without frame) pixels.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\menu_btn_n_l1.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\menu_btn_p_l1.9.png malformed.
Image must be at least 3x3 (1x1 without frame) pixels.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\menu_btn_p_l1.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\menuitem_background_pressed.9.png malformed.
Must have one-pixel frame that is either transparent or white.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\menuitem_background_pressed.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\popup_bottom_medium.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #9 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\popup_bottom_medium.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\popup_full_bright.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\popup_full_bright.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\popup_full_dark.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\popup_full_dark.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\popup_top_dark.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\popup_top_dark.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\tw_btn_01_default_disable.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\tw_btn_01_default_disable.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\tw_progressbar.9.png malformed.
No marked region found along edge.
Found along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\tw_progressbar.9.png
ERROR: 9-patch image C:\Android\android-sdk\projects\Camera.apk\res\drawable-nod
pi\tw_progressbar_bg.9.png malformed.
Frame pixels must be either solid or transparent (not intermediate alphas
).
Found at pixel #6 along top edge.
ERROR: Failure processing PNG image C:\Android\android-sdk\projects\Camera.apk\r
es\drawable-nodpi\tw_progressbar_bg.9.png
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\actionshot.xml:1: er
ror: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\addmeshot.xml:1: err
or: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\blackscreen.xml:1: error:
Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\camcorderbaseindicat
ors.xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\camcorderindicators.xml:1:
error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\camerabaseindicators
.xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\cameraindicators.xml
:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\cartoonshotmodeview.
xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\continuousshot.xml:1
: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\cropimage.xml:1: err
or: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\descriptionpanel.xml
:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\eidtusername.xml:1: error:
Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\emptyview.xml:1: error: Er
ror parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\framecapturelayout.xml:1:
error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\helptextpopup.xml:1:
error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\history.xml:1: error: Erro
r parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\history_item.xml:1: error:
Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\kor_toast_layout.xml
:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\main.xml:1: error: E
rror parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\panoramaview.xml:1:
error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\panoramax1.xml:1: er
ror: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\postview.xml:1: error: Err
or parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\selfshotview.xml:1: error:
Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\selfshotview.xml:1:
error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\smileshot.xml:1: err
or: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\stopmotioneditor.xml:1: er
ror: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\stopmotioneditor.xml
:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\timercountingindicat
or.xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\videorecordingmenu.x
ml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\viewimage.xml:1: error: Er
ror parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\watingview.xml:1: er
ror: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout-nodpi\zoom.xml:1: error: E
rror parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\zoom_container.xml:1: erro
r: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\layout\zoom_controls.xml:1: error
: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\anim\blinkanimation.xml:1: error:
Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\anim\gpsanimation.xml:1: error: E
rror parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\anim\tw30_camera_indicator_smile_
shot_blink.xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\btn_camera_arrow_left.xm
l:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\btn_camera_arrow_right.x
ml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\btn_crop_select.xml:1: e
rror: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\btn_review_select.xml:1:
error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\btn_zoom_down.xml:1: err
or: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\btn_zoom_up.xml:1: error
: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\camera_background.xml:1:
error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable-nodpi\camera_shoot_share
_history.xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable-nodpi\camera_shoot_share
_left.xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable-nodpi\camera_shoot_share
_right.xml:1: error: Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\seek_thumb.xml:1: error:
Error parsing XML: not well-formed (invalid token)
C:\Android\android-sdk\projects\Camera.apk\res\drawable\tw_progress_horizontal.x
ml:1: error: Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Atiq\AppData\Local\Temp\AP
KTOOL7090327305248030697.tmp, -I, C:\Users\Atiq\apktool\framework\1.apk, -S, C:\
Android\android-sdk\projects\Camera.apk\res, -M, C:\Android\android-sdk\projects
\Camera.apk\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\Atiq\AppData\Local\Temp\APKTOOL7090327305248030697.tmp, -I, C:\Users\Atiq\a
pktool\framework\1.apk, -S, C:\Android\android-sdk\projects\Camera.apk\res, -M,
C:\Android\android-sdk\projects\Camera.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Press any key to continue . . .