How to unlock bootloader and root the LG Stylo 6 and K51 K61 and other K model LG devices

Search This thread

kingrise

Senior Member
Feb 4, 2014
95
3
you're supposed to use mtkclient to reroot not fast boot
Well tried it anyway and LGUP won't let me use Partition DL. Always goes to 4% then says finishing and rapidely goes to 100% Nothing changes. And I never get the option to check the partitions. I've used LGUP and partition DL a few times. Not a noob. But no luck, and I'm not trying refurbish or I'll lose the brom exploit. Gonna try again tonight.
 

lentm

Senior Member
Dec 3, 2008
473
106
Well tried it anyway and LGUP won't let me use Partition DL. Always goes to 4% then says finishing and rapidely goes to 100% Nothing changes. And I never get the option to check the partitions. I've used LGUP and partition DL a few times. Not a noob. But no luck, and I'm not trying refurbish or I'll lose the brom exploit. Gonna try again tonight.

Do you have the 'preloader' option showing up on Partition DL? With my K51, no 'preloader' there.
 

kingrise

Senior Member
Feb 4, 2014
95
3
If someone can help me. Goes to 4% and now shows an error. (Installed another LGUP) But the same log. Says Laf error on one side. And the receiver buffer is too small. Whatever it is I can't use DL partition to upgrade while maintaining the brom exploit.
See previous few post to understand.
 

Attachments

  • 20220707_205717.jpg
    22.8 MB · Views: 53
  • 20220707_205709.jpg
    17 MB · Views: 36

luridphantom

