OS Android v6.0 (Marshmallow)
Chipset Mediatek MT6735
CPU Quad-core 1.3 GHz Cortex-A53
GPU Mali-T720
1.5GB of RAM
8GB ROM
Rooting the k8 is rather difficult since it's using "lz4" compression for the partition images not the usual "gzip" method.
Systemless supersu is still unable to patch lz4 boot images so we need to have a little trick. Not to mention porting a working TWRP is also a pian in the aß...
Steps:
1. Download all necessary stuff
2. Prepare your ADB
3. Unlock your bootloader (all your data will be lost!!!)
4. Boot to TWRP (you have to stay in TWRP during the whole process!!!)
5. Backup your boot.img
6. Tweak your boot.img with Carliv Image Kitchen
7. Flash the tweaked boot.img in TWRP
8. Install SuperSU
9. Backup boot.img again
10. Tweak boot.img in Carliv
11. Flash boot.img in TWRP
12. Restart (this will take a bit longer and also expect bootloop a few times)
1.
LG mobile driver v4.1.1. (find attached - "LGMobileDriver_WHQL_Ver_4.1.1.exe", or find it on lg's website)
15 sec. ADB installer: you may need to install android SDK: (only command line tool - bottom of the page)
Carliv image kitchen: (i used version 1.1 but i guess later ones works as well)
Latest SuperSu: (i used v2.78SR1)
TWRP (find attached - lgk8twrp.img)
Files for tweaking boot image (find attached - "gz_ramdisk_compress.zip" and "lz4_ramdisk_compress.zip")
2.
On your phone go to "settings" - "about phone" - tap "build number" 5-10 times so you enable developer options, in developer options enable "usb debugging" and "oem unlock"
Install LG mobile driver
Install 15 sec. ADB intaller 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..."
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:
"adb reboot bootloader"
your phone should go blank and only print fastboot mode on the bottom of the screen
check your fastboot connection:
"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
you may try to install android SDK 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
3.
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!!!
however your phone shell restart just fine (there will be some message during boot up that your system is vulnerable from now on)
4.
Copy "lgk8twrp.img" to the folder of ADB (where you opened the cmd window)
You need a microSD in your phone!!!
Get back to fastboot again and boot to TWRP - type in cmd:
"fastboot boot lgk8twrp.img"
you can ignore the first message to decprypt data - just hit cancel
and also you can keep system read only on the next page
(well..., thats the way i did this)
5.
Mount sd card
Go to Backup and choose boot partition only (untick the others)
There will be a backup on your sd card in the TWRP and some date related folder, called "boot.emmc.win"
You can eather restart to system in TWRP and keep sd card in the phone or unmount!!! the sd card stay in TWRP and Use a MicroSD card reader on your PC
6.
Unzip Carliv Image Kitchen and paste your backup file ("boot.emmc.win") to "boot-resources" folder in Carliv
Rename "boot.emmc.win" to "boot_lz4_0.img" (watch out for the extension)
Start Carliv.bat type "B" and hit enter
Find the above file (bootlz4_0.img) and type its number (probably its "1") and hit enter
Now chose "unpack image" ("1") - the image will be unpacked in folder "bootlz4_0"
- do not close Carliv!
Change the "boot.img-ramdisk-compress" in the above folder to the file found in "gz_ramdisk_compress.zip"
Now in Carliv chose "repack image" ("2") - this will make your boot image SuperSu compatible
You will find your new boot image in the "output" folder, there will be some date related ending of the file just rename the whole file to "bootgz_0.img"
Put this file and "SuperSu.vxx.zip"!!! on the sd card
7.
In TWRP go to "install" and chose "image" - find the "bootgz_0.img" and install it to the "boot" partition
From now on you must not leave TWRP!!!
From now on you must not leave TWRP!!!
From now on you must not leave TWRP!!!
You can easily make a brick of your beloved LG... since its not gonna boot up normally until we finish
8.
Install SuperSU (you have to change back from installing image to zip) - do not restart or bootup
in case anything goes wrong you can still restore your boot image from earlier backup
but if supersu installs succesfully then go on your almost ready ;)
9.
Back up boot image again, go back (use back button) to initial TWRP page and unmount externalSD inside Mount
do not leave TWRP!!! take the sd card out (if you forgot the cable in the phone and you didn't remove the back panel you can do that now - no worries)
10.
Just as before copy and rename the new boot image into carlivs boot-resources folder (let it be "bootgz_1.img")
unpack this boot image exchange the "boot.img-ramdisk-compress" to the one found in "lz4_ramdisk_compress.zip" - watch out this is another zip not the one in step 6!
Repack and rename to "bootlz4_1.img" - now your boot image is lz4 compressed again so your phone can use it
Put this image file on your sd and put the sd back to your phone
11.
Mount ext.SD in TWRP go to install change, to image and find your new boot image ("bootlz4_1.img") on your sd and let it go onto your boot partition
12.
Restart to system... be patient... might take a while...
In case you find supersu in your appdrower you are good to go
Your data will stay untouched with this process (still encrypted) so if you want your data decprypted you have to clear data and cache before installing supersu
The TWRP is pretty much mixed from others and not fully functional!
No promises... and no responsibility i take... !!!
Credits:
Cleopatra for her TWRP porting ideas ( )
Chainfire from XDA for SuperSU
The attached file (which is too big to upload here):
I've been working on this daybyday hoursandhours for more than a month... so if it works and you feel like donating i'd appreciate some tax for my service ;)
Keywords:
TWRP Lg K8 K350n root supersu
Chipset Mediatek MT6735
CPU Quad-core 1.3 GHz Cortex-A53
GPU Mali-T720
1.5GB of RAM
8GB ROM
Rooting the k8 is rather difficult since it's using "lz4" compression for the partition images not the usual "gzip" method.
Systemless supersu is still unable to patch lz4 boot images so we need to have a little trick. Not to mention porting a working TWRP is also a pian in the aß...
Steps:
1. Download all necessary stuff
2. Prepare your ADB
3. Unlock your bootloader (all your data will be lost!!!)
4. Boot to TWRP (you have to stay in TWRP during the whole process!!!)
5. Backup your boot.img
6. Tweak your boot.img with Carliv Image Kitchen
7. Flash the tweaked boot.img in TWRP
8. Install SuperSU
9. Backup boot.img again
10. Tweak boot.img in Carliv
11. Flash boot.img in TWRP
12. Restart (this will take a bit longer and also expect bootloop a few times)
1.
LG mobile driver v4.1.1. (find attached - "LGMobileDriver_WHQL_Ver_4.1.1.exe", or find it on lg's website)
15 sec. ADB installer: you may need to install android SDK: (only command line tool - bottom of the page)
Carliv image kitchen: (i used version 1.1 but i guess later ones works as well)
Latest SuperSu: (i used v2.78SR1)
TWRP (find attached - lgk8twrp.img)
Files for tweaking boot image (find attached - "gz_ramdisk_compress.zip" and "lz4_ramdisk_compress.zip")
2.
On your phone go to "settings" - "about phone" - tap "build number" 5-10 times so you enable developer options, in developer options enable "usb debugging" and "oem unlock"
Install LG mobile driver
Install 15 sec. ADB intaller 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..."
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:
"adb reboot bootloader"
your phone should go blank and only print fastboot mode on the bottom of the screen
check your fastboot connection:
"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
you may try to install android SDK 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
3.
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!!!
however your phone shell restart just fine (there will be some message during boot up that your system is vulnerable from now on)
4.
Copy "lgk8twrp.img" to the folder of ADB (where you opened the cmd window)
You need a microSD in your phone!!!
Get back to fastboot again and boot to TWRP - type in cmd:
"fastboot boot lgk8twrp.img"
you can ignore the first message to decprypt data - just hit cancel
and also you can keep system read only on the next page
(well..., thats the way i did this)
5.
Mount sd card
Go to Backup and choose boot partition only (untick the others)
There will be a backup on your sd card in the TWRP and some date related folder, called "boot.emmc.win"
You can eather restart to system in TWRP and keep sd card in the phone or unmount!!! the sd card stay in TWRP and Use a MicroSD card reader on your PC
6.
Unzip Carliv Image Kitchen and paste your backup file ("boot.emmc.win") to "boot-resources" folder in Carliv
Rename "boot.emmc.win" to "boot_lz4_0.img" (watch out for the extension)
Start Carliv.bat type "B" and hit enter
Find the above file (bootlz4_0.img) and type its number (probably its "1") and hit enter
Now chose "unpack image" ("1") - the image will be unpacked in folder "bootlz4_0"
- do not close Carliv!
Change the "boot.img-ramdisk-compress" in the above folder to the file found in "gz_ramdisk_compress.zip"
Now in Carliv chose "repack image" ("2") - this will make your boot image SuperSu compatible
You will find your new boot image in the "output" folder, there will be some date related ending of the file just rename the whole file to "bootgz_0.img"
Put this file and "SuperSu.vxx.zip"!!! on the sd card
7.
In TWRP go to "install" and chose "image" - find the "bootgz_0.img" and install it to the "boot" partition
From now on you must not leave TWRP!!!
From now on you must not leave TWRP!!!
From now on you must not leave TWRP!!!
You can easily make a brick of your beloved LG... since its not gonna boot up normally until we finish
8.
Install SuperSU (you have to change back from installing image to zip) - do not restart or bootup
in case anything goes wrong you can still restore your boot image from earlier backup
but if supersu installs succesfully then go on your almost ready ;)
9.
Back up boot image again, go back (use back button) to initial TWRP page and unmount externalSD inside Mount
do not leave TWRP!!! take the sd card out (if you forgot the cable in the phone and you didn't remove the back panel you can do that now - no worries)
10.
Just as before copy and rename the new boot image into carlivs boot-resources folder (let it be "bootgz_1.img")
unpack this boot image exchange the "boot.img-ramdisk-compress" to the one found in "lz4_ramdisk_compress.zip" - watch out this is another zip not the one in step 6!
Repack and rename to "bootlz4_1.img" - now your boot image is lz4 compressed again so your phone can use it
Put this image file on your sd and put the sd back to your phone
11.
Mount ext.SD in TWRP go to install change, to image and find your new boot image ("bootlz4_1.img") on your sd and let it go onto your boot partition
12.
Restart to system... be patient... might take a while...
In case you find supersu in your appdrower you are good to go
Your data will stay untouched with this process (still encrypted) so if you want your data decprypted you have to clear data and cache before installing supersu
The TWRP is pretty much mixed from others and not fully functional!
No promises... and no responsibility i take... !!!
Credits:
Cleopatra for her TWRP porting ideas ( )
Chainfire from XDA for SuperSU
The attached file (which is too big to upload here):
I've been working on this daybyday hoursandhours for more than a month... so if it works and you feel like donating i'd appreciate some tax for my service ;)
Keywords:
TWRP Lg K8 K350n root supersu