CWM Recovery - Thunderbolt General

My bad..please delete thread...
Thanks
D~

It's always an unzipped folder. Has been since I had my DInc. Don't recall it being a zipped and compressed folder.

Related

[Q] How to flash NAND ROM with no DAF

I downloaded the "CoreDroid_Desire_HD_GB_2.3.3_V4.5". I tried flashing the zip file using clockwordmod however it fails. When i extract the Zip file i find only boot.image, installbusybox file, data folder, META-INF folder & system folder... Can you please advise how can i flash this rom where there is no DAF.exe or any installer?
Thanks,
mohamed_baher said:
I downloaded the "CoreDroid_Desire_HD_GB_2.3.3_V4.5". I tried flashing the zip file using clockwordmod however it fails. When i extract the Zip file i find only boot.image, installbusybox file, data folder, META-INF folder & system folder... Can you please advise how can i flash this rom where there is no DAF.exe or any installer?
Thanks,
Click to expand...
Click to collapse
What phone do you have?
Sorry forget to mention. HTC HD2.

[Q] App to Zip entire directory

Is there a way to zip up an entire directory not just individual files. I have a schedule with titanium backup and then uploaded them to dropbox, but if possible I'd rather have the backup as a zip file.
Leshy01 said:
Is there a way to zip up an entire directory not just individual files. I have a schedule with titanium backup and then uploaded them to dropbox, but if possible I'd rather have the backup as a zip file.
Click to expand...
Click to collapse
Not with a zip file afaik, in zip format a single file is compressed.
**Use .rar format, its an archived/compressed format so it supports multiple directories. This is the ideal method.**
Alternativly you could use separate archive/compression formats such as the '.tar.gz' format where you first archive(make into a single file) the directory into a .tar, and then compress in gzip format giving you .tar.gz. You can o this using 7zip, but its not a commonly used file extension anymore rar has taken over so I suggest you use that.
Jandyman said:
Not with a zip file afaik, in zip format a single file is compressed.
Click to expand...
Click to collapse
Incorrect, Zip can hold any directory structure, just like Rar and Tar.
ASTRO File Manager can handle zip files the same as a regular directory. Hit Menu -> New -> Zip File, name it, and it gets added to the file list for the current directory. From there, it acts like a directory - tap on it to navigate inside it, move/copy files/directories to it, etc.
Ghost Commander will do this as well, and it's pretty awesome.

How to make a CWM file

Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
studacris said:
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
Click to expand...
Click to collapse
but your update-script has to match what you are flashing via cwm. if you take a rom zip and just pop in a few files in place of the whole rom structures, your flash will fail because your update-script is looking for specific structures.
Oxicottin said:
Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Click to expand...
Click to collapse
One way would be to use: Update Zip creator/modifier (Requires Windows)
yeah it would be bad mojo if you used a wipe rom zips META INFO to make an update zip.....
Thanks a million everyone......
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
modest_mandroid said:
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
Click to expand...
Click to collapse
Is there a way from the CWM interface to do the same with a backup you create? I noticed backups are not in the same format, they are usually .img, .tar, and an md5 file?

Editing a flashable zip.

I would like to create a zip I can flash that will replace the contents of the /system/media/audio/ringtones folder. Basically if I delete everything (except the META-INF folder) I don't need from a ROM zip I have and copy the files I want into that folder will that be ok to flash?
Sometimes I flash a ROM before deleting ringers I don't want.
You should delete almost everything in updater-script except mount/unmount system and package_extract_dir ("system" "/system".), then you put what you want in system/media/audio (in the zip), then you should be able to flash it in recovery.
Sent from my Sensational phone

Help with updater-script

How to extract a tar archive to a specific location using updater script.
For example, I have a file named sample.tgz in /sdcard. Now I want to extract the contents of it to /system dir. Sample.tgz is not in the zip file of the flashable zip. Is there any way to do it? If yes, let me know!

Categories

Resources