Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Extracting files from KDZ

OP ballandbiscuit

4th January 2011, 02:04 PM   |  #1  
OP Member
Thanks Meter: 3
 
72 posts
Join Date:Joined: Jul 2007
HI,

I am trying to get an apk from a KDZ file. I can open up the KDZ but then there are many other files inside. I guess the apks are in one of these other files. Does anyone know how to get the apk from within .img files etc?

Thanks
4th January 2011, 02:21 PM   |  #2  
The_ERROR's Avatar
Senior Member
Flag Ostrava (mostly)
Thanks Meter: 355
 
587 posts
Join Date:Joined: Nov 2010
More
Quote:
Originally Posted by ballandbiscuit

HI,

I am trying to get an apk from a KDZ file. I can open up the KDZ but then there are many other files inside. I guess the apks are in one of these other files. Does anyone know how to get the apk from within .img files etc?

Thanks

How you extracted KDZ?
Last edited by The_ERROR; 4th January 2011 at 02:48 PM.
4th January 2011, 02:34 PM   |  #3  
Senior Member
Thanks Meter: 3,918
 
1,979 posts
Join Date:Joined: Nov 2010
Why don't you get it from the sapps module zip on void's rom?
4th January 2011, 02:42 PM   |  #4  
OP Member
Thanks Meter: 3
 
72 posts
Join Date:Joined: Jul 2007
I need a particular app from the Orange UK ROM - the app is called Signal Boost and it is for UMA calling.

Is that app in the ROM you mention?
4th January 2011, 03:44 PM   |  #5  
Member
Thanks Meter: 23
 
54 posts
Join Date:Joined: Oct 2010
What you need is this: http://forum.xda-developers.com/show...&postcount=827
It allows you to decompress system.mbn (where all the files are).
Compile it under linux, or use cygwin.

Remember that official ROMs are odexed. If you want to deodex apks, you can use dsixda's excelent kitchen. It is used to make lots of ROMs you see around here.
For that, take a look here (you can also use it under cygwin):
http://forum.xda-developers.com/showthread.php?t=633246

If you understand portuguese, or use a translator, check these:
http://www.androidpt.com/index.php?o...1547&Itemid=30
http://www.androidpt.com/index.php?o...7416&Itemid=30
Most info was gathered from xda forums, only translated and organized to portuguese folks.
Last edited by ruigui; 4th January 2011 at 03:48 PM.
The Following 2 Users Say Thank You to ruigui For This Useful Post: [ View ]
4th January 2011, 03:49 PM   |  #6  
OP Member
Thanks Meter: 3
 
72 posts
Join Date:Joined: Jul 2007
Many thanks, I will see if I can get anywhere with this.
4th January 2011, 04:16 PM   |  #7  
Member
Thanks Meter: 23
 
54 posts
Join Date:Joined: Oct 2010
You just need to compile unyaffsmbn (gcc unyaffsmbn.c -o unyaffsmbn).
Then copy system.mbn to unyaffsmbn folder. Then do:
./unyaffsmbn system.mbn
You'll have all files extracted in few seconds.

Then if you want to use those files in kitchen, do this:
First install kitchen, as explained in link i posted above.
Delete all symlinks in bin/ (i think there are 52)
Then you must create a zip file with this structure:
/boot.img
/system/ (here you put all the files you extracted. You should have 10 folders and 1 file)
Now just copy this zip to PATH_TO_KITCHEN/original_update/
Then run it with:
cd PATH_TO_KITCHEN
./menu
4th January 2011, 04:55 PM   |  #8  
OP Member
Thanks Meter: 3
 
72 posts
Join Date:Joined: Jul 2007
Right I have three system.mbn files named:

system.mbn_0
system.mbn_1
system.mbn_2

I have tried a few tools (under Windows) to extract them. Firstly a windows compiled version of unyaffs which falls over with : Exception: STATUS_ACCESS_VIOLATION at eip=61100F73

I then tried another version which didn't error but also didn't do anything!

A different tool errored with "the header states that its binary is longer than the whole file" which makes me think perhaps these three files need combining into one?

I have tried combining them into one file using the copy /b command in Windows which creates a single large file but I still have the same issues trying to unpack it.


Any more ideas? Thanks
Last edited by ballandbiscuit; 4th January 2011 at 05:13 PM. Reason: Updates
4th January 2011, 05:59 PM   |  #9  
OP Member
Thanks Meter: 3
 
72 posts
Join Date:Joined: Jul 2007
Right have now installed Cygwin and managed to extract the files using unyaffsmbn! Thanks for all your help, learnt a lot today!
4th January 2011, 09:03 PM   |  #10  
Member
Thanks Meter: 23
 
54 posts
Join Date:Joined: Oct 2010
Quote:

Right I have three system.mbn files named:

system.mbn_0
system.mbn_1
system.mbn_2

How did you decompress kdz? I use LG Utils to extract to dz, then dzdecryptor to decompress dz to individual files. Then i use the tools i named to do the rest of it.
Also i can see that lg utils finds those system*, but puts them together before it ends. Maybe you used different software.
Anyway, i'm glad you managed to work it out

Quote:

I have tried a few tools (under Windows) to extract them. Firstly a windows compiled version of unyaffs which falls over with : Exception: STATUS_ACCESS_VIOLATION at eip=61100F73

There is unyaffs, and unyaffsmbn. unyaffs also never worked with me.
I've read somewhere that with lg roms we must use unyaffsmbn. Don't remember were i saw it, neither why...
Last edited by ruigui; 4th January 2011 at 09:07 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes