[XPERIA X10 Q&A, Help & Troubleshooting] deveron3:
Hello to all fellow XDAers... ers.

I am pretty good at using apktool to decompile normal system and free apks using apktool (and recompiling), but I've been having trouble with the semccameraapplication.apk When I decompile APKtool says that three nine-patch png's did not have nine-patch blocks, and were therefore renamed to *.png instead of *.9.png I figured if I copied the pngs directly from the apk to the apktool decompiled apk folder and recompiled, that all would be ok.

That didn't work, so I tried (with a clean untouched apk) decompiling again and just renaming the offending png's to *.9.png (amd recompiling). Still no cigar.

In each case, during the recompile APKTool spits out a string of errors. Here they are:

C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:73: error:
Public symbol drawable/cam_resolution_set_youtube_highlighted_icn declared here
is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:74: error:
Public symbol drawable/cam_resolution_setting_2mp_highlighted_icn declared here
is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:75: error:
Public symbol drawable/cam_resolution_setting_2mp_icn declared here is not defi
ned.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:76: error:
Public symbol drawable/cam_resolution_setting_6mp_highlighted_icn declared here
is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:77: error:
Public symbol drawable/cam_resolution_setting_6mp_icn declared here is not defi
ned.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:78: error:
Public symbol drawable/cam_resolution_setting_8mp_highlighted_icn declared here
is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:79: error:
Public symbol drawable/cam_resolution_setting_8mp_icn declared here is not defi
ned.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:80: error:
Public symbol drawable/cam_resolution_setting_full_hd_highlighted_icn declared
here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:81: error:
Public symbol drawable/cam_resolution_setting_full_hd_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:82: error:
Public symbol drawable/cam_resolution_settings_720p_hl declared here is not def
ined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:83: error:
Public symbol drawable/cam_resolution_settings_720p_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:84: error:
Public symbol drawable/cam_resolution_settings_flickr_highlighted_icn declared
here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:85: error:
Public symbol drawable/cam_resolution_settings_flickr_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:86: error:
Public symbol drawable/cam_resolution_settings_fwvga_highlighted_icn declared h
ere is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:87: error:
Public symbol drawable/cam_resolution_settings_fwvga_hl declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:88: error:
Public symbol drawable/cam_resolution_settings_fwvga_icn declared here is not d
efined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:89: error:
Public symbol drawable/cam_resolution_settings_mms_highlighted_icn declared her
e is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:90: error:
Public symbol drawable/cam_resolution_settings_mms_icn declared here is not def
ined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:91: error:
Public symbol drawable/cam_resolution_settings_picasa_highlighted_icn declared
here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:92: error:
Public symbol drawable/cam_resolution_settings_picasa_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:93: error:
Public symbol drawable/cam_resolution_settings_qvga_highlighted_icn declared he
re is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:94: error:
Public symbol drawable/cam_resolution_settings_qvga_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:95: error:
Public symbol drawable/cam_resolution_settings_vga_highlighted_icn declared her
e is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:96: error:
Public symbol drawable/cam_resolution_settings_vga_icn declared here is not def
ined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:97: error:
Public symbol drawable/cam_resolution_settings_wvga_highlighted_icn declared he
re is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:98: error:
Public symbol drawable/cam_resolution_settings_wvga_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:99: error:
Public symbol drawable/cam_resolution_settings_youtube_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:100: error
: Public symbol drawable/cam_review_action_button_background_icn declared here i
s not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:101: error
: Public symbol drawable/cam_review_delete_highlighted_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:102: error
: Public symbol drawable/cam_review_delete_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:103: error
: Public symbol drawable/cam_review_delete_icns declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:104: error
: Public symbol drawable/cam_review_name_tag_background_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:105: error
: Public symbol drawable/cam_review_name_tag_unknown_highlighted_icn declared he
re is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:106: error
: Public symbol drawable/cam_review_name_tag_unknown_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:107: error
: Public symbol drawable/cam_review_picture_frame_icn declared here is not defin
ed.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:108: error
: Public symbol drawable/cam_review_share_highlighted_icn declared here is not d
efined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:109: error
: Public symbol drawable/cam_review_share_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:110: error
: Public symbol drawable/cam_review_share_icns declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:111: error
: Public symbol drawable/cam_review_thumbnail_frame_icn declared here is not def
ined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:112: error
: Public symbol drawable/cam_review_use_as_highlighted_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:113: error
: Public symbol drawable/cam_review_use_as_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:114: error
: Public symbol drawable/cam_review_use_as_icns declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:115: error
: Public symbol drawable/cam_review_video_play_icn declared here is not defined.

C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:116: error
: Public symbol drawable/cam_review_zoom_in_highlighted_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:117: error
: Public symbol drawable/cam_review_zoom_in_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:118: error
: Public symbol drawable/cam_review_zoom_in_icns declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:119: error
: Public symbol drawable/cam_review_zoom_max_greyout_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:120: error
: Public symbol drawable/cam_review_zoom_min_greyout_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:121: error
: Public symbol drawable/cam_review_zoom_out_highlighted_icn declared here is no
t defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:122: error
: Public symbol drawable/cam_review_zoom_out_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:123: error
: Public symbol drawable/cam_review_zoom_out_icns declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:124: error
: Public symbol drawable/cam_scene_recog_auto_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:125: error
: Public symbol drawable/cam_scene_recog_backlight_icn declared here is not defi
ned.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:126: error
: Public symbol drawable/cam_scene_recog_backlightportrait_icn declared here is
not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:127: error
: Public symbol drawable/cam_scene_recog_landscape_icn declared here is not defi
ned.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:128: error
: Public symbol drawable/cam_scene_recog_portrait_icn declared here is not defin
ed.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:129: error
: Public symbol drawable/cam_scene_recog_twilight_icn declared here is not defin
ed.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:130: error
: Public symbol drawable/cam_scene_recog_twilightportrait_icn declared here is n
ot defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:131: error
: Public symbol drawable/cam_scene_recog_whiteboard_icn declared here is not def
ined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:132: error
: Public symbol drawable/cam_scenes_beachsnow_grayed_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:133: error
: Public symbol drawable/cam_scenes_beachsnow_highlighted_icn declared here is n
ot defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:134: error
: Public symbol drawable/cam_scenes_beachsnow_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:135: error
: Public symbol drawable/cam_scenes_document_grayed_icn declared here is not def
ined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:136: error
: Public symbol drawable/cam_scenes_document_highlighted_icn declared here is no
t defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:137: error
: Public symbol drawable/cam_scenes_document_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:138: error
: Public symbol drawable/cam_scenes_landscape_grayed_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:139: error
: Public symbol drawable/cam_scenes_landscape_highlighted_icn declared here is n
ot defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:140: error
: Public symbol drawable/cam_scenes_landscape_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:141: error
: Public symbol drawable/cam_scenes_nightmode_grayed_icn declared here is not de
fined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:142: error
: Public symbol drawable/cam_scenes_nightmode_highlighted_icn declared here is n
ot defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:143: error
: Public symbol drawable/cam_scenes_nightmode_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:144: error
: Public symbol drawable/cam_scenes_nightportrait_grayed_icn declared here is no
t defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:145: error
: Public symbol drawable/cam_scenes_nightportrait_highlighted_icn declared here
is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:146: error
: Public symbol drawable/cam_scenes_nightportrait_icn declared here is not defin
ed.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:147: error
: Public symbol drawable/cam_scenes_nightscene_grayed_icn declared here is not d
efined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:148: error
: Public symbol drawable/cam_scenes_nightscene_highlighted_icn declared here is
not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:149: error
: Public symbol drawable/cam_scenes_nightscene_icn declared here is not defined.

C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:150: error
: Public symbol drawable/cam_scenes_normal_grayed_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:151: error
: Public symbol drawable/cam_scenes_normal_highlighted_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:152: error
: Public symbol drawable/cam_scenes_normal_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:153: error
: Public symbol drawable/cam_scenes_party_grayed_icn declared here is not define
d.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:154: error
: Public symbol drawable/cam_scenes_party_highlighted_icn declared here is not d
efined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:155: error
: Public symbol drawable/cam_scenes_party_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:156: error
: Public symbol drawable/cam_scenes_portrait_grayed_icn declared here is not def
ined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:157: error
: Public symbol drawable/cam_scenes_portrait_highlighted_icn declared here is no
t defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:158: error
: Public symbol drawable/cam_scenes_portrait_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:159: error
: Public symbol drawable/cam_scenes_sports_grayed_icn declared here is not defin
ed.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:160: error
: Public symbol drawable/cam_scenes_sports_highlighted_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:161: error
: Public symbol drawable/cam_scenes_sports_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:162: error
: Public symbol drawable/cam_selftimer_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:163: error
: Public symbol drawable/cam_shutter_transition_icn declared here is not defined
.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:164: error
: Public symbol drawable/cam_smile_level_bar_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:165: error
: Public symbol drawable/cam_smile_level_indicator_icn declared here is not defi
ned.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:14: error:
Public entry identifier 0x7f0200a3 entry index is larger than available symbols
(index 163, total symbols 1).
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:14: error:
Public symbol drawable/cam_startup_background_col declared here is not defined.

C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:166: error
: Public symbol drawable/cam_vf_geotag_on_gps_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:167: error
: Public symbol drawable/cam_vf_geotag_on_wf_gps_icn declared here is not define
d.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:168: error
: Public symbol drawable/cam_vf_geotag_on_wf_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:169: error
: Public symbol drawable/cam_video_recording_bar_icn declared here is not define
d.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:170: error
: Public symbol drawable/cam_video_recording_indicator_icn declared here is not
defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:171: error
: Public symbol drawable/cam_video_recording_progress_icn declared here is not d
efined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:172: error
: Public symbol drawable/cam_video_recording_time_icn declared here is not defin
ed.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:173: error
: Public symbol drawable/cam_video_switch_tch_icn declared here is not defined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:174: error
: Public symbol drawable/cam_zoom_bar_landscape_icn declared here is not defined
.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:175: error
: Public symbol drawable/cam_zoom_bar_portrait_icn declared here is not defined.

C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:176: error
: Public symbol drawable/cam_zoom_indicator_landscape_icn declared here is not d
efined.
C:\users\admin\desktop\cameramod\fera\unpacked1\res\values\public.xml:177: error
: Public symbol drawable/cam_zoom_indicator_portrait_icn declared here is not de
fined.

Has anyone ever tried to modify the camera apk from 2.3? If so, please help me understand what I'm doing wrong. I've imported the framework-res.apk and semcgenericuxp-res.apk to apktool. Do I need something else?

Thanks!

-Deveron3