legacy-patchrom icon indicating copy to clipboard operation
legacy-patchrom copied to clipboard

can't build systemUI.apk

Open MiningCryptoLive opened this issue 13 years ago • 57 comments

Get the following error when it gets to building the SystemUI.apk:

cp -r SystemUI .build /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... aapt: warning: string 'battery_indicator_style' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'call_status_dialing' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'default_usb_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'dismount_storage' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'enable_back_long_press' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'expandable_under_fullscreen' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'expandable_under_fullscreen_summary' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'incoming_call_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'menu_reset_toggle_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'mms_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'mount_storage' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'move_data_to_sdcard_message' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'move_data_to_sdcard_title' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'no_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'not_all_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'notification_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'return_to_incall_screen' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'settings_separator' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_date_format' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_time_format_12' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_ac' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_arrangement' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_bluetooth' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_brightness' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_data' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider_list' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider_page' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_flight_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_gps' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_lock' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_mute' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_network_type' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_privacy_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_reboot' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_rotate' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_shutdown' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style_compact' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style_single_page' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_sync' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_torch' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_vibrate' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_waitException in thread "main" res/drawable-hdpi/status_bar_background.png:0: error: Resource entry status_bar_background is already defined. res/drawable-hdpi/status_bar_background.9.png:0: Originally defined here. /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:2: error: Error: No resource found that matches the given name (at 'layout_marginBottom' with value '@dimen/notification_item_divider_height'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_notification'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/notification_icon_size'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_height' with value '@dimen/notification_icon_size'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:8: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.StatusBar.EventContent.Title'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_button'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:16: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'id' with value '@id/brightness_toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/Sbrut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4307384767781613147.tmp, -I, /home/randy/apktool/framework/1.apk, -S, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res, -M, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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, /tmp/APKTOOL4307384767781613147.tmp, -I, /home/randy/apktool/framework/1.apk, -S, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res, -M, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/AndroidManifest.xml] at brut.util.OS.exec(OS.java:83) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191) ... 6 more ing' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_wifi' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'tab_notifications_lable' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'tab_toggles_lable' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'to_vibrate_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_dont_ask' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_mount_storage_title' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_notification' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_call' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_notification' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_toggle' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_toggle_list' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN tatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:22: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness_panel'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:24: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle.xml:2: error: Error: No resource found that matches the given name (at 'id' with value '@id/button_privacy_mode'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_divider_lable'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/TextAppearance.ListView.SecondaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:2: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/ListItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/icon'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/title'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/TextAppearance.ListView.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/drag_handle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact_text'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page_text'). make: ** [.build/MIUISystemUI.apk] Error 1

MiningCryptoLive avatar Feb 07 '12 11:02 MiningCryptoLive

loads of errors

cant find default translations for some strings, and then some resources

add translations for those strings @ values/strings.xml, and then for the resources - remove the unused ones

chirayudesai avatar Feb 07 '12 12:02 chirayudesai

Oh, should make apktool-if first.


发件人: Randy [[email protected]] 发送时间: 2012年2月7日 19:42 到: 汪文俊 主题: [PatchRom] can't build systemUI.apk (#4)

Get the following error when it gets to building the SystemUI.apk:

