[GUIDE] LG G STYLO How to root the T-Mobile 6.0 update

Search This thread

T-Macgnolia

Senior Member
Sep 30, 2010
3,796
2,022
Shannon, Ms.
What if we just enable oem unlock in both the system and the bootloader then use adb to push the recovery, superuser, and busybox to the system. King Root caused too many system instabilities, it had injected itself as a system app and after unrooting and uninstalling after a reboot I was left with a soft brick due to a secure boot error 1003. A stock 5.1.1 kdz and the lg flash tool was able to bring my Stylo back to life.

It could all be done by running a simple batch file bundled with everything we need for our device. Linux would probably be the better option but it could work the same in windows.

This would not work because you still would need root to push thesu binaries to system/bin. Now it might be worth trying that while you have TWRP installed as it has access to the system and has root. But if you need to use the TWRP to beable to push the su binaries why noy just flash the zip. Plus the zip does a systemless root on the device so it patches the boot.img as well when you flash it.

Know the insucure boot error you got was probably because you turned the Enable OEM unlock off in developer options and still had a custom ROM on the device like katana.
 

aaron2z

Member
Oct 12, 2011
29
32
Phoenix
My apologies as I made a typo in the guide. The correct command is "fastboot flash recovery recovery.img" to flash the recovery. I will fix this along with another rework about putting the SusperSU.zip only on your SD card.

But from the posts in this thread point out that Kingroot now works on the 6.0 update so you can also try Kingroot to see if it willroot your device.

Again sorry as this is fully my fault for making the typo on the fastboot command to flash recovery.

Appreciate the responses man. I knew the command was a typo i used the command "fastboot flash recovery recovery.img" but everytime i tried that command to flash TWRP I would get the failed error a few people have posted.

But I did use the "fastboot boot recovery" command and booted to TWRP and installed the supersu zip. But once i actually got into the phone (everything was deleted by the way. Lost all my apps settings etc..) the SuperSu app told me to either download through the Playstore or through TWRP. Well since the TWRP flash didnt work i couldn't do it that way so my only option was the play store download. After I download it said that SuperSu could not download any binary files and that i would have to reroot. So i got lost at that point..

How am i supposed to use Flashify to flash TWRP if the SuperSu isnt able to download its binary files. Its a major catch 22. But if you know a way around or to fix that SU error let me know. I really dont want to do the kingroot method. I hear its very buggy and causes bricks for most versions of the stylo
 
Last edited:

T-Macgnolia

Senior Member
Sep 30, 2010
3,796
2,022
Shannon, Ms.
Appreciate the responses man. I knew the command was a typo i used the command "fastboot flash recovery recovery.img" but everytime i tried that command to flash TWRP I would get the failed error a few people have posted.

But I did use the "fastboot boot recovery" command and booted to TWRP and installed the supersu zip. But once i actually got into the phone (everything was deleted by the way. Lost all my apps settings etc..) the SuperSu app told me to either download through the Playstore or through TWRP. Well since the TWRP flash didnt work i couldn't do it that way so my only option was the play store download. After I download it said that SuperSu could not download any binary files and that i would have to reroot. So i got lost at that point..

How am i supposed to use Flashify to flash TWRP if the SuperSu isnt able to download its binary files. Its a major catch 22. But if you know a way around or to fix that SU error let me know. I really dont want to do the kingroot method. I hear its very buggy and causes bricks for most versions of the stylo

---------- Post added at 11:47 PM ---------- Previous post was at 11:45 PM ----------



Sounds like a great plan. How can we go about doing this? Im willing to work on this theory. Sidenote. I live in Phx too. Small world.
It almost sounds like you did the fastboot oem unlock command after you flashed the SuperSU.zip. But from the feed back I am getting I would think that was not possible as users have said they had to fastboot oem unlock to get recovery to boot.

Anyway the fastboot oem unlock is what factory reset your device. If you boot back to fastboot mode and fastboot boot recovery.img again and then flash the SuperSU.zip again you should be finr.

Sent from my LG-H631 using Tapatalk
 
  • Like
Reactions: aaron2z

wthigon

Member
Feb 13, 2010
17
3
Do I really need to do step 6? It says it will factory reset the device....is it necessary? If it is then it's fine just need to back up my ****.
 

aaron2z

Member
Oct 12, 2011
29
32
Phoenix
It almost sounds like you did the fastboot oem unlock command after you flashed the SuperSU.zip. But from the feed back I am getting I would think that was not possible as users have said they had to fastboot oem unlock to get recovery to boot.

Anyway the fastboot oem unlock is what factory reset your device. If you boot back to fastboot mode and fastboot boot recovery.img again and then flash the SuperSU.zip again you should be finr.

Sent from my LG-H631 using Tapatalk

I had to do the OEM unlock command beforehand before i could use any adb commands. But I didnt know that reset the phone. Thanks for the update. Wish it didn't. Kind of a pain in my a**...

But I also did try plugging my phone back in and booted back to recovery and reinstalled SU. But with no results. I still the message saying binary files could not be downloaded. This was two days ago im on stock kdz 6.0 again until we figure this method out. Im determined lol

---------- Post added 20th March 2016 at 12:03 AM ---------- Previous post was 19th March 2016 at 11:59 PM ----------

Do I really need to do step 6? It says it will factory reset the device....is it necessary? If it is then it's fine just need to back up my ****.

My bad i thought u mentioned a different step. Yes you do have to. In order to use all the commands for a successful root you need to have access to the bootloader
 
Last edited:

T-Macgnolia

Senior Member
Sep 30, 2010
3,796
2,022
Shannon, Ms.
I had to do the OEM unlock command beforehand before i could use any adb commands. But I didnt know that reset the phone. Thanks for the update. Wish it didn't. Kind of a pain in my a**...

But I also did try plugging my phone back in and booted back to recovery and reinstalled SU. But with no results. I still the message saying binary files could not be downloaded. This was two days ago im on stock kdz 6.0 again until we figure this method out. Im determined lol

Oh so you flashed back to complete stock using t2hw kdz file. Since you did that you will have to start all over again. Which means you will have to fastboot oem unlock again as the kdz file relocked your bootloader. If you follow the steps in the guide you should be fine. Just make sure to have Enable ADB and Enable OEM unlock in developer options both turned on before booting to fastboot mode using adb reboot bootloader. Also when you reboot to the system from recovery if TWRP gives you a warning about no su binaries installed select no to not install them as this will interfere with the process the SuperSU.zip preforms. I have added this warning about not installing the su binaries to the guide.

Sent from my LG-H631 using Tapatalk
 
Last edited:
  • Like
Reactions: aaron2z

aaron2z

Member
Oct 12, 2011
29
32
Phoenix
Oh so you flashed back to complete stock using t2hw kdz file. Since you did that you will have to start all over again. Which means you will have to fastboot oem unlock again as the kdz file relocked your bootloader. If you follow the steps in the guide you should be fine. Just make sure to have Enable ADB and Enable OEM unlock in developer options both turned on before booting to fastboot mode using adb reboot bootloader. Also when you reboot to the system from recovery if TWRP gives you a warning about no su binaries installed select no to not install them as this will interfere with the process the SuperSU.zip preforms. I have added this warning about not installing the su binaries to the guide.

Sent from my LG-H631 using Tapatalk

Wow.... I feel stupid. So I did what you said for the SuperSU not to have issues after TWRP Flash and I chose "Do Not Install" and the root access has been achieved, confirmed, working. You rock man. Great job. I feel stupid though because TWRP even warns you after the flash not to let TWRP install the zip. I didn't read it though. I'll use Flashify to flash TWRP over as my recovery now. But again thanks. Ill keep an eye on the thread to try and help confused people if your busy or something.
 
  • Like
Reactions: T-Macgnolia
D

Dr. Gonzo

Guest
I had to do the OEM unlock command beforehand before i could use any adb commands. But I didnt know that reset the phone. Thanks for the update. Wish it didn't. Kind of a pain in my a**...

