Installing UOT Kitchen theme error? - LG Optimus Black

hi all,
I tried to create an theme for the new 20N rom(lite, deodexed) so i copied SystemUI.apk and framework-res.apk to my PC and uploaded them to UOT Kitchen.
In UOT Kitchen i start choosing icons etc (settings.uot in attatchment) and tried flashing it but when i do i get an error:
Code:
E: Error in /sdcard/theme.zip
(Status 0)
Installation aborted.
(tried Update-binary = MTD and Optimus)
PLEASE HELP!
EDIT: Forgot to click the sumbit work to kitchen so downloaded someone others file

WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the UOT zip (overriding UOT's file)
from: http://uot.dakra.lt/how_to/

I'm having problems too.
I get this error
E:Can't open /sdcard/Download/Andrew-2.zip
(bad)
Installation aborted.
Please help.
Andrew-2.zip is the second theme I made. The first one I made also got the same error. I replaced the binary file thing the one above me said.

andrewbadge said:
I'm having problems too.
I get this error
E:Can't open /sdcard/Download/Andrew-2.zip
(bad)
Installation aborted.
Please help.
Andrew-2.zip is the second theme I made. The first one I made also got the same error. I replaced the binary file thing the one above me said.
Click to expand...
Click to collapse
try it with an another SD card... m8be is the SD card corrupt or something

yeomond said:
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the UOT zip (overriding UOT's file)
from: http://uot.dakra.lt/how_to/
Click to expand...
Click to collapse
Where is the META-INF/com/google/android/update-binary located? I searched eveywhere on my phone with root explorer...

WIIstpM said:
Where is the META-INF/com/google/android/update-binary located? I searched eveywhere on my phone with root explorer...
Click to expand...
Click to collapse
It is in the flashable zip file of your rom

That's weird. I got the cooked zip to install on my OB. Im on Zeus v3n. It flashed fine and everything was working besides the status bar and notification. I still haven't found a workaround for that..

timvdhoorn said:
It is in the flashable zip file of your rom
Click to expand...
Click to collapse
Eh I'm using the stock rom... anyway it wasn't the problem but the script editing (had to put it to "Type Optimus") Everything worked then

WIIstpM said:
Eh I'm using the stock rom... anyway it wasn't the problem but the script editing (had to put it to "Type Optimus") Everything worked then
Click to expand...
Click to collapse
where did u have to make that change?

lMonsterl said:
where did u have to make that change?
Click to expand...
Click to collapse
At Uot Kitchen's website. At file upload section. Under the "Select flashable zip scripting" part you can choose update-binary type. Never forget to set it to "Type optimus".

Related

[?] How do you "sign" a .zip file?

I grabbed a ROM from here and deleted some unwanted apps, and added a couple that I wanted so I wouldnt have to do it after I flashed and zipped it back up. When going to flash it to my phone I get a "E: No signature (830 files)... E: Verification failed. Installation aborted."
Im very new to all this so please dont flame me. Is it simple enough to sign & verify it so I can flash it, or will I have to flash the original and uninstall the unwanted apps via adb?
Thanks in advance.
The Jero said:
I grabbed a ROM from here and deleted some unwanted apps, and added a couple that I wanted so I wouldnt have to do it after I flashed and zipped it back up. When going to flash it to my phone I get a "E: No signature (830 files)... E: Verification failed. Installation aborted."
Im very new to all this so please dont flame me. Is it simple enough to sign & verify it so I can flash it, or will I have to flash the original and uninstall the unwanted apps via adb?
Thanks in advance.
Click to expand...
Click to collapse
You can sign it and then flash. Try this
http://androidforums.com/developer-101/8665-how-signing-roms.html
Jus10o said:
You can sign it and then flash. Try this
http://androidforums.com/developer-101/8665-how-signing-roms.html
Click to expand...
Click to collapse
Thanks man! I got it all resigned and went to flash but now it got all the way to "Installing update..." then I recieved a "E:Can't find update script Installation aborted."
I guess I'm going to have to do a lot of forum searching and reading to get this running!
Jus10o said:
You can sign it and then flash. Try this
http://androidforums.com/developer-101/8665-how-signing-roms.html
Click to expand...
Click to collapse
Just to add a little more info if your using someone elses updatezip make sure you delete the apks sha1 or anything else you aren't using out of the manifest. also avabox works great. all in one tool for signing apps unyaffs and so fourth
The Jero said:
Thanks man! I got it all resigned and went to flash but now it got all the way to "Installing update..." then I recieved a "E:Can't find update script Installation aborted."
I guess I'm going to have to do a lot of forum searching and reading to get this running!
Click to expand...
Click to collapse
You need to zip the contents of the rom folder, and not the folder itself. Go into the ROM folder, select all the files (system, boot.img, meta-inf, etc) and zip it that way. Then, sign THAT zip, and you're good to go.
HeroMeng said:
You need to zip the contents of the rom folder, and not the folder itself. Go into the ROM folder, select all the files (system, boot.img, meta-inf, etc) and zip it that way. Then, sign THAT zip, and you're good to go.
Click to expand...
Click to collapse
I'm editing the update-script with Word Pad, then re-saving it. Is this the wrong way to do it?
I'm getting an error (Status 6) when I run my .zip update, every time.
http://forum.xda-developers.com/showthread.php?t=763406
i just put this up bro check it out
Thank you now I learned how to sign roms I just modded...
Problems signing with stock recovery
I am trying to reuse an old LG L45C and I need to flash the stock rom however I get "E: failed to verify whole-file signature" Could anybody sign this for me?
https://www.dropbox.com/s/04o8d0har828chm/Stock_L45C_Rom.zip?dl=0
I am on the stock recovery <3e>
I'm trying to make a file package that will install a file manager and terminal emulator. The device only reads a file package that has am zip md5 and zip sig. Can anyone help me set up something like this

Why does my apk signing not work?

I'm using the auto-sign here:
http://forum.xda-developers.com/showthread.php?t=646962&highlight=sign
I modified framework-res.apk (changed 3 png files), signed it, and replaced the apk in the update.zip from: http://forum.xda-developers.com/showthread.php?t=687935
I get the following error when flashing the zip:
Code:
Verifying update package...
E:Wrong digest:
system/framework/framework-res.apk
E:Verification failed
What am I doing wrong here?
delete the META-INF folder before signing.
arkavat said:
delete the META-INF folder before signing.
Click to expand...
Click to collapse
Tried it. Still no go. =\
I think the APK needs to use the same signature as the update.zip when signing... at least that's what I read from somewhere.
Hmm, well, sheet.
Q&A section Paul! cmon!
lol just busting your balls but that is strange... dxi's idea sounds correct though since there is a "verification" error
dsixda said:
I think the APK needs to use the same signature as the update.zip when signing... at least that's what I read from somewhere.
Click to expand...
Click to collapse
Nope... that's why a rom can contain signed files from many sources.
@Paul: did you decode -> replace -> encode -> sign or insert into zip -> resign?
Oh, and I assume is an Eclair version?
JHaste said:
Q&A section Paul! cmon!
lol just busting your balls but that is strange... dxi's idea sounds correct though since there is a "verification" error
Click to expand...
Click to collapse
I could have sworn I posted in the Themes & Apps section last night. But after it posted, I figured I'd leave it since I can't delete my posts anyway like on other boards.
djmcnz said:
Nope... that's why a rom can contain signed files from many sources.
@Paul: did you decode -> replace -> encode -> sign or insert into zip -> resign?
Oh, and I assume is an Eclair version?
Click to expand...
Click to collapse
Not sure what you mean by decode/encode. I replaced the png files, signed the framework apk, and replaced the framework apk in the update.zip from Docrambone.
Paul22000 said:
Not sure what you mean by decode/encode. I replaced the png files, signed the framework apk, and replaced the framework apk in the update.zip from Docrambone.
Click to expand...
Click to collapse
Did you re-sign the update.zip after adding the APK back to it?
dsixda said:
Did you re-sign the update.zip after adding the APK back to it?
Click to expand...
Click to collapse
No. The auto-sign says it will sign the only apk in the folder, so it wouldn't even see the update.zip.
Paul22000 said:
No. The auto-sign says it will sign the only apk in the folder, so it wouldn't even see the update.zip.
Click to expand...
Click to collapse
Hmmm ok, so now I am confused, I thought we had to sign the update.zip each time it changes.
If you can get it working, let us know what you did..
MOD EDIT - Moved to Q&A
Paul22000 said:
No. The auto-sign says it will sign the only apk in the folder, so it wouldn't even see the update.zip.
Click to expand...
Click to collapse
Ahh... yes, you need to sign the zip as well...
Code:
java -jar signapk.jar <your_cert.x509.pem> <your_key.pk8> <input_file_name.zip> <output_file_name.zip>
If you're using test keys it will be...
Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 <input_file_name.zip> <output_file_name.zip>
If you run this in the same directory that you ran signapk.bat in then this will work as well.
So your procedure:
Edit apk
Delete META-INF folder
Re-sign apk
Add re-signed apk to update.zip package
Sign update.zip package as above
EDIT: Oh, are you reusing an existing update.zip file?? No, don't do that. Perhaps reuse the script but just create a new zip and replicate the required directory structure, drop your files in (including the script) and sign it. If you must reuse the zip then delete all of the certificate files in the meta-inf directory but don't delete the folder structure where the update-script lives.
Paul22000 said:
I'm using the auto-sign here:
http://forum.xda-developers.com/showthread.php?t=646962&highlight=sign
I modified framework-res.apk (changed 3 png files), signed it, and replaced the apk in the update.zip from: http://forum.xda-developers.com/showthread.php?t=687935
I get the following error when flashing the zip:
Code:
Verifying update package...
E:Wrong digest:
system/framework/framework-res.apk
E:Verification failed
What am I doing wrong here?
Click to expand...
Click to collapse
i don't know if you figured it out yet...but send me your zip and I will take a look at it
ogdobber said:
i don't know if you figured it out yet...but send me your zip and I will take a look at it
Click to expand...
Click to collapse
Here's my non-working zip
Paul22000 said:
Here's my non-working zip
Click to expand...
Click to collapse
Insufficient build information in the update script file and a syntax error.
Try this:
Code:
assert compatible_with("0.2") == "true"
assert getprop("ro.product.device") == "passion" || getprop("ro.build.product") == "passion"
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
djmcnz said:
Try this:
Click to expand...
Click to collapse
Try what? What do I do with that code?
If you want to cheat, here's a modified and signed version.
I can't test it because I'm not using Froyo but it all looks okay.
Paul22000 said:
Try what? What do I do with that code?
Click to expand...
Click to collapse
Insufficient build information in the update script file and a syntax error.
No?
I mean, you do recognise this line: copy_dir PACKAGE:system SYSTEM: from your update.zip? Or is that somebody else's original zip? It's a wonder it ever worked. Nevertheless, have a look inside the one I attached and you'll see what I mean... /META-INF/com/google/android/update-script
djmcnz said:
If you want to cheat, here's a modified and signed version.
I can't test it because I'm not using Froyo but it all looks okay.
Click to expand...
Click to collapse
Aren't the frameworks different from 2.1u1 to 2.2? I'm almost sure they'd be different with all the changes in FroYo.
djmcnz said:
Insufficient build information in the update script file and a syntax error.
No?
Click to expand...
Click to collapse
You're speaking Greek to me.

[Q] [HELP]Creating update packages for {GOT,Open}Recovery

Hi!
I have tried to create my own update for Milestone, unfortunately I can't get it to work. I copied the test updates from OpenRecovery and edited the update-script but it did not work.
I copied over test-update-or.zip and unpacked it, then I threw my stuff into the system and modified the bash script in META-INF. The whole thing look like this:
And when I try to apply this, I get:
Code:
(...) Using default updater...
E:Error in /sdcard/OpenRecovery/updates/moj-update.zip
(Status 4)
Installation aborted
What am I doing wrong?
Quintasan said:
Hi!
I have tried to create my own update for Milestone, unfortunately I can't get it to work. I copied the test updates from OpenRecovery and edited the update-script but it did not work.
I copied over test-update-or.zip and unpacked it, then I threw my stuff into the system and modified the bash script in META-INF. The whole thing look like this:
And when I try to apply this, I get:
Code:
(...) Using default updater...
E:Error in /sdcard/OpenRecovery/updates/moj-update.zip
(Status 4)
Installation aborted
What am I doing wrong?
Click to expand...
Click to collapse
You should apply it as a nandroid restore through the nandroid menu!? Anyone?
vladstercr said:
You should apply it as a nandroid restore through the nandroid menu!? Anyone?
Click to expand...
Click to collapse
Sir, do you realise that I'm trying to create an UPDATE package, not a NANDROID BACKUP?
Quintasan said:
Sir, do you realise that I'm trying to create an UPDATE package, not a NANDROID BACKUP?
Click to expand...
Click to collapse
Yes... But thats the same error I got when I tried to restore a nandroid backup through "apply update"
Thats why I said that...
Quintasan said:
Hi!
I have tried to create my own update for Milestone, unfortunately I can't get it to work. I copied the test updates from OpenRecovery and edited the update-script but it did not work.
I copied over test-update-or.zip and unpacked it, then I threw my stuff into the system and modified the bash script in META-INF. The whole thing look like this:
And when I try to apply this, I get:
Code:
(...) Using default updater...
E:Error in /sdcard/OpenRecovery/updates/moj-update.zip
(Status 4)
Installation aborted
What am I doing wrong?
Click to expand...
Click to collapse
attach your update.zip file so we can have alook will make it easier for helping
Here you go, thanks in advance
bumping form the depths of hell and because I'm too lazy to keep note of what changes I do each reflash
ok well first of all your directory structure doesnt seem good , meta-inf and other folders needs to be in the root of the zip file .
I suggest you grab latest CM6 by kabaldan and copy what hes doing and replace files .
good luck

[Q] Unable to flash UOT zip

Hey guys, I've looked around and haven't found any reason why I SHOULD'NT be able to flash a custom theme from the Ultimate Online Kitchen, so I'm posting for suggestions as to why I am getting this error when trying to flash this... here is the error message I keep getting:
Installing update...
E:Error in /sdcard/Flashing/Themes/UOT-08-25-17-41-1.zip
(Status 0)
Installation aborted.
I also tried flashing it from the root of the SD card with the same results.
At the kitchen I am using the Type MTD (default) update binary...
Looking forward to your suggestions, maybe I have my settings wrong in the kitchen
From the how-to page:
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file
2. Put this file in the UOT zip (overriding UOT's file)
Click to expand...
Click to collapse
I saw that in the How TO section and tried different ways:
1: Just dragging the file (update-binary)to root of the zip
2: Navigating in the zip to where the update-binary is and dropping it in there
3: Unpacking the zip and placing the file in the root of the zip
4: Unpacking the zip and replacing the file in the zip with the one from my rom
They all yield the same results (I'm pullin' my hair out) because the 2nd technique should've worked
did you ever figure out how to make this work?
My bad fellas, I should've posted back that I got this resolved...
I eventually downloaded a fresh copy of my ROM, unzipped the entire thing instead of just dragging out the file I needed.
I then deleted the file I was replacing with the one I got from my ROM and it went fine (after about 10 tries).
I also flashed my recovery to my phone and the amss and the dsp1...
Anyway, now I'm a cookin' fool changing themes every other day
cdzo72 said:
My bad fellas, I should've posted back that I got this resolved...
I eventually downloaded a fresh copy of my ROM, unzipped the entire thing instead of just dragging out the file I needed.
I then deleted the file I was replacing with the one I got from my ROM and it went fine (after about 10 tries).
I also flashed my recovery to my phone and the amss and the dsp1...
Anyway, now I'm a cookin' fool changing themes every other day
Click to expand...
Click to collapse
Hi, I am from CR too
I am trying to do this but no luck
Galaxy S2 i9100
Ice Cream I9100XXLPQ
I have the file but when I try to install it I get the error (Status 0)
I understand this:
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file ----->> What do they mean to unzip the ROM?? I installed ICS from a .tar.md5 file and it is without folders (opening with Winrar). I also searched in the phone with root explorer and didn't find META-INF....
2. Put this file in the UOT zip (overriding UOT's file)
PV!
mrfmanuel said:
Hi, I am from CR too
I am trying to do this but no luck
Galaxy S2 i9100
Ice Cream I9100XXLPQ
I have the file but when I try to install it I get the error (Status 0)
I understand this:
WORKAROUND for recovery error (Status 0):
1. Unzip your ROM and find
META-INF/com/google/android/update-binary file ----->> What do they mean to unzip the ROM?? I installed ICS from a .tar.md5 file and it is without folders (opening with Winrar). I also searched in the phone with root explorer and didn't find META-INF....
2. Put this file in the UOT zip (overriding UOT's file)
PV!
Click to expand...
Click to collapse
I have a i9100 also and you really don't need the kitchen because there so many themed ROMs out there. If you like send me a private message and will contact you with pointers on getting the most out of your i9100

[HELP] Error in flashing module : "Invalid zip file format!"

I am trying to make a magisk module to remove an app. I followed the guide here. But I can't install it.
Flashing in magisk manager gives error: "! Installation failed"
Flashing in TWRP gives error : "Invalid zip file format!"
I guess, I am making the zip the wrong way.
My zip file is attached.
Any help would be appreciated.
Try using a different app/program to create the zip file.
Didgeridoohan said:
Try using a different app/program to create the zip file.
Click to expand...
Click to collapse
I used this command.
HTML:
zip -r stkremove2.zip META-INF README.md common/ install.sh module.prop system
is there a known correct way?
Didgeridoohan said:
Try using a different app/program to create the zip file.
Click to expand...
Click to collapse
I also tried using winrar and it didn't work.
anaandshailu said:
I am trying to make a magisk module to remove an app. I followed the guide here. But I can't install it.
Flashing in magisk manager gives error: "! Installation failed"
Flashing in TWRP gives error : "Invalid zip file format!"
I guess, I am making the zip the wrong way.
My zip file is attached.
Any help would be appreciated.
Click to expand...
Click to collapse
anaandshailu said:
I also tried using winrar and it didn't work.
Click to expand...
Click to collapse
It's works fine using WinRAR and/or 7-zip for me (Windows host)
anaandshailu said:
I used this command.
HTML:
zip -r stkremove2.zip META-INF README.md common/ install.sh module.prop system
is there a known correct way?
Click to expand...
Click to collapse
Looks like good, just try and feedback..
Rom said:
Looks like good, just try and feedback..
Click to expand...
Click to collapse
the zip attached in OP was made by the zip command method and it does not work
could you please try that stkremove2.zip in OP
*typo in filename... updater-binary - - >update-binary
*use module_installer.sh instead

Categories

Resources