[Q] how do i create a clockwork flashable zip? - Captivate Q&A, Help & Troubleshooting

recently i tried to replace the kernel that came with a version of Phoenix with an updated kernel before flashing, but it did not work out. I simply extracted the original, replaced the zimage, and created a new zip file with the new kernel in the rom, using windows to package the zip. is this what i should do, or is it more complex than this? the flash failed.

Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.

newter55 said:
Don't extract the rom zip. Use 7zip or similar and open archive, delete the zimage then drag the other kernel zimage in there. Or just flash the rom as is and then flash the kernel.
Click to expand...
Click to collapse
thanks! that makes sense. can i just do what you said using windows explorer?

7zip is free and handles many more file extension types.
Install it then right click on the file in windows explorer, select 7 zip, then open archive. This allows you to make changes without actually extracting the entire file.

newter55 said:
7zip is free and handles many more file extension types.
Click to expand...
Click to collapse
yes i know, but when just dealing with a zip file, can i use windows explorer to delete contents inside the zip and replace them?

You are too quick....edited my post above

newter55 said:
You are too quick....edited my post above
Click to expand...
Click to collapse
so when i double click on a zip file in windows explorer, and it opens it as if it were just another folder, can i not replace stuff directly in windows explorer where im at?

That extracts everything and you may have issues after zipping it back up

newter55 said:
That extracts everything and you may have issues after zipping it back up
Click to expand...
Click to collapse
in windows explorer, you can right click and select extract files, but when you double click the zip it appears that it is allowing you to edit the contents without completely unzipping. am i wrong in thinking this?

Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.

newter55 said:
Perhaps you can do it that way......i just always used 7zip. You will have to try it and see.
Click to expand...
Click to collapse
alright, thanks bud =D

I am using winzip. When I right click the zip file it gives me the option to "open" with winzip. When I do it shows me files like windows does. So my question is can I use winzip to replace the file and then close it?

winzip works as well

Related

apps without apk file

ok how do you put a app on ur phone when you download it from the web n u only get a zip file..thz
some of them either have the .apk extension changed to .zip, for those just change .zip to .apk
others are in the .zip file and have to be extracted.
the OP will usually say which of these have to be done. or you can just open the .zip file and look. if it has the .apk inside of the .zip file then extract.
if it has a bunch of folders then rename .zip to .apk
david1171 said:
some of them either have the .apk extension changed to .zip, for those just change .zip to .apk
others are in the .zip file and have to be extracted.
the OP will usually say which of these have to be done. or you can just open the .zip file and look. if it has the .apk inside of the .zip file then extract.
if it has a bunch of folders then rename .zip to .apk
Click to expand...
Click to collapse
ok i unzip the file there is a lot of file in it.do i just change the zip file to apk..i did that n it didnt work so what im doing wrong
did you select yes when you changed the extension?
jacsonmoore3 said:
ok i unzip the file there is a lot of file in it.do i just change the zip file to apk..i did that n it didnt work so what im doing wrong
Click to expand...
Click to collapse
Can you post the download link to see what might be causing your problem?
Thanks
will i was trying to download it from the site the one on the market keep force closing http://www.lukluk.org/
david1171 said:
did you select yes when you changed the extension?
Click to expand...
Click to collapse
ok the way im change the file is.... i right click then rename it to a apk file thats how im doing it
i don't know. i dl it and it gave it to me in .apk form. i uploaded it in the .zip for you though. extract it from the .zip file.
david1171 said:
i don't know. i dl it and it gave it to me in .apk form. i uploaded it in the .zip for you though. extract it from the .zip file.
Click to expand...
Click to collapse
thz man..but i still need to know how to do it for later
jacsonmoore3 said:
thz man..but i still need to know how to do it for later
Click to expand...
Click to collapse
on your g1
first go to the site lukluk.org, once on the site go to download and click free luk luk then a download pop up will come out and dowload it once download is complete just click on the download and it will dowload. make sure you go to setting, application setting and check unknown sources
if you still need help just gtalk me @ [email protected]
i'll do that thz for all the help you guys give
jacsonmoore3 said:
i'll do that thz for all the help you guys give
Click to expand...
Click to collapse
forgot to say i am running drakes hero rom.
jgu71424 said:
forgot to say i am running drakes hero rom.
Click to expand...
Click to collapse
im running jachero rom 2.1

Quick Question

Can you zip back up a file into a .apk? or do i have to edit with in the .apk through 7zip?
I dont understand...There are no .zip's in any .apks
Sorry bad wording.. How do I turn the .apk file I unzipped to make it show me the files.. back into a .apk file. so I can put it back into my theme. lol Its soooo hard to word
try taking a look here?
http://forum.xda-developers.com/showthread.php?t=657759&highlight=avabox
just rename the file to xxxxxxxx.apk
troyboytn said:
just rename the file to xxxxxxxx.apk
Click to expand...
Click to collapse
Do you sign it first? or rename and sign the apk?
Did the apk disappear? If not, right click it, navigate in the pop-up menu to 7zip->open, drag the stuff you edited into its appropriate spot, close the 7zip window, and you're done! I like to resign at this point, some people say that it is not necessary. For me, it is a simple right-click to do, so I just always do it. YMMV.
You dont need too. When you modify files in the .apk all you need to do is drag the /res folder to your working folder. When you're done, drag it back. Thats it.
So, is it only necessary to sign update.zips? What is the criteria for when something must be resigned?
VinceOB said:
You dont need too. When you modify files in the .apk all you need to do is drag the /res folder to your working folder. When you're done, drag it back. Thats it.
Click to expand...
Click to collapse
Yeah but like, I unzip the apk is what im saying lol. Because if you dont unzip it you cant see the images.. then I dont know what im editing. So once im done I want to be able to turn the files back into a apk
MyDroidHax said:
Yeah but like, I unzip the apk is what im saying lol. Because if you dont unzip it you cant see the images.. then I dont know what im editing. So once im done I want to be able to turn the files back into a apk
Click to expand...
Click to collapse
All you have to do is unzip them, edit the files you want; in another window open the original apk file (one you extracted to work on) use 7zip - open archive, then drag the files you changed into the archive in the appropriate folders in the archive, close and you are done. I just push them back to the phone via adb, not sure if you would have to resign the zip, if you pulled the apk file out of a flashable zip file.
Heaterz16 said:
All you have to do is unzip them, edit the files you want; in another window open the original apk file (one you extracted to work on) use 7zip - open archive, then drag the files you changed into the archive in the appropriate folders in the archive, close and you are done. I just push them back to the phone via adb, not sure if you would have to resign the zip, if you pulled the apk file out of a flashable zip file.
Click to expand...
Click to collapse
Yeah that's how I'm doing it.. but I find it a pain lol
MyDroidHax said:
Yeah but like, I unzip the apk is what im saying lol. Because if you dont unzip it you cant see the images.. then I dont know what im editing. So once im done I want to be able to turn the files back into a apk
Click to expand...
Click to collapse
like i said, just drag and drop the /res folder. No need to unzip it.
VinceOB said:
like i said, just drag and drop the /res folder. No need to unzip it.
Click to expand...
Click to collapse
OHHHH Okay I get it now.. Sorry I didnt go back to it when you said that I thought you didn't understand me, but now I see its quite opposite.. Thanks a lot man.

Can Anyone provide a link for Tiamat wifi module driver

Tried to download tiamat-031412-bcm4329.ko.7z but it's giving me an error when I try to open it. Help pls.
Try to re-edit the extension to zip.
Sent from my Incredible S
mdk83 said:
Try to re-edit the extension to zip.
Sent from my Incredible S
Click to expand...
Click to collapse
Unfortunately that didn't work.
Is file on your phone or computer? What zip program do you use on your computer?
File on computer....tried WinRAR and 7zip.
I know you can open it in winzip and then do a save as and save it as a zip file. Not sure that will help.
Did you use the convert feature in WinRAR?
Is the download corrupt?
I'll try Winzip now see what happens.
WinZip failed too...any help?
What exactly is failing?
acme anvil said:
What exactly is failing?
Click to expand...
Click to collapse
"Cannot open file. Does not appear to be a valid archive".
Sounds like it's corrupt. Download again.
Downloaded multiple times...that's why I'd like it if anyone could link me a good file :/
Cmon guys I seriously need help I can't use my phone!
Download playground and kernel and reflash.
I cannot flash the kernel...because I'm on S-OFF and I need to adb push the Wifi module driver...now to do that I need to change the name of the file in the zip. But I can't access the zip...
But isn't the Wifi module in the rom? If you are s-off, download the rom via computer, copy to sd card and flash. Do the same with the kernel. Unless I'm missing something.
The file isn't for unpacking as I remember you just need to edit the filename and remove the .7z extension and copy it over the current one.
It should only be S-ON users that had to do this as I remember too.
nsordk said:
The file isn't for unpacking as I remember you just need to edit the filename and remove the .7z extension and copy it over the current one.
It should only be S-ON users that had to do this as I remember too.
Click to expand...
Click to collapse
Hmm I thought the filename I had to edit was in the actual zip. Thanks...
You can't just rename a 7zip file you need to extract and than re-compress the files into a zip file.
Sent from my HTC Incredible S using xda premium
itsbeertimenow said:
You can't just rename a 7zip file you need to extract and than re-compress the files into a zip file.
Sent from my HTC Incredible S using xda premium
Click to expand...
Click to collapse
You may also be able to open in winzip and do as a save as and save it as a zip file.

[Q] CWM back up

Hello guys
Is there any way to open a cwm back up to my pc in order to extract some files?
mitsosJL said:
Hello guys
Is there any way to open a cwm back up to my pc in order to extract some files?
Click to expand...
Click to collapse
Yes, look for a yaffs explorer or ext2explore
gregbradley said:
Yes, look for a yaffs explorer or ext2explore
Click to expand...
Click to collapse
I downloaded the second one but how can I use it?
Extract the .ext4 extension from the tar files and then mount it in ext2explore
gregbradley said:
Extract the .ext4 extension from the tar files and then mount it in ext2explore
Click to expand...
Click to collapse
Which one? And how can I extract a tar file?
use 7 zip
gregbradley said:
use 7 zip
Click to expand...
Click to collapse
So I will take the data.ext4.tar.a, data.ext4.tar.b and I will extract them with 7zip and the files I will get I will paste them at the ext2explore?
Just open up the .tar.a (Or whichever) with 7 zip
You can extract the files directly from that
Try it.
gregbradley said:
Just open up the .tar.a (Or whichever) with 7 zip
You can extract the files directly from that
Try it.
Click to expand...
Click to collapse
Thank you
I appreciate your help and patience

Question How to unpack .img.lz4 files?

I've been looking through a couple of xda thread about it, found a few solutions. I managed to unpack from the .tar file, got the img.lz4 file and from that the .img and from .img to .img.ext4, but the .ext4 file is too small compared to the original .img file, so I guess the older SVAImgUnpack doesnt do the job correctly and can't open it with ext2explore. Is there any other software to use for this?
Nevermind, I've found a program for it.
Dummen said:
Nevermind, I've found a program for it.
Click to expand...
Click to collapse
which program you used to extract, kindly share it, i need to extract modem files
hahmad78 said:
which program you used to extract, kindly share it, i need to extract modem files
Click to expand...
Click to collapse
I think it was this, Im not sure.

Categories

Resources