But I also did try plugging my phone back in and booted back to recovery and reinstalled SU. But with no results. I still the message saying binary files could not be downloaded. This was two days ago im on stock kdz 6.0 again until we figure this method out. Im determined lol

---------- Post added 20th March 2016 at 12:03 AM ---------- Previous post was 19th March 2016 at 11:59 PM ----------



My bad i thought u mentioned a different step. Yes you do have to. In order to use all the commands for a successful root you need to have access to the bootloader

Can I backup and restore using TWRP after root? Even if I use boot instead of flash? Basically, can I boot back into TWRP, restore my backup and still maintain root? Sorry I'm new at this.
 

Mattix724

Senior Member
Sep 26, 2010
4,321
2,525
Phoenix, Arizona
This would not work because you still would need root to push thesu binaries to system/bin. Now it might be worth trying that while you have TWRP installed as it has access to the system and has root. But if you need to use the TWRP to beable to push the su binaries why noy just flash the zip. Plus the zip does a systemless root on the device so it patches the boot.img as well when you flash it.

Know the insucure boot error you got was probably because you turned the Enable OEM unlock off in developer options and still had a custom ROM on the device like katana.

OEM unlock was enabled in the system settings. Was running a stock H631 5.1.1 bootstack and return2stock then took the OTA update to 6.0 when I decided to try King Root after reading about others success. Root was successful however very unstable. Definitely not a root method that I would suggest to anyone.

I realize that Marshmallow is still new to this device and we've barely touched the surface of what we can do with this device. A lot of trial and error and a hand full of bricks before we make any real progress in the development. I have faith that we can get a better more streamlined root method in place for everyone innthe very near future.
 

T-Macgnolia

Senior Member
Sep 30, 2010
3,796
2,022
Shannon, Ms.
OEM unlock was enabled in the system settings. Was running a stock H631 5.1.1 bootstack and return2stock then took the OTA update to 6.0 when I decided to try King Root after reading about others success. Root was successful however very unstable. Definitely not a root method that I would suggest to anyone.

I realize that Marshmallow is still new to this device and we've barely touched the surface of what we can do with this device. A lot of trial and error and a hand full of bricks before we make any real progress in the development. I have faith that we can get a better more streamlined root method in place for everyone innthe very near future.

Well unless you or someone else can find a exploit that will achieve root. Then this is the best way. This is the same way you root nexus devices and since it is Android 6.p the is being rooted by the SuperSU.zip then it is a systemless root also. I have got to be honest here and I am not trying to be mean at all. But thus method is much better as you actually know what is being done to the device and it gives the user a chance to actually learn how to use adb and fastboot with the device. The one click root tools and apos have damaged the Android enthusiast community and this thread is proof of that. I have been moding and doing dev work on devices for a long time now and this root process was very simple in my opinion. The more you know about Android rooting and modding the less chance you have of bricking your device or not being able to get yourself out of a jam if you do soft brick your device.
 

supersonic125

New member
Mar 20, 2016
4
2
Hmmm looks like maybe fully unlocking the bootloader enables all fastboot commands. You can try downloading and installing Kingroot and root with it as the posts here comfirm it will root the update now. Or just u lock the bootloaderb but your device will be reset if you do.
I just bit the bullet and unlocked the bootloader. Everything worked out well, I did boot recovery installed supersu, then used Flashify to install TWRP afterwards. Thanks for the guide.

One thing though, you shouldn't recommend Kingroot as a solution to people. It does some really sketchy stuff.
 

T-Macgnolia

Senior Member
Sep 30, 2010
3,796
2,022
Shannon, Ms.
I just bit the bullet and unlocked the bootloader. Everything worked out well, I did boot recovery installed supersu, then used Flashify to install TWRP afterwards. Thanks for the guide.

One thing though, you shouldn't recommend Kingroot as a solution to people. It does some really sketchy stuff.
I will add a warning saying Kingroot is still really unstable. I have not tried it as I do not want to have to go theough the process as it would take at least a hour or two to fully test it and restore a backup of my current set up.

Sent from my LG-H631 using Tapatalk
 

Mattix724

