Guest Lew247 Posted July 13, 2011 Report Posted July 13, 2011 Ive been trying to modify the icons and battery icons since I started using this rom a few weeks ago 1st I want to say it's a brilliant rom, I love it but it's really annoying that I cannot get the UOT kitchen to work with this I tried today again and it fails every time Here is the code that's thrown up when it fails Anyone got any ideas why it's failing or how to make it work? Decompiling framework-res.apk UOT-07-13-08-45-1 I: Loading resource table... I: Loaded. I: Decoding file-resources... I: Decoding values*/* XMLs... I: Done. I: Copying assets and libs... Decompiling SystemUI.apk UOT-07-13-08-45-1 I: Framework installed to: /home/mendozinas/apktool/framework/1.apk I: Baksmaling... I: Loading resource table... I: Loaded. I: Loading resource table from file: /home/mendozinas/apktool/framework/1.apk I: Loaded. I: Decoding file-resources... I: Decoding values*/* XMLs... I: Done. I: Copying assets and libs... Compiling framework-res.apk UOT-07-13-08-45-1 W: Could not find sources I: Building resources... aapt: warning: string 'lockscreen_ruim_locked_message' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: ja aapt: warning: string 'media_mount_tip' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: zh_CN aapt: warning: string 'media_mount_tip_attention' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: zh_CN aapt: warning: string 'media_mount_tip_ok_button' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: zh_CN aapt: warning: string 'permdesc_accessUsb' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: de es es_ES fr aapt: warning: string 'permlab_accessUsb' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: de es es_ES fr aapt: warning: string 'volume_fm' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: ja aapt: warning: string 'wifi_sim_attention' has no default translation in /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/fw_dec/res; found: ru aapt: /usr/lib/libz.so.1: no version information available (required by aapt) I: Building apk file... aapt: /usr/lib/libz.so.1: no version information available (required by aapt) Compiling SystemUI.apk UOT-07-13-08-45-1 I: Framework installed to: /home/uotftp/apktool/framework/1.apk I: Smaling... I: Building resources... aapt: /usr/lib/libz.so.1: no version information available (required by aapt) res/drawable-hdpi/status_bar_item_background_focus.png:0: error: Resource entry status_bar_item_background_focus is already defined. res/drawable-hdpi/status_bar_item_background_focus.9.png:0: Originally defined here. res/drawable-hdpi/status_bar_item_background_normal.png:0: error: Resource entry status_bar_item_background_normal is already defined. res/drawable-hdpi/status_bar_item_background_normal.9.png:0: Originally defined here. res/drawable-hdpi/status_bar_item_background_pressed.png:0: error: Resource entry status_bar_item_background_pressed is already defined. res/drawable-hdpi/status_bar_item_background_pressed.9.png:0: Originally defined here. Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1031700203010219584.tmp, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/su_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/su_dec/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:174) at brut.apktool.Main.main(Main.java:59) Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL1031700203010219584.tmp, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/su_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-07-13-08-45-1/su_dec/AndroidManifest.xml] at brut.util.OS.exec(OS.java:83) at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
Guest rockstarszzzz Posted July 13, 2011 Report Posted July 13, 2011 The framework.res you might be using wasn't theme-able. The recent beta - B13 has now got themeable framework.res - extract the files from B13's .zip and they might work for you.
Guest Lew247 Posted July 13, 2011 Report Posted July 13, 2011 It was the beta 13's framework-res.apk I tried last thats the error code from that version
Guest Redflake Posted July 13, 2011 Report Posted July 13, 2011 It's the SystemUI.apk that causes the problems in UOT kitchen. The framework.res on its own works fine but it won't change the status bar without the SystemUI.apk. I used SystemUI.apk from an earlier version before wbaw addad the mod with the small network indicater above the signal bars. Works ok in the kitchen and the phone seems to work ok. Think I used the SystemUI.apk from b8.
Guest Lew247 Posted July 13, 2011 Report Posted July 13, 2011 Thanks Anyone got any ideas why the systemUI.apk doesn't work or how to get it to work?
Guest wbaw Posted July 13, 2011 Report Posted July 13, 2011 (edited) try this ... MD5: 1ec3ea2fbe0a3a0dfe32f6bec2ce58d3gsf-blade-b13-systemuifix.zip Edited July 13, 2011 by wbaw
Guest TheHumanStrobe Posted July 13, 2011 Report Posted July 13, 2011 (edited) Holding my breath to see if this works... testing now too. ... kitchen still full. Edited July 13, 2011 by TheHumanStrobe
Guest Chris Banks Posted July 13, 2011 Report Posted July 13, 2011 Can confirm that they work brilliantly. Thanks for all your work wbaw
Guest wbaw Posted July 14, 2011 Report Posted July 14, 2011 (edited) Another framework fix for the zoom buttons here: http://www.filesonic.com/file/1438652814/gsf-blade-b13-update2.zip MD5: 7689718bdd6657a066cd9888a6bf685e Problem was NinePatch png files - http://forum.xda-developers.com/showthread.php?t=580351 I think ZTE messed some of them up & they're just normal pngs really, but they were named .9.png so apktool messes them up when it decompiles & recompiles. That's what caused the grey lock tab bar & the invisible zoom buttons. So I need to extract an older version, decompile the new version, copy the files from the extracted old version to the decompiled new one, then rename them (take the .9 out of the name), then recompile with apktool & resign. Let me know if any other graphics are messed up like that. Edited July 14, 2011 by wbaw
Guest Chris Banks Posted July 14, 2011 Report Posted July 14, 2011 Cheers, new versions work fine in the kitchen.
Guest retrocat Posted August 27, 2011 Report Posted August 27, 2011 (edited) Another framework fix for the zoom buttons here: http://www.filesonic...b13-update2.zip MD5: 7689718bdd6657a066cd9888a6bf685e Problem was NinePatch png files - http://forum.xda-dev...ad.php?t=580351 I think ZTE messed some of them up & they're just normal pngs really, but they were named .9.png so apktool messes them up when it decompiles & recompiles. That's what caused the grey lock tab bar & the invisible zoom buttons. So I need to extract an older version, decompile the new version, copy the files from the extracted old version to the decompiled new one, then rename them (take the .9 out of the name), then recompile with apktool & resign. Let me know if any other graphics are messed up like that. Hi wbaw! I'm using the b13 and now I would like to use it with the UOT kitchen but this file isn't available anymore. Can you upload it again? Thanks! Or can I use the framework and systemUI from b21? EDIT: Yes, I can, without a problem ;) Edited August 27, 2011 by retrocat
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now