yashsingh1/xdaforums huggingface dataset:
[G2 General] casual_kikoo:
Nice work dude! Arf, you was more faster than me... But well done ;)!

Edit:Only META-INF folder in archive?
[G2 General] ro_mesc:
Yes. Only this. Look at OP. Only updater-script changes from old template.
[G2 General] XDA-00:
Thanks.
[G2 General] orkius:
This procedure can also be used for LG E975.

I can turn E97520A_00.kdz in .zip and install TWRP recovery, following your procedure and entering the same files.

Thank you
[G2 General] abadasstanker69:
Is there anyone who could give me this template for a MM rom? I'm trying to get a workable zip for the Stylus2. It's not running KitKat so I'm not sure if the template in this tutorial is gonna work. Is there an updated version? Thanks!
[G2 General] AndroidInsanity:
I have been having touch issues when flashing a kitkat zip and root. Going to give this a try and report back :) Thanks
[G2 General] waleedshiekh:
Did everything in the tutorial. It's compressing. I just want to ask about one thing.

Is there any difference between

UPDATE-SuperSU-v1.93.zip

and

CWM-SuperSU-v0.98.zip

or I can flash any of them.

Thanks.
[G2 General] marfillaster:
Question about Thailand's kdz release? Is it similar with SEA version? I'm from ph and I checked ph and Thailand has the same gsm bands.
[G2 General] somboons:
sorry I am wrong.I post wrong link.It's should UPDATE-SuperSU-v1.93.zip

(http://download.chainfire.eu/382/SuperSU/UPDATE-SuperSU-v1.93.zip)
[G2 General] somboons:
I use other zone.KK is not release in thailand yet
[G2 General] ShyamSasi:
Tried this method ... but no root. I see SuperSU but seems like the binaries are missing.
[G2 General] farhanito:
Don't fix SU when recovery offers you to.. Happened to me once with twrp
[G2 General] AndroidInsanity:
I did everything you said but could not get it to boot past the boot logo. I probably messed up somewhere as it flashed it within 10 seconds. bummer :(

LG G2 16gb UK
[G2 General] somboons:
can you show file in .zip file . have cus.bin?
[G2 General] AndroidInsanity:
This is everything I had in the zip. Going to try again. I probably did something wrong.
[G2 General] somboons:
can you show updater-script?
[G2 General] AndroidInsanity:
I will show everything once I have tried again :) Just to make sure I am doing it right..

PS: Can you fix the link to your ROM please as I tried earlier but it says error.
[G2 General] somboons:
i'm upload to new host now but long time to success case my internet speed is very low.
[G2 General] farhanito:
Try not unzipping the template, just open it with winrar or 7zip, etc. And drag'ndrop needed files.
[G2 General] somboons:
I recommend 7zip for zip/unzip .
[G2 General] AndroidInsanity:
I drag and dropped every file into a new zip folder I never extracted them once it was done. I followed the instructions step by step for sure now.

the updater script is a few folders into the META INF folder (IF that makes sense ? ) as well as the binary.

So finger crossed it all goes well. Just going to flash back to stock quick root and recovery and then cross fingers.
[G2 General] somboons:
I will make sure you have correct updater-script .
[G2 General] ShyamSasi:
No didn't prompt for it.
[G2 General] AndroidInsanity:
thanks let us know ASAP so I can test buddy :)
[G2 General] meg0n00b:
u flashed over cwm or twrp?

I had the same problem throught CWM, but with twrp no problem
[G2 General] rubino25:
I'm not a luky man! Try to download your rom! Thanks!
[G2 General] AndroidInsanity:
This is just strange. I did everything 100% correct this time around and as soon as i even attempt to flash the ROM it says failed a second after.

I think I have just bad luck to be honest. Would be great if someone else tests this too?
[G2 General] waleedshiekh:
[MENTION=4440658]technostein[/MENTION] Please share the OP for recommended recovery? Thanks.
[G2 General] AndroidInsanity:
Was using TWRP same as OP
[G2 General] Zulake:
Followed all instructions carefully, however it does not work.

