[EVO 4G Q&A, Help & Troubleshooting] raafaell:
So I'm having issues while compiling the Phone.apk. This is what I did:

apktool d '/home/raafaell/Documents/Phone.apk' '/home/raafaell/Documents/Phone'

I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: /home/raafaell/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: /home/raafaell/apktool/framework/2.apk
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

It decompiles without problems, now in order to build I have to drag&drop the resources.arsc file to '/home/raafaell/Documents/Phone'.

After doing that I am able to modify files like .9.png images and then recompile, however something goes wrong because the res won't hide the values* folders, so it increases the size to almost twice as the original.

Now that is compiled, I go and decompile the Phone_new.apk to do some more changes by doing:

apktool d '/home/raafaell/Documents/Phone/dist/Phone_new.apk' '/home/raafaell/Documents/Phone/dist/Phone_new'

, and this is the output:

I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: /home/raafaell/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: layout/dialog_ussd_response.xml
S: Could not decode file, replacing by FALSE value: layout/skype_title_bar.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_keypad.xml
S: Could not decode file, replacing by FALSE value: xml/call_feature_setting_htc.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_merge_calls.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdmacallguard.xml
S: Could not decode file, replacing by FALSE value: drawable/command_bar_btn.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_contacts_sp.xml
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_add_country.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_button_small_selected.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_setting.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editnumbers.xml
S: Could not decode file, replacing by FALSE value: layout/change_sim_pin_screen.xml
S: Could not decode file, replacing by FALSE value: xml/network_setting_htc.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_contacts.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_add_call.xml
S: Could not decode file, replacing by FALSE value: color-finger/dialer_button_text.xml
W: Cant find 9patch chunk in file: "drawable-land-car-hdpi/phone_accumulator_bg.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/gsm_umts_additional_options.xml
S: Could not decode file, replacing by FALSE value: layout/dtmf_display.xml
S: Could not decode file, replacing by FALSE value: layout/sip_settings_ui.xml
S: Could not decode file, replacing by FALSE value: layout-hdpi/ongoing_call_notification_2.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_dial_button.xml
S: Could not decode file, replacing by FALSE value: drawable/common_radio_on_disable.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_hold.xml
S: Could not decode file, replacing by FALSE value: layout/call_card_popup.xml
S: Could not decode file, replacing by FALSE value: layout/enable_fdn_screen.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_end_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/fake_phone_activity.xml
S: Could not decode file, replacing by FALSE value: xml/cdma_call_options.xml
S: Could not decode file, replacing by FALSE value: xml/call_feature_setting.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_panel_navbar_button_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/gsm_umts_call_options.xml
S: Could not decode file, replacing by FALSE value: drawable/common_radiobutton.xml
S: Could not decode file, replacing by FALSE value: layout/edit_fdn_contact_screen.xml
S: Could not decode file, replacing by FALSE value: layout/get_pin2_screen.xml
S: Could not decode file, replacing by FALSE value: xml/data_usage_settings.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_show_keypad.xml
S: Could not decode file, replacing by FALSE value: xml/sip_advanced_edit.xml
S: Could not decode file, replacing by FALSE value: layout/add_cellbroadcast_dialog.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_end_call_handler.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdma_data_roam_guard.xml
S: Could not decode file, replacing by FALSE value: layout/ongoing_call_notification.xml
S: Could not decode file, replacing by FALSE value: layout/otacall_card.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_hide_keypad.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_mute.xml
S: Could not decode file, replacing by FALSE value: drawable/btn_contorl_panel.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_retry_hbpcd_handler.xml
S: Could not decode file, replacing by FALSE value: layout-finger/emergency_dialer.xml
S: Could not decode file, replacing by FALSE value: layout/htc_call_control_panel.xml
S: Could not decode file, replacing by FALSE value: xml/phone_preference.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editphonenumber.xml
S: Could not decode file, replacing by FALSE value: layout/delete_fdn_contact_screen.xml
S: Could not decode file, replacing by FALSE value: drawable-finger/notification_btn_endcall.xml
S: Could not decode file, replacing by FALSE value: layout/htc_multiple_and_conference.xml
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_edit_idd.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_button_acc_call_press.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_add_call.xml
S: Could not decode file, replacing by FALSE value: xml/sip_edit.xml
S: Could not decode file, replacing by FALSE value: layout/htc_lockscreen_reminder.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editpin.xml
S: Could not decode file, replacing by FALSE value: drawable/phone_button_acc_call.xml
S: Could not decode file, replacing by FALSE value: layout/cs_ps_switch.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_end_pressed.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/htc_worldphone_call_options.xml
S: Could not decode file, replacing by FALSE value: layout-finger/emergency_keypad.xml
S: Could not decode file, replacing by FALSE value: layout/manual_nai_setup_dialog.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_panel_navbar_button_selected.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: drawable/icon_contactcard.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_accumulator_bg.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/manual_carrier_select.xml
S: Could not decode file, replacing by FALSE value: xml/fdn_setting.xml
S: Could not decode file, replacing by FALSE value: layout/eri_text_layout.xml
S: Could not decode file, replacing by FALSE value: layout-hdpi/ongoing_call_notification_top.xml
S: Could not decode file, replacing by FALSE value: layout/dialog_ussd_response_att.xml
S: Could not decode file, replacing by FALSE value: color-finger/ota_title_color.xml
S: Could not decode file, replacing by FALSE value: xml/sip_setting.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_button_small_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout-finger/htc_dialer_keypad.xml
S: Could not decode file, replacing by FALSE value: layout/htc_lockscreen_person_info.xml
S: Could not decode file, replacing by FALSE value: layout/title_bar.xml
S: Could not decode file, replacing by FALSE value: drawable/common_button_small.xml
S: Could not decode file, replacing by FALSE value: layout/caller_in_conference.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_service.xml
S: Could not decode file, replacing by FALSE value: layout/call_card_person_info.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_roaming_options.xml
S: Could not decode file, replacing by FALSE value: drawable/btn_phone_endcall.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_b_button_on.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: drawable/btn_phone_defer.xml
S: Could not decode file, replacing by FALSE value: layout/adn_list.xml
S: Could not decode file, replacing by FALSE value: layout-hdpi/status_bar_latest_event_content_cs_cf.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_end_held_call.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_all_people.xml
S: Could not decode file, replacing by FALSE value: layout/htc_list_item_dropdown_w_des.xml
S: Could not decode file, replacing by FALSE value: anim/touch_lock_fade_in.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editmessage.xml
S: Could not decode file, replacing by FALSE value: xml/htc_call_barring_options.xml
S: Could not decode file, replacing by FALSE value: layout/htc_vzw_conversion.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_button_acc_call_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/dialer_task_bar.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_additional_options.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdma_incall_info.xml
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_add_idd.xml
S: Could not decode file, replacing by FALSE value: drawable/common_radio_off_disable.xml
S: Could not decode file, replacing by FALSE value: layout/htc_call_defer.xml
S: Could not decode file, replacing by FALSE value: xml/sip_settings_category.xml
S: Could not decode file, replacing by FALSE value: layout/htc_call_defer_custom_msg.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_callforward_options.xml
S: Could not decode file, replacing by FALSE value: layout/skype_fake_arc.xml
W: Cant find 9patch chunk in file: "drawable/dialog_bg_calling_via.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout-finger/htc_audio_src_selection.xml
S: Could not decode file, replacing by FALSE value: xml/network_setting.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_options.xml
S: Could not decode file, replacing by FALSE value: layout/htc_layout_list_idd.xml
S: Could not decode file, replacing by FALSE value: layout-finger/emergency_dialer_keypad.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editphonenumber_with_time.xml
S: Could not decode file, replacing by FALSE value: xml/callforward_options.xml
S: Could not decode file, replacing by FALSE value: xml/htc_worldphone_options.xml
S: Could not decode file, replacing by FALSE value: xml/cdma_options.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_merge_call.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_roaming_guard_list.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_bg_birthday.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_edit_country.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_speaker.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_bt_headset.xml
S: Could not decode file, replacing by FALSE value: layout/call_card.xml
S: Could not decode file, replacing by FALSE value: xml/cell_broadcast_setting.xml
S: Could not decode file, replacing by FALSE value: xml/mip_error.xml
S: Could not decode file, replacing by FALSE value: xml/eri_text_appwidget.xml
S: Could not decode file, replacing by FALSE value: drawable/phone_button_control_more.xml
S: Could not decode file, replacing by FALSE value: color/button_text.xml
S: Could not decode file, replacing by FALSE value: layout/enable_sim_pin_screen.xml
S: Could not decode file, replacing by FALSE value: layout/incall_screen.xml
S: Could not decode file, replacing by FALSE value: drawable/btn_phone_call.xml
S: Could not decode file, replacing by FALSE value: xml/carrier_select.xml
S: Could not decode file, replacing by FALSE value: drawable/icon_addcontact.xml
S: Could not decode file, replacing by FALSE value: layout/sim_missing.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_dtmf_twelve_key_dialer.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_bg_facebook.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/htc_call_defer_reminder.xml
S: Could not decode file, replacing by FALSE value: layout/sim_ndp.xml
S: Could not decode file, replacing by FALSE value: layout/sn_status_panel.xml
S: Could not decode file, replacing by FALSE value: layout/htc_multiple_conference_call_item.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_button_small_press.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/gsm_umts_options.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_panel_navbar_button_press.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/advanced_settings.xml
S: Could not decode file, replacing by FALSE value: layout/htc_assisted_dialing.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdma_dialog.xml
S: Could not decode file, replacing by FALSE value: drawable/toolbar_button.xml
S: Could not decode file, replacing by FALSE value: layout/sim_import_list_entry.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_headset.xml
S: Could not decode file, replacing by FALSE value: xml/cell_broadcast_sms.xml
S: Could not decode file, replacing by FALSE value: layout/fdn_manipulate_menu.xml
I: Decoding values*/* XMLs...
I: Loading resource table from file: /home/raafaell/apktool/framework/2.apk
I: Loaded.
I: Done.
I: Copying assets and libs...

any idea?

Thanks in advance.