Senior Member
Apr 4, 2021
223
50
GT-i9250
AT&T Samsung Galaxy S III
Ok had to install this LGUP (https://drive.google.com/uc?id=127dWYpFLO92yA5x7LVEAkmBReHMug_hU&export=download) for it to work. But as LENTM mentions there is no preloader option. Since I don't know which one to pick I'm not
f-ing with it. Can someone who knows help out. Which is the partition which we must keep to maintain the brom exploit and keep bootloader umlocked and root?????
preloader is the actual partition you need for the brom exploit
 

kingrise

Senior Member
Feb 4, 2014
95
3
i don't know that because i never update once i get root
I'm on Android 10. 20d. Want to get Android 11 30c. But need to keep root.
UPDATE. Decided to risk it and update anyway. Efectively lost the exploit. But I see a great improvement in battery life. Not sure if it's because of the clean install, Android 11 or removing root and everything that I had tied into root. But so far it seems that my battery life doubled or tripled.
And not too many improvements as far as systemwise. Non visible at least.
Only thing I miss about root is the snoogle button personalization and call record. 🤷‍♂️
 
Last edited:

jactra

Member
Feb 28, 2017
27
2
Rzeszow
Hello, I have LG K61 LM-Q630EAW. Do I need go through all steps from first post to unlock bootloader and root my phone? My phone is up to date. Will I be able to install Custom Rom like lineageOS? If yes, where can I get this? Sorry for my english and thanks in advance.
 

kingrise

Senior Member
Feb 4, 2014
95
3
If you have an update past January of this year then you will not have the means of unlocking it using the OP post. Custom Roms? I don't think so because there are no custom recoveries as of yet.
 

Knznn 009

Member
Aug 24, 2021
8
0
Moto E6 Plus
what should I do?
 

Attachments

  • 20220727_173101.jpg
    20220727_173101.jpg
    1.3 MB · Views: 30
Last edited:

ThinkPadT530User

New member
Aug 12, 2022
3
1
Does not work on K50s. I used a MT6765 scatter, which I made from an official rom download. I would click download, and would be required to select preloader, if i didnt select it it would ask to choose at least one rom before execution. I would select just the preloader, and would click download. I got 0xc0010001 error every time and the phone would reboot. I am now stuck on a dead end and don't know what to do. The phone's chipset is a MT6762, but from my understanding it should work with a MT6765 scatter. I also tried MT6761 which was recommended on a site and also made a MT6762 scatter in WwR, which didn't work even with a different download agent...
Help would be greatly appreciated I am sick of the stock rom and would like to install project treble.
 

eviepayne

New member
Aug 13, 2022
3
0
Here is the scatter and preloader file for SP Flash Tool for the Stylo 6
I hate to resurrect an old thread, does anyone happen to have stock firmware recovery and system image?
I bought this phone for cheap and it looks like someone packaged malware on it/yeeted the recovery and I need to restore it to stock. I will be reporting that company to the authorities.
 

ThinkPadT530User

New member
Aug 12, 2022
3
1
I hate to resurrect an old thread, does anyone happen to have stock firmware recovery and system image?
I bought this phone for cheap and it looks like someone packaged malware on it/yeeted the recovery and I need to restore it to stock. I will be reporting that company to the authorities.
Download the ROM from https://lgrom.com/, it worked best for me. For the stock recovery, I'm pretty sure it's already on the image.
And flash it with this https://lgflash.com/.
 
  • Like
Reactions: eviepayne

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    STYLO 6 MTKCLIENT INSTRUCTIONS FOR FLASHING, BACKING UP, UNLOCKING THE BOOTLOADER, AND ROOTING ON WINDOWS 10/11:

    !!!WARNING!!! ATTEMPT THIS AT YOUR OWN RISK, READ THE FULL TUTORIAL BEFORE YOU START!!! I AM NOT RESPONSIBLE FOR ANY BRICKED DEVICES! THIS PROCESS IS NOT FOR THE INEXPERIENCED PLEASE HAVE ADB COMMANDS KNOWLEDGE BEFORE TRYING TO ATTEMPT!!

    THIS PROCESS WILL WIPE ALL YOUR DATA SO BE PREPARED FOR THE FACTORY RESET TO BE FORCED BEFORE YOU CAN BOOT THE PHONE!!!

    DOWNLOADS:
    1. Download Python from here "https://www.python.org/downloads/"
    2. Download USBDK here "https://github.com/daynix/UsbDk/releases/download/v1.00-22/UsbDk_1.0.22_x64.msi"
    3. Download mtkclient here "https://github.com/bkerler/mtkclient"
    4. Download SP Flash Tool here "https://www.mediafire.com/file/kyoksq6kncpg8sg/SP_Flash_Tool_v5.2124_Win.zip/file"
    5. Download Magisk APK here "https://github.com/topjohnwu/Magisk/releases"

    INSTALLATION:
    1. Install Python (select "Add Python X.X to PATH")
    2. Install USBDK
    3. Install Mtkclient- While in the mtkclient folder hold shift and right click and select "Open PowerShell window here" Run this command in that window "python setup.py install" and then run command "pip3 install -r requirements.txt" Mtkclient is now installed correctly.
    4. Install SP Flash Tool and use the Scatter file I provided and the preloader file I provided.
    5. MTK VCOM Drivers need to be installed.

    NEED TO KNOW:
    ***For the Stylo 6 to connect you must remove some of the loaders from the mtkclient-main\mtkclient\Loader file leaving MTK_AllInOne_DA_5.2136.bin as the only loader needed. Just highlight the unneeded ones and cut and paste them into the parent folder so you will have them for other devices.

    ***To run a command you will need to hold shift and right click to open a PowerShell window to use the tool.

    ***With Mtkclient waiting for the phone to be connected by hitting enter with your command entered, you will also need to click "Download" in SP Flash Tool to cause it to be waiting for the phones connection.

    Now that both tools are awaiting the phones connection make sure the phone is completely shut off and plug it in WITHOUT ANY BUTTONS PUSHED! You should now be connected to Mtkclient and the tool will be running the command you entered. If you do not get connected with a couple attempts close out mtkclient powershell window and reopen it.

    !!!!!DO NOT UNLOCK OR ROOT THE PHONE BEFORE A PROPER BACK UP OF THE DEVICE IS TAKEN!!!!!

    !!!!!DO NOT SKIP THIS STEP!!!!!

    I recommend taking a full flash back up of the phone right off the bat, this will take a couple hours, but for more experienced users there is a backup of each partition separated into each file separately that will work too.

    "python mtk rf flash.bin" Is the command to make 1 single full flash file to restore the phone. To restore the phone with that file the command is "python mtk wf flash.bin"
    "python mtk rl out" Is the command that separates each partition into its each individual file and places the files in the out folder, to restore the whole out folder the command is "python mtk wl out" I recommend this backup after unlocking your bootloader so you will have your boot images to use for rooting.

    UNLOCKING YOUR BOOTLOADER:
    To unlock your bootloader you will first need a full backup to ensure you can recover a bricked device, you will then run these two commands in this order...
    "python mtk e metadata,userdata,md_udc"
    "python mtk da seccfg unlock"

    CONGRATULATIONS YOUR BOOTLOADER IS UNLOCKED!!!

    ROOTING YOUR PHONE:
    Now to root your phone you will need that single partition back up, or at least your boot_a.img or boot_b.img or both. "python mtk r boot_a,boot_b boot_a.img,boot_b.img" this will pull both your boot.img files only 1 is necessary, but both can be used.

    !!ATTENTION!! DO NOT, I REPEAT DO NOT MIX UP YOUR BOOT_A AND BOOT_B FILES YOU WILL LOOSE WIFI OR BLUETOOTH IF YOU FLASH THEM TO THE WRONG SLOT!!!

    You install the Magisk APK to your phone and you patch your boot.img with the app, change their names to patched_a.img and patched_b.img if you do both of them, you then copy them to your computer in the same folder that the mtkclient tool is located. If you have fastboot access you can flash patched_a.img to your phone with these commands... "adb reboot fastboot" then "fastboot flash boot_a patched_a.img" and you can ensure your phone boots to that slot with this command... "fastboot --set-active=a"
    On models without fastboot access, you will need to flash both your patched_a and patched_b.img with mtkclient.
    AGAIN DO NOT MIX THEM UP!!!

    "python mtk w boot_a,boot_b patched_a.img,patched_b.img"

    CONGRATULATIONS YOUR PHONE IS NOW ROOTED!!!

    NOW MAKE ANOTHER BACKUP!!!
    Many who are not experienced with root can easily brick or send their device into a bootloop. So once you get it successfully rooted I recommend you do another backup, run this command to do that
    "python mtk rf rootedflash.bin"
    that will give your new backup a different name so you can keep them organized. You will be able to restore it right back to where you have a freshly rooted phone.

    Tips and Tricks:
    If you have the 2021 December update you may need to flash an older firmware because LG made a patch to mess up the connection with mtkclient!
    To reboot the phone from Brom hold power and volume down buttons until it reboots.
    To boot the phone into recovery hold power and volume down until the phone says booting recovery, from recovery you can shut the phone down to try to connect to mtkclient on failed attempts and to boot into fastboot.

    On other devices the SP Flash Tool is not needed, like for instance the K51 doesn't need that step.

    Special thanks to Bjoern Kerler for his work on his mtkclient tool that makes this all possible.
    And to the team at Hovatek for working with me.

    I am hoping that a twrp is created for this device soon so that all of this will be a safer easier process, but for now you just have to tread lightly with modifications to the phone as many things aren't tested and may cause a bootloop or a bricked device.
    3
    You will lose all data. It forces a factory reset, my tutorial tells it all, the hard part is setting it up, once it's set up correctly it's just running all the commands, sometimes it takes a few attempts to get the phone to connect properly but other than that it's pretty straightforward, you don't gotta worry about bricking it if you make a proper backup first and follow the steps exactly as I've laid them out
    2
    linux is super easy like everyone is saying. just hold both volume buttons while the phone is off and plug in the cable and mtkclient should work 100% of the time. i had maybe a .001% success rate for windows

    a little off topic but switching to linux helped me easily unlock and root my lg m250n and tribute dynasty

    thanks for the really detailed write up warlock!!
    1
    Here is the scatter and preloader file for SP Flash Tool for the Stylo 6
    1
    I hate to resurrect an old thread, does anyone happen to have stock firmware recovery and system image?
    I bought this phone for cheap and it looks like someone packaged malware on it/yeeted the recovery and I need to restore it to stock. I will be reporting that company to the authorities.
    Download the ROM from https://lgrom.com/, it worked best for me. For the stock recovery, I'm pretty sure it's already on the image.
    And flash it with this https://lgflash.com/.