I've been trying to figure out what this is. I see it referenced in ROM Manager, ClockWorkMod on my recovery, and Titanium.
I don't understand exactly and precisely what it does and how it functions.
I've been searching forums and Google and no one can give a good explanation.
All I can assume is: It's a file that is used to flash over the ROM, but I don't understand it's role, or when one would want to make this file, or how to use it. Does it automatically run every time you flash a ROM?
Why would I want to do "apply /sdcard/update.zip" in CWM, instead of going to "choose zip from sdcard"?
Thanks for helping a newb...
Update.zip packages are compressed folders that contain files used to install an update to your device. They can range from installing an entirely new OS version to just installing a program to your system or data areas. They are often used for tweaks that can not be done while the phone is operating normally, hence they are done in recovery. When you select 'apply /sdcard/update.zip' in CWM the phone is assuming the file is named 'update.zip' and must be in the root of the sd card (don't know if G2X is looking at the internal or external card but I will assume it is the internal card). When you select 'choose zip from sdcard' the latest version of CWM will let you browse the internal or external sd card for any zip package with any name. This is much more versatile as you don't have to rename the package update.zip and it can be anywhere on your sd card. This feature is not on stock recovery and one needs an alternate recovery for this versatility.
If you flashed CWM from ROM manager it did not flash it to the real recovery partition. When you choose boot in recovery from RM it tricks the phone by booting into recovery and then having that apply a special 'update.zip' it installed to your phone that then boots up the CWM recovery you 'installed' from RM.
I believe Titanium Backup (pro vesion) can create update.zip packages to reinstall backed up apps and data.
They are all the same thing but used for different purposes. Typically the zip packages contain apk files, needed data, an updater-binary and an updater-script. The updater-binary is the file that tells the phone how to interpret and apply the updater-script. The updater-script contains commands in a language called 'edify' that instruct recovery how to apply the update.zip package.
Related
When I am trying to install the update.zip I am getting the following message:
ClockworkMod Recovery v2.5.1.8
--Install form sdcard...
Finding update package...
Opening update package...
E:Can't open /sdcard/update.zip
(No such file or directory)
Installation aborted
But I know and triple check that the file (update) is on the root directory
What I am doing wrong?
Are you using Rom Manager? Don't, reboot into recovery
Make sure the update.zip is not update.zip.zip
Make sure the update.zip is not a .rar file
Its much better to "Select the zip file" than it is to let cwm pick the update.zip on the root of the sdcard
thebadfrog said:
Are you using Rom Manager? Don't, reboot into recovery
Make sure the update.zip is not update.zip.zip
Make sure the update.zip is not a .rar file
Its much better to "Select the zip file" than it is to let cwm pick the update.zip on the root of the sdcard
Click to expand...
Click to collapse
This is what I did:
*Unzipped the gtab_tnt_lite_v4.10.rar to the root directory
*Reboot
*I hold power button + Vol
*Took me into recovery
*Chose apply sacard:update.zip
*Got the error message
jcarlospr said:
This is what I did:
*Unzipped the gtab_tnt_lite_v4.10.rar to the root directory
*Reboot
*I hold power button + Vol
*Took me into recovery
*Chose apply sacard:update.zip
*Got the error message
Click to expand...
Click to collapse
Did the gtab_tnt_lite_v4.10.rar unzip to the filename 'update.zip'? you need to look at the name of the file pulled from that .rar.file. If it's something other than update.zip then you need to select ' install .zip from sd card' in recovery, then select your .zip file manually
jcarlospr said:
This is what I did:
*Unzipped the gtab_tnt_lite_v4.10.rar to the root directory
*Reboot
*I hold power button + Vol
*Took me into recovery
*Chose apply sacard:update.zip
*Got the error message
Click to expand...
Click to collapse
The rar has the update.zip, but read somewhere that CWM 0.8 finds the update.zip in sdcard and other latest CWM looks the update.zip in sdcard2.
so try CWM 0.8 , or if you have an MIcroSD copy the files to it and run.
it2steve said:
Did the gtab_tnt_lite_v4.10.rar unzip to the filename 'update.zip'? you need to look at the name of the file pulled from that .rar.file. If it's something other than update.zip then you need to select ' install .zip from sd card' in recovery, then select your .zip file manually
Click to expand...
Click to collapse
The file update is named correctly
I selected the "choose zip from sdcard" it took me to the micro card not the internal sdcard.
Then i would try CWM 0.8 (since this has been tested by many including the mods and recommended ) or try copying the files to the internal memory.
jcarlospr said:
The file update is named correctly
I selected the "choose zip from sdcard" it took me to the micro card not the internal sdcard.
Click to expand...
Click to collapse
If you have Rom Manager installed then scroll down to the bottom when you open it to "Flash Alternate Recovery" and you should be able to flash ClockworkMod 2.5.1.1-bekit=0.8. Then reboot into recovery.
Do you have cm6 installed on your tab? If you do then it handles the sdcards differently and you may have to put the update.zip on the external sdcard and flash from there.
thebadfrog said:
If you have Rom Manager installed then scroll down to the bottom when you open it to "Flash Alternate Recovery" and you should be able to flash ClockworkMod 2.5.1.1-bekit=0.8. Then reboot into recovery.
Do you have cm6 installed on your tab? If you do then it handles the sdcards differently and you may have to put the update.zip on the external sdcard and flash from there.
Click to expand...
Click to collapse
Thank you @thebadfrog flashing the ClockworkMod 2.5.1.1-bekit=0.8 as a alternate recovery works.
Hi I'm aware that there are similar threads as to this issue but the problem i'm having is my computer being able to detect my usb storage. Since I cannot boot the phone up I can't turn on usb storage. How do I go about flashing the right software since I cannot mount the files to my sdcard through my computer?
As it stands right now:
1. SNS status = unlocked
2. I am able to boot in to clockwork recovery v3.0.2.4
3. I have tried a factory reset/wipe data from recovery
4. I am using windows vista, have downloaded the proper driver (i think)
I followed the nexusshacks guide so far
can anybody help?
Go into clockwork recovery, mounts and storage, mount USB.
Sent from my Nexus S using XDA App
vulcanrav3n said:
Go into clockwork recovery, mounts and storage, mount USB.
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Thanks for that! Now I know I can access my sd card. But now I just need help flashing the default software so I can access my sns again! This is my 1st android phone and would really appreciate a straight forward guide as to how to get out of my bad situation and back to a full system recovery. Once again here are my specs:
1. SNS I9020T Running Gingerbread 2.3.4
2. Phone status = unlocked in bootloader mode
3. I have wiped my SD card clean and tried a full factory/data reset through clockwork recovery
4. All I can do it boot to bootloader or boot to cw recovery
5. I need to flash the default software for this phone so I can start a new
Can anyone help me out? would be greatly appreciated
Do you want to reflash the stock ROM or do you want to try a custom ROM? I'd suggest you download a custom ROM, for example Cyanogenmod 7. If you do, it'll also have a compatible kernel and you'll be running your phone again in no time.
Otherwise, search the development section for a stock ROM that suits your phone (http://forum.xda-developers.com/forumdisplay.php?f=883)
Now, I'll assume you download CM7 but the same steps apply to the stock ROM.
1) Download the ROM, it'll be around 86mb in size, a zip file.
2) Copy it to your SDcard using CWM
3) In CWM, go to "install zip from sdcard"
4) "Choose zip from sdcard", obviously, select the ROM.zip file you just downloaded
5) Let it run the installer
6) Reboot
Should work, good luck, let me know if something goes wrong
Greetz
also if you haven't installed the su zip file yet do that. in clockwork recovery mount the usb, copy the su zip file to /sdcard, unmount, and install zip from sdcard.
not sure how you lost the stock 2.3.4 rom, but you can get the GRJ22 rom back onto your ns. read these threads if that's your cup of tea:
- http://forum.xda-developers.com/showthread.php?t=1060192&highlight=stock+2.3.4
- http://forum.xda-developers.com/showthread.php?t=1056062
if you're brave and step over to the dark side of custom roms, i can guarantee you won't turn back. i've tried several, but i usually oscillate back to nscollab. you'll want titanium backup to backup your apps and rom manager to make nandroid backups. also when you flash between different roms make sure you wipe data, cache, and dalvik cache to prevent foreclose issues.
Download one of the stock/ota roms from vulcan's post.
Extract the zip, and put boot.img in the same folder as fastboot.
<fastboot flash boot boot.img>
Reboot.
See if that works.
If you already tried to backup the rom from your Huawei u8350 Boulder with CWM you must have realised it doesn't work. The culprilt? Huawei made 2 changes from the normal Android partition pattern: we got a /cust partition, thought so that phone provider can install their bloatwares, and for unknown reasons we got 2 userdata partitions.
But there is a solution, thanks to Gulyuk's great work.
Prerequisite:
A Huawei u8350 Boulder / Orange Barcelona (obviously),
A working ClockWorkMod Recovery for U8350,
The two attached scripts
How to use (again, i'll take Gulyuk's explanations):
Backup boot, system, cust via CWM recovery
Download Attached File backup_by_Gulyuk.zip (445.33K)
Number of downloads: 0 and put it on the microSD card (do not unzip).
Ensure that you have enough (about 261 MB) free space on the microSD card.
Enter ClockworkMod Recovery.
Select "install zip from sdcard" in the menu, then select the backup_by_Gulyuk.zip file. Wait for several minutes while the backup script works.
Select "reboot system now" to exit from recovery.
The backup script should create the firmware directory on the microSD card (seen as /sdcard/firmware from the phone) with these files:
boot.img — dump of the boot partition (kernel and initramfs);
recovery.img — dump of the recovery partition (the one you installed);
system.img — dump of the system partition in yaffs2 format;
cust.img — dump of the cust partition in yaffs2 format.
data.img — dump of the userdata partition in yaffs2 format.
data2.img — dump of the userdata partition in yaffs2 format.
Running the backup script when the /sdcard/firmware directory already exists overwrites the previous contents of this directory (including any extra files which were placed there). Currently there is no way to keep more than one firmware backup by this method, unless you rename the firmware directory manually (but then the backup cannot be restored until you rename or copy the directory back).
Restore boot, system, cust via CWM recovery
Download Attached File restore_by_Gulyuk.zip (260.83K)
Number of downloads: 0 and put it on the microSD card (do not unzip).
Ensure that you have the firmware directory on your microSD card with valid firmware image files (boot.img, recovery.img, system.img, cust.img, data.img, data2.img).
Enter ClockworkMod Recovery.
Select "install zip from sdcard" in the menu, then select the restore_by_Gulyuk.zip file. Wait for several minutes while the restore script works.
Select "reboot system now" to exit from recovery.
Warning! Warning! Warning!
I tested both scripts on by own u8350 and it's still working, but I give absolutely no warranty about these scripts and how they works. If your phone burns, bricks, looses faith in you or try to run away in love with the neighbourg's dog IT IS YOUR RESPONSIBILITY.
If you want to share your wonderfull customised ROM with these scripts delete data.img and data2.img before sharing as they contains your personnal datas (google accounts, emails, and so on...).
before to try someone else's ROM, backup yours, then copy the "firmware" drawer from the SDCard in a safe place (dedicated to a french fellow that lost its keyboard configuration ).
"install zip from sdcard" option not given
Hello. Noob here. I'm following the instructions for the section "Backup boot, system, cust via CWM recovery", but the "install zip from sdcard" option is not appearing so I need some guidance, please.
General info: Orange Barcelona, UK, unlocked, rooted and verified, no sim inserted. CWM is installed.SuperUser is installed. Debugging and Unknown Sources are enabled, Fastboot disabled. The sd card is mounted and has plenty of spare capacity. Recovery Manger, Restore.zip and backup_Gulyuk.zip are on the card.
Can someone please point out what the noob is doing wrong?
Thanks,
Kate
EDIT: I started again from scratch and now the phone just reboots from CWM so I now no longer get a menu at all.
So basically I am migrating ROMs and have a lot of junk apps that I want to remove by using the SuperWipe full script. Then straight afterwards I was planning on flashing the rom (Revolver V4). The problem is that Superwipe wipes the internal storage where I would actually put it and the rom. I don't know how things would go if Superwipe wipes itself and also what I would do if the ROM file was deleted (I wouldn't be able to boot).
I figured the solution was to flash both off my external sd card however I can't find any such option for that in CWM. Only 'Install zip from SD' which points to my internal storage.
1. Would it be ok anyway to flash it on internal storage.
2. If not, how do I access external storage from within CWM.
3. If impossible, what other options do I have for doing this?
1. No, the ROM .zip would be wiped, and you stuck.
2. There are some mount commands, but to use those you need adb working, and if you have adb working, just 'adb push rom.zip /sdcard/' then flash from internal.
3. You could install the latest Rouge XM touch recovery, which has support for internal and external, and is still touch.
Hope I've cleared it up a bit.
For those who want to Unroot their Karbonn A9 with less chances of without bricking
Before performing any operation make a Nandroid backup using CWM.
Download this http://karbonnklinic.com/download/Downloads/sw/A9.rar 145 MB Update file which is in zip then extract it on your computer. After extracting there will be another zip file named Update.zip.
Now put the Update.zip on your phone's sd card, please make sure you have not put it under any folder.
Now reboot your phone into recovery and then install choose the option Install zip from sd card and then choose the option Install Update.zip from sd card, when you will select it, it will find the Update.zip file automatically on your sd card and ask you to install. Just install this file, it will took 2-3 min for install.
After successful installation don't reboot the device, just go to recovery andd wipe cache partition and then under advanced select option wipe dalvik cache, if you don't perform these option then you will stuck on the Karbonn Smart start-up screen.
Hit thanks Button if you like it.