ROM flashed successfully, SuperSU flashed successfully, ROM booted successfully, but no root at all.
[G2 General] ShyamSasi:
I'm using TWRP. I'm trying something else.
[G2 General] waleedshiekh:
[MENTION=4008653]somboons[/MENTION] Million thanks for the tutorial. Followed the tutorial completely, used TWRP 2.6.3.3 --> OP TWRP 2.6.3.3

It worked. Now I finally have Rooted KK.

Screenshots attached.
[G2 General] AndroidInsanity:
Could you by any chance upload it so we an use it :)?

---------- Post added at 09:24 AM ---------- Previous post was at 09:17 AM ----------

ah, I have being using the newer TWRP from wootever, ill try it with 2.6.3.3
[G2 General] Zulake:
Failed with both CWM and TWRP now. The ROM flashes perfect and boots aswell, but there simply is not a single trace of root anywhere.
[G2 General] waleedshiekh:
I have just 4/1 mbps link. I have converted the zip into parts of 100mb(using 7zip) and uploading it. After upload can you download all the parts extract the .7z and upload the zip to drive, mega or some other host?
[G2 General] AndroidInsanity:
I have issues with my line connection drops randomly at least twice a day :/ sorry,

Could anyone else do this people?

---------- Post added at 09:40 AM ---------- Previous post was at 09:36 AM ----------

I am just going to sit back and be quiet now and just learn from you all lol.

When i flash it gives a error with META INF in TWRP. :(
[G2 General] Arak0n:
Strange. Built my own ROM fine, no issues, but no root. I definitely did install supersu from recovery before rebooting, and it installed fine.
[G2 General] AndroidInsanity:
Someone correct me if I am wrong.

we put the KDZ in the box where it's needed, we extract it.

Then we get the DZ file, and extract, then we merge system bin.

once its done, we go to the output folder. we delete all the ones that have the word "system" in it (apart from the image one)

we get rid of the numbers in the names.

then we created a zip file, and put all the files into it, including the a unzipped META INF folder.

Then we go into TWRP, wipe everything, then flash....

Is this the Correct procedure?
[G2 General] HighlanderZA:
I wouldn't delete anything just move all required stuff to a new folder, then rename the ones you need to rename.

So you have the system.img plus all the xxx.bin files in the same folder.

OPEN the template with 7Zip, DO NOT EXTRACT IT.

drag all the files into the 7Zip , once complete - try flashing that.
[G2 General] AndroidInsanity:
Ahh okay, so use the template zip as the zip folder for flashing?
[G2 General] shriom_manerker:
+1 ! i did the exact same thing and even i booted just fine on my indian d802 32 gig with vodafone 32 gig kdz file .
[G2 General] HighlanderZA:
Keep a backup copy of it somewhere for safety.

Make sure you have the latest one with the updated updater script which includes the cust.bin instructions.

You can always rename the template file once you have closed it.
[G2 General] Arak0n:
Hmm.. has root worked for everyone using TWRP and not CWM? I use philz recovery (which is directly based on CWM) and I get no root.
[G2 General] somboons:
Step when flash with Recovery

1. copy KK_Template.zip and UPDATE-SuperSU-v1.93.zip to sdcard

2. reboot to recovery (i use twrp 2.6.3.3)

3. wipe

- Dalvik Cache

- System

- Data

- Cache

4. install KK_Template.zip

5. after install completely I select wipe data from menu after install compelte

6. install supersu

7. reboot

8.enjoy
[G2 General] alienware231788:
thanks thats helpfull
[G2 General] AndroidInsanity:
Still not any luck with me. now it flashes and immediatley says successful. and does not boot. I am not missing anything out and following your instructions step by step. I am obviously just really unlucky lol.

Would flashing an alternative 4.2 KDZ make any difference? before i flash this? Cause I use a D80210B UK open currently.

Thanks for your work anyway :D
[G2 General] :
FWIW, 80210B is JB.

EDIT : nvm, misread, and no, i don't think it would since you're flashing an entire system. Maybe you forgot a file in your archive.
[G2 General] ake4you:
Successfully, 4 wipe flash KK Rom, wipe data, flash SU reboot.. root success.sorry I bad to speak English

Thank Khun Somboon very much

คนไทยไม่ธรรมดาครับ
[G2 General] Life Engineer:
Hey! If I understood well, OP says in first page that you will loose custom recovery when flashing rom according to this guide but I can read many say that they tried with both TWRP and CWM, how is that? Can you reinstall a custom recovery once you have stock recovery on KK?
[G2 General] Arak0n:
No. Custom recovery will not work with KK unless someone writes one specifically for the new bootloader.

On a side note, even with TWRP I was unable to get root.
[G2 General] Andrija231:
Why is my system.img 0 in size ?? When I select merge system-bin it asks "Start merging KDZ partition part ? " , and finishes immediately ??
[G2 General] somboons:
Are you extract dz file?
[G2 General] iBiZaTricK:
bro

Thanks Bro
[G2 General] MaXmeOliver:
I don't know what I'm doing wrong.

After merging system-bin, all I have is a large system.img file. At the 2:nd picture after step 10 you have a bunch of other files (aboot.bin, boot.bin, cust.bin and so on), and I don't have any of those. Just the system.img.
[G2 General] Arak0n:
Those files are in the original extraction folder and have the same names, but with a bunch of numbers added.
[G2 General] MaXmeOliver:
So what do I do? Rename them and remove the numbers?
[G2 General] Arak0n:
Exactly.
[G2 General] MaXmeOliver:
Thanks!

Also, I read something about have to download a cust.bin from somewhere else and using that to avoid a bootloop. Do I have to do that, and if so, where do I find the file? I have a cust.bin file, but do I need some other version or something like that?
[G2 General] somboons:
ัyou can find in WindowsLGFirmwareExtract-1.2.1.0-Release Folder
[G2 General] MaXmeOliver:
Oh, so I just have to include that in my ROM folder. Thanks.

---------- Post added at 03:11 PM ---------- Previous post was at 02:19 PM ----------

Okay, so I'm doing something wrong. I get:

E:Can't open /data/media/0/CustomROM/KK_minegen2.zip
(bad)
Installation aborted.

This is the content of my zip file. Made the zip file uncompressed. Using latest PhilZ recovery.
[G2 General] Arak0n:
I used normal compression and it worked fine.

Did you copy the meta-inf folder from the kkrom_template in there with all the subfolders?
[G2 General] waleedshiekh:
Please use TWRP 2.6.3.3 for this.
[G2 General] somboons:
I recommend use 7zip for make zipfile or unzip .
[G2 General] MaXmeOliver:
Okay, I guess I'll try that then. My folder structure looks like this:

META-INF\com\google\android

And in there I have update-binary and updater-script without file extensions.

Updater-script:

show_progress(1.0, 5);

ui_print(" ");

ui_print(" ");

ui_print("Installing KitKat 4.4.2 ROM ");

ui_print(" ");

ui_print(" ");

delete_recursive("/system");

package_extract_file("system.img", "/dev/block/platform/msm_sdcc.1/by-name/system");

package_extract_file("modem.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem");

package_extract_file("boot.bin", "/dev/block/platform/msm_sdcc.1/by-name/boot");

package_extract_file("aboot.bin", "/dev/block/platform/msm_sdcc.1/by-name/aboot");

package_extract_file("dbi.bin", "/dev/block/platform/msm_sdcc.1/by-name/dbi");

package_extract_file("laf.bin", "/dev/block/platform/msm_sdcc.1/by-name/laf");

package_extract_file("persist.bin", "/dev/block/platform/msm_sdcc.1/by-name/persist");

package_extract_file("rpm.bin", "/dev/block/platform/msm_sdcc.1/by-name/rpm");

package_extract_file("sbl1.bin", "/dev/block/platform/msm_sdcc.1/by-name/sbl1");

package_extract_file("cust.bin", "/dev/block/platform/msm_sdcc.1/by-name/cust");

package_extract_file("tz.bin", "/dev/block/platform/msm_sdcc.1/by-name/tz");

package_extract_file("recovery.bin", "/dev/block/platform/msm_sdcc.1/by-name/recovery");

ui_print(" ");

ui_print("http://www.facebook.com/droidth ");

ui_print(" ");

unmount("/system");

ui_print("Done Enjoy!");

ui_print("Reboot and enjoy");

I'll try that aswell. Thanks!
[G2 General] Andrija231:
No ROOT for me, but anyway, thank you for the tut :).
[G2 General] somboons:
please step by step and do follow by recommend I think you can root.
[G2 General] Andrija231:
I did everything. Created flashable zip, then from twrp I do wipe of system,data,dalvik,cache, then flash the ROM I created, then I did wipe of data, flashed super su and rebooted. ROM boots UP just fine, but no ROOT, not even super su app in the ROM. I tried downloading super su, but when I open it said no super su binaries or something like that.
[G2 General] somboons:
what is a link that you download super su ?
[G2 General] Andrija231:
UPDATE-SuperSU-v1.93.zip , from the link you provided.
[G2 General] somboons:
which version of TWRP ?
[G2 General] Andrija231:
openrecovery-twrp-2.6.3.3-g2d802
[G2 General] Arak0n:
I figured out how to get root if it doesn't work for you (I use philz recovery):

Get the aroma filemanager. Put the zip anywhere on your phone.

Install ROM, install SuperSU. Run aroma ("install zip") and check /system/xbin if "su" is there.

If not, chances are /system didn't mount right. Exit aroma.

In the "mount" options, mount /system.

Flash SuperSU again.

Mount /system once more and check in aroma. If SU is now there, you're good to go. Morked for me.
[G2 General] Andrija231:
I noticed in twrp, that system partition was not mounted successfully :). Could you please provide links for those files ?
[G2 General] MaXmeOliver:
Yay, finally got it working. Compressing using normal compression and using TWRP did the trick. Thanks for bearing with me!
[G2 General] Qverse:
So do you have root ?? :confused:
[G2 General] Arak0n:
Have a look here: http://xdaforums.com/showthread.php?t=1646108
[G2 General] MaXmeOliver:
Yup, I have root. Restoring apps with Titanium Backup right now.
[G2 General] Andrija231:
Thank you a million times + one milion more. I finally got ROOT. Thanks for this ROM tut also once again.
[G2 General] MaXmeOliver:
Okay, this is the one I made. Used the German Vodafone 32GB version for D802 as base.

Wipe data, cache, system and dalvik cache. Flash with TWRP 2.6.3.3 (make sure you have TWRP). After flashing, wipe data once again. Then flash the SuperSU zip, and reboot. Enjoy!

https://drive.google.com/file/d/0B8OapVHZ0_BsZ19CVWdtRnFOSlE/edit?usp=sharing
[G2 General] manuelmagix:
ummmm.

copycat?

where credit, for my brother jonabustos???

http://www.htcmania.com/showthread.php?t=789380

Enviado desde mi LG-D802 mediante Tapatalk[COLOR="Silver"
[G2 General] eitama:
Flashed this over Hongkong version of D802 32GB which was rooted and with TWRP 2.6.3.3, PERFECT.

First boot, I had kitkat and root all working.

Thank you!
[G2 General] Arak0n:
Uhm.. you yell copycat for someone explaining how to use a program? For an entirely different phone to boot?
[G2 General] AndroidInsanity:
Would it work on 16GB?
[G2 General] MaXmeOliver:
I really don't know. I wouldn't risk it. Get a 16GB KDZ and do this yourself, we'll try to help you as much as possible :)
[G2 General] AndroidInsanity:
If you used the kz in OP its for both 16 and 32 i think. Ill give it a try anyway in half hour
[G2 General] manuelmagix:
Edit...

sure???

Enviado desde mi LG-D802 mediante Tapatalk
[G2 General] MaXmeOliver:
I got mine from here. Downloaded "65 VD2/VODAFONE(GERMANY)" under Germany.
[G2 General] Arak0n:
Now the only thing I am missing is the boot animation. Any way to get rid of the vodafone one? Replacing bootanimation.zip in /system/media does not work.
[G2 General] Hid3rs:
Have you checked the one in /cust/poweron folder?
[G2 General] Arak0n:
Well damn. Looked around all kinds of folders, but never that. I'll try it, thanks.

Edit: That worked. Thanks.
[G2 General] Life Engineer:
Guys 2 questions:

Does xposed work?

Can we reinstall in the future a working custom recovery (when there will be) over this like we did in 4.2.2 days?
[G2 General] MaXmeOliver:
No, Xposed doesn't work.

I don't really understand your question. Could you please rephrase? :angel:
[G2 General] felipondrioxcl:
I've flashed kitkat 4.4.2 on LG G2 Latam D805, change the modem during flash, all works greats except gestures, doesn't appear at configuration menu,autobrightness an rotation also doesn't work, someone with the same problem?
[G2 General] somboons:
Update VDO tut.
[G2 General] NestDrum:
Successfully!! thanks for tips
[G2 General] fuxmen:
Someone Can confirm flash Germany 16gb vodafone to International 802 16gb?
[G2 General] GizmoKaca:
+1
[G2 General] tomcruisader:
I did exactly as you said and it works smoothly on my D802 32go from Hong Kong. Thank you very much !:good:
[G2 General] termpong2529:
Confirm 32 GB Form Thailand ,Thank You Very Much ^_^
[G2 General] fuxmen:
Confirm 16gb 802 Europe Open :) thanks!!!!!! flashed zip made from Germany Vodafone 16gb version
[G2 General] Galaxy Latino:
Help

Ok. wrong download
[G2 General] pbnmch:
:D I've seen you again , on this website , your facebook fan page (Droidth LG G2 Support Thai Page) and thai droidsans's webboard.

ืall of your suggestion made more knowledgeable especially for Thai people who start using android.

:good::good::good::good:
[G2 General] kennytung:
Confirm D802 International 32GB version from Vietnam works perfectly! Just use OP's files.
[G2 General] arumbinang:
I flashed vodafone 32 ... root working... then i messed up my build.prop without any backup?... can someone here upload it for me... please...
[G2 General] somboons:
You can extract system.IMG and get build.prop with yourself
[G2 General] somboons:
Use this. : https://www.dropbox.com/s/r27dkggm1dzf9wr/ext2explore.exe

Or

http://sourceforge.net/projects/ext2read/
[G2 General] arumbinang:
Yes.. i know... thanks for reply... but im away from my desktop... ?
[G2 General] Fauert:
Hi , can i flash this of yours :: KKD802_20A_droidth.zip + UPDATE-SuperSU-v1.93.zip , good to go ?
[G2 General] somboons:
it's for d802.you can.
[G2 General] aaronkuek:
D802 SEA 32gb set from Singapore..LTE or 4G not working

Other than tat everything working fine as follow op post
[G2 General] jojoku:
D80210e SEA 32 GB Indonesian Version works with good..thank to OP.
[G2 General] darz23:
i just want to confirm.. on step number 17, it is written that we should wipe DATA? DATA? or CACHE/DALVIC? the youtube video shows that he WIPED the CACHE/DALVIC after installing the zip, not the Data.. then fllash supersu
[G2 General] somboons:
cache/dalvik
[G2 General] Fauert:
[MENTION=5375959]darz23[/MENTION] , NO need too quote all OP , ..... ;)
[G2 General] metalboy94:
Thanks, great tutorial, worked for me using SFR KDZ as base.
[G2 General] somboons:
You can use with jb too.
[G2 General] smaj:
root checker show that kitkat is rooted but many app doesn't work like xposed framework , camera mod (lgcameraapp doesn't rename) , root explorer force closed and so on
[G2 General] fuxmen:
Xposed need to be updated, mounted system r/w with es explorer and instal camera mod without problems...
[G2 General] smaj:
thanks fuxmen

xposed updated to 2.4.1 but doesn't active . did u active it on kitkat ?
[G2 General] Fauert:
Don`t work yet, It will work with 2.5 , in near future ...:good:
[G2 General] somboons:
Waiting Xposed 2.5
[G2 General] darz23:
[MENTION=4008653]somboons[/MENTION].. i have a D802 10e, i flashed the kitkat rom using the same files you used,same kdz. but i dont have an LTE(auto)in my network settings. can you tell me how to solve this? I already hard reset my phone,but still the LTE option is missing.
[G2 General] somboons:
It does not has LTE auto,You can edit build.prop for LTE auto.but if you reboot phone .You must select LTE manual.
[G2 General] cool10156:
sorry for the noob question .. what part of the build prop am i going to edit to enable the lte ?? that is the thing that is missing other than that i think its perfect
[G2 General] somboons:
Find

# ro.telephony.default_network=9

- remove #

- edit value 9 to 11

ro.telephony.default_network=11
[G2 General] felipondrioxcl:
Change from 9 to 11 like this

ro.telephony.default_network=11
[G2 General] somboons:
Yes then reboot.
[G2 General] arumbinang:
I change values for

telephony.lteOnCdmaDevices=0 > 1

ro.telephony.default_network=9 > 11

And make it sticky with this line

ro.ril.def.preferred.network=11

But i need long lasting battery.

So i change and add another line
[G2 General] darz23:
I tried to edit build.prop, I used solid explorer, change the permission of the /system folder to drw-r--r--.. after saving the permission, i got force close. I soft reset my phone. no luck, i tried to hard reset then after the LG Logo,it took me to STOCK Recovery. I wiped data, cache but still, when i reboot my phone, it always took me to stock recovery.

my questions are..

1. can I choose "update from adb" option in stock recovery and install the kitkat rom I made? or i must return to JB then root, then install custom recovery and flash it again?

2. i will fix my phone later, what's the best file manager to change permission and to have access to root folder for me to change build.prop?

[MENTION=4008653]somboons[/MENTION]
[G2 General] somboons:
telephony.lteOnCdmaDevices=1

ro.telephony.default_network=11

ro.ril.def.preferred.network=11

It will permanent select auto LTE , right ?
[G2 General] somboons:
1. You must return to JB then root, then install custom recovery and flash it again.

2. I use Root Explorer .
[G2 General] somboons:
which line that you add ?
[G2 General] darz23:
how to change permission rw-r--r-- using root explorer?
[G2 General] cool10156:
one more question .. qvoice or voice mate is not listed on the shortcut once you swipe the navigation bar up .. its only google and quickmemo ?
[G2 General] mamuiz:
Proven workable like chewing KitKat

The guideline is crispy and easy to digest and the result is a lot crispier than kitkat:cool:

Ready to rock to remove bloatware

Thanks and appreciate for this work:good:
[G2 General] somboons:
My g2 slept at lg service center . Im not sure and don't remember how to setting in root explorer.
[G2 General] felipondrioxcl:
In ES file Explorer you have to select the file and select properties and change it.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 General] somboons:
Oh I forget I have nexus 7 too. In root explorer select file and choose permission for setting permission as picture.
[G2 General] ceyo14:
Can this be used and modified so i can use it on ls980 with tmobile
[G2 General] somboons:
I think it's work for all model but I m not garranty :).
[G2 General] ceyo14:
What would i need to change? In order to get it to boot on my ls980
[G2 General] arumbinang:
Select a file or folder or all of it... open menu (bottom right) choose permission.. its that simple...
[G2 General] NicOsol:
I did this and it worked, the problem is now that my phone now says that i dont have a simcard inside it but i have what to do?
[G2 General] darz23:
i tried to flash a rom using adb in my stock recovery..LOL.. and I end up in SECURITY ERROR. just to try the effect :)

but now my G2's alive, I flashed KDZ using Flashtool :)
[G2 General] somboons:
Can you try factory reset ?
[G2 General] somboons:
can you show *.bin after extract .dz firmware? I think your model can use my tut.
[G2 General] daddioj:
awesome! used the system from international and all the rest of the files from at&t worked like a charm. app update center works as well
[G2 General] shriom_manerker:
[MENTION=4008653]somboons[/MENTION] congratulations ! ur now on xda portal :) cheers

http://www.xda-developers.com/andro...e-from-android-4-4-2-kdz-file-for-your-lg-g2/
[G2 General] somboons:
Thank you. :)
[G2 General] keypox:
Anyone get this to work with verizon? Why doesn't someone just create each carriers and post them?
[G2 General] buski:
can someone make a rom for rogers d603 with this pls
[G2 General] keypox:
nevermind
[G2 General] somboons:
excuse me what is d603? maybe I will help you
[G2 General] ipandroid:
He meant Rogers D803...........:p

As in Canada..........
[G2 General] Rchard:
Did anyone lost root after flashing? I flashed everything, but now root is not working. I guess to gain root, I have to roll back to 4.2.2 via LG tool? Otherwise rom is very fast.