How do I sign update.zip? - myTouch 3G, Magic General

Good day,
I am having difficulty in finding the process for signing update.zip which contains a modified google ion rom/image. Does anyone know how to sign update zips in linux? Any information would be greatly appreciated.
thanks,
Phill

I dont know how to get the update.zip signed, but i know if you flash the engineering 2005 spl onto your phone that you will be able to flash that rom onto it without getting it signed

there is a resign app. (right click choose from context...done)
http://forum.xda-developers.com/showpost.php?p=3175518&postcount=2
Just choose your final update.zip and resign it (the entire package is resigned). This did the magic for me.
Best Regards,
-f
PS: It is intended for Themes but works on entire updates.

Related

Can't Update Radio

Any help is greatly appreciated.
I have, well look at my sig...
Do i need the CRB43 ADP instead of US to update radio. I keep getting a "can't open e/sdcard/update.zip (bad) message.
It should update. Maybe it was a bad download. I would download it again and try it.
Well, I just flashed back to 1.51 CRB43 ADP. I am going to see if it works...Thanks for the input.
Downloaded it again...Extracted...renamed update.zip...still no go.
Same error as before " cant open update.zip....(bad)".
Hmmmmmm...any other suggestions.
(im now adp 1.51 FYI)
Download it again.
Do NOT extract anything.
Just rename the downloaded file to update.zip.
So, I got it to work....I used winrar to make my update.zip instead of the windows zip and BAM worked 100%..
Glad it worked for you, but extracting these .zip files is unnecessary.
All that is required is renaming them to update.zip.
If you extract then re-zip them, you risk screwing up your new zip if the directory structure isn't preserved. You're just adding an extra step to the whole process that doesn't accomplish anything.
Thanks for the reply..
I just updated the SPL and everything went well. Though, now after the flash its stuck on G1 Screen...uh oh
I doubt it's related, but who knows?
Remove your sdcard, put it in your computer, copy a fresh SPL update.zip, try that.
If that doesn't work, remove your sdcard, put it in your computer, put your build's update file on the card (remember, don't rezip the file ... just rename the downloaded file to update.zip), WIPE and reflash.
You don't have to reflash the spl, you just have to reflash your rom. The spl overwrites the rom, thats why you got to reflash it.

Help with Cooking

I have a Samsung I-350
using
a method i was able to get a romdump.zip which i then dumped into a dump folder with all of its files inside
my question is what do i do now so i can cook roms with it, ive tried a variaty of tools and cant find what to do now... Im stuck with the contents of the rom in the dump folder
update:
was able to convert .raw to .nb using envious
link posted:
Download
anyone want to make a 6.5.3 rom for the intrepid?
and remove all the junky bloatware that sprint and samsung put on it...
its windows directory is cluttered with junk and factory testing tools from windows 6.0 and the i-7xx samsung phone....
It's not that simply, I think. Even if someone was to generate a ROM, it can't be flashed unless the phone allows it, which would require the phone to be unlocked(It's only sim unlocked). That being said, if somone IS able to do this, I'd love to make a ROM for it!
Sprint has an update tool to update the rom but obviously its just theirs...
could someone analyse the sprint update tool maybe?
i got the rom by changing a registry value i believe

[Q] Nexus 7 ar install help

To avoid filling the forum with question i'm just going to create this thread and ask all my questions here.
I finally rooted my nexus 7 on my mac and now am hoping to install a USB ROM, i couldnt post a link but it seems to be most popular for in car installs.
I downloaded the file and compressed it to a .zip file then tossed it onto the android. Next i booted into clockwork recovery the selected install zip from sd card>Choose zip from sd card> 0/>cm-10.zip>yes - install cm-10.zip
After this the tablet says
Finding update package...
opening update package...
installing update...
installation aborted...
Can anyone help me and/or tell me what i'm doing wrong? all help is appreciated. Thankyou
Mperkins92 said:
To avoid filling the forum with question i'm just going to create this thread and ask all my questions here.
Click to expand...
Click to collapse
A more acceptable procedure is to find - via SEARCHING - closely related threads first, and post your questions in those threads. That demonstrates to people that you've actually tried to help yourself by searching. If you actually have something unique to say, in that circumstance you start a new thread.
"Help me install a ROM" is not a new idea here on XDA, whether you have a problem with it or not.
Mperkins92 said:
I downloaded the file and compressed it to a .zip file
Click to expand...
Click to collapse
It's already a .zip file to begin with when you download it. Is your Mac uncompressing it automatically when you download it?
If so, use something other means (not Safari?) to download it. FTP. Wget. Firefox for Mac.
Then, if the ROM developer publishes rom file MD5 signatures, validate that you can compute the same checksum on the file downloaded to your computer.
If you then subsequently copy it to something else (such as the tablet), check the file length and/or the MD5 signature of the copied file as well.
Was there not some additional message on the screen besides "installation aborted"? Details are important.
The most probable guess at the moment (from your narrative) is that you borked the download and/or did something else that made the custom recovery unhappy.
BTW, when you install a new ROM for the first time, you generally:
(a) make a full Nandroid backup first (using the custom recovery)
(b) perform a "factory reset" in the custom recovery,
(c) flash of the ROM file.
Attempting the last step without the first two is just begging for trouble.
good luck

[Q] Custom Rom invalid .zip

hi guys!
First of all : I'm new to the custom rom scene development. I do know how to flash and so..
So i've installed cygwin and the android kitchen. I took the stock rom provided to me by the manufacturer, i was able to set up the working folder. Then I did : "Build ROM from working folder", without making any changes to apk's or something like that.
When i got the update.zip file i tried flashing it with a recovery and using the update.zip in /sdcard method. The first method just stopped after verifying, the second method said it was an invalid package.
I believe there is something wrong with the signing of the rom. Could you guys help me out?
Thx!
Check type of script used in update.zip
tcornelis said:
hi guys!
First of all : I'm new to the custom rom scene development. I do know how to flash and so..
So i've installed cygwin and the android kitchen. I took the stock rom provided to me by the manufacturer, i was able to set up the working folder. Then I did : "Build ROM from working folder", without making any changes to apk's or something like that.
When i got the update.zip file i tried flashing it with a recovery and using the update.zip in /sdcard method. The first method just stopped after verifying, the second method said it was an invalid package.
I believe there is something wrong with the signing of the rom. Could you guys help me out?
Thx!
Click to expand...
Click to collapse
Did u signed the update.zip while exporting rom using cygwin menu. ?
If you didnt sign it will notify that is invalid
But there might be some other kind of issue like
1. Cygwin provides updater_script and update_script in update.zip package it contain all information reguarding flashing
check that your device require which type of script .
let me know your responce.
Press thanks button. if this helped

Flash Stock ROM missing META-INF directory

Kinda makes this noob sick. I just got a new Moto G4 X1625 (not Amazon). Next came the steps to unlock the bootloader with Motorola and to install TWRP. Everything had gone so easily by following some how-to steps I jumped to the next step of installing SuperSU without doing a backup – thinking it was simply adding an app. Big mistake! Reboot and now always stuck on the logo boot animation.
Okay, so I found and tried use TWRP to install ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip in an attempt to get back to stock. No luck there since install always aborts with a "Could not find 'META-INF/com/google/android/update-binary' in the zip file."
I checked a couple of other ROMs and that META-INF directory doesn't seem to be included in them either.
What do I need to do just to get back to normal eliminating the effects of that SuperSU install? Help greatly appreciated.
That file you downloaded is not a flashable file.
Instead, read this linky
Thanks for the helpful clue @t0mm13b. I followed the approach at <http://www.stechguide.com/download-stock-firmware-of-moto-g4-and-g4-plus/> and executed the listed commands from my MacOS Terminal. They did the job resulting in a fresh install after bootup.
2-1/2 questions…
1. Are flashable ROM files readily available? The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
2. Is TWRP not useful for these stock ROMs?
The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
Click to expand...
Click to collapse
As a general rule of thumb, read the accompanying text to the link of the download, on a web page where you find one. It will tell you if it's flashable or not.
Factory images, just like what you had to carry out previously, never have, and do not have the `META-INF` directory. They usually contain img files that requires `fastboot flash`.
On the other hand, OTAs and flashable zips will have that in their respective zip file.
Thanks again @t0mm13b for the clarification. I often didn't see info about whether a ROM is flashable in link or web page text, but it may have just been assumed based on being aware of what the zip contains.

Categories

Resources