cp -r SystemUI .build /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... aapt: warning: string 'battery_indicator_style' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'call_status_dialing' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'default_usb_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'dismount_storage' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'enable_back_long_press' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'expandable_under_fullscreen' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'expandable_under_fullscreen_summary' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'incoming_call_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'menu_reset_toggle_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'mms_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'mount_storage' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'move_data_to_sdcard_message' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'move_data_to_sdcard_title' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'no_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'not_all_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'notification_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'return_to_incall_screen' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'settings_separator' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_date_format' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_time_format_12' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_ac' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_arrangement' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_bluetooth' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_brightness' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_data' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider_list' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider_page' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_flight_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_gps' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_lock' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_mute' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_network_type' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_privacy_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_reboot' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_rotate' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_shutdown' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style_compact' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style_single_page' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_sync' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_torch' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_vibrate' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_waitException in thread "main" res/drawable-hdpi/status_bar_background.png:0: error: Resource entry status_bar_background is already defined. res/drawable-hdpi/status_bar_background.9.png:0: Originally defined here. /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:2: error: Error: No resource found that matches the given name (at 'layout_marginBottom' with value '@dimen/notification_item_divider_height'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_notification'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/notification_icon_size'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_height' with value '@dimen/notification_icon_size'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:8: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.StatusBar.EventContent.Title'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_button'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:16: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'id' with value '@id/brightness_toggle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/Sbrut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL4307384767781613147.tmp, -I, /home/randy/apktool/framework/1.apk, -S, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res, -M, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java: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, /tmp/APKTOOL4307384767781613147.tmp, -I, /home/randy/apktool/framework/1.apk, -S, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res, -M, /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/AndroidManifest.xml] at brut.util.OS.exec(OS.java:83) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191) ... 6 more ing' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_wifi' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'tab_notifications_lable' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'tab_toggles_lable' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'to_vibrate_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_dont_ask' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_mount_storage_title' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_notification' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_call' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_notification' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_toggle' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_toggle_list' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res; found: zh_CN tatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:22: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness_panel'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:24: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle.xml:2: error: Error: No resource found that matches the given name (at 'id' with value '@id/button_privacy_mode'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_divider_lable'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/TextAppearance.ListView.SecondaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:2: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/ListItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/icon'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/title'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@miui:style/TextAppearance.ListView.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/drag_handle'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact_text'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page_text'). make: ** [.build/MIUISystemUI.apk] Error 1


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4

MiuiAnderson avatar Feb 07 '12 12:02 MiuiAnderson

I have done apktool if with all the files required. Everything in the rom builds if I bypass the SystemUI.apk. That is the only one giving me the problem. My question is why are there so many errors showing when it is a samsung rom release I am using?

MiningCryptoLive avatar Feb 07 '12 22:02 MiningCryptoLive

@chirayudesai What do you mean with removing the unused resources? All errors concerning missing resource seem to origin from miui files (status_bar_expanded_toggles.xml, ...)

Oh wait you mean the other errors..

rpander93 avatar Feb 08 '12 13:02 rpander93

like while porting i came across an error like this, complaining of a missing video call resource

Since my device just didnt have that functionality, i removed it

Btw, what device are you porting to @Pannekoek

chirayudesai avatar Feb 08 '12 13:02 chirayudesai

@chirayudesai Yeah but I mean errors like these;

/home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle').
/home/randy/Desktop/sgs4g-miui-port-files/MiCode-PatchRom-1b14930/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@Style/StatusBarGridItem').

I'm trying to port to LG Optimus 2x. There are official builds but those are based on a very very old CM7 stable. I'm now trying to port from official LG rom.

rpander93 avatar Feb 08 '12 13:02 rpander93

I fixed my errors but now it has errors while calling for files from the MIUI sources.

MiningCryptoLive avatar Feb 08 '12 15:02 MiningCryptoLive

@Racing1 what kind of errors?

rpander93 avatar Feb 08 '12 15:02 rpander93

Here's the latest list of error's. I am building this for the GalaxyS 4g

I: Building resources... aapt: warning: string 'battery_indicator_style' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'call_status_dialing' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'default_usb_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'dismount_storage' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'enable_back_long_press' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'expandable_under_fullscreen' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'expandable_under_fullscreen_summary' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'incoming_call_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'menu_reset_toggle_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'mms_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'mount_storage' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'move_data_to_sdcard_message' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'move_data_to_sdcard_title' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'no_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'not_all_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'notification_vibrate_hint' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'return_to_incall_screen' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'settings_separator' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_date_format' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_time_format_12' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_ac' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_arrangement' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_bluetooth' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_brightness' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_data' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider_list' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_divider_page' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_flight_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_gps' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_lock' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_mute' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_network_type' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_privacy_mode' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_reboot' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_rotate' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_shutdown' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style_compact' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_style_single_page' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_sync' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_torch' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_vibrate' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_waiting' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'status_bar_toggle_wifi' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'tab_notifications_lable' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'tab_toggles_lable' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'to_vibrate_settings' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_dont_ask' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_mount_storage_title' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'usb_mode_notification' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_call' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_notification' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_toggle' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN aapt: warning: string 'user_guide_for_toggle_list' has no default translation in /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res; found: zh_CN res/drawable-hdpi/status_bar_background.png:0: error: Resource entry status_bar_background is already defined. res/drawable-hdpi/status_bar_background.9.png:0: Originally defined here. /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:2: error: Error: No resource found that matches the given name (at 'layout_marginBottom' with value '@dimen/notification_item_divider_height'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_notification'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/notification_icon_size'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_height' with value '@dimen/notification_icon_size'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:8: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.StatusBar.EventContent.Title'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_button'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:16: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'id' with value '@id/brightness_toggle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:22: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness_panel'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:24: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness'). /home/randy/DesktException in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL7433602368065844022.tmp, -I, /home/randy/apktool/framework/1.apk, -S, /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res, -M, /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/AndroidManifest.xml] at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)

op/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle.xml:2: error: Error: No resource found that matches the given name (at 'id' with value '@id/button_privacy_mode'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_divider_lable'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/TextAppearance.ListView.SecondaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:2: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/ListItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/icon'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/title'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@*miui:style/TextAppearance.ListView.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_item.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/drag_handle'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact_text'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/randy/Desktop/sgs4g-miui-port-files/PatchRom/sgs4g/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page_text').

MiningCryptoLive avatar Feb 08 '12 17:02 MiningCryptoLive

Question?

When installing framework files to apktool, Do I need to install framework from the rom I am porting from, or just the miui-framework file, or both.

MiningCryptoLive avatar Feb 08 '12 17:02 MiningCryptoLive

@Racing1 Seems you have the same errors as I am getting concerning the resource not found errors. The translation errors are not a big deal.

Frameworks: Well if you're decompiling the .apks you should use the framework from the base rom. I register the framework with

apktool if baseAPK

and then decompile the files with

apktool d baseAPK

to ensure that the files are decompiled with the correct framework.

rpander93 avatar Feb 08 '12 20:02 rpander93

That's what I am doing for the .apks. The translations I am not worried about either. It's the resource not found errors I am having a problem with. I am guessing there is possibly a file that is not converting the miui files and putting them into the new SystemUi when it is being built. Now we just have to search through all the scripts and see if we can find it. I am surprised we have not heard any response from the MIUI Team.

MiningCryptoLive avatar Feb 08 '12 23:02 MiningCryptoLive

Yea, that indeed is quite surprising. Not much activity here from official developers. Too bad because opensourcing MIUI is pretty cool.

rpander93 avatar Feb 08 '12 23:02 rpander93

Btw, I think that they've not uploaded all files, hence some resources are missing. Because the errors come from files that are from miui. Op 9 feb. 2012 00:17 schreef "Randy" < [email protected]> het volgende:

That's what I am doing for the .apks. The translations I am not worried about either. It's the resource not found errors I am having a problem with. I am guessing there is possibly a file that is not converting the miui files and putting them into the new SystemUi when it is being built. Now we just have to search through all the scripts and see if we can find it. I am surprised we have not heard any response from the MIUI Team.


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4#issuecomment-3878585

rpander93 avatar Feb 08 '12 23:02 rpander93

That could be. I am not sure why they would release the code without uploading all the files though! I would think they would want it to go fairly smooth when releasing the code like they did. Hopefully someone will answer us soon!

MiningCryptoLive avatar Feb 09 '12 10:02 MiningCryptoLive

I'm not saying it was on purpose. Maybe they just forgot it. If the errors were because of a fault in the porting script, we would get these errors while compiling Phone or Settings too I think. Op 9 feb. 2012 11:15 schreef "Randy" < [email protected]> het volgende:

That could be. I am not sure why they would release the code without uploading all the files though! I would think they would want it to go fairly smooth when releasing the code like they did. Hopefully someone will answer us soon!


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4#issuecomment-3885010

rpander93 avatar Feb 09 '12 10:02 rpander93

Yep, now I see what you mean. Hopefully we will here something soon. I can't wait to get this working.

MiningCryptoLive avatar Feb 09 '12 10:02 MiningCryptoLive

It should work. We verified this whole compliation process.

source build/envsetup.sh cd i9100 make apktool-if (This command install framework-res.apk and framework-miui-res.apk) make zipfile

MiuiAnderson avatar Feb 09 '12 14:02 MiuiAnderson

Oke, I'm now re-downloading the zip to make sure everything is ok.. Will report back in some minutes

rpander93 avatar Feb 09 '12 15:02 rpander93

Hello MiuiAnderson,

It works for the compilation of the included i9100 file. We are trying to port it to different devices. That is where the error's come in.

Are you saying that we can only build for the i9100?

Or will we be able to build for other devices?

MiningCryptoLive avatar Feb 09 '12 15:02 MiningCryptoLive

Damn lol it works indeed. Crazy..

rpander93 avatar Feb 09 '12 15:02 rpander93

are you building for a different device or the i9100? I can get it to build for the i9100 but still get the same errors building for sgs4g. I am re-downloading the source to see if that makes a difference.

MiningCryptoLive avatar Feb 09 '12 15:02 MiningCryptoLive

No, I meant the i9100 build. Worked fine. But still getting these damn errors while trying to build for my LG 2x.

cp -r SystemUI .build /home/remco/patchrom/tools/apktool b .build/SystemUI .build/MIUISystemUI.apk I: Checking whether sources has changed... I: Smaling... I: Checking whether resources has changed... I: Building resources... /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:2: error: Error: No resource found that matches the given name (at 'layout_marginBottom' with value '@dimen/notification_item_divider_height'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_notification'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/notification_icon_size'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:7: error: Error: No resource found that matches the given name (at 'layout_height' with value '@dimen/notification_icon_size'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:8: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.StatusBar.EventContent.Title'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:8: error: Error: No resource found that matches the given name (at 'text' with value '@string/usb_mode_notification'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_notifications.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/usb_mode_button'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:8: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:16: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle_list'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'id' with value '@id/toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'id' with value '@id/brightness_toggle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/StatusBarGridItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:22: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness_panel'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_expanded_toggles.xml:24: error: Error: No resource found that matches the given name (at 'id' with value '@id/manual_brightness'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle.xml:2: error: Error: No resource found that matches the given name (at 'id' with value '@id/button_privacy_mode'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_divider_lable'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'text' with value '@string/status_bar_toggle_divider_list'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_divider.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/TextAppearance.ListView.SecondaryItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_item.xml:2: error: Error: No resource found that matches the given name (at 'style' with value '@_miui:style/ListItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_item.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/icon'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'id' with value '@id/title'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_item.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@*miui:style/TextAppearance.ListView.PrimaryItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_item.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/drag_handle'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_compact_text'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:6: error: Error: No resource found that matches the given name (at 'text' with value '@string/status_bar_toggle_style_compact'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:8: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'textAppearance' with value '@miui:style/TextAppearance.Preference.PrimaryItem'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/status_bar_toggle_style_single_page_text'). /home/remco/patchrom/p990/.build/SystemUI/res/layout/status_bar_toggle_style_preference.xml:10: error: Error: No resource found that matches the given name (at 'text' with value '@string/status_bar_toggle_style_single_page'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:2: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_settings'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:5: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_style'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:6: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_style'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:9: error: Error: No resource found that matches the given name (at 'title' with value '@string/status_bar_toggle_arrangement'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:12: error: Error: No resource found that matches the given name (at 'title' with value '@string/battery_indicator_style'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:13: error: Error: No resource found that matches the given name (at 'title' with value '@string/default_usb_mode'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:14: error: Error: No resource found that matches the given name (at 'title' with value '@string/expandable_under_fullscreen'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:14: error: Error: No resource found that matches the given name (at 'summary' with value '@string/expandable_under_fullscreen_summary'). /home/remco/patchrom/p990/.build/SystemUI/res/xml/toggle_settings.xml:15: error: Error: No resource found that matches the given name (at 'title' with value '@string/enable_back_long_press'). /home/remco/patchrom/p990/.build/SystemUI/res/color/tab_lable_color.xml:4: error: Error: No resource found that matches the given name (at 'color' with value '@color/tab_lable_color_p'). /home/remco/patchrom/p990/.build/SystemUI/res/color/tab_lable_color.xml:5: error: Error: No resource found that matches the given name (at 'color' with value '@color/tab_lable_color_p'). /home/remco/patchrom/p990/.build/SystemUI/res/color/tab_lable_color.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@color/tab_lable_color_n').

rpander93 avatar Feb 09 '12 16:02 rpander93

Yep, I am still getting the same errors building for sgs4g.

MiningCryptoLive avatar Feb 09 '12 16:02 MiningCryptoLive

Anyone looked into i9100 SystemUI yet? XD On Feb 9, 2012 10:07 PM, "Randy" < [email protected]> wrote:

Yep, I am still getting the same errors building for sgs4g.


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4#issuecomment-3890590

chirayudesai avatar Feb 09 '12 16:02 chirayudesai

Yes, All that is in the i9100 systemUI files are 2 smali files. I tried copying them to my systemUI and it still builds and gets to SystemUI and then errors out.

MiningCryptoLive avatar Feb 09 '12 17:02 MiningCryptoLive

Duh, I can't believe I was that foolish. We need to duplicate the SystemUI folder over to our build. Builds like a charm. Now I need to flash it and see if it works. Thanks chirayudesai, if this works man do I owe you for opening my eyes!!

MiningCryptoLive avatar Feb 09 '12 17:02 MiningCryptoLive

So you mean duplicating the i9100 SystemUI folder to your own device folder? Op 9 feb. 2012 18:47 schreef "Randy" < [email protected]> het volgende:

Duh, I can't believe I was that foolish. We need to duplicate the SystemUI folder over to our build. Builds like a charm. Now I need to flash it and see if it works. Thanks chirayudesai, if this works man do I owe you for opening my eyes!!


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4#issuecomment-3891983

rpander93 avatar Feb 09 '12 17:02 rpander93

So, back to the beginning. Flashed zip, Phone boots up, and then.... Blank Screen.... going to try flashing once more...

MiningCryptoLive avatar Feb 09 '12 18:02 MiningCryptoLive

So you mean duplicating the i9100 SystemUI folder to your own device folder?

Yes. Don't use the systemUI from your Rom. Copy the SystemUI folder from the i9000 folder to your build. do not add anything to it. When the new rom is built it pulls the files from the MIUI folders and builds a new systemUI. I am in the process of doing it again to see if I get an actual working rom. Crossing Fingers...

MiningCryptoLive avatar Feb 09 '12 19:02 MiningCryptoLive

Yeah interesting. The provided i9100 SystemUI folder has only two files. So then I pulled the systemui.apk from the zip and manually decompiled it. This decompiled version has a lot more .smali files.

@MiuiAnderson Why is there this difference?

rpander93 avatar Feb 09 '12 19:02 rpander93

You don't need any other SystemUI files. Just copy that folder to your project with just the 2 files in it. That is all you need. I got it to build and flashed and it works. I am going to try with a stock rom now. For some reason the staus bar is not showing up on my custom rom. If you have an email address I can send some pics of it on my phone

MiningCryptoLive avatar Feb 09 '12 20:02 MiningCryptoLive

I tried it but it is now giving me a lot of errors. android.process.acore stopping continuously. And systemui crashing.

rpander93 avatar Feb 09 '12 20:02 rpander93

Are you using a stock rom to apply this too or a custom rom?

MiningCryptoLive avatar Feb 09 '12 21:02 MiningCryptoLive

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackage:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.detachThemePath:(Ljava/lang/String;I)Z

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.attachThemePath:(Ljava/lang/String;)I

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageCount:()I

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageName:(I)Ljava/lang/String;

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageId:(I)I

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.addRedirectionsNative:(I)V

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.clearRedirectionsNative:()V

W/dalvikvm( 1362): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.generateStyleRedirections:(III)Z

E/JNIHelp ( 1362): RegisterNatives failed for 'android/content/res/AssetManager'

i am getting this on boot up of compiled cm7/miui for the atrix.

using aosp rom it bootloops at bootanimation l

LOGCAT: http://logcat.miui.us/597003

stevendeb25 avatar Feb 10 '12 00:02 stevendeb25

I tried both. Stock ROM builds but then gives me those errors on boot. CM7 errors on building Phone.apk. If I skip it, then building goes fine but again errors of android.acore and systemui crashing. Op 9 feb. 2012 22:53 schreef "Randy" < [email protected]> het volgende:

Are you using a stock rom to apply this too or a custom rom?


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4#issuecomment-3896464

rpander93 avatar Feb 10 '12 11:02 rpander93

In http://micode.net/thread-11-1-1.html @MiuiAnderson says something about the transplantation progress. But the translation is a bit crappy.

rpander93 avatar Feb 10 '12 11:02 rpander93

Yes I see that. I have used google translate and read the whole manual. The translation is not the best but I see what you are talking about. The only thing I can figure out is it needs to be a stock rom. I am going to build gingerbread from source and the kernel. Then try porting that and see what errors I come up with. I have tried a few custom roms, but they all have status bar modifications and that always seems to cause the problems. The rom will boot for me but statusbar FC's and the Phone.apk FC's...

MiningCryptoLive avatar Feb 10 '12 14:02 MiningCryptoLive

I figured out how to fix this :

"android.process.acore stopping continuously"

go into settings - applications - and clear the Contacts cache and Contacts data cache.

MiningCryptoLive avatar Feb 10 '12 20:02 MiningCryptoLive

Lol I cant even open the homescreen. But you can? Guess you have more luck than me Op 10 feb. 2012 21:25 schreef "Randy" < [email protected]> het volgende:

I figured out how to fix this :

"android.process.acore stopping continuously"

go into settings - applications - and clear the Contacts cache and Contacts data cache.


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4#issuecomment-3913633

rpander93 avatar Feb 10 '12 20:02 rpander93

Yep, I can use most evrything. Still have a problem with the status bar & Phone FC's

here are some picture links

http://i94.photobucket.com/albums/l111/prbhasson/cal-clock.png http://i94.photobucket.com/albums/l111/prbhasson/launcher3.png http://i94.photobucket.com/albums/l111/prbhasson/torch.png http://i94.photobucket.com/albums/l111/prbhasson/miui-dialer.png http://i94.photobucket.com/albums/l111/prbhasson/customize2.png http://i94.photobucket.com/albums/l111/prbhasson/contacts-1.png http://i94.photobucket.com/albums/l111/prbhasson/favorite-contacts-widget.png

MiningCryptoLive avatar Feb 10 '12 22:02 MiningCryptoLive

Thats cool. Can you see which MIUI version it is?

And more important, from what ROM did you build?

rpander93 avatar Feb 10 '12 23:02 rpander93

Hmmm glad you guys are having luck with this. Am struggling and getting the zip to boot to miui

stevendeb25 avatar Feb 10 '12 23:02 stevendeb25

I am building for a Samsung Galaxy S 4G. I am using a stock 2.3.6 rom as that is what the directions state will work the best. What are you guys building for? Give me some information and maybe I can try building 1 for you and see how it comes out!

MiningCryptoLive avatar Feb 10 '12 23:02 MiningCryptoLive

Well I'm trying for a LG Optimus 2X. I've tried stock roms, modded stock roms and CM7 but I keep having those errors. I can post a link to a stock ROM tomorrow because I'm going to sleep now :p

I really hope they'll release the English manual soon.. Op 11 feb. 2012 00:57 schreef "Randy" < [email protected]> het volgende:

I am building for a Samsung Galaxy S 4G. I am using a stock 2.3.6 rom as that is what the directions state will work the best. What are you guys building for? Give me some information and maybe I can try building 1 for you and see how it comes out!


Reply to this email directly or view it on GitHub: https://github.com/MiCode/PatchRom/issues/4#issuecomment-3916777

rpander93 avatar Feb 11 '12 00:02 rpander93

ok. post a link and I will try building for you

MiningCryptoLive avatar Feb 11 '12 00:02 MiningCryptoLive

Racing1, once you get the acore force closes to stop, does the phone functionality work in your rom? I'm not getting any phone/data functionality, and I'm afraid it has to do with the fact that I'm trying to build for a CDMA/LTE phone.

sphanley avatar Feb 11 '12 17:02 sphanley

Sphanley, The phone worked the first couple times and then started force closing. I have decompiled the stock Phone.apk and MIUI-Phone apk and I am comparing them to see if I can find what's causing the error. I will post more info when I figure it out.

MiningCryptoLive avatar Feb 11 '12 17:02 MiningCryptoLive

Great, I appreciate you sharing your findings. To be clear though -- my question is not just does the phone app work, but can you make calls?

sphanley avatar Feb 11 '12 17:02 sphanley

YES. I made a few test calls and then it started force closing. I think I may have found some of the reason the statusbar and phone are doing the force closing. After I installed the rom I installed astro file manager. Then I went into the system folder and if you look some of the apks are not installing correctly or maybe even incompatible. If you click on them to install them you get an error saying There is a problem Parsing the package.

MiningCryptoLive avatar Feb 11 '12 18:02 MiningCryptoLive

whowwhow wait so i just copy the SystemUI folder from the i9100 folder?? i still gets some error, if i build from a custom rom can i??

DarthJonathan avatar Feb 13 '12 13:02 DarthJonathan

Racing1, could you please upload your rom so i can take a look at it? since my phone doesnt have clean 2.3 roms, only cm7 ports, i cant really experiment much except with random cm7 builds and when i boot i just get a black screen with phone/launcher/systemui/acore force closing..

equiliym avatar Feb 28 '12 11:02 equiliym

Equiliym.. What device are you building for? I am building for the Galaxy S 4G I can get it to compile and push to my phone but most of the apps force close. Here is a link to the rom's I have built. You are more than welcome to tear it apart and see if anything will help you. One is for the Galaxy S 4G the other is for the GT-5360. The one for the GT-5360 needs an updater script added to it as I do not own a gt-5360 and am not sure what the mount points are.

http://dl.dropbox.com/u/51005515/MIUI_GT-5360.zip http://dl.dropbox.com/u/51005515/MIUI_Valhalla.zip

MiningCryptoLive avatar Feb 28 '12 16:02 MiningCryptoLive

thanks, downloading.. im trying to build based on zte blade since i have a similar hardware with it so its quite easy to port it, thats why im using cm7 rom since nothing else (but stock 2.1/custom 2.2) works on my phone.. but not having much luck.. and i also cant get miuiv4 to work so thats why im trying to make this one

equiliym avatar Feb 28 '12 19:02 equiliym

I think I got that sorted out... You have got to add SystemUI to local-modified-apps, and decompile SystemUI along with the others there... Hope that helps

ghost avatar May 13 '12 17:05 ghost

I am creating one MIUI rom for Galaxy S + using Gigabread+ custom rom. While using SystemUI from 9100 folder its compiled and booted but statusbar fc. But when add SystemUI to local-modified-apps, and decompile SystemUI along with the others is even worse and booting but not usable as fc from start. ANY HELP ?

lontu avatar Jul 21 '12 07:07 lontu

have you checked logcat when you systemui started fcing? if the build process went okay, it probably has missing resources issue, check logcat for what is missing when it fc and it will be easier to fix it

equiliym avatar Jul 21 '12 10:07 equiliym