[TOOL] KDZ - Extract and Merge - LG Optimus L9 P760, P765, P768, P769

I was looking on the web for some kind of kdz file extraction and re-zip tool that could help with inserting the root file AND possibly the V20B bootloader unlock function for all of our L9 variants. Being a P769 user I would definitely gravity to using our phone first! But I found this link in android and it shows you how to extract a kdz via LG UPTESTEX MOD. Sound familiar, well it should because that's what we use to offline flash our phones. So it's saying that we can extract, modify then merge the files back INTO A KDZ for flashing. If this is true then we can manipulate the ROM! but I'm no devy so I can't so do. Here is the link for anyone curious about it:
Oh my apologies if I didn't put this in the right forum. I always wan to place things in the general forum so that I get maximum eyeage. But I placed it here for dev's to see.

Thanks for sharing! I hope the devs here can use this to their advantage! :thumbup:
Sent from my LG-P769 using XDA Premium 4 mobile app

LaDY Vengeance said:
Thanks for sharing! I hope the devs here can use this to their advantage! :thumbup:
Sent from my LG-P769 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Maybe we can load up cyanogenmod with the stock kernel a-la 2nd init with this method. THANKS

Well nice thought, but I think it wont work. I think so for a simple reason. We already tried that over at the p970 forum. I dont really remember of the dev who tried it, but it was either navossoc or xonar, if I remember correctly. He said something like, it s possible to extract the bin files, but he receives some nonsense code and doesnt know, how to interpret and put them back together. If you need the source, pm me please and I ll look it up
Sent from my LG-P760 using xda app-developers app

Related

Please help making a kernel

I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
> You can PM kernel experts.. like TA and DJnoXD.. they are both good persons and they could help you out.
I really appreciate your work. Few weeks back.. i was trying to convince every Forum Admins to get
Explorer and similar devices.. a forum or atleast a sub-forum.. and happy to see they accepted our request..
Being a Lagacy Device.. they gave Explorer and others a complete forum!!
rishabho1 said:
I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
if u have some prior coding experience then adding frequencies, adding governors should be a piece of cake...
if no,
then you better check the gb cm7 rom for optimus one..try to find out the commit where actual work was started by the cm team on the kernel..you will find out how they added frequencies, governors and everything...:good:
rr0yy said:
I really appreciate your work. Few weeks back.. i was trying to convince every Forum Admins to get
Explorer and similar devices.. a forum or atleast a sub-forum.. and happy to see they accepted our request..
Being a Lagacy Device.. they gave Explorer and others a complete forum!!
Click to expand...
Click to collapse
But, how is this related
Btw i also requested mikechannon to do so
Sent from my HTC EXPLORER using xda premium
williamcharles said:
if u have some prior coding experience then adding frequencies, adding governors should be a piece of cake...
if no,
then you better check the gb cm7 rom for optimus one..try to find out the commit where actual work was started by the cm team on the kernel..you will find out how they added frequencies, governors and everything...:good:
Click to expand...
Click to collapse
That's nice idea of comparing with optimus one kernel
I'll try it.
Thanks for the tip
Sent from my HTC EXPLORER using xda premium
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
rishabho1 said:
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
u may use mDroidd's studio android....
rishabho1 said:
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
Check out dsixda kitchen. Extremely easy to use
Sent from my LG-VM670 using Tapatalk
sellers86 said:
Check out dsixda kitchen. Extremely easy to use
Sent from my LG-VM670 using Tapatalk
Click to expand...
Click to collapse
It's for making stock based roms
Sent from my HTC Explorer A310e using xda premium
Dude.. as Neko said why dont you talk to DJ and TA.. if you really want to learn about kernel
scripting and compiling??
rishabho1 said:
I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
I would suggest you to try compiling the cm kernel for your phone whitout changes. (cm wiki)
After you succeed compiling the kernel, test if it is working.
Now you have a base you could start working on.
Next step could be to change something. (frequencies for the p500 have to be changed here: arch/arm/mach-msm/acpuclock.c)

[Q] Rooting a LG Optimus L7 v10j

I saw this topic (http://forum.xda-developers.com/showthread.php?t=1895472) and I installed the v10j firmware on my LG p705. Sucess. But i can´t root it, just because I only can see de img extracted form .kdz file on the folder when it got´s locked and start to be used to flash... Is there a way to create a kdz file with this modified system.img.ext4 ? What can I do to be more lucky to root this phone?
Thanks!
Hi,you can use the script by bn4dry.it can be found in the the thread by pkastaras for p700.i. forget which page.
Sent from my LG-P700 using xda app-developers app
Hey, I tried to do this. I ran the script, but I havent found Any superuser App after this...
Sincerely, I dont know if it works. I cant post on that topic because im too young (at least 10 posts). Ill try to do the tuto using a computer with windows 7, but I dont Know if it changes anything. Thanks!
Sent from my LG-P700 using xda app-developers app
WendelSchelhan said:
Hey, I tried to do this. I ran the script, but I havent found Any superuser App after this...
Sincerely, I dont know if it works. I cant post on that topic because im too young (at least 10 posts). Ill try to do the tuto using a computer with windows 7, but I dont Know if it changes anything. Thanks!
Sent from my LG-P700 using xda app-developers app
Click to expand...
Click to collapse
The computer should just have LG drivers installed.Run the script and select the 2nd option-special. Don't forget the two lines when the phone boots the 2nd time.Read the thread thoroughly ,this tool works,it worked for me with same version 10j.
Use this modified one
http://forum.xda-developers.com/showthread.php?p=34447542
Edit- it should have supersu try to use rootchecker or titanium back up find out
Sent from my LG-P700 using xda app-developers app
Hey,
I tried that old-school a lot of times and finally I could root it. When I saw "lg keyboard has stoped", I really knew that finally worked. The strange thing is that the system haven't came with a superuser app, so I installed "superuser".
Btw, thanks for helping. Around 0:30 (gmt -3) thr procedure got sucess, just few before your post. I thanked both your posts!
Sent from my LG-P700 using xda app-developers app
Hi,congratulations glad you achieved root. Hope there will be more than there is as the development progresses .
Sent from my LG-P700 using xda app-developers app
maguta said:
Hi,congratulations glad you achieved root. Hope there will be more than there is as the development progresses .
Sent from my LG-P700 using xda app-developers app
Click to expand...
Click to collapse
Looks like the devs are having trouble to unlock the bootloader, and thats why we dont have great roms like cyanogen for our phones. I hope that they can unlock it, not only for cm10, but overclocking tools too...
Sent from my LG-P700 using xda app-developers app
WendelSchelhan said:
Looks like the devs are having trouble to unlock the bootloader, and thats why we dont have great roms like cyanogen for our phones. I hope that they can unlock it, not only for cm10, but overclocking tools too...
Sent from my LG-P700 using xda app-developers app
Click to expand...
Click to collapse
Seems like its complicated, at times we appear too close then again too far,does it mean the fellows at LG managed to lock their device in a manner that no one can find out ?
maguta said:
Seems like its complicated, at times we appear too close then again too far,does it mean the fellows at LG managed to lock their device in a manner that no one can find out ?
Click to expand...
Click to collapse
Maybe because of L7 isn´t a "best seller" cell phone, we have less developers to this cell phone... If Optimus was like a Galaxy SII, surely would have been unlocked...
I´m just waiting to the Jelly Bean update. I was a little lucky that my model isn´t from Brazil (brazillian model is p705f, with a very old actual firmware, like v10c), so I can put p700 or p705 newest firmwares, but i´ts a bit boring that we can´t go ahead in that phone customizing..

How to make a flashable zip

After you made the rom, update, theme, ect. You select all of the stuff in the main folder then
(For Windows: right click and click send to them compressed zip file)
(for android with any root browser: select all of the stuff in the main folder and in the bottom you will see zip or something)
Sorry if you have linux or mac but I don't have those. :what:
Sent from my SPH-L900 using xda premium
S_sWaY said:
After you made the rom, update, theme, ect. You select all of the stuff in the main folder then
(For Windows: right click and click send to them compressed zip file)
(for android with any root browser: select all of the stuff in the main folder and in the bottom you will see zip or something)
Sorry if you have linux or mac but I don't have those. :what:
Sent from my SPH-L900 using xda premium
Click to expand...
Click to collapse
Is this a question, a guide, or a joke?
Sent from my Nexus 10 using xda app-developers app
alteredlikeness said:
Is this a question, a guide, or a joke?
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
My friend asked for this so I posted this guide but it is one you made the things you want to put in a flashable
Sent from my SPH-L900 using xda premium
S_sWaY said:
My friend asked for this so I posted this guide but it is one you made the things you want to put in a flashable
Sent from my SPH-L900 using xda premium
Click to expand...
Click to collapse
Well, you also need the proper folder structure (system/app/someapp.apk, for example), and a META-INF folder with a proper updater-script and update-binary.. And zip those folders together.. And possibly sign the zip (unless sig checks are disabled in your custom recovery). I bet there are other guides around...
And sorry about the joke comment - no offense meant. I later thought you might be posting it for someone else... but searches and/or PM's are great too..
Sent from my Nexus 10 using xda app-developers app
alteredlikeness said:
Well, you also need the proper folder structure (system/app/someapp.apk, for example), and a META-INF folder with a proper updater-script and update-binary.. And zip those folders together.. And possibly sign the zip (unless sig checks are disabled in your custom recovery). I bet there are other guides around...
And sorry about the joke comment - no offense meant. I later thought you might be posting it for someone else... but searches and/or PM's are great too..
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
Ok but this thread is for after you have the stuff
Sent from my SPH-L900 using xda premium
This link can get you started with writing the actual updater-script. There are several threads here with tools that also build the scripts and zips like you were asking.
If you just want to flash apps to system/app, you can use this (works smoothly )

lgemail.apk from ICS (v4.0.4)

I am having an issue with the e-mail application in JB (v4.1.2) and would like to try the ICS (v4.0.4) one to see if the problem exists there, too. I can't figure out how to get the .apk out of the ROM download. If someone that's running ICS would be willing to PM me a download link for "lgemail.apk", that would very much appreciated.
If you have the ice kdz, you can extract it yourself.
http://forum.xda-developers.com/showthread.php?t=2315727
[Guide] EXTRACT BIN TO PARTITIONS (IMG)
I'm not sure if it will work on jelly bean though.
Sent from my LGMS769 using xda app-developers app
kuma82 said:
If you have the ice kdz, you can extract it yourself.
http://forum.xda-developers.com/showthread.php?t=2315727
[Guide] EXTRACT BIN TO PARTITIONS (IMG)
I'm not sure if it will work on jelly bean though.
Sent from my LGMS769 using xda app-developers app
Click to expand...
Click to collapse
Wow, thanks. I never saw that thread. I was able to extract the lgemail.apk no problem. Now, I guess because it's a system app, I can't install it and overwrite the existing one. It starts to install and then just says that it was not installed. This is my wife's phone and it's not rooted. I'm gathering that there is no way to do it without rooting...?
Yeah sorry my friend, but you need root. Sometimes a simple swap with root will work (for replacing the app) but sometimes it won't (need to fix it first)
Sent from my LGMS769 using xda app-developers app

Need Help regarding updater script..

Hey can any body help me understand the updater script concept since i am trying to built a basic custom rom based on p765 v20c just for testing but getting different types of error while flashing...
Sent from my LG-P765 using XDA Premium 4 mobile app
love4u_nav said:
Hey can any body help me understand the updater script concept since i am trying to built a basic custom rom based on p765 v20c just for testing but getting different types of error while flashing...
Sent from my LG-P765 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
First of all you need notepad++ to enter the code.
There are a lot of links to update scripts in XDA though none in this forum. I found dozens and have links if you want them just PM me. They are very easy to make and pretty damn easy to flash as well. I found a updater script handler that I use to compile, sign, and zip the file. I don't have it here but when I get home I can send you the link for it. Now I'm not taking credit for it so I'm going to send you the links not the files for anything. I'm sure you will do just fine. Just make sure you do a backup before you flash anything so you can get your phone back to where you started and be patient and just take your time. Good Luck!

Categories

Resources