zipping a rom[QQ] - Epic 4G General

when zipping a rom in 7zip can you set it to ultra,if not what is the best setting to use?
Thanks for the help

I don't think your suppose to compress it at all but I could be wrong

I was going to say the same thing as Deuce - in this situation, the zip file is just a container to hold it all together in one file
Sent from my SPH-D700 using XDA App

blspyro said:
when zipping a rom in 7zip can you set it to ultra,if not what is the best setting to use?
Thanks for the help
Click to expand...
Click to collapse
I don't think the zip itself can be compressed, but you can put the system package into a tar, then compress it into a LZMA file within the zip. Any kernel/modem update folders would still be in the root of the zip with the META-INF and tools as well. Obviously the updater script would have to be changed to unzip the system package during install.
Bonsai started using this method with 4.1.3. For comparison, the 4.1.3 ROM package is about 20 MB smaller than the 4.1.1 package.

Related

Custom patch file for froyo DL30

I have updated my phone to adrynalyne's DL09 Super Clean 0.4/DL30 1.0 version. I want to install couple of stock apps that are part of a patch provided by adrynalyne. (TW super pack, includes widgets and music player, etc)
My question is - Can I unzip the patch and remove apps that I don't want to install and create a new zip? Basically deleting unwanted apks under system\app of the zip. Would this work?
Extract the apk file from the full DL30 and paste into the system/app folder. I do this for thinkdroid every time I flash.
ellisz said:
Extract the apk file from the full DL30 and paste into the system/app folder. I do this for thinkdroid every time I flash.
Click to expand...
Click to collapse
thanks will try that.
This works i do this with each flash
onemotodroid said:
This works i do this with each flash
Click to expand...
Click to collapse
Stupid question but how to get to /system? using file manager or recovery?

problems with flashtool

im unable to make a ftf file with flashtool. i unzip the file. then search it, select it in source folder. The flashtool never opens the file and subfiles. It never displays in the left column. Ive started with a zip file, then unziped it. Ive also tried winRAR to extract the files. Im using 2.9.1 Java 1.6.0_24 os 6.1
Any help or tips would be appreciated
Hey, you must sure that in the zip file just one file .ftf, if so, extract it. If there are 4 files like system, data ... you must rename the .zip file to .ftf
silveraero said:
Hey, you must sure that in the zip file just one file .ftf, if so, extract it. If there are 4 files like system, data ... you must rename the .zip file to .ftf
Click to expand...
Click to collapse
i thught you where changing it from a zip to a ftf. Not just renaming it
xxloudogxx said:
im unable to make a ftf file with flashtool. i unzip the file. then search it, select it in source folder. The flashtool never opens the file and subfiles. It never displays in the left column. Ive started with a zip file, then unziped it. Ive also tried winRAR to extract the files. Im using 2.9.1 Java 1.6.0_24 os 6.1
Any help or tips would be appreciated
Click to expand...
Click to collapse
All the files you want to bundle need to be in one folder and look similar to this
http://dl.dropbox.com/u/27083072/XDA/files.JPG
Then open flashtool and find the folder when you get to teh folder the location shoold appear blank, click open and you will get this
http://dl.dropbox.com/u/27083072/XDA/bundle.JPG
copy them to teh right, fill in the top, Device, Version, Branding and click OK
this is the file i downloaded. its a wb zip file. so i unzip it. i have a ziped and a unziped file on my desk top. then i open flashtool in administer. advance> bundle creation>select source folder.
this is the file folder. unzipped
a screen shoot of the folder.
http://forum.xda-developers.com/attachment.php?attachmentid=692379&stc=1&d=1313629311
once i select the main folder in flashtool it dont open it in small folder like you posted above.
uncompressed screen shot of folder.
http://forum.xda-developers.com/attachment.php?attachmentid=692389&stc=1&d=1313629741
xxloudogxx said:
uncompressed screen shot of folder.
http://forum.xda-developers.com/attachment.php?attachmentid=692389&stc=1&d=1313629741
Click to expand...
Click to collapse
OK, what you have is wolfbreaks rom, this is installed on your phone via xrecovery not an ftf file, if you want to install it you need to install xrecovery on your phone first, then install this from there.
You need a rooted rom for this, so is your rom rooted and what version are you on 2.1 or 2.3
I have x recovery on my phone know. That's how I upgraded from 2.1 to 2.3, because my phone is sim unlocked. Super user is v2.3.6.1 I followed a thread on the upgrade. I can link which thread when I'm home.
Sent from my X10i using XDA App
I've tried installing via x recovery, by loading the zip file on my as card and loading it with xrecovery. But I don't see the file when I'm in xrecovery. Something I'm prob doing wrong
Sent from my X10i using XDA App
first i would like to say thank you for all your help and tips. this site is the sh!t!! it was a noob mistake. when i looked back in the files in xrecovery it was listed.but once i scrolled down, there is was. oh man!! i spent hrs looking up threads and videos to see if there was something i was missing. there it was. one page down. lol. so i was able to install the new wb 3.5
thank you!!
time to look at what the differences in 3.6

[Q]Remove kernel installation from roms

Is there a way to remove kernel installation from a rom? Id like to try installing some fascinate GB roms over our Froyo kernel but most of the Fascinate GB roms include a kernel installation which I would like to avoid (for obvious reasons).
Basically what I want is a ROM only install no kernel.
Or better yet does anyone have our 2.2.2 kernel (just the kernel) in a flashable odin package?
Im only experimenting so no flaming..
Thanks
Yup, there is for either option too xP
Which option do you choose?
Sent from my SCH-I400 using xda premium
If you have the 2.2.2 kernel in an odin package I'll take that.. But for the sake of education I'll take both if you have the time to explain..
+1 for you
Thanks!
Alright, here is the 2.2.2 kernel only Odin Package Can you check now as a test to make sure it works? haha I didn't test it myself
http://www.mediafire.com/?qgkh35439o79sjl
and alright, here is how you can remove flashing the kernel in those packages...
First, open up the package in 7zip...
Delete the Kernel_Update folder, or something named closely to such, on the root of the zip
Then go to META-INF\com\google\android, and copy the updater-script to your desktop
open it up with Notepad++ or another advanced text editor (*Important!) and delete all the lines that look connected with the kernel...
The most important lines are "package_extract_dir("kernel_update"" and "run_program("/tmp/kernel_update/bmlwrite"" lines
K ill give it a try and let you know.
Sent from my SCH-I400 using XDA App
*Edit* Kernel works just fine.
I deleted the "updates" folder which contained a zImage file, redbend.ua, and modem.bin file. However in the META folder there were no instances of the word 'kernel' found. Just references to run the installer for the formentioned 'updates' folder which I deleted.
Should I just delete the 'zImage' file which I'm assuming is the kernel and leave the script to install the redbend.ua and modem.bin files?
Much Appreciated! :highfive:
trailblazer101 said:
Alright, here is the 2.2.2 kernel only Odin Package Can you check now as a test to make sure it works? haha I didn't test it myself
http://www.mediafire.com/?qgkh35439o79sjl
and alright, here is how you can remove flashing the kernel in those packages...
First, open up the package in 7zip...
Delete the Kernel_Update folder, or something named closely to such, on the root of the zip
Then go to META-INF\com\google\android, and copy the updater-script to your desktop
open it up with Notepad++ or another advanced text editor (*Important!) and delete all the lines that look connected with the kernel...
The most important lines are "package_extract_dir("kernel_update"" and "run_program("/tmp/kernel_update/bmlwrite"" lines
Click to expand...
Click to collapse

[Q] JellyBean ZIP Packages (aka unzip: zip flags 1 and 8 are not supported)

Hey Guys,
I've been trying to understand why in all the JellyBean ROM that I've encountered so far there is an error message: "unzip: zip flags 1 and 8 are not supported" when I try viewing the archive in Fedora 17, or even in BusyBox, natively on the phone itself.
The ZIPs install correctly from the Recovery.
I've tried extracting it with WinRAR on windows, but after re-packing the archive and installing the newly created ROM ZIP the phone hangs. I didn't change anything at all, only extracted the original ZIP ROM and repacked.
The ROM that I've used: http://tinyw.in/YMJG
If anybody could shed some light on this I'd be really greatful
Try 7zip instead of winRAR as 7zip retains the file structure (you should use 7zip for all Cwm editing imo). I'm able to extract, modify, repackage and flash miuiandroid releases using 7zip and windows 8 (win7 will work too). Let me know how you get on!
Edit: I know you said the zip installs okay but you may want to check the md5 just to be safe
Sent from my GT-I9300 using xda app-developers app

How to convert kdz rom to zip rom

Hi, Can anyone tell me how to convert kdz rom to zip ROM?
Sent from my LG-P700 using xda premium
Firstly u need to extract KDZ file with LGExtract. It will extract cab file and dz file within. Then u needs to extract boot.img and system.img with DZDecrypt, but to get boot.img u need to use 0.5 version. For system.img use 1.0 version. If u have that 2 files, download dsixda kitchen and follow what screen says
mrjabol61 said:
Firstly u need to extract KDZ file with LGExtract. It will extract cab file and dz file within. Then u needs to extract boot.img and system.img with DZDecrypt, but to get boot.img u need to use 0.5 version. For system.img use 1.0 version. If u have that 2 files, download dsixda kitchen and follow what screen says
Click to expand...
Click to collapse
please help me! I extracted .kdz to .cab. But i can't extract to .dz file with 7zip. Error:Can not open file as archive.
How to fjx it?
Deleted.
Sry, you meant you can't extract cabinet file? Remove cab file integration in 7zip and it will open in windows explorer.
Sent from my HTC Sensation using xda app-developers app
mrjabol61 said:
Deleted.
Sry, you meant you can't extract cabinet file? Remove cab file integration in 7zip and it will open in windows explorer.
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
Yes. I have done so, but I still do not unzip the file. cab. I have tried the following in cmd:
D: \ LG \ lgextract-KDZ F180K20K_00.kdz
after it is completed, I get the file F180K20K_00.cab
Next, I used the command:
D: \ LG \ 7z x (or e) F180K20K_00.cab
and I get the error message: Error: Can not open file as archive
After all, I've tried many versions and 7z LGExtract but they all failed. So what is the reason? Does windows version?
p / s: sorry for my english is very bad.
phamluong92 said:
please help me! I extracted .kdz to .cab. But i can't extract to .dz file with 7zip. Error:Can not open file as archive.
How to fjx it?
Click to expand...
Click to collapse
see post #2. use dzdecrypt to extract the .dz file.
andwie said:
see post #2. use dzdecrypt to extract the .dz file.
Click to expand...
Click to collapse
I can't extract file .cab and I tried UpTestEX.exe to extract the file .kdz. After i have 2file .dz and .dll. Next, I used DZDecrypt to extract .dz file but display:
Code:
D:\LG>DZExtract -x F180K20K_00.dz
DZExtract v0.2 by jp
Extracting subfiles...
--------------------------------------------------------------------------------
Reading sub-header @0x13c
Checking magic number...........................invalid (found 0xffffffff, exp
ecting subfile, or offset table)
D:\LG>
v0.2? you're using old version, it's for older phone. it has been stated to use v1.0 so grab it from dev section
andwie said:
v0.2? you're using old version, it's for older phone. it has been stated to use v1.0 so grab it from dev section
Click to expand...
Click to collapse
pls sent me link. I know only DZDecrypt is version 1b.
does anyone know how to do the same thing, but from zip to kdz?
as i said, it's all in dev section
phamluong92 said:
pls sent me link. I know only DZDecrypt is version 1b.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2180586
mircea89fzr said:
does anyone know how to do the same thing, but from zip to kdz?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2179431
andwie said:
as i said, it's all in dev section
http://forum.xda-developers.com/showthread.php?t=2180586
Click to expand...
Click to collapse
I've read that thread before. But I can not unzip the file. Cab with 7zip or winrar.
In case 2, used to extract UpTestEX.exe. KDZ ->. dz, I can not unzip it. 2 dz by DZextract and DZDecrypt tool.
The reason is that the OS version or ROM version?
Sorry, I just recently see that you're trying to extract F180 (Optimus G)'s firmware. These methods are only for first generation of L series (L3, L5, L7). It certainly won't work on newer phones. (Yes, although the format is still kdz, the extracting method will differ between devices).
if i extract/ convert a kdz file to a zip zom can i install it in virtualbox
i installed android 4.3 on virtualbox so can i use my phone firmware on my pc??
another method for use my phone firmware on my pc?
thanks bro!
AXD96 said:
if i extract/ convert a kdz file to a zip zom can i install it in virtualbox
i installed android 4.3 on virtualbox so can i use my phone firmware on my pc??
another method for use my phone firmware on my pc?
thanks bro!
Click to expand...
Click to collapse
No. You don't use anyone ROM in computer. You only can mod, cook it. Demo just on the phone. The dev-app can use Android Studio/eclipse.
phamluong92 said:
No. You don't use anyone ROM in computer. You only can mod, cook it. Demo just on the phone. The dev-app can use Android Studio/eclipse.
Click to expand...
Click to collapse
help! notice the img
ATTACH FILES
Guys, I said earlier - open cabinet file with Windows Explorer, NOT WINRAR OR 7ZIP!
nice i would also want it
Can i use this guide to convert a stock LG kdz into a zip?
which is your phone model?
Sent from my LG-P700 using xda app-developers app

Categories

Resources