rooting help with file in recovery - G1 Q&A, Help & Troubleshooting

Hey i just rooted using telnet and i am putting hard spl onto my phone from this rooting how to http://forum.xda-developers.com/showthread.php?t=442480 i am now do and upply sdcard update.zip and when i do that it say it finding update package
then opening update package....
then verifying update package...
then E:no signature (25 files)
then E:verification failed
the installation aborted
what do i do to apply it???? btw I'm using a mac and had to change the file to an zip from a folder by compressing it if that is the resin ill use a pc for this?
thanks,
Krinilssen

Check out the CM wiki, its kinda easier. And try a PC and when flashing or whatever part you're doing, just go to the option that lets you find what you want. No need to do the update option. Would help more just need to know where you are at
And the message you're getting is because your zip wasn't signed
Sent from my CM7 Nightly HTC Desire HD

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

[Q] Having problems with update.zip

Hi All,
I'm having problems with reinstalling using update.zip. I did not update jh7 yet and was trying to take off the circle battery mod.
I put my original framework-res.apk into the update.zip file and rebooted into recovery mode. I chose reinstall packages and I get
"installing from the sdcard...
finding update package...
opening update package....
E: cant open /sdcard/update.zip
(bad)"
I checked that I didn't name it update.zip.zip and it wasn't.
I tried different original update.zip files I had for the circle batt mod and they didn't work.
I tried a different framework-res.apk file in case mine was corrupt but same thing.
I tried downloading new update.zip for the circle batt mod and replacing the framework-res.apk and same thing.
So 2 things.
1. I'm stumped as to why the update.zip doesn't work since it worked the first time I changed the battery indicator
2. Is there another way to replace the framework-res.apk
thanks.

[Q] Gingerbread Update Issues - Need AmazonMP3 APK

Hi!
Can someone help me by uploading the .apk of Amazon Mp3 from FRG83G?
I deleted the app a while ago and Gingerbread update won't proceed unless it is present
Thanks!
Are you rooted? If so it's not going to work. U uploaded it and it went missing? Confused.
Sent from my Nexus One using XDA App
If you install the apk, would it still not go into the /data partition?
I think Geo mentioned that install the Amazon MP3 from the market won't work because the install would go into the /data partition and not in the /system partition as originally shipped with the ROM.
I had removed the Amazon app too. Could someone please upload the com.amazon.mp3.apk
from frg83d?
I wouls then be able to restore it with root explorer.
I just copyied an .apk from FRF91 but it didn't work either. I've got an error again:
assert_failed: apply_patch_check("/system/app/com.amazon.mp3.apk", ""ff8ad0f610cfdd4a632567bd823d3a659421aa44", "c2a88c45aa6e99c0a0062620c5d2618ea620ef53")
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
rcknr said:
I just copyied an .apk from FRF91 but it didn't work either. I've got an error again:
assert_failed: apply_patch_check("/system/app/com.amazon.mp3.apk", ""ff8ad0f610cfdd4a632567bd823d3a659421aa44", "c2a88c45aa6e99c0a0062620c5d2618ea620ef53")
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
With this file it works fine - http://www.freewarelovers.com/android/download/temp/1288197512_Amazon_MP3_1.8.29.apk
[Q] Gingerbread 2.3.3 update problem on Nexus One! - Need AmazonMP3
Trying to update my Nexus with 2.3.3 update, but I deleted the Amazon MP3 apk ages ago, and the 2.3.3 update fails trying to patch it.
Can someone PLEASE email me the apk (and path) from a Froyo FRG83G Nexus One, so that I can put it back? An APK from any build might help! [email protected].
Thank you so much in advance
Steve...
Download a .ZIP format stock firmware from here;
http://android.modaco.com/content/g...es-zip-online-kitchen-optional-root-insecure/
Extract the files you need from there.
rcknr said:
With this file it works fine -
Click to expand...
Click to collapse
Just installing that file didnt help Still getting the same error. Can anyone help? Is it a location issue? How to get it back into its original location?
Get this file:
http://android.clients.google.com/packages/passion/signed-passion-ota-43546.cc653ee4.zip
Extract com.amazon.mp3.apk
copy it into /system/app/
you're done.
Code:
- type 'adb remount'
- type 'adb push com.amazon.mp3.apk /system/app/com.amazon.mp3.apk'
(you need to be root to write to /sys/apps)
It Works!
rcknr said:
With this file it works fine - http://www.freewarelovers.com/android/download/temp/1288197512_Amazon_MP3_1.8.29.apk
Click to expand...
Click to collapse
THANK YOU If anyone else is doing this. You need to download the file (http://www.freewarelovers.com/android/download/temp/1288197512_Amazon_MP3_1.8.29.apk) and then rename it to com.amazon.mp3.apk.
Once renamed, use adb to push it to /system/app.
It works, I've updated to Gingerbread, and I'm VERY VERY happy
Thanks, Steve

Can't flash(open) Custom ROMs

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/

[Q] progam to create update.zip

progam to create update.zip.
x8 naa
download link pleasea
notepad.exe to write up the updater-script
Any program that can create ZIPs
EDIT: And it might also help to read the articles on the XDA portal page from time to time.
progam already have. but when I try to install the update, looks like this "installation aborted"
lucaslc7 said:
progam already have. but when I try to install the update, looks like this "installation aborted"
Click to expand...
Click to collapse
Then you have a syntax error in your updater-script, easy as that.
never mind it. Thanks for trying to help
Look for update zip creator.. I cant find the link. There is a wizard which helps you create a update.zip

Categories

Resources