[TUT] How to deodex roms+set up Android kitchen(cygwin)+extract files from Kdz - Optimus L3, L5, L7 Android Development

INTRODUCTION
HI GUYS..!
Though there are many threads explaining about the set up of android kitchen and deodexing roms...i found it a bit confusing,as most of the threads take you to different threads which again explain the steps in detail,most of which though informative is unnecessary as they are General threads .. so,TODAY i will be explaining simple step by step procedures from setting up cygwin to doedexing a rom for our devices...
THIS THREAD IS FOR L3 BUT SHOULD WORK ON L5 AND L7 ALSO ( for extracting &deoxing-Only First generation ie; L3,L5&L7..Not for L3 II,L5 II, L7 II ,but the method for android kitchen is common for both generations)
THINGS NEEDED(DOWNLOADS)
1.JAVA- download here http://java.com/en/download/manual.jsp
2.LG EXTRACTION KIT PUT TOGETHER BY ME -
http://www.mediafire.com/download/qdxgh0hqznph3nf/KDZ_extraction_Kit+kitchen+cygwin.rar
Click to expand...
Click to collapse
STEP 1-INSTALL JAVA (just download and install it)
STEP 2- SET UP CYGWIN (This method is for Windows-i have provided the 32 bit setup ,for 64 bit download the setup from website below and skip to step 3) for 64 bit users - http://www.cygwin.com
1.extract the rar file i have provided and open the folder
2.open setup-x86.exe - don't proceed
3.open the cygwin setup guide provided in the folder and follow the steps
Click to expand...
Click to collapse
STEP 3- SET UP ANDROID KITCHEN
1. open the folder u extracted from my rar file
2.right click on Android-Kitchen-0.224_2 and extract here
3.now copy the "kitchen" folder to c:\cygwin\home\(your_user_name)\
[Note :: make sure that ur username does not contain any spaces (eg; homepc) (not eg; home pc) ;if it does then copy to c:\cygwin\home\ ]
Click to expand...
Click to collapse
STEP 6- CHECK IF ANDROID KITCHEN WORKS
1.Right click on the desktop shortcut of cygwin and run as administrator
2.type
Code:
cd kitchen
for people who have spaces in there user name
Code:
cd /home/kitchen
3.to open menu
Code:
./menu
IF YOU DONT GET ANY ERRORS THEN PROCEED TO THE NEXT STEP
Click to expand...
Click to collapse
STEP 7- EXTRACTING THE KDZ FILE(For custom odexed roms proceed to STEP 9)
(For the users who don't know about the .kdz , it is the file format for the stock lg rom firmwares,...to download the kdz files goto-
http://lg-phone-firmware.com/index.php?id_mod=11 and download the firmware that suits you accordingly...im using v10k open eupore )
1.open the folder u extracted from my rar file
2.rightclick on lgextract LGExtract-0.2.1 and select extract here
3.copy the .Kdz to the extracted folder
4.type
Code:
LGExtract.exe -kdz V10X_xx.kdz
(wherein "v10X_xx " stands for the version of kdz u want to extract eg v10k_00)
5. you should end up with three files a .dz file ,a .dll file and a .cab file ( eg DZ_LGE400AT-00-V10k-EUR-XXX-AUG-08-2012+0.dz ; QCT_E400_20120703.dll and V10k_00.cab
Click to expand...
Click to collapse
STEP 8-EXTRACTING THE ..DZ FILE
1.open the folder that u extracted from my rar file
2. rightclick on the DZDecrypter_v0.5.rar file and select extract here.... do the same for the DZDecrypter_v1.0b.rar file
3. now "copy" the .dz file into both extracted folders
4. open the extracted DZDecrypter_0.5 folder and type
Code:
DZDecrypt.exe LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz
wherein "LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz" is name of the .dz file
5. open the extracted DZDecrypter_v1.0b and do the same
6. now what we need is the boot.img ;recovery.img and system.img
7.make a new folder
8.to get the boot.img and recovery.img go to the DZDecrypter_v0.5 folder and copy the two files to a folder u created
9.to get system.img go to the DZDecrypter_v1.0b folder and find the file named system.img.ext4
10. just rename it to system.img and copy it to the folder u created
Click to expand...
Click to collapse
STEP 9- EXTRACTING THE SYSTEM.IMG and deodexing the System Files
(FOR CUSTOM ROMS CREATE A FOLDER IN C:\cygwin\home\your_user-name\kitchen\ AND NAME IT "WORKING_090313_013348" AND COPY THE META-INF;SYSTEM AND BOOT.IMG INTO IT AND OPEN THE KITCHEN MENU AND FOLLOW FROM THE11TH STEP )
Click to expand...
Click to collapse
NOTE :custom rom users use can this command via the terminal emulator to obtain the system file's on the rom... it is recommended to do this on a Fresh installation or else you will obtain a lot of unwanted files along with the ones needed ..
Code:
su
tar -c system/* >> sdcard/system.tar
Click to expand...
Click to collapse
this will create a .tar file on your sdcard which u can latter transfer to your pc and extract using winrar or 7zip
The files needed are
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Click to expand...
Click to collapse
delete the rest of the folders
1.COPY THE BOOT.IMG AND SYSTEM.IMG TO c:\cygwin\home\(your_user_name)\kitchen\original_update
2. open cygwin as adminstrator and open the kichen menu(refer step 6)
3.select option 1 -set up working folder from rom
4.select default 1
5.select n (dont change name)
6.select ext2explore
7.follow the instruction on the cmd
8.select n (don't extract cache.img)
9.select y (view rom info)
10. press enter to continue
11.select option 0 (advanced options)
12.select 11 deodex files in your rom
13.select v and change API LEVEL to 10(this is for gingerbread rom ie 2.3.x for other rom select accrdly)
14.select b deodex both folders ( sometimes u can get errors for few apks to resolve that delete the apks in the location below in system/app ...you have to delete both the .apk and .odex ; PS:don't delete the others they are deodexed...!)
15.press enter
16. view the contents of the folder navigate to C:\cygwin\home\your_user-name\kitchen\WORKING_xxxxxx_xxxxxx u'll find the deodexed apks in system\apps
17.now u can make changes to the file.
Click to expand...
Click to collapse
(OPTIONAL:I have not tried the zip but should work well)
STEP 10- FLASHING THE DEODEXED FILES TO THE ROM
1. open the folder that u extracted from my rar file
2. install 7 zip (7z920.exe) ignore if already there
3.rightclick on 'deodex.zip' and select open with 7zip
4.open system in 7zip
5.replace the /app and /framework from the folders in C:\cygwin\home\your_user-name\kitchen\WORKING_xxxxxx_xxxxxx\system
(Just drag and drop in the opened .zip file)
6. copy the zip file to the sdcard of ur phone
7. flash it via cwm
Click to expand...
Click to collapse
ANDROID KITCHEN IS A AWESOME TOOL ..ALMOST ALL OF THE STEPS IN IT ARE SELF EXPLANATORY ...I SUGGEST THAT U PLAY AROUND WITH IT TO GET USED TO IT ..
CREDITS
@dsixda FOR ANDROID KITCHEN
http://forum.xda-developers.com/showthread.php?t=633246
@pankaj88 FOR KITCHEN SETUP FOR DEODEX
http://forum.xda-developers.com/showthread.php?t=1767392
@Homero2 FOR LGEXTRACT EXTRACTING KDZ FILE
http://forum.xda-developers.com/showthread.php?t=2180586
@copsfrance FOR DZDECRYPT
@yayakuya & @andwie
FOR INTRODUCING ME TO THE THREADS..!
FOR ANY FURTHER QUESTIONS PLS REFER THE LINKS IN CREDIT AS THEY MOST PROBABLY WOULD HAVE BEEN ANSWERED THERE DO YOUR RESEARCH SEARCH AND LEARN ASK QUESTIONS ONLY AS A LAST RESORT NO ONES' A EXPERT ..!
NOTE :: Always make a backup before changing system apk's..! Not responsible for any damages..!
HIT THANKS BUTTON IF I HELPED YOU

THANK YOU...!

Great guide,very good explained and very helpfull,thanx.:thumbup:
GREEEEETZ!!!!

stock rom?
what about stock rom??

-CALIBAN666- said:
Great guide,very good explained and very helpfull,thanx.:thumbup:
GREEEEETZ!!!!
Click to expand...
Click to collapse
thanks man ..!!Much appreciated

arjunrambz said:
what about stock rom??
Click to expand...
Click to collapse
you'll need the boot.img so you have to download the firmware (check in the about phone should be like 10 j or something ) and follow from STEP 7 for any other doubts you can use the links in the credits..!
heres the link to download firmware for l7
http://lg-phone-firmware.com/index.php?id_mod=13

Thanks alot for this
Sent from my LG-E400 using XDA Premium 4 mobile app

skiplou_memory said:
Thanks alot for this
Sent from my LG-E400 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you always welcome..!:good:

Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".

aleksandar_021 said:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
Click to expand...
Click to collapse
This method is only for first generation of L series. You tried to extract dz of P710 (L7 II) so obviously it won't work.

andwie said:
This method is only for first generation of L series. You tried to extract dz of P710 (L7 II) so obviously it won't work.
Click to expand...
Click to collapse
So is there a way i can extract that .dz?

aleksandar_021 said:
So is there a way i can extract that .dz?
Click to expand...
Click to collapse
No, not for your device yet.

aleksandar_021 said:
Im getting an error while trying to extract the .dz file...
C:\Users\Aleksandar\Desktop\Decrypter 1>DZDecrypt.exe LGP710AT-00-V10f-EUR-XX-JU
L-23-2013+0.dz
DZ-Decryptor v1.0b *ALPHA RELEASE* by BIGB0SS from COPS.
[■] Opening file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
[■] Allocated memory: 1280 Mo.
[x] Invalid markers in main header.
[■] Closing file "LGP710AT-00-V10f-EUR-XX-JUL-23-2013+0.dz".
Click to expand...
Click to collapse
Sorry i din't mention it ,this is only for the first generation ;ie l3,l5,l7 (not l3 II,L5 II,L7 II)

after deodex, how to create the KDZ file as before? You can help me?

dn80 said:
after deodex, how to create the KDZ file as before? You can help me?
Click to expand...
Click to collapse
Use can Use this
http://forum.xda-developers.com/showthread.php?t=2179431

Extract apps from stock KDZ
Hello
I'm trying to extract two applications from a Stock Rom KDZ file from my LGE975
I have installed the pacman 4.3 rom, and lost two apps very importante for me. The Diodioct and the Quick translator.
I now that there is thread only for that, but I have already install it and I get a message say "wrong phone model"
I have ask for more help and no answer until now.
So I found this thread i'm asking if there is a way two extract this two apps and install it on my phone with the pacman rom?
Thanks

Related

[Q] help with theme GreenDevDroid Ultimate (solve)

friends
someone could help me or raise the issue with the original purpose of the windows, and not use that brings the theme
and try changing the original XML (xmlsForStandardWindowAnimation.zip), but the keyboard disappeared and I can not connect via USB, restarted
Greetings from Chile
excuse my English. jajjajjaajaaja sucks google translate
thanks
Hi.
Could you elaborate chronologically what happened/what did you do?
Hi
1 GDDUltimateForLGVoidEcho.zip extract files
2 Remove the framework-res.apk files
3 delete the files in the folder res / anim
4 Copy the contents of "xmlsForStandardWindowAnimation.zip" folder anim
5 sign "framework" res.apk "
6 compressed "GDDUltimateForLGVoidEcho.zip"with the new content "framework" res.apk "
7 signs "GDDUltimateForLGVoidEcho.zip"
install the theme with recovery, starts, but see some sort of errors that were closed following
google.process.gapps
com.android.email
com.mobileleader.sync
com.android.deskclock
the keyboard does not start (to write anything, numbers, names, etc)
I can not connect to usb
thank you very much for reading this and help
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
giveme13s said:
I hope you did nand backup your phone before installing the theme.
If you did that, do 'Nand restore' in recovery menu, reboot
if you did not do that, you need to reflash void-echo, reboot, install any void's modules such as kernel, a2sd, gapps, etc. that you want.
After making sure your phone is OK, try these steps:
- redownload GDDUltimateForLGVoidEcho.zip
- redownload xmlsForStandardWindowAnimation.zip
- extract contents of xmlsForStandardWindowAnimation.zip to a directory in your PC
- copy GDDUltimateForLGVoidEcho.zip to a file, say you name it 'temp.zip'
- open temp.zip (just open, not extracting it) with 7-zip
- while opening temp.zip, navigate to directory 'system/framework'
- doubleclick framework-res.apk
- navigate to directory 'res\anim'
- drag-drop previous extracted files from 'xmlsForStandardWindowAnimation.zip' to this directory ('res\anim')
- close 7-zip, answer 'Yes' when asked whether to update contents of framework-res.apk
- sign temp.zip
- copy the signed zip file to sd card and flash it
Hope this solves your problem.
Cheers.
Click to expand...
Click to collapse
That is what he did wrong? no idea what the problem xD
Muchas gracias amigo!!

need system apps from Live with walkman Rom

Hy guys if some one rooted their WT19i live with walkman phone
then please copy your system apps folder using root explorer and upload them
from original WT19i stock ROM
i really need them
You may get all files in a few steps:
1. Download firmware file (take it here).
2. Open it with 7-zip or WinRAR and extract somewere system.sin.
3. Download and unpack Direct SIN & YAFFS UnPacker in the same folder with system.sin.
4. Open console (cmd) from this folder and type:
aIUP.exe system.sin 4096 apps_LIVE
5. Your apps will appear in apps_LIVE folder.
Please delete my post
Can you use them with CM ?
.: SID :. said:
You may get all files in a few steps:
1. Download firmware file (take it here).
2. Open it with 7-zip or WinRAR and extract somewere system.sin.
3. Download and unpack Direct SIN & YAFFS UnPacker in the same folder with system.sin.
4. Open console (cmd) from this folder and type:
aIUP.exe system.sin 4096 apps_LIVE
5. Your apps will appear in apps_LIVE folder.
Click to expand...
Click to collapse
Please tell me if i want to extract other mobile phone sin files then what will be the command for them
i want to extract Xperia Arc sin files to .... ?????????????
and i am thankful to you for your info.......
The command will be the same.

What are data.img system.img boot.img files

Someone please tell me some basic of data.img system.img boot.img files
their use
and how to edit them ?
Or post some links explaining these.
ip2op01 said:
Someone please tell me some basic of data.img system.img boot.img files
their use
and how to edit them ?
Or post some links explaining these.
Click to expand...
Click to collapse
http://stackoverflow.com/questions/3879717/what-is-purpose-of-using-system-img-in-android
http://en.wikipedia.org/wiki/Disk_image
http://en.wikipedia.org/wiki/Boot_image
these may help, or may not. But hopefully so, if not try looking around stackoverflow a bit more.
ip2op01 said:
Someone please tell me some basic of data.img system.img boot.img files
their use
and how to edit them ?
Or post some links explaining these.
Click to expand...
Click to collapse
1.
boot.img : be similar with bootstrap in the PC's BIOS,aim to boot the android OS;
data.img : this file includes some user data and system data;
system.img : this file includes some packages and some lib file.
ramdisk.img : emulator's FS(file system)
2.
when the android OS start, emulator loads those image file to ramdisk FS, create "system" file directory and "data" file directory.so you should think that those are android OS component.
3.
(1)unpack:
a. tool-------"unyaffs" download link : http://code.google.com/p/unyaffs/downloads/list
b. command------./unyaffs system.img
(2)pack:
a. tool-------"mkyaffs2image" location:android/out/host/linux-x86/bin or search internet
b. make this tool
c. command------ ./mkyaffs2image <directory> <out_file>
I know this, try myself
Thanks guys
ip2op01 said:
Thanks guys
Click to expand...
Click to collapse
My English is poor,it's my pleasure,you can understand it.
enyblock said:
1.
boot.img : be similar with bootstrap in the PC's BIOS,aim to boot the android OS;
data.img : this file includes some user data and system data;
system.img : this file includes some packages and some lib file.
ramdisk.img : emulator's FS(file system)
2.
when the android OS start, emulator loads those image file to ramdisk FS, create "system" file directory and "data" file directory.so you should think that those are android OS component.
3.
(1)unpack:
a. tool-------"unyaffs" download link : http://code.google.com/p/unyaffs/downloads/list
b. command------./unyaffs system.img
(2)pack:
a. tool-------"mkyaffs2image" location:android/out/host/linux-x86/bin or search internet
b. make this tool
c. command------ ./mkyaffs2image <directory> <out_file>
I know this, try myself
Click to expand...
Click to collapse
So, if I have a ROM with the .img file extension I should flash it as "System" (In TWRP)???

Changing the logo Kernel "logo.rle"

Hi Guys ...
For those of you who want to change the logo of your android phone when turned on, it should change the logo on the kernel you are using, with your own logo, I will try to help explain how a simple and more detailed. If you can not do it any other way. Mugkin this way can help you. Tools needed:
- Linuk + Perl
- Windows
- A little patient and creative.
Ok! Go ...............
1. Prepare to be in exstack Kernel. You must open a pack kernel first. "DooMLord" has made the tool easy to us doing that, this tool will work in linuk.
Download the device see here:
+ Unpack-kernelsin:
http://forum.xda-developers.com/showthread.php?t=1262656
+ Kernel.sin-and-FTF-creator-v1.0:
http://forum.xda-developers.com/showthread.php?t=1363460
Run your Linuk ....
Save-kernelsin.pl and unpack the kernel will be open, the folder "HOME" on your linuk.
Call the command prompt, then type:
. / Unpack-kernelsin.pl kernel.sin
or use the command
perl unpack-kernelsin.pl kernel.sin
It will make:
- Folder-ramdisk kernel.sin
- Kernel.sin-ramdisk.cpio.gz
- Kernel.sin-kernel
- Kernel.sin-header
Delete the file "kernel.sin-ramdisk.cpio.gz" and file "kernel.sin-header".
Open the folder "kernel.sin-ramdisk",
Please edit or replace your "logo.rle" in the folder "kernel.sin-ramdisk" according to your desire. When finished editing "logo.rle", then do to repack folder "kernel.sin-ramdisk", by way of
Typing commands at the command prompt:
$ Cd kernel.sin-ramdisk
find. | Cpio-o-H newc | gzip> .. / newramdisk.cpio.gz
This will result in "newramdisk.cpio.gz"
2. Now we take the file "kernel.sin-kernel" and "newramdisk.cpio.gz". Save and make sure that both files in one folder.
3. Now you fire up your windows, preferably on Win-xp.
4. Open the folder kernel.sin-and-FTF-creator for your mobile
5. Enter "kernel.sin-kernel" and "kernel.sin-ramdisk.cpio.gz" into folder-and-FTF kernel.sin-creator.
6. Make sure Java is installed on your windows? or if not, you can follow this step.
7. On BUILD-IT.BAT right click and click edit, in order to be as follows:
echo Manifest-Version: 1.0 > manifest.mf
echo device: X10 >> manifest.mf
echo branding: dooMkernel -v06-BootManager-v1.4 >> manifest.mf
echo Created-By: dooMkernel >> manifest.mf
echo version: 2.3.3 >> manifest.mf
ren kernel.jar X10_2.3.3_dooMkernel-v06-BootManager-v1.4.ftf
8. Remove the line
del manifest.mf
del kernel.sin
save and reflace to BUILD-IT.BAT
9. In the folder-and-FTF kernel.sin-creator instead of the name "kernel.sin-kernel" to "image" and rename "-ramdisk.cpio.gz kernel.sin" to "ramdisk"
*NOTE!!
[Make sure you have change the file name correctly, because if not kernel.sin corupt.
If you have a problem in changing the name, street and do this:
How to Rename File Extensions:
Renaming File Extensions can be very handy when trying to convert one file name to another. There are many programs on the web that can help you do this. But are you aware that windows operating systems can do this for you? Below are instructions on how to do so.
Go to Start
Control Panel
Folder Options
Click on the 'View' Tab
Then simply uncheck 'Hide extensions for known file types'.
Then click Apply
Finally click Ok
Now you will be able to change file extensions, such as .JPG to .jpg.]
10. Then Double-BUILD-IT.BAT then ENTER
11. It generates two files: "kernel.sin" and "MANIFEST.MF"
12. Next create a save file folder "kernel.sin and loader.sin to the folder.
13. Now run Flashtool
14. Click Advanced and select Bundle Creation
15. In the Select source folder, select the folder where you save the file and loader.sin kernel.sin
16. on the choice Devices customize your devices, adjust the version of ROM version, the choice of content with brand Branding your devices.
17. Move all the contents of the folder content list to the Firmware
18. Click OK
19. Click Flash
20. Select the kernel that you create.
21. Click OK ...... connect the PC to your devices.
21. Flash running process ...................
22. And complete ......
As for how to make images become logo.rle, please refer to the way in this post:
http://forum.xda-developers.com/showthread.php?p=26810498#post26810498
The explanation is quite long, but hopefully can be helpful, especially for those of you who are new to this.
Thanks to: Xda-developers
dooMLord for FTF Creator and unpack the kernel
Bin4ry & Androxyde for Flashtool
And you all, in xda forum
linuk?linux ^^
Sadly I don't have a linux OS, and I'm too lazy to install Ubuntu, is this possible to do it all on Windows 7?
lewislulch said:
linuk?linux ^^
Click to expand...
Click to collapse
yes some tools still have to work on linuk
ItBankRock said:
Sadly I don't have a linux OS, and I'm too lazy to install Ubuntu, is this possible to do it all on Windows 7?
Click to expand...
Click to collapse
maybe if those tools, in potring into windows
This 'kernel kitchen' may also be helpful :-D
http://forum.xda-developers.com/showthread.php?t=1659584
From my XPERIA X10S v8.2 @ 1.19ghz. IF SOMEONE HELPS CLICK 'THANKS'
Apif Fuloh said:
Hi Guys ...
For those of you who want to change the logo of your android phone when turned on, it should change the logo on the kernel you are using, with your own logo, I will try to help explain how a simple and more detailed. If you can not do it any other way. Mugkin this way can help you. Tools needed:
- Linuk + Perl
- Windows
- A little patient and creative.
Ok! Go ...............
1. Prepare to be in exstack Kernel. You must open a pack kernel first. "DooMLord" has made the tool easy to us doing that, this tool will work in linuk.
Download the device see here:
+ Unpack-kernelsin:
http://forum.xda-developers.com/showthread.php?t=1262656
+ Kernel.sin-and-FTF-creator-v1.0:
http://forum.xda-developers.com/showthread.php?t=1363460
Run your Linuk ....
Save-kernelsin.pl and unpack the kernel will be open, the folder "HOME" on your linuk.
Call the command prompt, then type:
. / Unpack-kernelsin.pl kernel.sin
or use the command
perl unpack-kernelsin.pl kernel.sin
It will make:
- Folder-ramdisk kernel.sin
- Kernel.sin-ramdisk.cpio.gz
- Kernel.sin-kernel
- Kernel.sin-header
Delete the file "kernel.sin-ramdisk.cpio.gz" and file "kernel.sin-header".
Open the folder "kernel.sin-ramdisk",
Please edit or replace your "logo.rle" in the folder "kernel.sin-ramdisk" according to your desire. When finished editing "logo.rle", then do to repack folder "kernel.sin-ramdisk", by way of
Typing commands at the command prompt:
$ Cd kernel.sin-ramdisk
find. | Cpio-o-H newc | gzip> .. / newramdisk.cpio.gz
This will result in "newramdisk.cpio.gz"
2. Now we take the file "kernel.sin-kernel" and "newramdisk.cpio.gz". Save and make sure that both files in one folder.
3. Now you fire up your windows, preferably on Win-xp.
4. Open the folder kernel.sin-and-FTF-creator for your mobile
5. Enter "kernel.sin-kernel" and "kernel.sin-ramdisk.cpio.gz" into folder-and-FTF kernel.sin-creator.
6. On BUILD-IT.BAT right click and click edit, in order to be as follows:
echo Manifest-Version: 1.0 > manifest.mf
echo device: X10 >> manifest.mf
echo branding: dooMkernel -v06-BootManager-v1.4 >> manifest.mf
echo Created-By: dooMkernel >> manifest.mf
echo version: 2.3.3 >> manifest.mf
ren kernel.jar X10_2.3.3_dooMkernel-v06-BootManager-v1.4.ftf
7. Remove the line
del manifest.mf
del kernel.sin
save and reflace to BUILD-IT.BAT
8. In the folder-and-FTF kernel.sin-creator instead of the name "kernel.sin-kernel" to "image" and rename "-ramdisk.cpio.gz kernel.sin" to "ramdisk"
*NOTE!!
[Make sure you have change the file name correctly, because if not kernel.sin corupt.
If you have a problem in changing the name, street and do this:
How to Rename File Extensions:
Renaming File Extensions can be very handy when trying to convert one file name to another. There are many programs on the web that can help you do this. But are you aware that windows operating systems can do this for you? Below are instructions on how to do so.
Go to Start
Control Panel
Folder Options
Click on the 'View' Tab
Then simply uncheck 'Hide extensions for known file types'.
Then click Apply
Finally click Ok
Now you will be able to change file extensions, such as .JPG to .jpg.]
9. Then Double-BUILD-IT.BAT then ENTER
10. It generates two files: "kernel.sin" and "MANIFEST.MF"
11. Next create a save file folder "kernel.sin and loader.sin to the folder.
12. Now run Flashtool
13. Click Advanced and select Bundle Creation
14. In the Select source folder, select the folder where you save the file and loader.sin kernel.sin
15. on the choice Devices customize your devices, adjust the version of ROM version, the choice of content with brand Branding your devices.
16. Move all the contents of the folder content list to the Firmware
17. Click OK
18. Click Flash
19. Select the kernel that you create.
20. Click OK ...... connect the PC to your devices.
21. Flash running process ...................
22. And complete ......
As for how to make images become logo.rle, please refer to the way in this post:
http://forum.xda-developers.com/showthread.php?p=26810498#post26810498
The explanation is quite long, but hopefully can be helpful, especially for those of you who are new to this.
Thanks to: Xda-developers
dooMLord for FTF Creator and unpack the kernel
Bin4ry & Androxyde for Flashtool
And you all, in xda forum
Click to expand...
Click to collapse
most of it is redundant info, and the op is a little confusing
and my kernel kitchen does it in far less steps & complication
and this should be on themes and apps or general...
this is not development
ItBankRock said:
Sadly I don't have a linux OS, and I'm too lazy to install Ubuntu, is this possible to do it all on Windows 7?
Click to expand...
Click to collapse
Yes, download and install Cygwin.
championswimmer said:
most of it is redundant info, and the op is a little confusing
and my kernel kitchen does it in far less steps & complication
and this should be on themes and apps or general...
this is not development
Click to expand...
Click to collapse
No need to mess around with it, a better job would be the best, be the best developer. Congratulations creative the better. Best wishes. Share the beauty, life is a give and accept each other, cheering for xda developers.
Apif Fuloh said:
Hi Guys ...
For those of you who want to change the logo of your android phone when turned on, it should change the logo on the kernel you are using, with your own logo, I will try to help explain how a simple and more detailed. If you can not do it any other way. Mugkin this way can help you. Tools needed:
- Linuk + Perl
- Windows
- A little patient and creative.
Ok! Go ...............
1. Prepare to be in exstack Kernel. You must open a pack kernel first. "DooMLord" has made the tool easy to us doing that, this tool will work in linuk.
Download the device see here:
+ Unpack-kernelsin:
http://forum.xda-developers.com/showthread.php?t=1262656
+ Kernel.sin-and-FTF-creator-v1.0:
http://forum.xda-developers.com/showthread.php?t=1363460
Run your Linuk ....
Save-kernelsin.pl and unpack the kernel will be open, the folder "HOME" on your linuk.
Call the command prompt, then type:
. / Unpack-kernelsin.pl kernel.sin
or use the command
perl unpack-kernelsin.pl kernel.sin
It will make:
- Folder-ramdisk kernel.sin
- Kernel.sin-ramdisk.cpio.gz
- Kernel.sin-kernel
- Kernel.sin-header
Delete the file "kernel.sin-ramdisk.cpio.gz" and file "kernel.sin-header".
Open the folder "kernel.sin-ramdisk",
Please edit or replace your "logo.rle" in the folder "kernel.sin-ramdisk" according to your desire. When finished editing "logo.rle", then do to repack folder "kernel.sin-ramdisk", by way of
Typing commands at the command prompt:
$ Cd kernel.sin-ramdisk
find. | Cpio-o-H newc | gzip> .. / newramdisk.cpio.gz
This will result in "newramdisk.cpio.gz"
2. Now we take the file "kernel.sin-kernel" and "newramdisk.cpio.gz". Save and make sure that both files in one folder.
3. Now you fire up your windows, preferably on Win-xp.
4. Open the folder kernel.sin-and-FTF-creator for your mobile
5. Enter "kernel.sin-kernel" and "kernel.sin-ramdisk.cpio.gz" into folder-and-FTF kernel.sin-creator.
6. Make sure Java is installed on your windows? or if not, you can follow this step.
7. On BUILD-IT.BAT right click and click edit, in order to be as follows:
echo Manifest-Version: 1.0 > manifest.mf
echo device: X10 >> manifest.mf
echo branding: dooMkernel -v06-BootManager-v1.4 >> manifest.mf
echo Created-By: dooMkernel >> manifest.mf
echo version: 2.3.3 >> manifest.mf
ren kernel.jar X10_2.3.3_dooMkernel-v06-BootManager-v1.4.ftf
8. Remove the line
del manifest.mf
del kernel.sin
save and reflace to BUILD-IT.BAT
9. In the folder-and-FTF kernel.sin-creator instead of the name "kernel.sin-kernel" to "image" and rename "-ramdisk.cpio.gz kernel.sin" to "ramdisk"
*NOTE!!
[Make sure you have change the file name correctly, because if not kernel.sin corupt.
If you have a problem in changing the name, street and do this:
How to Rename File Extensions:
Renaming File Extensions can be very handy when trying to convert one file name to another. There are many programs on the web that can help you do this. But are you aware that windows operating systems can do this for you? Below are instructions on how to do so.
Go to Start
Control Panel
Folder Options
Click on the 'View' Tab
Then simply uncheck 'Hide extensions for known file types'.
Then click Apply
Finally click Ok
Now you will be able to change file extensions, such as .JPG to .jpg.]
10. Then Double-BUILD-IT.BAT then ENTER
11. It generates two files: "kernel.sin" and "MANIFEST.MF"
12. Next create a save file folder "kernel.sin and loader.sin to the folder.
13. Now run Flashtool
14. Click Advanced and select Bundle Creation
15. In the Select source folder, select the folder where you save the file and loader.sin kernel.sin
16. on the choice Devices customize your devices, adjust the version of ROM version, the choice of content with brand Branding your devices.
17. Move all the contents of the folder content list to the Firmware
18. Click OK
19. Click Flash
20. Select the kernel that you create.
21. Click OK ...... connect the PC to your devices.
21. Flash running process ...................
22. And complete ......
As for how to make images become logo.rle, please refer to the way in this post:
http://forum.xda-developers.com/showthread.php?p=26810498#post26810498
The explanation is quite long, but hopefully can be helpful, especially for those of you who are new to this.
Thanks to: Xda-developers
dooMLord for FTF Creator and unpack the kernel
Bin4ry & Androxyde for Flashtool
And you all, in xda forum
Click to expand...
Click to collapse
Hey brother
Would you please help me on this :
http://forum.xda-developers.com/showthread.php?t=1988759
TIA
for windows users these will help:
http://forum.xda-developers.com/showthread.php?t=1090217
http://forum.xda-developers.com/showthread.php?t=1140406
Can't exactly remember how I did and if I used Cygwin or not back in those days but I'm pretty sure I used these two threads for tools & info
riginal said:
for windows users these will help:
http://forum.xda-developers.com/showthread.php?t=1090217
http://forum.xda-developers.com/showthread.php?t=1140406
Can't exactly remember how I did and if I used Cygwin or not back in those days but I'm pretty sure I used these two threads for tools & info
Click to expand...
Click to collapse
Thanks a lot brother :good:
Very usefull info, sorry i just used my last "thank"
for today. Will come back later.
Thanks
Darco

[TUTO] As unpacking a KDZ and a DZ [LG L7/5/3]

Tutorial in Spanish [TUTO] Como desempaquetar un KDZ y un DZ [LG E610 L5]
Click to expand...
Click to collapse
In LG phones L7/5/3 to opted for DZ format, if we unpack one ROM KDZ we find a CAB, and if you unzipped the CAB seems the DZ.
DZ files are tablets that can be flashed directly, and as always, you can unpack to extract the ROM in BIN format.
NECESSARY TOOLS
Unpack KDZ = LGExtract.exe by navossoc.
Unpack CAB = any decompressor, on Windows, eg. WinRAR.
Unpack DZ = DZDecrypt.exe DZ_Creator.exe by copsfrance
And of course a ROM format KDZ or DZ.
PROCEDURE
The first thing to do is to unpack the KDZ, so copy the file LGExtract.exe on the route where we have the ROM format KDZ and from the console (which previously must be located on the route of the ROM) type:
WINDOWS
Code:
LGExtract.exe -kdz V10X_xx.kdz
LINUX
Code:
wine LGExtract.exe -kdz V10X_xx.kdz
Click to expand...
Click to collapse
and you press Enter
NOTE
Where it saysV10X_xx.kdz must be the name of the ROM, for exampleV10A_00.kdz
When the process is complete will see a file with the same name as the ROM, but with the extension .cab, for example, V10A_00.cab
Unzip it and will the DZ and a DLL file
To unpack the DZ type this:
WINDOWS
Code:
DZDecrypt.exe LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz
LINUX
Code:
wine DZDecrypt.exe LGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz
Click to expand...
Click to collapse
And you press Enter
NOTE
Where it saysLGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz should be the name of the DZ, for example:LGE610AT-00-V10b-EUR-XXX-MAY-23-2012+0.dz
We already have the ROM in BIN format, now you have to concatenate the files SYSTEM, so we use the console and...:
WINODWS
Code:
copy /b "system.img.ext4_
[*]" "system.img"
LINUX
Code:
cat system.img.ext4_* > system.img.ext4
Click to expand...
Click to collapse
And you press Enter and you can delete the files system.img.ext4_0, system.img.ext4_1,..., system.img.ext4_6 (version DZDecrypt.exe v1.0c+ does this job automatically)
Now we'll have a list like this:
Code:
amss.bin
boot.img
boot_logo.bin
emmc_appsboot.bin
oemsbl.bin
partition.bin
persist.img.ext4
qcsbl.mbn
qcsblhd_cfgdata.mbn
recovery.img
system.img.ext4
Click to expand...
Click to collapse
Files .ext4 are you can rename to .img and mount as one drive in Linux or WIndows with Winimage manipulate its contents
LINUX:
Code:
mkdir system
sudo mount system.img.ext4 system -oloop
To disassemble
Code:
sudo umount system
Click to expand...
Click to collapse
With this I believe that we have done, if something is missing or you have any questions to ask without fear.
very useful for stock rom modding... I was looking for this a month ago, so thanks man!
I cant open with WinImage my system.img extract from L3 e400 V10O_00.kdz
Ygreck said:
I cant open with WinImage my system.img extract from L3 e400 V10O_00.kdz
Click to expand...
Click to collapse
for .img (from .kdz) u have to use ext2explorer
google it or try this link
http://d-h.st/nRw
i've tried to add it as attachment but failed for unknown reasons.
All this procedure will not work for E435.
i've got 1gb .dz file but unable to extract it.
any ideas?
Sudeep Duhoon said:
... All this procedure will not work for E435.
i've got 1gb .dz file but unable to extract it.
any ideas?
Click to expand...
Click to collapse
Try this http://forum.xda-developers.com/showpost.php?p=38748031&postcount=43
Homero2 said:
Try this http://forum.xda-developers.com/showpost.php?p=38748031&postcount=43
Click to expand...
Click to collapse
i tried this, no change
Homero2 said:
In LG phones L7/5/3 to opted for DZ format, if we desempaquetamos one ROM KDZ we find a CAB, and if you unzipped the CAB seems the DZ.
DZ files are tablets that can be flashed directly, and as always, you can unpack to extract the ROM in BIN format.
NECESARY TOOLS
Unpack KDZ = LGExtract.exe by navossoc.
Unpack CAB = any decompressor, on Windows, eg. WinRAR.
Unpack DZ = DZDecrypt.exe DZ_Creator.exe by copsfrance
And of course a ROM format KDZ or DZ.
PROCEDURE
The first thing to do is to unpack the KDZ, so copy the file LGExtract.exe on the route where we have the ROM format KDZ and from the console (which previously must be located on the route of the ROM) type:
and you press Enter
NOTE
Where it saysV10X_xx.kdz must be the name of the ROM, for exampleV10A_00.kdz
When the process is complete will see a file with the same name as the ROM, but with the extension .cab, for example, V10A_00.cab
Unzip it and will the DZ and a DLL file
To unpack the DZ type this:
And you press Enter
NOTE
Where it saysLGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz should be the name of the DZ, for example:LGE610AT-00-V10b-EUR-XXX-MAY-23-2012+0.dz
We already have the ROM in BIN format, now you have to concatenate the files SYSTEM, so we use the console and...:
And you press Enter and you can delete the files system.img.ext4_0, system.img.ext4_1,..., system.img.ext4_6 (version DZDecrypt.exe v1.0c+ does this job automatically)
Now we'll have a list like this:
Files .ext4 are you can rename to .img and mount as one drive in Linux or WIndows with Winimage manipulate its contents
With this I believe that we have done, if something is missing or you have any questions to ask without fear.
Click to expand...
Click to collapse
yes
slarkpro said:
hi pro i have added root file into dz file now i join dz file and dll file via uptest marwin but have an error i don't undestand pls help me!!
Click to expand...
Click to collapse
Bạn bên tinhte.vn à:thumbup:
Gửi từ LG-Optimus L7 của tôi bằng cách sử dụng Tapatalk2
is there a kdz extractor for linux???
ensarman said:
is there a kdz extractor for linux???
Click to expand...
Click to collapse
afaik no
but as the thread explain you should use wine
I used it but my cellphone is a LG L3 II
and I cannot extract the DZ file. I cannot find how to extract my kdz : (
But the kdz updater software can do it but I don't know where that software extract the kdz
Homero2 said:
In LG phones L7/5/3 to opted for DZ format, if we unpack one ROM KDZ we find a CAB, and if you unzipped the CAB seems the DZ.
DZ files are tablets that can be flashed directly, and as always, you can unpack to extract the ROM in BIN format.
NECESSARY TOOLS
Unpack KDZ = LGExtract.exe by navossoc.
Unpack CAB = any decompressor, on Windows, eg. WinRAR.
Unpack DZ = DZDecrypt.exe DZ_Creator.exe by copsfrance
And of course a ROM format KDZ or DZ.
PROCEDURE
The first thing to do is to unpack the KDZ, so copy the file LGExtract.exe on the route where we have the ROM format KDZ and from the console (which previously must be located on the route of the ROM) type:
and you press Enter
NOTE
Where it saysV10X_xx.kdz must be the name of the ROM, for exampleV10A_00.kdz
When the process is complete will see a file with the same name as the ROM, but with the extension .cab, for example, V10A_00.cab
Unzip it and will the DZ and a DLL file
To unpack the DZ type this:
And you press Enter
NOTE
Where it saysLGE610AT-xx-VxxX-XX-XXX-xx-xx-20xx+x.dz should be the name of the DZ, for example:LGE610AT-00-V10b-EUR-XXX-MAY-23-2012+0.dz
We already have the ROM in BIN format, now you have to concatenate the files SYSTEM, so we use the console and...:
And you press Enter and you can delete the files system.img.ext4_0, system.img.ext4_1,..., system.img.ext4_6 (version DZDecrypt.exe v1.0c+ does this job automatically)
Now we'll have a list like this:
Files .ext4 are you can rename to .img and mount as one drive in Linux or WIndows with Winimage manipulate its contents
With this I believe that we have done, if something is missing or you have any questions to ask without fear.
Click to expand...
Click to collapse
Is there a way to get to the totc.cfg file and edit it?

Categories

Resources