Hey guys,
I might be barking up the wrong tree here, but I was hoping someone could help out a bit with using UOT Kitchen on a HTC Legend, running CM7 RC2.
I've run through the UOT Kitchen wizard without any issues (extracted and uploaded framework-res.apk and SystemUI.apk fine), and got a valid zip to apply the patch.
When applying though, I get the below error. This happens regardless of whether I try to apply via ROM Manager, or via Recovery.
-- Installing: SDCARD.UOT-ZC-xx-xx-xx-xx-x.zip
Finding update package...
Opening update package...
Installing update...
E:Error in /sdcard/UOT-ZC-xx-xx-xx-xx-x.zip
(Status 0)
Installation aborted.
I'm a relative newbie to much of this (but would like to think I'm sensible enough to do research before I ask stupid questions). I have heard UOT is primary designed for the Desire from some posts, however other posts have suggested its worked on their Legend without issues - so I'm not 100% sure that there's compatibility for my device or ROM.
So where am I going wrong here? Is this compatibility issue with the Legend, or with CM7, or just a user error?
Any help GREATLY appreciated!
both files that are required for uploading to UOT are odexed (ie, they come with odex file counterparts, which i've no idea whatsoever except that they're like extensions of the apk that came along w/ it) on cm7. merging altered apk's (ones in zip cooked and DL'd from UOT) with their original odex file counterparts (ones on your phone when you flashed cm7) are a no-no, from what i've read. so no dice, unless you can de-odex the whole rom...
I have the same problem, but my phone is LG P500 with Megatron ROM. I tried to get Sense - like notification bar, icons and new battery indicator. I'll be glad if someone will help me to solve this.
maxq1 said:
both files that are required for uploading to UOT are odexed (ie, they come with odex file counterparts, which i've no idea whatsoever except that they're like extensions of the apk that came along w/ it) on cm7. merging altered apk's (ones in zip cooked and DL'd from UOT) with their original odex file counterparts (ones on your phone when you flashed cm7) are a no-no, from what i've read. so no dice, unless you can de-odex the whole rom...
Click to expand...
Click to collapse
Ah, I was under the impression that CM7 was already deodexed. Apparently not.
I'll do some research and see if I can find a way to deodex the ROM. Cheers.
regarding to this problem, i'm curiouse if the CM 7 stable release has been de-odeoxed.
CM /system is odexed
Yeah, I found that out shortly after creating this thread. For the sake of future questions/searches, heres how I got UOT working:
Ended up getting it sorted by deodexing using xUltimate, then pushing the deodexed apk and jar files to my phone using adb.
Additionally, update-binary needs to be pulled out of the CM zip and copied into the cooked UOT zip (theres instructions for this on UOT's pickup page). UOT can then be flashed using recovery/ROM manager.
Related
i attempted to replace most of the .apks in the system app folder with the same .apks from an ealier version of the rom (because i prefer black to blue/black). i replaced them in the .zip before i flashed it, hoping it would work.. but it didnt.. in the recovery menu it says:
....
verifying update package...
e:wrong digest:
system/app/browser.apk
e:verification failed
browser was one i replaced. how do i make this work? i dont want to use root explorer to manually replace each ****ing thing, and i have no patients for adb. i must need to sign the package or something? i never unpacked anything, just replaced some contents.. thought id be fine..
on a related note there may be more issues to come. unzipped the framework-res.apk to my computer, renamed it .zip, went inside and replaced the battery icons, renamed it back to .apk and replaced the modified file in the rom. who knows what chaos i might have caused there.. if you know what to expect and how to fix it please feel free to help!
if it matters at all, the rom im modifying and flashing is nonsensikal 9.5 black/blue, the system apps came from version 8.2 black, and battery icon .pngs came from 5.4 black.
Id try and resign the whole rom after you make your changes it should be just fine
you cannot simply replace the apks in the zip, then flash. after replacing, use one of the following methods:
if you use linux, use EasySign (http://android.grdlock.net/index.php?&direction=0&order=&directory=HTC Droid Eris/Extras) or the Android Kitchen (http://forum.xda-developers.com/showthread.php?t=633246).
if using Windows:
Use AutoSign (http://androidforums.com/developer-101/8665-how-signing-roms.html).
Thanks. I'll get on the computer and give it a shot.
Sent from my nonsensikal froyo using XDA App
if you've unzipped the framework-res.apk then none of this will work anyway. You need to pull the images out of the old framework-res.apk and drag and drop them back into the new framework-res.apk without unzipping it. You shouldn't even need to rename it to zip. Just open it with a program like 7zip without unzipping and drop the png's in the correct folders. Then you can put the .apk back in the rom and resign from the links directed above.
Oh it all worked fine. I never unzipped framework, just extracted it from the Rom and renamed it, then replaced files, renamed back to apk, and replaced in original .zip. it worked great.
To achieve full 9.5 black I have to copy all of the previous versions (black) framework .pngs to the new Rom though.
I think the file is like, drawable-mpdi or something. Not landscape or non. I don't really know.. not in right frame of mind
Sent from my nonsensikal froyo using XDA App
I cooked a battery icon only using UOT Kitchen and tried flashing it and said the installation failed. I used both the framework-res.apk and systemui.apk in cooking the file that is rom the current nightly I am using (CM7 nightly 8), as instructed on the UOT Kitchen website. I find it weird that I was able to use a UOT Kitchen cooked file on all CM7 nightlies BEFORE RC1...now after, they do not work with any of the nightlies (I've tried with 3 seperate ones).
Any suggestions? I read 1 post (http://forum.xda-developers.com/showthread.php?t=968661) where someone said it had to do with both the framework-res.apk and systemui.apk files being odexed. If that's the problem, why would they not be odexed before RC1, but odexed after?
Update: I even tried adb pushing both the systemui.apk and framework-res.apk files to the rom and it would boot correctly, then restart 10 seconds later...so no go there either.
Still no takers?
Hello,
I'm facing a problem where I'm unable to apply UOT themes on my Gingerbread/Sense rom . I'm currently running InsertCoin CM7/A2SD+ v02, and extracted the framework_res, as well as SystemUI from the ZIP but still I cant get it to work.
No matter what I try nothing changes. Can anyone help me?
What's going wrong exactly?
EDIT: When you've chosen the stuff you want, check the Summary area and make sure there are no red boxes indicating something is incompatible/wrong
chul said:
Hello,
I'm facing a problem where I'm unable to apply UOT themes on my Gingerbread/Sense rom . I'm currently running InsertCoin CM7/A2SD+ v02, and extracted the framework_res, as well as SystemUI from the ZIP but still I cant get it to work.
No matter what I try nothing changes. Can anyone help me?
Click to expand...
Click to collapse
if you cook framework and systemui - it means you changing system theme. So after flashing UOT, select "System" theme in ThemeChooser.
chul said:
I'm facing a problem where I'm unable to apply UOT themes on my Gingerbread/Sense rom . I'm currently running InsertCoin CM7/A2SD+ v02, and extracted the framework_res, as well as SystemUI from the ZIP but still I cant get it to work.
No matter what I try nothing changes. Can anyone help me?
Click to expand...
Click to collapse
unzip your ROM and put
-SystemUI.apk from the app_s folder
-framework-res.apk from the framework_s folder
from the unzipped ROM
load this 2 files in "UOT File upload" up
then cooked your file and download it.
download this file h ttp://dl.dropbox.com/u/18354786/black_circle-bat_flying.zip
then unzip your kitchen file and black_circle-bat_flying.zip.
put your kitchen SystemUI.apk and framework-res.apk.
copy this files in to the follow dirs:
-SystemUI.apk to the black_circle-bat_flying/app_s folder
-framework-res.apk to the black_circle-bat_flying/framework_s folder
then zip it, now you can flash this file in recovery.
the black_circle-bat_flying.zip works with InsertCoin CM7/A2SD+ v03 data++ version.
i have used the installscript from alexdiaz themediazGingerMix7.
i hope its allowed to use this script, if not ok then i delete the zip.
Sorry for my bad english
for gingerbread roms you need 3 files. the other one is com.htc.resources.apk
u need to upload the com.htc.resource file as well to make the theme work,
I am on insertcoin v0.8, everything works great, very smooth
Hi I'm having some trouble creating a modified SystemUI.apk for my Nexus 10 running CM10.1. I followed some guides on how to change the transparency of the status bar but when I tried to install the new apk, it says installation failed/aborted in CWM. Could someone check my modification and see if I'm doing it right?
What I changed: SystemUI/res/layout/super_status_bar.xml and changed android:background="#00000000"
SystemUI/res/values/drawables.xml and changed <item type="drawable" name="status_bar_background">#00000000</item>
After I recompiled, I unzipped the CM10.1 rom, replaced the systemui.apk with the new one, and then rezipped. When I tried to flash the new rom in CMW, it says failed/aborted.
Any help would be much appreciated. Thanks!
your changes are correct, so the problem is in the zip file. flash the rom without modifying the zip and then (maybe after the first boot) flash a zip with only the systemui.apk inside. use a zip downloaded into a nexus10 modding thread.
anyway i'm trying to get a transparent status bar too on my galaxy nexus and i can tell you that you also have to modify a smali file into SystemUI.apk.
In your case the file is
Code:
SystemUI/smali/com/android/systemui/statusbar/tablet/TabletStatusBar.smali
In my case it is
Code:
SystemUI/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
but i don't know what to modify inside it (i found your thread while i was searching for a solution)
I'm currently running an unmodified CM10.1. I tried flashing just the SystemUI.apk as a zip but it fails/aborts also. Not sure whats causing the error.
Try to flash an unmodifyied SystemUI.apk. if it fails, the problem is the zip. Anyway without editing the smali file the status bar is still going to be black
Yeah I just extracted the stock systemui.apk, zipped it, tried flashing and it says failed/aborted. However, I was able to install the stock apk unzipped through the built in CM10 installer. Something is definitely wrong with my zipping...I tried installing the modified apk through the same manner and it failed however.
try with this. it is the zip that i usually use.
we are going OT
Now we're getting somewhere! The zip was able to flash! However, something is wrong with my systemui.apk as you predicted before. The status bar is indeed now transparent, however upon bootup, it says system UI has stopped. Pressing OK simply makes it pop up again. Reflashed the stock apk and now it's fine.Now just need to figure out how to correctly modify the apk. Thanks a bunch!
at the moment there are no guides for jelly bean so i suggest you to try another rom which allows status bar transparency (like aokp)
watch here and here man
Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
AndroiDTechi said:
Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
Click to expand...
Click to collapse
i had similar issue, didn't flash the system & boot.img. Creating Zip on different platform fixed it.
Wizardlysense said:
i had similar issue, didn't flash the system & boot.img. Creating Zip on different platform fixed it.
Click to expand...
Click to collapse
On which platform did you create the Zip??
I am using Windows 10.
AndroiDTechi said:
On which platform did you create the Zip??
I am using Windows 10.
Click to expand...
Click to collapse
windows 10 pro
Wizardlysense said:
windows 10 pro
Click to expand...
Click to collapse
I am also using Windows 10 Pro. Can you tell me how did you create the zip? I just put all the files like Meta-inf , system , boot.img and others if something more is present into a folder and convert it into a Zip using 7zip. Do i need to do something else??
AndroiDTechi said:
Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
Click to expand...
Click to collapse
just get the 'update-binary' file from any previous flashable custom roms from meta-inf folder and copy it to yours
tawidhiphoper said:
just get the 'update-binary' file from any previous flashable custom roms from meta-inf folder and copy it to yours
Click to expand...
Click to collapse
I am using CM 12.1 as base for porting and i am using update-binary form CM 12.1 only but still its not flashing
CM 12.1 flashes and works perfectly.
AndroiDTechi said:
I am using CM 12.1 as base for porting and i am using update-binary form CM 12.1 only but still its not flashing
CM 12.1 flashes and works perfectly.
Click to expand...
Click to collapse
can u upload the updater-script?
AndroiDTechi said:
I am also using Windows 10 Pro. Can you tell me how did you create the zip? I just put all the files like Meta-inf , system , boot.img and others if something more is present into a folder and convert it into a Zip using 7zip. Do i need to do something else??
Click to expand...
Click to collapse
i used WinRAR to zip files, no more problems since reinstalled windows
AndroiDTechi said:
Hey guys recently i was trying my hand at porting roms. I have read a lot of guides and i know mostly all about flashing or modifying custom roms or kernel etc. But i am stuck because every time i try to flash my ported rom it gives this error :-
could not find meta-inf/com/google/android/update-binary
Flashing fails after this error. I have already checked that update-binary file is present at the correct location and I am 100% sure i am following all the porting guides completely but still i am getting this error. I have tried 2-3 different guides but every single time i get this error. Can anyone tell me where am i going wrong?
Click to expand...
Click to collapse
u have to create zip by selecting meta inf,system data and many more files
Wizardlysense said:
i used WinRAR to zip files, no more problems since reinstalled windows
Click to expand...
Click to collapse
I prefer android kitchen to zip the rom.. just place the ported files in the "working" folder and zip via android kitchen..it generates the updater script n update binary by default
tawidhiphoper said:
I prefer android kitchen to zip the rom.. just place the ported files in the "working" folder and zip via android kitchen..it generates the updater script n update binary by default
Click to expand...
Click to collapse
I guess it didnt generate it successfully
Use assaydes kitchen bro have u got update script