FORUMS

"Friendly" root method for lg k8 and k10 [MTK]

409 posts
Thanks Meter: 208
 
By gottlasz, Senior Member on 3rd January 2017, 03:10 PM
Post Reply Email Thread
This guide is supposed to help you root your lg k8 (2016) or k10 (2016) device (i guess any models with and unlockable bootloader and working TWRP).

Not for the 2017 models!

Why "friendly" root? Go see my old guide how unfriendly the method used to be:
https://forum.xda-developers.com/lg-...k350n-t3475807

Guys with latest (2017 febr. 1) security patch read this before you proceed:
https://forum.xda-developers.com/sho...&postcount=183
https://forum.xda-developers.com/sho...&postcount=250

Short version:
1. unlock bootloader (read step 2.1 if there is no device corrupt message during every boot up after unlocking bootloader!!!)
2. boot into TWRP (i tested with 3.0.0 twrp and above, never tested below)
3.1 install rce_univ.zip (download from this thread: https://forum.xda-developers.com/app...anger-t3533327, but follow instructions here!)
3.2 install supersu
3.3 install rce_univ.zip again
reboot


Long version:

The links written with italic fonts are video guides (please excuse me for the quality they were made by my mobile phone)

1. unlock bootloader
- 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"
video guide for above steps: Link Removed by Moderator
- make sure you installed all the drivers for your mobile from lg's site (LGMobileDriver_WHQL_Ver_4.1.1.exe and also lg bridge) - Link Removed by Moderator
- set up adb/fasboot using 15 seconds adb installer: https://forum.xda-developers.com/sho....php?t=2588979 - Link Removed by Moderator
- 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" - Link Removed by Moderator
- 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 - Link Removed by Moderator

- 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"
same as before (in my case it was writing some unrecognizable letters - probably wrong coding) if you see nothing then check device manager -Link Removed by Moderator
you may try to install android SDK (command line tool is enough - https://developer.android.com/studio/index.html - bottom of the page Link Removed by Moderator) if the connection is not working - however there must be a way to make it work (i had a hard time in device manager - i changed each driver a million times until it worked)
in device manager you should find "android bootloader interface" in my case its under "samsung android phone" i don't know why but it works
- In case you have a working adb and fastboot connection type (if you lost connection you have to get to fastboot again: "adb reboot bootloader"):
"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!!! Link Removed by Moderator
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 sais if your bootloader is unlocked (if it's not you may repeat the process)Link Removed by Moderator

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"
Link Removed by Moderator


- !!!if there is no device corrupt message during every boot up then you need an additional step i'll describe at step 2.1!!! - Link Removed by Moderator

2. find a working TWRP for your device (i collect them in the first comment below - https://forum.xda-developers.com/sho...&postcount=2):
- put the recovery image (e.g "k8twrp.img") into your ADB folder (like c:\adb - where you opened command promt earlier)
- Get back to fastboot again and boot to TWRP - type in cmd: "fastboot boot k8twrp.img" (or whatever your TWRP image's filename is)
- if its not booting into TWRP normally try another TWRP (comment #2)
- on the first screen of the TWRP it's asking for password to decrypt data - just hit cancel
- if you have the device corrupt message during every boot up you can skip the next step (go straight to step 3.)

2.1. 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
- Link Removed by Moderator
you must see the device corrupt message during boot up -> you are ready to go for a root
- try to reboot the device if the device corrupt message is still there during boot up (Link Removed by Moderator). If it's not there you may repeat the process or check my old guide for troubleshooting.

3. the rooting part -Link Removed by Moderator[/I]
(you can read my old guide why we need to tweak the boot image before installing SuperSU - if you are interested)
- download the ramdisk compression exchanger: https://forum.xda-developers.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://forum.xda-developers.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 something goes wrong check my old guide for deeper understanding and troubleshooting!

If you have any problem with installing rce_univ.zip please post comments to it's thread:
https://forum.xda-developers.com/app...anger-t3533327

Comments in this thread shell be only TWRP related or deeply device specific.

No promises... and no responsibility i take... !!!
The Following 24 Users Say Thank You to gottlasz For This Useful Post: [ View ] Gift gottlasz Ad-Free
3rd January 2017, 03:27 PM |#2  
OP Senior Member
Thanks Meter: 208
 
More
Supported TWRPs:

in case you want to go for sure or you can't find a working TWRP port it yourself easily using my guide: https://forum.xda-developers.com/lg-...orter-t3536123

or use the ones already ported:

Lg k10 k430: https://forum.xda-developers.com/lg-...g-k10-t3404434

Lg k10 k430dsy (firmware: 10k - 2017 feb security date): Link Removed by Moderator

(Lg k10 k420n/ds: https://forum.xda-developers.com/lg-...-ds-n-t3571943 - different root method required)

Lg K8: https://forum.xda-developers.com/lg-...0-mtk-t3517894

others take a look around here: https://forum.xda-developers.com/lg-k10/development

or use this guide: http://www.chinaphonearena.com/forum...T67xx-tutorial
The Following 6 Users Say Thank You to gottlasz For This Useful Post: [ View ] Gift gottlasz Ad-Free
3rd January 2017, 10:17 PM |#4  
Senior Member
Flag Plock
Thanks Meter: 12
 
More
Could it be this SuperSU?
https://download.chainfire.eu/696/supersu/
3rd January 2017, 10:57 PM |#5  
OP Senior Member
Thanks Meter: 208
 
More
Quote:
Originally Posted by a_lewicki

Could it be this SuperSU?
https://download.chainfire.eu/696/supersu/

Well... why would you use that old one? This might not even be systemless root so it would not work. Why dont you check the link i posted in the OP so you could find this one i recommend to use: https://s3-us-west-2.amazonaws.com/s...1612051815.zip
The Following User Says Thank You to gottlasz For This Useful Post: [ View ] Gift gottlasz Ad-Free
4th January 2017, 12:24 AM |#6  
Junior Member
Thanks Meter: 0
 
More
after flashing rce.zip i got an error " unpacking boot image failed! aborting..."
what should i do to fix that? i've tried reading throught your old guide but i'm a noob and i couldn't find anything i could understand.
help anybody???
4th January 2017, 07:04 AM |#7  
OP Senior Member
Thanks Meter: 208
 
More
Quote:
Originally Posted by pedrodgr

after flashing rce.zip i got an error " unpacking boot image failed! aborting..."
what should i do to fix that? i've tried reading throught your old guide but i'm a noob and i couldn't find anything i could understand.
help anybody???

Next time you try, please make a recovery log (In recovery advanced menu) and send it to me or upload it here!
Which model? Which TWRP?
Also upload or send me your boot image that you backed up!
I added one more line to the script to see where its found the boot partition so please download again before you proceed for a better troubleshooting experience!
The Following 2 Users Say Thank You to gottlasz For This Useful Post: [ View ] Gift gottlasz Ad-Free
4th January 2017, 11:41 AM |#8  
Senior Member
Flag Plock
Thanks Meter: 12
 
More
@gottlasz after everey install reboot system? (rce.zip then reboot supersu and reboot and rce.zip again and reboot?) or without rebooting?
4th January 2017, 12:14 PM |#9  
OP Senior Member
Thanks Meter: 208
 
More
Quote:
Originally Posted by a_lewicki

@gottlasz after everey install reboot system? (rce.zip then reboot supersu and reboot and rce.zip again and reboot?) or without rebooting?

No way! Do not reboot! Once you install rce.zip it changes the ramdisk compression so the phone can't boot up. Then the supersu tweaks the boot image (roots the phone) then you install rce.zip to change the ramdisk compression back to normal. Then you can reboot.
The Following 2 Users Say Thank You to gottlasz For This Useful Post: [ View ] Gift gottlasz Ad-Free
4th January 2017, 12:44 PM |#10  
Senior Member
Flag Plock
Thanks Meter: 12
 
More
@gottlasz thank you so much IT WORKS
4th January 2017, 12:54 PM |#11  
OP Senior Member
Thanks Meter: 208
 
More
Quote:
Originally Posted by a_lewicki

@gottlasz thank you so much IT WORKS

---------- Post added at 01:44 PM ---------- Previous post was at 01:42 PM ----------

@gottlasz thank you so much IT WORKS

I know it works...

Do you mind me asking which phone you have (k8/k10), which model and which TWRP you used?
The Following User Says Thank You to gottlasz For This Useful Post: [ View ] Gift gottlasz Ad-Free
Post Reply Subscribe to Thread

Tags
lg k10, lg k8, root, twrp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes