MiCode / legacy-patchrom

反编译/重编译Android ROM移植MIUI2.3技术 (A disassemble and reassemble Android ROM to port MIUI2.3 technology)
http://micode.net/forum-55-1.html
214 stars 78 forks source link

can't build systemUI.apk #4

Open MiningCryptoLive opened 12 years ago

MiningCryptoLive commented 12 years ago

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_pagetext'). make: ** [.build/MIUISystemUI.apk] Error 1

DarthJonathan commented 12 years ago

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??

equiliym commented 12 years ago

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..

MiningCryptoLive commented 12 years ago

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

equiliym commented 12 years ago

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

ghost commented 12 years ago

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

lontu commented 12 years ago

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 ?

equiliym commented 12 years ago

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