[LG K10 Questions & Answers] BrianIbrahims:
Hi, I had LG K430DSY and rooted it, with TWRP and Xposed.

The device is corrupted appears when you unlock the bootloader and allow TWRP to modify system.

It must be there if you want root.

I followed this procedure https://xdaforums.com/lg-k10/how-to/friendly-root-method-lg-k8-k10-t3531223

You cant install TWRP permanently so you will need to port your TWRP.

https://xdaforums.com/lg-k10/development/mtk-portable-twrp-porter-t3536123

STEP 1 - Get your phone's KDZ firmware

1. method:

- reboot your phone into download mode (http://www.hardreset.info/devices/lg...download-mode/)

- start LG Bridge, go to software update and chose update error recovery (right bottom corner).

- from here follow kappu's guide to get your .kdz file: https://xdaforums.com/lg-...ridge-t3504497

- you can let lg bridge finish the flashing process, no data will be lost.

2. method:

- download firmware for your device:

k10: https://xdaforums.com/lg-...g-k10-t3457319

k8: https://xdaforums.com/lg-...mware-t3456467

- now you have your kdz however you better do the next step if you are not sure thats the exact firmware your device has

- use lg up (https://xdaforums.com/lg-...ng-lg-t3517839) to flash that firmware on your device (just to make sure you are really using that particular firmware)

- all data will be lost

Now you have your kdz, lets extract the recovery image:

- download lg firmware extractor: https://xdaforums.com/sho....php?t=2600575

- upack it somewhere and put the kdz file into that folder

- run "WindowsLGFirmwareExtract.exe"

- open your kdz file (first open button from above)

- tick the first entry under file name (the .dz file) and click on "Extract KDZ"

- you will get that .dz file extracted in your LGFirmwareExtract folder

- close LG Firmware extractor and open it again

- now open .dz file (second open button from above)

- find your stock recovery image under file name (usually it's "recovery_190464.bin"), tick that entry and click on "Extract DZ"

- your stock recovery image will be extracted in the LGFirmwareExtract folder.

Now you just copy this "recovery_190464.bin" (or whatever it's name is - just make sure it's a .bin file) into the "twrp_port" folder and run "twrp_port.bat"

YOU WILL NOW HAVE YOUR PORTED TWRP RECOVERY as yourTWRP.img

STEP 2 - UNLOCK YOUR BOOTLOADER

- in settings/about phone/software info tap on build number about 7 times unlock developer options

- in settings/developer options tick on "oem unlock" and "usb debugging" and untick "verify apps over usb"

- in settings/security tick on "unknown sources" and untick "verify apps"

- make sure you installed all the drivers for your mobile from lg's site

- set up adb/fasboot https://xdaforums.com/sho....php?t=2588979

- go to the folder it's installed (in my case it's C:/adb - adb.exe and fastboot.exe supposed to be there) hold shift and right click "open cmd here"

- in the command window type "adb devices"

it will start adb services and will print a line like "...lgk350... or ...lgk420... lgk430, etc"

if you can't find your device there check device manager or google how to work things out

normally in device manager, you should find "LGE Mobile USB Serial Port" under Ports

- now reboot to fastboot mode typing the command: "adb reboot bootloader"

your phone should go blank and only print fastboot mode on the bottom of the screen

- check your fastboot connection:

type: "fastboot devices"

- In case you have a working adb and fastboot connection type

"fastboot oem unlock" - the phone will ask you if you really mean it, using the volume and the on/off buttons (twice) you can accept

you will lose all your data!!! and most likely lose warranty as well!!!

however your phone shell restart just fine (you have to manually restart it by taking out the battery or boot into twrp and reboot from there.

There should be some message during boot up that your system is vulnerable from now on

.

- after reboot you may want to check if your bootloader is really unlocked:

get back to fastboot and type "fastboot getvar all"

and find the line which says if your bootloader is unlocked (if it's not you may repeat the process)

set up developer settings again:

- in settings/about phone/software info tap on build number about 10 times so you unlcok developer options

- in settings/developer options tick on "oem unlock" and "usb debugging" and untick "verify apps over usb"

- in settings/security tick on "unknown sources" and untick "verify apps"

STEP 3 - ROOTING

- put the recovery image that we ported earlier (e.g "yourTWRP.img") into your ADB folder (like c:\adb - where you opened command prompt earlier)

- Get back to fastboot again and boot to TWRP - type in cmd: "fastboot boot yourTWRP.img" (or whatever your TWRP image's filename is)

- on the first screen of the TWRP it's asking for password to decrypt data - just hit cancel

in case you have no device corrupt message during every boot up follow the next steps

- on the keep system read only? screen of the TWRP let it allow modifications (swipe!)

- reboot to System

you must see the device corrupt message during boot up -> you are ready to go for a root

the rooting part

- download the ramdisk compression exchanger: https://xdaforums.com/app...anger-t3533327 (we need this because SuperSU can only work with gzip compressed ramdisks while we have lz4 compressed ones)

- download latest SuperSU TWRP flashable version: https://xdaforums.com/app...lease-t3452703

- put this (rce_univ.zip) and latest SuperSU (i used v2.79) on your sd card (you need external sd because the internal sd is encrypted in TWRP)

- reboot your device into TWRP (through adb and fastboot as before)

- cancel decrypt data

- don't swipe on system modifying screen just click on "keep read only"

- go to backup, backup your boot image (tick only boot partition /untick the rest/ and select storage as micro sd card) in case anything goes wrong during the rest of the process you can always restore it

- go to install

- select storage and chose micro sd card

- install rce_univ.zip (it will recompress your ramdisk to gzip - so SuperSU can tweak it)

- when it's finished don't wipe or don't reboot! Go back (hit back button button) and install SuperSUxxx.zip

- go back again (without restart or wipe) and install rce.zip again (this will recompress your ramdisk to lz4)

- now you can reboot to system (without any wipe) - it will bootloop a few times, be patient!

If you have any problem with installing rce_univ.zip please post comments to it's thread:

https://xdaforums.com/app...anger-t3533327

Please follow those instructions if you want to Root.

---------- Post added at 09:19 AM ---------- Previous post was at 09:16 AM ----------

Use LG Up to unbrick your device.

That's what i used then i had LG K430DSY

Install LG UP, then download the firmware and flash it with LG UP.

Alternatively,

Install LG Bridge, then make sure your device is switched off,

Hold the volume up key then plug in the usb cable to the phone

It will enter download mode.

USB Bridge option to fix recovery error, It will flash new KDZ firmware and your device will be unbricked.