E: can't find update script - Android Software/Hacking General [Developers Only]

I have a rooted Droid eris and at first my intentions were to put a ROM on it that I liked. But when I found one, I tried to install it, then it said that the verification failed because of unsigned files. So i signed the files and did it again. This time I thought i did it but it then said:
E: can't find update script
And I have tried deleting the Meta-Inf files to avert confusion of the signed files.
But it did not work.
Any ideas?

Related

rezipping update

I have opened jf1.5 adp1 and removed the camera app from it how do I zip it back up so my phone will perform the update. I have already updated my phone to the unedited version of jf1.5 adp1 when I try to use the edited version it aborts the updated
quilobo said:
I have opened jf1.5 adp1 and removed the camera app from it how do I zip it back up so my phone will perform the update. I have already updated my phone to the unedited version of jf1.5 adp1 when I try to use the edited version it aborts the updated
Click to expand...
Click to collapse
it has to be signed .. read JFs info for his "Build Environment" .. very easy to do in linux .. you can't just modify the zip and be done .. files must be signed
thanks for your response
No need for the entire build environment. Just get the AndroidMod.zip file (google for dl sources) and run the modified update.zip through signapk. There is a readme included detailing how to use it.
I have the sign app but I can't figure out how to use it. I searched but I could not find a good set of instructions.
Open your command line, change directory to the signapk directory (also for convenience your update.zip file should be in this directory too) then type:
java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip update_signed.zip
That's it. The update_signed.zip file will be the finished file. If it gives you an error 'java' is not a valid executable, that is because you don't have JRE or JDK installed.
ok I did all that put the update.zip that is signed on my sd card with nothing else on it. started teh up date the phone verifies the file. then it starts installing as soon as it starts to install I get this error on my phone. "E:Can't find update script installation aborted.
Somehow you deleted the update-script. Check the zip file to see if its still present:
\META-INF\com\google\android\update-script
it is still there
quilobo said:
it is still there
Click to expand...
Click to collapse
Confusing.
it is only a 3k file. I found a 14k file in another update.zip I had
still says it can't find it
What archive creation program are you using to create the zip?
winzip what should I be using
Hm. Idk, I was just curious. It shouldn't make a difference really. Particularly if the signing tool worked fine. Maybe someone else can shed some light on this.
Try and re download your sources and then modify and resign.
Also be sure to check your sources after download and transfer (SHA1, MD5 etc)
ok I redownloaded the file and repeated the process and still get the same error. all I am trying to do is remove the camera app from the jf1.5adp1 build and put it on my phone .

creating update.zip files?

Hey!
Can someone tell me how to create update.zip files for g3?
regards
I am not sure, but i think g3 recovery requires update.zip files to be signed with Samsung key, which we don't have.
i tryed to signing the file, it opens the package, and gives an error :/
damnit..
Thing is you most likely signed using the test key which is not accepted by Samsung recovery
yea, i am using the testkey :/ whatever, thank you, need the android.policy.jar file
is this not work?
what is samsung key?
http://forum.xda-developers.com/showthread.php?t=732957
E:Can't mount /dev/block/mmcblk() (or NULL)
(No such file or directory)
E:Can't mount SDCARD:update.zip
Installation aborted
Who can tell me why. Trying to do the 2.2 update.

[Q] Problem with Kitchen

Hello I have problem with making my own rom i Kitchen.
Steps I did are 100% right. I did read the guide over five times.
After i was done i tried to flash new rom, i changed only the default app in app folder, i recieved an error during flash
--> E:Can't open /sdcard/a/blade_signed_051713_131101.zip (bad) Installation aborted.
Then I checked the CWM log file and there was Install from sdcard...
Finding update package...
I:Update location: SDCARD:a/blade_signed_051713_131101.zip
Opening update package...
I:Update file path: /sdcard/a/blade_signed_051713_131101.zip
minzip: Filename contains invalid character '304'
minzip: Invalid filename (at 447)
E:Can't open /sdcard/a/blade_signed_051713_131101.zip
(bad)
Installation aborted.
After I checked the file format in winn explorer , and the file format was "ZIP" ONLY. There was no "ZIPMINZIP".
After i tried to use 7-zip zipper but i get the same error.
Second thing , if invalid character means wrong simbol in name of zip file and zipminzip is a program to unzip the file , I tried to rename it also to a.zip but withouth any effect.
Is there any other method how to modify roms default app ?
Or any other way how to modify roms.. ?
My CWM is RA-blade-v2.3ro if this helps...
Thank you verry much for answer.
Maybe problem in name of files inside a zip(invalid symbols in file name)
SUPER
DeMaCr said:
Maybe problem in name of files inside a zip(invalid symbols in file name)
Click to expand...
Click to collapse
Yes , this was the problem . The CWM minzip is not supporting slovak simbols like "ลก" so i renamed and it worked.
Thanx for help.. heh ...

Self Packed ROM.ZIPs not installable

Hello,
some weeks ago I got to an old Mediatek 6572 device for free. Mobistel Cynus E1. My first smartphone
For some reasons I want to make an another ROM on it. (I want a special app, that is only for Android 4.4 and higher, but that should not be topic here. I don't think, that I find a solution for this.)
After some learning, tweaking, backup, rooting (system and shell) and porting to Custom Recovery CTR I found a Custom-ROM (Mediamod 5) I wanted to test, which was tagged with "MTK6572" and "Jellybean 4.4.2", so that I come to the closest possible compatible ROM. I only had to make the changes in the folders between Stock-ROM and Port-Rom like it is written in the descriptions out there and also in this community, since there is no already special explicit Cynus E1 ROM out there. I made 4 versions (changed files in "system" folder only, changed in boot.img and updater-script only, changed both and changed none).
Put all 4 on the ext. SD-Card. The first installation was started from ROM Manager app, which rebooted with some parameters (Wipe cache) into the recovery mode then and started the installation. But nothing started. Installation aborted.
BUT: The original .zip worked. In the sense, that the installation started and was completed. Not that I could boot after this in the system. The Screen was illuminated, but dark.
Hmm, what was wrong with my .zip ROMs?
I unzipped the original ROM, changed only one attribute in of the updater-script in Metafile/google. Zipped all again - Installation aborted
Unzipped original .zip, changed nothing, zipped all again. - Nothing, Installation aborted.
Tried 7-Zip as alternative to Winrar for Zipping. - Nothing. Installation aborted
Tried 2 different zip-signer (sign-em.bat and flashable zip signer) found in this forum. Nothing changed. Installation aborted.
I can't work out, what information/data get lost and at which process when I decompress the archive and compress the folders againt without any other action?
Can you help me?
Bump.
Solved
Bump and Solved.
Very shameful that I had not saw this: I didnt select the files/folders "system", Meta-inf" "boot.img" ... for the archive, but the ROM-folder, in which these files were. Clearly that so the installation routine didn't find the files.
frishar said:
Bump and Solved.
Very shameful that I had not saw this: I didnt select the files/folders "system", Meta-inf" "boot.img" ... for the archive, but the ROM-folder, in which these files were. Clearly that so the installation routine didn't find the files.
Click to expand...
Click to collapse
In your original post, you stated that you modified the updater-script, the updater-script is in the META-inf file, so I don't see how you missed that.
Also, in your original post, you vaguely described the things you did with statements like moved "some files" from original ROM to port ROM or to "some partitions"
You didn't state exactly what you modified.
I know you tried to describe your situation but how it actually came out is you basically only stated that you tried porting a ROM by "doing some stuff like in the guides everywhere but it didn't work". That isn't enough information for anyone to even START understanding what your issue might be.
Sent from my LGL84VL using Tapatalk
Droidriven said:
In your original post, you stated that you modified the updater-script, the updater-script is in the META-inf file, so I don't see how you missed that.
Also, in your original post, you vaguely described the things you did with statements like moved "some files" from original ROM to port ROM or to "some partitions"
You didn't state exactly what you modified.
I know you tried to describe your situation but how it actually came out is you basically only stated that you tried porting a ROM by "doing some stuff like in the guides everywhere but it didn't work". That isn't enough information for anyone to even START understanding what your issue might be.
Sent from my LGL84VL using Tapatalk
Click to expand...
Click to collapse
Like I said. I also failed for nonmodified version, when I only unpacked and repacked the rom.zip. My mistake was, that for Repacking I selected the folder, which was not there in the original .zip, but which was created by winrar at unpacking (with the files and folders in it). So the installation routine of CWM/CTR couldn't detect the files.

Can't install/flash Update.zip with TWRP? (important!)

Hi, I would like to say in advance that I am grateful for any idea or solution.
Well, I wanted to install certain files, that is .apk files on my Samsung Galaxy S8, after which I created an Update.zip with a tool (Android Script Creator). Since my smartphone constantly stuck in an infinitely long bootloop, I have briefly reset my smartphone to sign the Update.zip with the app ZipSigner. After I reset everything so that I could install the signed Update.zip with TWRP, I got the error "Updater process ended with ERROR: 6 / Error installing zip file '/external/_sd/Update-signed.zip'". By the way, before that there was the note "no Digest file found", if that should be important.
If you have an idea what this could be and maybe a solution, then I look forward to your answer.
Many thanks in advance!
PS: If anyone knows how to replace .apk files and the associated data in the TWRP backup files, I would also be very happy about it.
AstroPepz said:
Hi, I would like to say in advance that I am grateful for any idea or solution.
Well, I wanted to install certain files, that is .apk files on my Samsung Galaxy S8, after which I created an Update.zip with a tool (Android Script Creator). Since my smartphone constantly stuck in an infinitely long bootloop, I have briefly reset my smartphone to sign the Update.zip with the app ZipSigner. After I reset everything so that I could install the signed Update.zip with TWRP, I got the error "Updater process ended with ERROR: 6 / Error installing zip file '/external/_sd/Update-signed.zip'". By the way, before that there was the note "no Digest file found", if that should be important.
If you have an idea what this could be and maybe a solution, then I look forward to your answer.
Many thanks in advance!
PS: If anyone knows how to replace .apk files and the associated data in the TWRP backup files, I would also be very happy about it.
Click to expand...
Click to collapse
Mount system. Go to advanced-file manager. There you can copy all the apps to their perticular location. Copy the files rom the updater zip. If the copying doesn't succeed then post the update.zip here

Categories

Resources