Related
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
Hey there =)
I'm a proud owner of a Optimus 2x. I've rooted my phone and flashed the "stock rom" ( From this topic) and downloaded 2 Custom ROMs ( Thisone and another one from a dutch forum).
However, when I go to CWM and do a Backup and complete wipe, when I wan't to flash the rom (as said how to do it in the topics) I get things like this:
"Finding udate package. . .
Opening update package. . .
E:Can't open /sdcard/update.zip (bad)
Toggle signature verification: on/off
Toggle script asserts: on/off
I tried all possible options.
When I got the signature verification ON, then CWM says the signature is not verified
I worked with both V10A and V10B, both don’t work
What do I do wrong?
Killastyle said:
Hey there =)
I'm a proud owner of a Optimus 2x. I've rooted my phone and flashed the "stock rom" ( From this topic) and downloaded 2 Custom ROMs ( Thisone and another one from a dutch forum).
However, when I go to CWM and do a Backup and complete wipe, when I wan't to flash the rom (as said how to do it in the topics) I get things like this:
"Finding udate package. . .
Opening update package. . .
E:Can't open /sdcard/update.zip (bad)
Toggle signature verification: on/off
Toggle script asserts: on/off
I tried all possible options.
When I got the signature verification ON, then CWM says the signature is not verified
I worked with both V10A and V10B, both don’t work
What do I do wrong?
Click to expand...
Click to collapse
Try to select zip file from SD Card. If you have renamed the ROM to update.zip this should work fine, if that's the case the update.zip is corrupted.
I’ve already tried that to, doesn’t work. I suppose that a ‘’physical’’ MicroSD means one you can touch, so a real one (I got one and placed the ROMs on the MicroSD). I also tried making the .zip files a ‘’Read Only’’. I just keep getting the same screen that it doesn’t work.
And is there also a difference between a NANDROID backup and the backup I do in CWM?
Killastyle said:
I’ve already tried that to, doesn’t work. I suppose that a ‘’physical’’ MicroSD means one you can touch, so a real one (I got one and placed the ROMs on the MicroSD). I also tried making the .zip files a ‘’Read Only’’. I just keep getting the same screen that it doesn’t work.
And is there also a difference between a NANDROID backup and the backup I do in CWM?
Click to expand...
Click to collapse
Yes, you need a physical SD card. See if it gets mounted in CWM. Nandroid backup is the backup you do from the backup/restore menu in CWM.
If you keep getting the same screen you have not selected the zip file that contains the ROM. Your CWM is looking for update.zip that should reside on the root of your physical SD card. If you select choose zip you can navigate to the rom zip file you downloaded.
How can I check if it gets mounted in CWM? I can find the update.zip (I renamed the zip file myself to update.zip) When I check in Astro I go to "sdcard/_ExternalSD" and there is on the root of the external SD the update.zip package..
However, I've done a backup back to the standard rom and now I see the LGE-Version is back to LGP990-V10a. Here are all my specs:
Basebandversion: 1035.21_20110223
Kernel: 2.6.32.9
Buildnumber: FRG83G
LGE: LGP990-V10a .
Can you maybe explain to me step by step how I can do a custom rom again? I think I have to start from scratch again?
Killastyle said:
How can I check if it gets mounted in CWM? I can find the update.zip (I renamed the zip file myself to update.zip) When I check in Astro I go to "sdcard/_ExternalSD" and there is on the root of the external SD the update.zip package..
However, I've done a backup back to the standard rom and now I see the LGE-Version is back to LGP990-V10a. Here are all my specs:
Basebandversion: 1035.21_20110223
Kernel: 2.6.32.9
Buildnumber: FRG83G
LGE: LGP990-V10a .
Can you maybe explain to me step by step how I can do a custom rom again? I think I have to start from scratch again?
Click to expand...
Click to collapse
First off, if you install MCR Fr12 then go and update your baseband to the newest one. Follow these instructions: http://forum.xda-developers.com/showthread.php?t=1008070
Download the MCR Fr12 again to ensure that it's not corrupted, check the MD5 of the zipfile and compare it with the one stated in the first post.
Put the zipfile on the external SD card, no need to rename it.
Reboot into CWM, and (not having my phone here, so maybe I don't remember the exact phrases) advanced menu/toggle signature check off and wipe all data (cache/user/dalvik)
install zip from SD card (not apply update.zip) and navigate to the downloaded rom and press power to select it. This should install MCR Fr12 without problems.
Hope it helps.
Edit: Are you able to browse the SD from CWM ? If not try formatting the SD card in your PC as FAT(32).
I haven't done it this way before, so I'm gonna check it out
And I think I'm able to browse the SD from CWM, because when I do ''Install zip from SD card" i can navigate trough the maps I created and the update file is on the root. I will try this asap ! I hope this works thx
edit: How can I check the MD5 of the zipfile?
The: E:Can't open /sdcard/update.zip (bad)
can refer to a corrupted update.zip so try and download it again
Tayutama said:
The: E:Can't open /sdcard/update.zip (bad)
can refer to a corrupted update.zip so try and download it again
Click to expand...
Click to collapse
+1
Had this error many times on my old Hero
Tayutama said:
The: E:Can't open /sdcard/update.zip (bad)
can refer to a corrupted update.zip so try and download it again
Click to expand...
Click to collapse
So that means that all the 4 different times I downloaded the file it has gone corrupted?
Killastyle said:
So that means that all the 4 different times I downloaded the file it has gone corropted?
How can I check the MD5 files?
Click to expand...
Click to collapse
Maybe
Try searching for winMd5SumPortable, nice tool to check MD5 sums.
Killastyle said:
So that means that all the 4 different times I downloaded the file it has gone corropted?
How can I check the MD5 files?
Click to expand...
Click to collapse
Well it might refer to a corrupted download
What is the size of the file after you downloaded it?
Also regarding checking MD5 i use a program called HashTab.
It's a a small program that adds a tab when you check a files properties.
EDIT: also that error can also just be it looks for a file called update.zip but can't find it.
In windows you might see the file as update.zip but in reality it's called update.zip.zip and that also courses that error.
If you haven't renamed it, then choose install zip from SD card instead of install update.zip in CWM and then select the file
And still it doesn't work. I've checked the MDA on the file where I downloaded it to, then it's correct. However, as soon as I copy/paste or cut/paste the file to my MicroSD root, the MDA doesn't match anymore. Can that be the reason?
I might have the solution. When I do a full wipe via CWM, the base version goes back to V10a, maybe that is the solution. I will download the file directly to the MicroSD right now. I let you guys know if its working
Edit: omfg, I found out, I think it's working right now. I formatted and mounted the MicroSD via CWM, copied the file to the MicroSD and the MD5 was now still the same. Right at this moment my phone is writing it to the system. So it was probably the MicroSD not correctly formatted or such... Thx for all the help guys
Killastyle said:
I might have the solution. When I do a full wipe via CWM, the base version goes back to V10a, maybe that is the solution. I will download the file directly to the MicroSD right now. I let you guys know if its working
Edit: omfg, I found out, I think it's working right now. I formatted and mounted the MicroSD via CWM, copied the file to the MicroSD and the MD5 was now still the same. Right at this moment my phone is writing it to the system. So it was probably the MicroSD not correctly formatted or such... Thx for all the help guys
Click to expand...
Click to collapse
is there any update to this i also get this kind of error/
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
Back a year ago I rooted my nexus one phone, but the thing is I uninstalled a few stock apps. I had no idea that my updates would be a pain.
What I found out is that each new google update does a ton of asserts on files that it expects to be there. I had a problem with google books when I tried to update from 2.3.3 to 2.3.4, but someone on this forum hack a cracked version that allowed me to do so.
Now the annoying problem is back again, and this time, it's saying something about assert_failed: apply patch check ("system/app/EmailGoogle.apk...
I tried to find an EmailGoogle.apk out there, and I was able to find it, but if I was to use it, it wouldn't connect at all, then it would crash. I also placed it in system/app folder, and still same problem.
Is there a way for me to hack the update.zip so I can tell it to ignore these assertions?
AHH! I figured it out!
After much searching for updating scripts, I found out that there is indeed a file that tells your phone how to perform a patch update.
This involved me rebooting the phone 7 times (with about 5 times prior with previous experimentation)
Okay what I had were the following items
-Dropbox
-Root Explorer
-Laptop
Initially I got the error after running anon ra recovery, but I lost it when I accidently updated 2.3.4 again (I stupidly named my files as update.zip, update1.zip, update2.zip). Actually, I lost root (the phone still had the unlocked thing on it, but it was fooled). So I used this website (to root my phone again):
http://chensun.net/android-development/root-nexus-one-with-android-2-3-3-gingerbread/8/
So to get the specific error
1.you shut down your phone
2. reboot by pressing power button and down volume and hold it
3. Select recovery by navigating using the down volume, and select it by pressing power button.
4. After it reboots again, scroll down using your trackball and select Flash zip from sdcard
5. make sure you toggle signature verification to disable
6. select your update.zip
thats how you get your error
to fix:
1. So I took the signed zip file, and uploaded it to my dropbox
2. I opened the file using winrar (DO NOT UNZIP THIS FILE TO EDIT) the reason you do not want to unzip is because if you zip it up again you lose the signature, and your phone won't find the script
3. I used winrar to navigate to the following:
META-INF-->com-->google-->android
4. Open update-script using notepad
5. crtl-f on each package-name searching through the file:
emailgoogle.apk
GenieWidget.apk
Mms.apk
Talk.apk
Twitter.apk
VoiceDialer.apk
(ugh.. I forgot I uninstalled all those)
they existed twice. Once to assert to make sure the file exists, and the second to apply the patch
You have to remove both, you can keep the progress bar command there, that's just to update the progress of your update on your screen
example
;assert(apply_patch_check("/system/app/Twitter.apk", "48dcef1792760138acb1c10e2a2341dfbee69258", "e3e34aa0a72d0eaf76d80a06828bd14ea8450d34"))
apply_patch("/system/app/Twitter.apk", "-",
48dcef1792760138acb1c10e2a2341dfbee69258, 1596937,
e3e34aa0a72d0eaf76d80a06828bd14ea8450d34, package_extract_file("patch/system/app/Twitter.apk.p"));
so after repeating this over and over, it finally updated
anyways, going to sleep
Unzip the file on your phone with eStrongs file manager.
Edit the update script (eStrongs again).
Rezip (eStrongs again).
Sign with ZipSigner, or toggle signature verification in recovery.
Flash.
Note, if you use the "flash zip from SD" option, you don't need to name the file "update.zip"
thanks danger-rat, seen your posts many times before, I saved lots of your comments in my evernote
I already knew about renaming update.zip, I just got into a dumb naming habit, the last 5 tries I just kept the name as it was
my root explorer (file manager) by speed software does what eStrongs does, I can edit, zip, tar, unmount folders, set permissions etc, maybe you should check it out
but i've learned two new things about your post
never heard of zipsigner, and eStrongs
thanks for showing the quicker way of doing this, the dropbox thing was a bit of a hassle, but I love editting this on my computer rather than my phone using the trackball touchpad combo :-|
I'm wondering why a solution wasn't even there when I was looking for answers around the web? I searched for hours too. I'm also glad I didn't brick my phone!
Yeah, I use Root Explorer a lot. I prefer the interface on eStrongs and love the LAN capabilities and Dropbox interface, but Root Explorer is much better when you need root permission.
Not sure where to put this and apologize if it's incorrect.
I hate the colors on the stock Messaging.apk. I looked for various threads to help me and come accross these, albeit they are for a different phone. I tried to follow along:
http://forum.xda-developers.com/showthread.php?t=1891686
http://forum.xda-developers.com/showthread.php?t=1781297
I read somewhere that the installing of the framework is only necessary for Samsung and possibly other non system apps.
Anyways, I have opened the res/values/colors.xml file because that seems to be what is referenced. I only made changes to the message_color_in, message_color_out, etc hex codes "XXXXXXXX" to the colors and opacity that I wanted. I saved it and recompiled. I then followed the instructions on the second link about adding it to the flashable zip, using his empty one and didn't change the zip file name.
I then dropped the zip on my sdcard-ext and flash install it in recovery mode. Now it begins the motions but gives me an 'install /sdcard ... finding update package... opening update package... verifying update package...installation abort' and the apk is not updated. This leads me to believe it may need to be signed?
Now on the second link it says not to sign the system apk unless AndroidManifest.xml was edited, which it wasn't. Is there something else that I need to do? The original Messaging.apk file appeared to be signed but didn't want to do that and mess something up, so I figured to ask here first.
Let me know if you need more details or have any idea what I did wrong?