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

chirayudesai commented 12 years ago

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

MiuiAnderson commented 12 years ago

Oh, should make apktool-if first.


发件人: Randy [reply@reply.github.com] 发送时间: 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_pagetext'). make: ** [.build/MIUISystemUI.apk] Error 1


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

MiningCryptoLive commented 12 years ago

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?

rpander93 commented 12 years ago

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

chirayudesai commented 12 years ago

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

rpander93 commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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

rpander93 commented 12 years ago

@Racing1 what kind of errors?

MiningCryptoLive commented 12 years ago

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 commented 12 years ago

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.

rpander93 commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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.

rpander93 commented 12 years ago

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

rpander93 commented 12 years ago

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" < reply@reply.github.com> 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

MiningCryptoLive commented 12 years ago

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!

rpander93 commented 12 years ago

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" < reply@reply.github.com> 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

MiningCryptoLive commented 12 years ago

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

MiuiAnderson commented 12 years ago

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

rpander93 commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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?

rpander93 commented 12 years ago

Damn lol it works indeed. Crazy..

MiningCryptoLive commented 12 years ago

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.

rpander93 commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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

chirayudesai commented 12 years ago

Anyone looked into i9100 SystemUI yet? XD On Feb 9, 2012 10:07 PM, "Randy" < reply@reply.github.com> 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

MiningCryptoLive commented 12 years ago

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 commented 12 years ago

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

rpander93 commented 12 years ago

So you mean duplicating the i9100 SystemUI folder to your own device folder? Op 9 feb. 2012 18:47 schreef "Randy" < reply@reply.github.com> 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

MiningCryptoLive commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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

rpander93 commented 12 years ago

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?

MiningCryptoLive commented 12 years ago

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

rpander93 commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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

stevendeb25 commented 12 years ago

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

rpander93 commented 12 years ago

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" < reply@reply.github.com> 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 commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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 commented 12 years ago

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.

rpander93 commented 12 years ago

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" < reply@reply.github.com> 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

MiningCryptoLive commented 12 years ago

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

rpander93 commented 12 years ago

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

And more important, from what ROM did you build?

stevendeb25 commented 12 years ago

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

MiningCryptoLive commented 12 years ago

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!

rpander93 commented 12 years ago

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" < reply@reply.github.com> 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

MiningCryptoLive commented 12 years ago

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

sphanley commented 12 years ago

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.

MiningCryptoLive commented 12 years ago

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.

sphanley commented 12 years ago

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?

MiningCryptoLive commented 12 years ago

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.