Senior Member
Sep 26, 2010
4,321
2,525
Phoenix, Arizona
I just bit the bullet and unlocked the bootloader. Everything worked out well, I did boot recovery installed supersu, then used Flashify to install TWRP afterwards. Thanks for the guide.

One thing though, you shouldn't recommend Kingroot as a solution to people. It does some really sketchy stuff.

So can you say that it's safe to say the best 6.0 root method is to unlock the bootloader, use fastboot to flash the recovery, reboot to recovery using fastboot, flashing supersu and busybox, then using flashify to flash TWRP once rooted?
 

Telyx

Senior Member
Aug 31, 2009
474
98
Garden City, MI
If you flashed TWRP via fastboot instead of just booting it, you wouldn't have to flash it with Flashify at the end. (I booted to TWRP initially, installed the SuperSU update zip, rebooted, flashed TWRP with Flashify, and installed busybox using the Busybox Pro app.)
 

supersonic125

New member
Mar 20, 2016
4
2
So can you say that it's safe to say the best 6.0 root method is to unlock the bootloader, use fastboot to flash the recovery, reboot to recovery using fastboot, flashing supersu and busybox, then using flashify to flash TWRP once rooted?
Yeah, it worked out fine for me. It's just annoying having to wipe your data.

If you flashed TWRP via fastboot instead of just booting it, you wouldn't have to flash it with Flashify at the end. (I booted to TWRP initially, installed the SuperSU update zip, rebooted, flashed TWRP with Flashify, and installed busybox using the Busybox Pro app.)
I don't think you can flash it via Fastboot with the Stylo. Myself and others in the thread got "unknown command" in adb.

I have 6.0, root, and Xposed framework! Life is good

How'd you get Xposed?
 
Last edited:

TheDerekHarper

Senior Member
Jun 21, 2015
137
33
I just bit the bullet and unlocked the bootloader. Everything worked out well, I did boot recovery installed supersu, then used Flashify to install TWRP afterwards. Thanks for the guide.

One thing though, you shouldn't recommend Kingroot as a solution to people. It does some really sketchy stuff.

In the YouTube video I haven't. But yeah, KR sucks.

---------- Post added at 03:09 AM ---------- Previous post was at 03:08 AM ----------

I have 6.0, root, and Xposed framework! Life is good

Legit
 

aaron2z

Member
Oct 12, 2011
29
32
Phoenix
Can I backup and restore using TWRP after root? Even if I use boot instead of flash? Basically, can I boot back into TWRP, restore my backup and still maintain root? Sorry I'm new at this.

Well you can make a backup in case things went wrong but you wouldn't be able to maintain root. Root patches over system files and if you restored to a backup it would delete the patched files back to original and you would lose root. Sorry for the late response. Long day at work

---------- Post added at 08:37 PM ---------- Previous post was at 08:33 PM ----------

If you flashed TWRP via fastboot instead of just booting it, you wouldn't have to flash it with Flashify at the end. (I booted to TWRP initially, installed the SuperSU update zip, rebooted, flashed TWRP with Flashify, and installed busybox using the Busybox Pro app.)

For some reason you cant fastboot flash TWRP you can only boot to it on the g stylo. You get a fail error. But you can still root and then flashify the recovery
 
  • Like
Reactions: Mattix724

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    This guide was made before Kingroot was able to root the official update. But thanks to @oskar and @TheDerekHarper on XDA and to @josephwv on Android forums it is now comfirmed that Kingroot will root the official update. But first you must still follow steps #1 through #6 so Kingroot can root your device.


    Now before Kingroot was able to root the update I figured out how to root the official update and it is not all to complicated. The following guide will walk you through the root process. But I am not responsible for anything that happens to your devices by using this guide as you are responsible for your device.


    What you need:

    1. A computer running Linux or Windows with adb and fastboot installed. (I used Ubuntu)

    2. If you are using Windows you need all the drivers for your device installed. Linux users will not have to worry about this.

    3. A functioning USB cable for your device.

    4. Battery charged at least 50% just for safety.

    5. The TWRP revovery.img, this is the same TWRP recovery we already have for the LG G Stylo I have just renamed it to recovery.img to make it easier to type the name in while typing fastboot commands.

    6. The SuperSU-v2.65-20151226141550.zip by Chainfire. (All credit to Chainfire for this awesome zip.)



    How to root your device:

    1. I suggest you first go to Settings/General/About Phone/Software info and tap on the "Build number" until it says"You are now a developer". Then back out of until you are in Settings/General and go to "Developer options" and turn "Enable OEM unlock" on. This is to allow TWRP recovery to be able to boot. Also turn on "USB debugging" while you are there.

    2. Download the SuperSU-v2.65-20151226141550.zip to your device. You need to move the zip file from your Downloads folder to somewhere on your external SD card as it will not be deleted from there when you use the "fastboot oem unlock" command in step #6.

    3. Download the recovery.img to your computer. If you do not have adb and fastboot setup globally for linux or in your path for windows you need to move the recovery.img to the directory your adb and fastboot is in and open a terminal or command line (depending on your OS) in that directory or cd to that directory. If you do have adb and fastboot globally or in your path you can just open a terminal or command line in the directory you have the recovery.img or cd to the directory you have the recovery.img.

    4. Once you have the terminal or command line open run the command "adb devices" to make sure your devices is detected by adb. You may get a toast pop up on your device asking if you to "Allow usb debugging". Except this as this is the RSA key you need to allow your computer to communicate with your device via adb. You should see something like "LGH631dffacad9 device" in your terminal or command line. If you see "unauthorized" instead of "device" you have not excepted the RSA key.

    5.Now type the following command in your terminal or command line. Type "adb reboot bootloader". This will reboot your device to fastboot mode. Once in fastboot mode use the "fastboot devices" to make sure your device is recognized by fastboot. You should see something like "dffacad9 fastboot". If you are in Linux and get a error message you may have to use "sudo fastboot devices" for fastboot to work. (If you are using Windows and are having trouble with fastboot recognizing your device you need to install the device drivers. If it still does not work install the drivers again with your device connected to your computer in fastboot mode.)

    6. To fully unlock your bootloader you have to use the command "fastboot oem unlock". You have to do this or this root method will not work. But be warned that if you do use this command it will factory reset your device. Plus you will get a line of text saying the bootloader is unlocked on the splash screen when you boot your device.

    6-1: If you are wanting to use Kingroot to root your device you can reboot your device now. Open the Kingroot app and let it root your device and then use Flashify, Rashr, or a similar app to flash the recovery. Then boot to recovery and flash the SuperSU.zip in recovery and it will remove Kingroot and have SuperSU installed on your device.


    7. Now you can do this two ways if you do not want to keep the stock recovery you can use the command "fastboot flash recovery.img" to install the recovery and then use the command "fastboot reboot recovery" to boot to the TWRP recovery. (If this command gives you issue like it seems to be for many then just use the the following method and then use Flashify or Rashr app to install TWRP after you are done rooting.) If you want to keep the stock recovery you can use the command "fastboot boot recovery.img" to boot to the TWRP recovery.

    8. Once you are booted to the TWRP recovery you should make a full backup first so you have a backup to restore to in case things go bad. After you make a backup then select install and then find the SuperSU-v2.65-20151226141550.zip and install it. Once it is installed reboot your device to system. If TWRP gives you a warning about the su binaries missing and asks if you want to install thee su binaries before you reboot select no or it will interfere with the rooting process of the SuperSU.zip. When your device reboots it will boot to the LG splash screen and then reboot again. But then it will boot to the OS but it will take a minute. Make sure you let your device reboot all the way to the lockscreen or home screen depending on if you have a lockscreen enabled or not. You should be fully rooted after this, enjoy.
    3
    Just wanted to confirm that the OP and the instructions worked for my T-Mobile LG G Stylo H631 running the OTA MM 6.0 update and the Software Version is H63120o

    I am fully rooted with SuperSu binaries updated.
    Everything went smoothly the first go around and continues to go smoothly without a hitch.

    Here is the process I did for those interested or confused or worried:
    -Checked Allow OEM Unlock in Dev options
    -Checked USB Debug in Dev options
    -Installed the ADB and fastboot on linux via sudo apt install android-tools-adb android-tools-fastboot
    -Used my Parrot Security Linux terminal to boot into the bootloader via ADB: sudo adb reboot bootloader
    -Used fastboot oem unlock to unlock my bootloader.
    -Rebooted it and let it go through the update process. I reinstalled all my apps and settings here.
    -Copied the UPDATE-SuperSU-v2.65-20151226141550.zip to my phones internal storage.
    -I rebooted back into the bootloader via ADB in linux terminal.
    -Changed my directory in terminal to the folder I downloaded recovery.img: cd /home/parrot/Downloads
    -Used sudo fastboot boot recovery.img and it loaded TWRP on my phone.
    -From TWRP, I made a complete backup of my system to my SD card.
    -I then clicked "Install" on TWRP, browsed to the location of UPDATE-SuperSU-v2.65-20151226141550.zip file, clicked it and flashed it.
    -Rebooted the phone from there. MAKE SURE TO CLICK NO or DO NOT INSTALL for the su binaries. Do not swipe blindly at this part.
    -Phone booted fine, no multiple reboots.
    -Updated SuperSu binaries and rebooted. Went fine.

    Used my Titanium Backup to restore all my previous settings and blah blah.

    A+++ to the OP.
    I thought I was NEVER going to get this rooted.

    I have yet to flash the TWRP and will leave it that way as I can just boot the TWRP recovery from my computer if I need it. If I do flash the TWRP, I'll update this post to inform others how it went.

    ~~~~~~~EDIT
    I am now ready to sell this device and have discovered yesterday that after factory resetting the device:
    - It holds tons of information on the device such as personal files, images, downloads and a few programs.
    - Root is gone and recovery can not be accessed no matter what I do or try.

    So, I figured I'd manually delete the personal files and be fine.
    I did ANOTHER factory reset and the files were back.
    I assume those files were somehow write protected during a root. Not sure how.

    SO, I decided to attempt to root it again using the original method and files:

    - ADB rebooted my phone to fastboot.
    - Fastboot freezes or appears to not respond on the phone to the computer after it enters fastboot.
    - I can not detect the device when using command "fastboot device"
    - Trying to reboot the phone by holding down the power button as mentioned on the phone screen does not work at all
    - Had to pull the battery out to reboot the phone.
    - Back at square one.

    I decided to install LG Bridge on my windows install and it detected a damaged recovery blah blah.
    I clicked it and it downloaded a ROM that is 1.22GB big and it flashed the image back to my phone and made it stock again.. So, that solved all my issues I had after a factory reset, it removed all my files as well.
    I can confirm starting from scratch like this works again but it's just tedious.
    There is hope for those looking for more information on this.

    It is almost impossible to butcher this phone. Almost.
    LG Bridge utility has your back.
    2
    What if we just enable oem unlock in both the system and the bootloader then use adb to push the recovery, superuser, and busybox to the system. King Root caused too many system instabilities, it had injected itself as a system app and after unrooting and uninstalling after a reboot I was left with a soft brick due to a secure boot error 1003. A stock 5.1.1 kdz and the lg flash tool was able to bring my Stylo back to life.

    It could all be done by running a simple batch file bundled with everything we need for our device. Linux would probably be the better option but it could work the same in windows.

    This would not work because you still would need root to push thesu binaries to system/bin. Now it might be worth trying that while you have TWRP installed as it has access to the system and has root. But if you need to use the TWRP to beable to push the su binaries why noy just flash the zip. Plus the zip does a systemless root on the device so it patches the boot.img as well when you flash it.

    Know the insucure boot error you got was probably because you turned the Enable OEM unlock off in developer options and still had a custom ROM on the device like katana.
    2
    wtf... i get this same error

    C:\adb>fastboot flash recovery v10.img
    target reported max download size of 268435456 bytes
    sending 'recovery' (11230 KB)...
    OKAY [ 0.390s]
    writing 'recovery'...
    FAILED (remote: unknown command)
    finished. total time: 0.390s

    I've tried multiple versions of the TWRP for the g stylo on adroidforum and none of it flashes with the fastboot flash recovery .....img option. Every single one fails. Please tell me how you flashed the recovery... Also I cant run it through Flashify because my SuperSU says no binary is installed... I'm completely lost at this point

    do the fastboot boot recovery.img so it boots up twrp then flash the supersu zip then boot your phone you should be rooted then flash twrp using flashify
    2
    ok so i know this is 100% my fault for not reading, but why would you even include step 6? it wipes everything including the supersu.zip. the files i'm pissed about, but i can get over. mostly music plus some ****ty pictures. contacts can text me. but the main thing is i had to restart my phone, get it started up and everything, then put the super su.zip back onto the phone. just a tedious task.

    My apologies as I made a typo in the guide. The correct command is "fastboot flash recovery recovery.img" to flash the recovery. I will fix this along with another rework about putting the SusperSU.zip only on your SD card.

    Can I use this guide with my G4 Stylus (H635)?

    I do not know if you can use it or not as I do not have that device. But you can try it bit if your device does not boot to fastboot mode when you issue the adb reboot bootloader command then your device's bootloader is not unlockable and this root method will not work for you. But from the posts in this thread point out that Kingroot now works on the 6.0 update so you can also try Kingroot to see if it willroot your device.

    wtf... i get this same error

    C:\adb>fastboot flash recovery v10.img
    target reported max download size of 268435456 bytes
    sending 'recovery' (11230 KB)...
    OKAY [ 0.390s]
    writing 'recovery'...
    FAILED (remote: unknown command)
    finished. total time: 0.390s

    I've tried multiple versions of the TWRP for the g stylo on adroidforum and none of it flashes with the fastboot flash recovery .....img option. Every single one fails. Please tell me how you flashed the recovery... Also I cant run it through Flashify because my SuperSU says no binary is installed... I'm completely lost at this point

    Again sorry as this is fully my fault for making the typo on the fastboot command to flash recovery. I am fixing it as soon as I am done with this post.

    Someone mentioned using the Kingroot app and I gotta admit, I was skepticle at first but after testing. I can confirm it works.

    Just go go KingRoot.net, download their apk, install and run the root program. Igll work out of the box after, sadly I couldn't get the above method to work either with super su.

    Thank you for posting this.

    do the fastboot boot recovery.img so it boots up twrp then flash the supersu zip then boot your phone you should be rooted then flash twrp using flashify

    Yes this is how I did it when I rooted my device. I will edit the guide some to point this out.

    I got a permanent root from the procedure listed on page one of this thread. The only thing I did differently was, when booted into TWRP and you try to re boot the system you will get the question if you want TWRP to install root. If you do allow TWRP to install root, you wont get root. At this point select the option to just reboot the phone. The LG Logo will appear twice before it fully boots. When the device is fully up, you will have root.

    Thank you for posting this so others can see this does work.

    target reported max download size of 268435456 bytes
    sending 'recovery' (11300 KB)...
    OKAY [ 0.359s]
    writing 'recovery'...
    FAILED (remote: unknown command)
    finished. total time: 0.359s

    I also apologize to you for my mistake. It will be corrected shortly.

    Made a tutorial on how to get the marshmallow update (i.e. rom i've used.)
    And then afterwards i downloaded Minimal ADB & Fastboot, OEM Unlocked the device (for safety) and downloaded the Kingroot Apk.
    Installed it, and just allowed the program to root. It was pretty simple, haven't had any issues (i've even disabled OEM Unlock from the phone & USB Debugging.)
    Hell, even adoptable storage is enabled for my phone too (but that's another tutorial from somewhere else.)

    I do plan to make a root video, just so someone could see it and grab their opinion.

    To be clear: I'm using a metroPCS LG Stylo. Also, only time the phone had issues was when i factory reset it to get rid of root. (didn't work)
    so i had to follow the steps from the above tutorial to reflash the stock rom.

    Thanks for posting this I will add this to the post as another option to root seeing as it is comfirmed. I will give credit to you and @oskar for this info.
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