Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't build systemUI.apk #4

Open
MiningCryptoLive opened this issue Feb 7, 2012 · 57 comments
Open

can't build systemUI.apk #4

MiningCryptoLive opened this issue Feb 7, 2012 · 57 comments

Comments

@MiningCryptoLive
Copy link

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

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

@chirayudesai
Copy link

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
Copy link
Contributor

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


Reply to this email directly or view it on GitHub:
MiCode/patchrom#4

@MiningCryptoLive
Copy link
Author

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
Copy link

@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
Copy link

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
Copy link

@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
Copy link
Author

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

@rpander93
Copy link

@racing1 what kind of errors?

@MiningCryptoLive
Copy link
Author

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
Copy link
Author

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
Copy link

@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
Copy link
Author

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
Copy link

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

@rpander93
Copy link

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:
MiCode/patchrom#4 (comment)

@MiningCryptoLive
Copy link
Author

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
Copy link

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:
MiCode/patchrom#4 (comment)

@MiningCryptoLive
Copy link
Author

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

@MiuiAnderson
Copy link
Contributor

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
Copy link

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

@MiningCryptoLive
Copy link
Author

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
Copy link

Damn lol it works indeed. Crazy..

@MiningCryptoLive
Copy link
Author

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
Copy link

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
Copy link
Author

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

@chirayudesai
Copy link

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:
MiCode/patchrom#4 (comment)

@MiningCryptoLive
Copy link
Author

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
Copy link
Author

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
Copy link

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:
MiCode/patchrom#4 (comment)

@MiningCryptoLive
Copy link
Author

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

@MiningCryptoLive
Copy link
Author

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
Copy link

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
Copy link
Author

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
Copy link

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

@MiningCryptoLive
Copy link
Author

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

@stevendeb25
Copy link

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
Copy link

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:
MiCode/patchrom#4 (comment)

@rpander93
Copy link

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

@MiningCryptoLive
Copy link
Author

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
Copy link
Author

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
Copy link

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:
MiCode/patchrom#4 (comment)

@rpander93
Copy link

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

And more important, from what ROM did you build?

@stevendeb25
Copy link

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

@MiningCryptoLive
Copy link
Author

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
Copy link

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:
MiCode/patchrom#4 (comment)

@MiningCryptoLive
Copy link
Author

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

@sphanley
Copy link

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
Copy link
Author

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
Copy link

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
Copy link
Author

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.

@DarthJonathan
Copy link

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

@equiliym
Copy link

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

@MiningCryptoLive
Copy link
Author

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

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

@equiliym
Copy link

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

@ghost
Copy link

ghost commented May 13, 2012

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

@lontu
Copy link

lontu commented Jul 21, 2012

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

@equiliym
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants