update.zip error (status 6)
This is a discussion on update.zip error (status 6) within the Droid Development forums, part of the Droid Hacking category; Been making an update.zip for clockworkmod recovery and get the above error while flashing (Status 6).
Researched it and it seems to be something to ...
-
update.zip error (status 6)
Been making an update.zip for clockworkmod recovery and get the above error while flashing (Status 6).
Researched it and it seems to be something to do with the updater-script.
I've quadruple checked it and started by editing and old updater-script with notepad++ then saving the file as type "All Files".
Wondering if anyone can help me find the cause. It's for a DX, but I figured this kind of thing (updater-script) was pretty universal.
-
-

Originally Posted by
maderschramm
Been making an update.zip for clockworkmod recovery and get the above error while flashing (Status 6).
Researched it and it seems to be something to do with the updater-script.
I've quadruple checked it and started by editing and old updater-script with notepad++ then saving the file as type "All Files".
Wondering if anyone can help me find the cause. It's for a DX, but I figured this kind of thing (updater-script) was pretty universal.
It's possible that it's saving Windows-only formatting in it. I had that problem with a text file I was working on for a script.
-
-
it's possible fur, and thanks for the link jeff. Although, to be honest, I'm not going to use it. I've decided to write it from scratch with gedit (again) and saving it as UNIX/LINUX. I'm deleting my comments and complicated code (progress bar) to see if I can't simplify it and get it to read properly. I'm also cross-checking with vim to make sure the formatting is right.
-
-
thanks, another question, when you zip the file, do you compress it or are you using the .zip as a "store" with no compression. I've noticed other people have their update.zips compressed to a degree, and I get the same error flashing with no compression and regular .zip compression.
using 7-zip by the way, and/or archive manager (or whatever the stock ubuntu compression util is)
-
I've seen people use 7zip and do "ultra" compression and have fantastic results.
-
huh. interesting. I'll give that a shot (the update.zip is quite large so the more compression the better).
-
Steel Droid ROM Developer
If your going to compress it, use "Ultra"for the compression level, and "Deflate" as the method. Its the only way that I seem to get it to work right.
And yes, you need to save your updater-script in UNIX file format. :-D
Motorola Droid 1
Steel Droid v10.6 (GB)
Stock CM7 2.3.7 kernel
RZ's 2.0.3 Recovery
32GB MicroSD (class 4)
Droid 3
v4.7 (GB 5.7.906)
v5.5 (ICS 4.0.4)
Rick#2's 1.08e SafeStrap
Galaxy Nexus (32GB)
Steel Droid GNex v3.85 (ICS 4.0.4)
Steel Droid GNex v4.0 (ICS 4.0.4 WIP)
Faux 17u 4.0.x kernel
TWRP 2.1.2 Recovery
IMM76K bootloader and radios
If you like my work, feel free to donate!
-
ok. wrote the file at work with gedit, saved as filetype unix/linux. edited it later with vim to confirm formatting etc., put it on the cloud, downloaded it on home computer (7x64) which doesn't hide known filetypes. file showed up as "updater-script.txt"
renamed to "updater-script"
zipped archive with 7-zip with ultra compression and deflate as the compression method 32 dictionary size 128 word size no split volumes add and replace update mode zipcrypto encryption method and no param's.
compressing now, I'm going to shower and then update with the result
Error in /sdcard/update.zip
(Status 6)
Installation aborted.
...
I'm going to murder someone.
INTERESTING NOTE:
I created a test.zip which only has a meta-inf directory. I used my old updater.script, but deleted all the code and replaced it with [ui_print("Test");]
runs.
ANOTHER UPDATE:
edited the updater-script with notepad++ again, saved as type "all files" and made a more complex ui_print setup - runs
FURTHER UPDATE:
put the running updater-script into the old filetree (includes system folder, etc.) - takes longer to open update package, runs
Last edited by maderschramm; 12-31-2010 at 06:44 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By andylulzyou in forum Droid X General Discussions
Replies: 5
Last Post: 10-09-2011, 07:42 PM
-
By gtelnet in forum Droid X Tech Support
Replies: 3
Last Post: 01-09-2011, 07:47 PM
-
By lash444 in forum Droid X Hacks
Replies: 2
Last Post: 12-03-2010, 02:22 PM
-
By cb3FSU in forum Rescue Squad Help
Replies: 1
Last Post: 05-16-2010, 04:05 PM
-
By psufan5 in forum Tech Issues, Bug Reports & Suggestions
Replies: 4
Last Post: 12-23-2009, 07:56 AM
Search tags for this page
clockwork mod status 6
,
clockwork recovery error status 6
,
clockworkmod error 6
,
clockworkmod error status 6
,
clockworkmod recovery status 6
,
clockworkmod status 0
,
clockworkmod status 6
,
clockworkmod status 6 error
,
error in sdcard status 6
,
error status 6
,
installation aborted status 6
,
status 6 clockworkmod
,
status 6 error
,
status 6 installation aborted
,
updater-script status 6
Click on a term to search our site for related topics.
Tags for this Thread