[GUIDE-VDO] How to make your own KitKat ROM with Root+TWRP from KDZ

Search This thread

buenarc

Senior Member
Mar 24, 2014
270
14
Hi all,

I'm from Thailand.

I try to make flashable file for 4.4.2 kitkat kdz file for LG G2 ,It can use for LG G2 all model if you have kdz file.
I am testing with kdz file from http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW545195432109876543213/D80220A_00.kdz
( A6SFBK )

I reccommend 7zip for unzip/zip file.

Step by Step Guide

Before doing follower by instruction please read warning in red line before

1. Goto
http://forum.xda-developers.com/showthread.php?t=2600575
Download WindowsLGFirmwareExtract-ver.1.2.1.0 new version

2. Unzip WindowsLGFirmwareExtract-ver.1.2.1.0.zip and open WindowsLGFirmwareExtract.exe

3. At kdz/tot file select open and select 4.4.2 kdz that matching your G2 model (select all files extract)
attachment.php


4. Select extract kdz and waiting for success

5. At dz files select open and select .dz from step (4) (select all files extract)
attachment.php


6. Select extract dz and waiting for success

7. Select merge system-bin and waiting for success

8. Download

You must select one from 2 template

- KKROM_template.zip
https://mega.co.nz/#!kcVxSLaB!BJ4hHTF_3H8HR6EJTuak2hjiK1g1JosdKDfhcQ9Kr8g
(Stock firmware all partition include when you flash can not use custom recovery)

- KKROM_template_new.zip
https://mega.co.nz/#!BN1EFYRY!RJDpGwN4r3Q7q7lJmQil5RH_1s1lQWLHGZt21vY-Ffw
(New customize for still has custom recovery)

9. Unzip KKROM_template_new.zip/KKROM_template.zip

10.

- KKROM_template_new.zip
Copy and rename file from WindowsLGFirmwareExtract-1.2.1.0-Release folder to KKROM_template_new folder

KKROM_template_new folder must have

attachment.php


- KKROM_template.zip
Copy and rename file from WindowsLGFirmwareExtract-1.2.1.0-Release folder to KKROM_template folder

KKROM_template folder must have

a1.png



11. Zip all file in KKROM_template_new/KKROM_template. Now you get KKROM_template_new.zip/KKROM_template.zip ready to flash

12. Download

- Supersu from http://download.chainfire.eu/382/SuperSU/UPDATE-SuperSU-v1.93.zip (For all template)

- Patched Kernels and KitKat BaseBand from http://forum.xda-developers.com/showthread.php?t=2680948 (For KKROM_template_new)

Thank @Cloudyfa for work Patched Kernels and KitKat BaseBand


13. You must on 4.2.2 root+custom recovery (TWRP 2.6.3.3 or 2.7 That I am testing) .

Copy KKROM_template_new.zip/KKROM_template.zip to sdcard
Copy Patched Kernels,KitKat BaseBand to sdcard (For KKROM_template_new)
Copy UPDATE-SuperSU-v1.93.zip to sdcard to sdcard (For all template)

14. Reboot to recovery

15. Wipe

- Dalvik Cache
- System
- Data
- Cache

16 . Install


Warning :
When flash KKROM_template_new.zip finish.Do not Change or Flash Recovery on KK or JB (in case use backup/restore from Recovery or use Custom ROM)
if do not flash kdz before.Your G2 may be can not boot.




For KKROM_template_new
- KKROM_template_new.zip
- KitKat BaseBand
- Patched Kernels
- UPDATE-SuperSU-v1.93.zip

For KKROM_template
- KKROM_template.zip
- UPDATE-SuperSU-v1.93.zip

17 . Wipe cache/dalvik

18. Reboot

19. Enjoy


Guide for KKROM_template



Thank
@AndroidUser00110001
@Cloudyfa
@shriom_manerker

Thank you for the detailed explanation. I will try this on my device!
 

wintermute000

Senior Member
Jul 13, 2010
1,607
171
Melbourne
I made my zip fine but it fails to flash - well it flashes immediately and says ok after half a second :) with the error msg 'unable to mount /system'.

Anyone seen this before? I'm using the stock zip not the custom one.

Tried in both philz and twrp
 

wintermute000

Senior Member
Jul 13, 2010
1,607
171
Melbourne
To OP: You NEED to fix the first post, in particular, the broken image for the instructions at step 10. for KKROM_template.zip.

From your wording it is very unclear what files to copy into the zip, in particular, you say

"Copy and rename file from WindowsLGFirmwareExtract-1.2.1.0-Release folder to KKROM_template folder"

Thats basically wrong as you need all the BIN files as well (note files PLURAL not file singular) , to make things worse, the screenshot is broken. But immediately above it the screenshot for KKROM_template_new.zip is there and you see a single system.img so you think 'well I just need to copy system.img over'.

I strongly strongly recommend you edit the instructions to say "copy and rename all the below bin files (list the bin files) and rename them to (list the renamed files)" PLUS add the screenshot below......

I appreciate your work putting it together but seriously the messed up instructions wasted an entire afternoon for me, if I didn't find below post i would be totally screwed. thanks in advance

Hi all,

step 10

After copy all need bin files from WindowsLGFirmwareExtract-1.2.1.0-Release to KKROM_template folder
you can download rename_droidth.zip and upzip it.copy rename_droidth.bat to KKROM_template folder and run rename_droidth.bat
It will be rename *.bin to correct name


attachment.php



attachment.php
 
  • Like
Reactions: montresor60

somboons

Senior Member
Apr 25, 2011
3,183
4,474
Bangkok
To OP: You NEED to fix the first post, in particular, the broken image for the instructions at step 10. for KKROM_template.zip.

From your wording it is very unclear what files to copy into the zip, in particular, you say

"Copy and rename file from WindowsLGFirmwareExtract-1.2.1.0-Release folder to KKROM_template folder"

Thats basically wrong as you need all the BIN files as well (note files PLURAL not file singular) , to make things worse, the screenshot is broken. But immediately above it the screenshot for KKROM_template_new.zip is there and you see a single system.img so you think 'well I just need to copy system.img over'.

I strongly strongly recommend you edit the instructions to say "copy and rename all the below bin files (list the bin files) and rename them to (list the renamed files)" PLUS add the screenshot below......

I appreciate your work putting it together but seriously the messed up instructions wasted an entire afternoon for me, if I didn't find below post i would be totally screwed. thanks in advance

Thank you.
 

punyategar

Senior Member
Mar 5, 2011
400
57
jatinangor
this is only for kitkat but i want to make for JB any help ?

Im going to highly assume its just the same steps. Only, you flash jb kernel & baseband.

Thanks somboons for the thread i just made my own d80220b with your steps. Apparently you dont need to downgrade to jb. Just go for it from any kind of recovery and custom rom .
 
Last edited:
  • Like
Reactions: somboons

lhoaq

Member
May 19, 2005
23
0
I followed your instructions to the letter. At the end of the process, I got many bin files, excepts the cust_xxxxx, created by WindowsLGFirmwareExtract-1.2.1.0. Is that normal?

My LG G2 D801 is rooted and customized with CloudyStock 2.2. The KDZ stock ROM used is V10C.
 
Last edited:

6ril1

Senior Member
Jan 23, 2010
510
864
Bordeaux
For the version keeping custom recovery, why not include modem.bin in the zip and add it in updater-script (package_extract_file("modem.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem"), instead of flashing baseband separately ?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 74
    Hi all,

    I'm from Thailand.

    I try to make flashable file for 4.4.2 kitkat kdz file for LG G2 ,It can use for LG G2 all model if you have kdz file.
    I am testing with kdz file from http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW545195432109876543213/D80220A_00.kdz
    ( A6SFBK )

    I reccommend 7zip for unzip/zip file.

    Step by Step Guide

    Before doing follower by instruction please read warning in red line before

    1. Goto
    http://forum.xda-developers.com/showthread.php?t=2600575
    Download WindowsLGFirmwareExtract-ver.1.2.1.0 new version

    2. Unzip WindowsLGFirmwareExtract-ver.1.2.1.0.zip and open WindowsLGFirmwareExtract.exe

    3. At kdz/tot file select open and select 4.4.2 kdz that matching your G2 model (select all files extract)
    attachment.php


    4. Select extract kdz and waiting for success

    5. At dz files select open and select .dz from step (4) (select all files extract)
    attachment.php


    6. Select extract dz and waiting for success

    7. Select merge system-bin and waiting for success

    8. Download

    You must select one from 2 template

    - KKROM_template.zip
    https://mega.co.nz/#!kcVxSLaB!BJ4hHTF_3H8HR6EJTuak2hjiK1g1JosdKDfhcQ9Kr8g
    (Stock firmware all partition include when you flash can not use custom recovery)

    - KKROM_template_new.zip
    https://mega.co.nz/#!BN1EFYRY!RJDpGwN4r3Q7q7lJmQil5RH_1s1lQWLHGZt21vY-Ffw
    (New customize for still has custom recovery)

    9. Unzip KKROM_template_new.zip/KKROM_template.zip

    10. Copy system.img and all bin file as list below from WindowsLGFirmwareExtract-1.2.1.0-Release folder to KKROM_template_new/KKROM_template folder and use bat file in rename_droidth.zip rename all bin file

    ren1.png



    ren2.png



    - KKROM_template_new.zip
    KKROM_template_new folder must have

    attachment.php


    - KKROM_template.zip
    KKROM_template folder must have

    attachment.php



    11. Zip all file in KKROM_template_new/KKROM_template. Now you get KKROM_template_new.zip/KKROM_template.zip ready to flash

    12. Download

    - Supersu from http://download.chainfire.eu/382/SuperSU/UPDATE-SuperSU-v1.93.zip (For all template)

    - Patched Kernels and KitKat BaseBand from http://forum.xda-developers.com/showthread.php?t=2680948 (For KKROM_template_new)

    Thank @Cloudyfa for work Patched Kernels and KitKat BaseBand


    13. You must on 4.2.2 root+custom recovery (TWRP 2.6.3.3 or 2.7 That I am testing) .

    Copy KKROM_template_new.zip/KKROM_template.zip to sdcard
    Copy Patched Kernels,KitKat BaseBand to sdcard (For KKROM_template_new)
    Copy UPDATE-SuperSU-v1.93.zip to sdcard to sdcard (For all template)

    14. Reboot to recovery

    15. Wipe

    - Dalvik Cache
    - System
    - Data
    - Cache

    16 . Install


    Warning :
    When flash KKROM_template_new.zip finish.Do not Change or Flash Recovery on KK or JB (in case use backup/restore from Recovery or use Custom ROM)
    if do not flash kdz before.Your G2 may be can not boot.




    For KKROM_template_new
    - KKROM_template_new.zip
    - KitKat BaseBand
    - Patched Kernels
    - UPDATE-SuperSU-v1.93.zip

    For KKROM_template
    - KKROM_template.zip
    - UPDATE-SuperSU-v1.93.zip

    17 . Wipe cache/dalvik

    18. Reboot

    19. Enjoy


    Guide for KKROM_template



    Thank
    @AndroidUser00110001
    @Cloudyfa
    @shriom_manerker
    7
    Both

    Sent from my Nexus 7 using Tapatalk
    5
    Do you still have a custom recovery after you class this?
    ์No.
    5
    great thanks to @somboons for this guide! :good:

    I follow it and I got my Hong Kong D802 upgraded to KitKat without losing any data or settings. ;)

    As others wrote, I made these steps:
    1) Clear Cache and Dalvik Cache in TWRP 2.7.0.0
    2) Flash prepared ROM by this guide - system.img and cust.bin (anybody from HK could take my file here)
    3) Flash modem file - extracted modem_xxxx.bin from this guide, renamed to modem.img and placed in ZIP update (download link here)
    4) Flash D802 kernel from this thread.
    5) Flash superuser to root it.

    Done. That's it. No factory reset as I'm going to higher version of Android and it will automatically upgrade by self.
    5
    hi..
    thanks, this is exactly what i need.

    one question though,
    what about "cust.bin"?
    someone said in other thread that it's needed to avoid bootloop.

    In this this:
    http://forum.xda-developers.com/showthread.php?t=2665985

    I got bootloop then I solve problem by add cust.bin in ROM.it's work for me.

    Sent from my Nexus 7 using Tapatalk
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone