-
Notifications
You must be signed in to change notification settings - Fork 78
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
Comments
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 |
Oh, should make apktool-if first. 发件人: Randy [reply@reply.github.com] Get the following error when it gets to building the SystemUI.apk: cp -r SystemUI .build Reply to this email directly or view it on GitHub: |
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? |
@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.. |
like while porting i came across an error like this, complaining of a missing video call resource Since my device just didnt have that functionality, i removed it Btw, what device are you porting to @Pannekoek |
@chirayudesai 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. |
I fixed my errors but now it has errors while calling for files from the MIUI sources. |
@racing1 what kind of errors? |
Here's the latest list of error's. I am building this for the GalaxyS 4g I: Building resources... 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'). |
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. |
@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: apktool if baseAPK and then decompile the files with apktool d baseAPK to ensure that the files are decompiled with the correct framework. |
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. |
Yea, that indeed is quite surprising. Not much activity here from official developers. Too bad because opensourcing MIUI is pretty cool. |
Btw, I think that they've not uploaded all files, hence some resources are
|
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! |
I'm not saying it was on purpose. Maybe they just forgot it. If the errors
|
Yep, now I see what you mean. Hopefully we will here something soon. I can't wait to get this working. |
It should work. We verified this whole compliation process. source build/envsetup.sh |
Oke, I'm now re-downloading the zip to make sure everything is ok.. Will |
Hello MiuiAnderson, It works for the compilation of the included i9100 file. Are you saying that we can only build for the i9100? Or will we be able to build for other devices? |
Damn lol it works indeed. Crazy.. |
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. |
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 |
Yep, I am still getting the same errors building for sgs4g. |
Anyone looked into i9100 SystemUI yet? XD
|
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. |
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!! |
So you mean duplicating the i9100 SystemUI folder to your own device
|
So, back to the beginning. Flashed zip, Phone boots up, and then.... Blank Screen.... going to try flashing once more... |
So you mean duplicating the i9100 SystemUI folder to your own device 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... |
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? |
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 |
I tried it but it is now giving me a lot of errors. android.process.acore stopping continuously. And systemui crashing. |
Are you using a stock rom to apply this too or a custom rom? |
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 |
I tried both. Stock ROM builds but then gives me those errors on boot. CM7
|
In http://micode.net/thread-11-1-1.html @MiuiAnderson says something about the transplantation progress. But the translation is a bit crappy. |
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... |
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. |
Lol I cant even open the homescreen. But you can? Guess you have more luck
|
Yep, I can use most evrything. Still have a problem with the status bar & Phone FC's here are some picture links http://i94.photobucket.com/albums/l111/prbhasson/cal-clock.png |
Thats cool. Can you see which MIUI version it is? And more important, from what ROM did you build? |
Hmmm glad you guys are having luck with this. Am struggling and getting the zip to boot to miui |
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! |
Well I'm trying for a LG Optimus 2X. I've tried stock roms, modded stock I really hope they'll release the English manual soon..
|
ok. post a link and I will try building for you |
Racing1, once you get the acore force closes to stop, does the phone functionality work in your rom? I'm not getting any phone/data functionality, and I'm afraid it has to do with the fact that I'm trying to build for a CDMA/LTE phone. |
Sphanley, 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. |
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? |
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. |
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?? |
Racing1, could you please upload your rom so i can take a look at it? since my phone doesnt have clean 2.3 roms, only cm7 ports, i cant really experiment much except with random cm7 builds and when i boot i just get a black screen with phone/launcher/systemui/acore force closing.. |
Equiliym.. 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 |
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 |
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 |
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 ? |
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 |
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
The text was updated successfully, but these errors were encountered: