[Xoom Android Development] arrtoodeetoo:
This is actually a problem I'm having with stock 3.2 (US 3G). The guys who are porting the theme to Tiamat are getting boot loops while I'm just getting force closes.

My procedure hasn't changes since I started theming (back on 3.0.1). Here's what I'm doing. Maybe you have a better way to do it.

1. Decomp the apk.

2. Edit the color values in the xml files from the res/values folder(s) that apply.

3. Recompile the apk.

4. Move all of the edited files (images, xml files) over to a clean, stock .apk

5. Remove the original .src file in the stock apk and replace it with the new one with the edited data.

6. push the new apk.

I've done it this way since the beginning, and this is the first time I've ran into a problem like this. Like I said, I think it has something to do with the dummy definitions that the patch creates. For example, this is in the drawables.xml from systemui.apk (res/values folder)

<?xml version="1.0" encoding="utf-8"?>
<resources>
<item type="drawable" name="notification_number_text_color">#ff89bade</item>
<item type="drawable" name="notification_item_background_color">#ff89bade</item>
<item type="drawable" name="ticker_background_color">#ff0b1222</item>
<item type="drawable" name=[B]"APKTOOL_DUMMY_0011">[/B]false</item>
</resources>

And this is from Framework-res.apk

<?xml version="1.0" encoding="utf-8"?>
<resources>
<drawable name="alert_dark_frame">@drawable/popup_full_dark</drawable>
<drawable name="alert_light_frame">@drawable/popup_full_bright</drawable>
<drawable name="dialog_frame">@drawable/panel_background</drawable>
<drawable name="editbox_dropdown_dark_frame">@drawable/editbox_dropdown_background_dark</drawable>
<drawable name="editbox_dropdown_light_frame">@drawable/editbox_dropdown_background</drawable>
<drawable name="menu_frame">@drawable/menu_background</drawable>
<drawable name="menu_full_frame">@drawable/menu_background_fill_parent_width</drawable>
<drawable name="stat_notify_sync_noanim">@drawable/stat_notify_sync_anim0</drawable>
<drawable name="stat_sys_download_done">@drawable/stat_sys_download_anim0</drawable>
<drawable name="stat_sys_upload_done">@drawable/stat_sys_upload_anim0</drawable>
<item type="drawable" name="screen_background_dark">#ff000000</item>
<item type="drawable" name="screen_background_light">#fff3f3f3</item>
<item type="drawable" name="screen_background_dark_transparent">#80000000</item>
<item type="drawable" name="screen_background_light_transparent">#80ffffff</item>
<drawable name="dialog_holo_dark_frame">@drawable/dialog_full_holo_dark</drawable>
<drawable name="dialog_holo_light_frame">@drawable/dialog_full_holo_light</drawable>
<item type="drawable" name="status_bar_closed_default_background">#ff000000</item>
<item type="drawable" name="status_bar_opened_default_background">#ff000000</item>
<item type="drawable" name="search_bar_default_color">#ff000000</item>
<item type="drawable" name="safe_mode_background">#60000000</item>
<item type="drawable" name="input_method_fullscreen_background">#fff9f9f9</item>
<item type="drawable" name="selected_day_background">#ff0092f4</item>
<item type="drawable" name="screen_background_holo_light">#fff3f3f3</item>
<item type="drawable" name="screen_background_holo_dark">#ff000000</item>
[B] <item type="drawable" name="APKTOOL_DUMMY_04b5">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04b8">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04ba">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04bd">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04bf">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c3">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c6">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c8">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04c9">false</item>
<item type="drawable" name="APKTOOL_DUMMY_04cb">false</item>[/B]
</resources>

As you can see, I've been able to edit some of the colors, and those work just fine, but using the edited .src file in this Framework-res.apk causes the settings menu in any app I open to force close the app.