[ROOT] Root your LG-G3 easily with PurpleDrake-Lite! [OSX/Linux/Windows!]

Search This thread

Pirk1990

New member
Apr 2, 2018
2
0
Im using kali linux trying to root lg d852. Best way to install the correct drivers? Purpledrake says waiting
 

mcclausky

Senior Member
Jul 14, 2010
62
7
I got there before I received your reply, but I appreciate your input.

After a lot of fooling around with lots of posts that said do this or that I was able to get it installed.

Restored to Stock Kit Kat with LGUP
Then setup the stock ROM and enabled USB Debugging
Then rooted using LG_One_Click_Root_v1.3
Then installed TWRP using ADB
Then using TWRP installed the custom ROM

Your method is the only thing that worked after several days of trying to root on Lollipop. The solution was to downgrade to Kitkat.

Thank you so much!!
 

pmarcone

Member
Jun 16, 2018
35
11
Not working for me

I have d855 international version. With depuration activated, I open PurpleDrake and press enter, it recognizes my phone, and I press enter again, while the phone is rebooting, the terminal names an error, but it is imposible to read since it closes right away. My g3 is running lineage OS last version 14.1, but i lost the root. Help plz
 
  • Like
Reactions: Macgyver74

vk30

New member
Jun 29, 2015
2
0
TMO G3 "no vulnerable mode detected"

Have a LG-D851, running stock Android 6.0, build MRA58K, ver D85130g. Purple drake does temp reboot, then says:

"Your phone is not running a compatible software version. No vulnerable mode detected, ..."

Do I need to factory reset to go to an older android version then root? Any known ROMS to recommend? I have Lineage 14 on 2 Samsung devices.
 

marcdw

Senior Member
Sep 24, 2014
5,751
2,894
59
Baldwin Park
Have a LG-D851, running stock Android 6.0, build MRA58K, ver D85130g. Purple drake does temp reboot, then says:

"Your phone is not running a compatible software version. No vulnerable mode detected, ..."

Do I need to factory reset to go to an older android version then root? Any known ROMS to recommend? I have Lineage 14 on 2 Samsung devices.
On this page alone are the answers. One should check the past several posts first before posting.
Just an FYI.
Root method is from 2014, btw. So KK.

Maybe check this thread...
https://forum.xda-developers.com/showthread.php?t=3075007

[Tool][Win]DP ROOT v 2.0 - Tool to root LG devices


Moto G5S Plus XT1806, balanceOS 2.0, MultiROM, XDA Legacy
 
Last edited:

galliano16

Member
Mar 3, 2019
5
0
No sucess with my LG G3

Hi Guys, I just tried to root my G3 without success :(

I downloaded and ran the PurpleDrake-Lite_R03.tar.gz

Code:
Your phone is a [ LG-D855 ] on [ OPEN ] running SW version [ V30o ] ...

Code:
Your phone is not running a compatible software version. No vulnerable mode detected, rebooting phone.
We tried to temproot you, and it didn't work. This phone isn't vulnerable, it would appear.

D855 open market
Android 6.0, safety patch 2016-08-01
Kernel 3.4.0
Build MRA58K
Software Version V30o-EUR-XX

Do I have any chance at all to get the thing rooted?
 
Last edited:
Hi Guys, I just tried to root my G3 without success :(

I downloaded and ran the PurpleDrake-Lite_R03.tar.gz





D855 open market
Android 6.0, safety patch 2016-08-01
Kernel 3.4.0
Build MRA58K
Software Version V30o-EUR-XX

Do I have any chance at all to get the thing rooted?
I answered on one of the several threads you asked for help on. Next time ask on just one.


You need to flash back to stock using I believe the kdz method with Odin, then root from there, then flash whatever rom you need
Actually lgup or lg flash tool.
 

jrickman51

Senior Member
May 2, 2017
100
90
Hi Guys, I just tried to root my G3 without success :(

I downloaded and ran the PurpleDrake-Lite_R03.tar.gz





D855 open market
Android 6.0, safety patch 2016-08-01
Kernel 3.4.0
Build MRA58K
Software Version V30o-EUR-XX

Do I have any chance at all to get the thing rooted?

When the below member says, flash back to stock , he's saying back to kit Kat, then use this or stump, can be found here in the forum, find a tot or kdz file, also here in forums, and go to the earliest software release. The later ones are patched and are not vulnerable to the root method. Hope this clarifies some for you. You're on stock now, just the latest ver 6 it's non rootable, the 4.2 or 4.4? is what you're wanting to flash. Good luck.
 
  • Like
Reactions: marcdw

HAMZA USMAN

New member
Mar 30, 2019
1
0
C:\Users\HAMZA USMAN\Desktop\PurpleDrake-Lite>adb push ./assets/start_restore /temp/start_restore
failed to copy './assets/start_restore' to '/temp/start_restore': Read-only file system error during root lg g3 850 tgo v30a
 

KCthePotato

New member
Jun 11, 2019
1
0
LG-V410 on ATT running V20c error: phone not running compatible software.

When PurpleDrake attempts to temproot, I get "ERROR: Your phone is not running a compatible software version. No vulnerable mode detected, rebooting phone."
 

IssacZachary

Senior Member
Jun 25, 2019
54
8
Colorado
I have a (dumb) question. (I'm new to this.)

I used the full version of Purple Drake to root my D851. Well I didn't check the TWRP version that came along with it and tried to install LineageOS. But I couldn't get it to work. I guess because I had TWRP v2.7 instead of the latest version (3.3) for the G3. Anyhow, I got the phone back to factory KitKat again and would like to attempt it again.

But would it be best to use the full version of Purple Drake and then upgrade TWRP to the newest version, or use another root?

Thank you!
 
Last edited:

dragonshuffle

New member
Jul 20, 2019
3
0
Unable to Root KitKat 4.4.2 ATT v410

Basically as the above states, I'm just flat out unable to root the device. Temproot seems to work according to the purpledrake log however I seem to be unable to access it with adb from the screen it leaves the device in after the temp root. And if I attempt to permaroot it fails.

"Welcome to PurpleDrake!

Please ensure your phone is connected, powered on, and USB debugging is properly enabled.
Your phone should be showing your homescreen with no other apps open. This is to ensure a clean state.
When you're ready, press [enter]...

Press [enter] to continue...
Waiting for device... Found device!


Your phone is a [ LG-V410 ] on [ ATT ] running SW version [ V10d ] ...


Alright. We're ready to go. We're going to temproot your phone first. Press enter when you're ready!
Press [enter] to continue...

Rebooting phone...
Waiting for device... .... Found device!
Found device, checking if vulnerable...
Yep, performing temproot...
Waiting for system to settle...
Temproot worked, all done here. Moving on...
Alright, now that you're temprooted, you can press CTRL-C here and get
a temproot prompt through 'adb shell /temp/fakesu' if you're so inclined...
However, if you'd like to permaroot, let's continue.
Press [enter] to continue...
Waiting for device... Found device!

Applying permaroot...
Waiting for system to settle...
Checking if it worked...

ERROR: Something went wrong. Permaroot doesn't appear to have worked, rebooting phone.
Debug information - 'ls -l /system/xbin/su':
/system/xbin/su: No such file or directory
------------------------
Debug information - 'ls -l /temp/':
-rw-r--r-- root root 2179 1970-01-03 12:00 br_daemon.log
-rw-r--r-- root root 36 1970-01-03 12:00 brd_ready
-rw-r--r-- root root 2 1970-01-03 12:00 error
-rwsr-sr-x root root 157424 2014-07-12 03:54 fakesu
drwx------ root root 1970-01-03 12:00 hidden
-rw-r--r-- root root 28 1970-01-03 12:00 start_restore_complete
------------------------
So, we temprooted your phone, but we weren't able to permaroot it for some reason.
Please post on XDA with your phone model, carrier, and SW version in the PurpleDrake thread and someone will take a look.
Your phone has been rebooted back to normal system mode, no changes have been made. Thanks for trying!"

I'm willing to provide any and all information to assist. Hopefully this helps at least a bit
 
Last edited:
Basically as the above states, I'm just flat out unable to root the device. Temproot seems to work according to the purpledrake log however I seem to be unable to access it with adb from the screen it leaves the device in after the temp root. And if I attempt to permaroot it fails.

"Welcome to PurpleDrake!

Please ensure your phone is connected, powered on, and USB debugging is properly enabled.
Your phone should be showing your homescreen with no other apps open. This is to ensure a clean state.
When you're ready, press [enter]...

Press [enter] to continue...
Waiting for device... Found device!


Your phone is a [ LG-V410 ] on [ ATT ] running SW version [ V10d ] ...


Alright. We're ready to go. We're going to temproot your phone first. Press enter when you're ready!
Press [enter] to continue...

Rebooting phone...
Waiting for device... .... Found device!
Found device, checking if vulnerable...
Yep, performing temproot...
Waiting for system to settle...
Temproot worked, all done here. Moving on...
Alright, now that you're temprooted, you can press CTRL-C here and get
a temproot prompt through 'adb shell /temp/fakesu' if you're so inclined...
However, if you'd like to permaroot, let's continue.
Press [enter] to continue...
Waiting for device... Found device!

Applying permaroot...
Waiting for system to settle...
Checking if it worked...

ERROR: Something went wrong. Permaroot doesn't appear to have worked, rebooting phone.
Debug information - 'ls -l /system/xbin/su':
/system/xbin/su: No such file or directory
------------------------
Debug information - 'ls -l /temp/':
-rw-r--r-- root root 2179 1970-01-03 12:00 br_daemon.log
-rw-r--r-- root root 36 1970-01-03 12:00 brd_ready
-rw-r--r-- root root 2 1970-01-03 12:00 error
-rwsr-sr-x root root 157424 2014-07-12 03:54 fakesu
drwx------ root root 1970-01-03 12:00 hidden
-rw-r--r-- root root 28 1970-01-03 12:00 start_restore_complete
------------------------
So, we temprooted your phone, but we weren't able to permaroot it for some reason.
Please post on XDA with your phone model, carrier, and SW version in the PurpleDrake thread and someone will take a look.
Your phone has been rebooted back to normal system mode, no changes have been made. Thanks for trying!"

I'm willing to provide any and all information to assist. Hopefully this helps at least a bit
That exploit was probably ironed in later updates. I rooted my lg g3 by downgrading to an earlier version of lollipop, and rooted with kingoroot. (You could also try kingroot) I think that gives temporary root. Then I used the "downgrade bootloader to kitkat" app, and then I flashed magisk after.
Here is the app: https://drive.google.com/file/d/17F96jUM90cexXvRHVLq58miJVImzN7XG/view?usp=drivesdk
 
Last edited:

dragonshuffle

New member
Jul 20, 2019
3
0
That exploit was probably ironed in later updates. I rooted my lg g3 by downgrading to an earlier version of lollipop, and rooted with kingoroot. (You could also try kingroot) I think that gives temporary root. Then I used the "downgrade bootloader to kitkat" app, and then I flashed magisk after.

It's currently on 4.4.2 kitkat and not lollipop. Should I try downgrading to an earlier version of kitkat?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 361
    Howdy all!

    What's this? Read on, dear reader, to discover the magic that is PurpleDrake.

    rY0Jco4.png

    What is this?

    This is a utility to easily root your LG G3 (specific models only). It's a fairly foolproof script that includes all the dependencies you'll need for getting your phone rooted easily.

    This is the LITE version. This means that this version will only ROOT your phone. If you have a T-Mobile G3, we'd suggest you look for the full version in this same forum on XDA, since that will root, install TWRP, and prevent your root checker from showing your phone as rooted!

    Who made this?

    This root is a collaboration between myself (IOMonster), jcase, and autoprime.
    Special thanks also to beaups for some initial guidance looking at the vulnerable application.

    Is my phone compatible?

    The new LG G3 models each are slightly different with regards to rooting and unlocking.

    The vulnerability we're exploiting for PurpleDrake has actually been present on quite a few LG phones for some time, and as such this script will automatically detect if your phone is capable of rooting with this method.

    To see a matrix of which LG G3 phones are compatible with this root, please see this Google Docs spreadsheet that we've compiled.

    When you run this program, your phone will reboot and run a test to see if it's compatible. If the application succeeds, it'll let you know that it's able to permaroot you. If not, it'll fail gracefully and reboot you back to normal Android without having changed anything.

    How do I use this?

    WE NOW SUPPORT WINDOWS! YAY ME

    To start, for either platform you'll need to scroll down to the download section and get the file.

    Ensure that your phone is in ADB mode (PTP Mode for everyone but Verizon. Verizon users need to be in "Internet"/"Ethernet" mode)

    Linux Instructions (in a terminal!)
    • Extract the file you downloaded...
      tar xvf ~/Downloads/PurpleDrake-Lite_VERSION.tar.gz
    • Mark the application as executable, and run it!
      cd PurpleDrake-Lite
      chmod +x purpledrake_linux.sh
      ./purpledrake_linux.sh

    OSX Instructions (just a bit easier)
    • Extract the file you downloaded
    • Double-click on "purpledrake_osx"

    Windows Instructions
    • Extract the file you downloaded
    • Double-click on "purpledrake_windows"

    The application will guide you through all the steps you need.

    You will still need to install SuperSU from the market after installing PurpleDrake. This pack does not include one.

    After, be sure to check @autoprime's post for how to disable OTA upgrades! here : http://forum.xda-developers.com/showpost.php?p=54254062&postcount=2

    But, what if I don't want to run your script to root?

    Well then, I'd be a little hurt, but you can still do everything the script does manually.
    Download the package, and extract it. Open a terminal in the main folder of the archive and run these commands:
    Code:
    adb reboot --bnr_recovery
    adb push ./assets/start_restore /temp/start_restore
    adb push ./assets/permaroot.bin /temp/start_restore
    adb reboot

    That will perma-root you, however there's no protection from doing something stupid or the phone being incompatible. Please be careful!

    Where do I get this?

    WINDOWS/OSX/LINUX VERSION OUT NOW!
    - Fixed Windows support
    - Fixed OSX ADB issues not detecting phone first try
    - Fixed race conditions leading to errors permarooting
    - Added 64-bit Linux ADB
    Code:
    [url]http://downloads.codefi.re/thecubed/lg_g3/purpledrake/PurpleDrake-Lite_R03.tar.gz[/url]

    Old version here... (OSX/Linux only)
    Code:
    [url]http://downloads.codefi.re/thecubed/lg_g3/purpledrake/PurpleDrake-Lite_R01.tar.gz[/url]

    Please DO NOT mirror or re-upload the PurpleDrake software to your own site, or any other file host.

    If you need drivers for Windows (thanks @autoprime for having these handy!):

    Help, it doesn't work!

    Post here, let us know what happened and we'll try to help you. DO NOT private message us on XDA or on IRC asking for help. We will not assist privately.

    Most questions if not answered here can be answered on #lg-g3 on IRC in Freenode.

    Thanks so much! How can I show my appreciation?

    Since this was a collaboration project, proceeds that are made from this root will be split between amongst us so we can purchase a Sprint test phone to root (as it's currently not rooted).

    If you'd like to donate to us, click the "Donate to me" button on the left sidebar under my name, and be sure to enter a comment to let us know that you're donating towards the PurpleDrake project.

    Thanks again!
    75
    Disable OTA:

    Open LG Hidden Menu (3845#*851#) --> WLAN Test --> OTA Setting --> OFF
    *Replace "851" with your devices model number, 850, 852, 855 etc...

    Look, instead of rushing to take an OTA to get the latest software.. think for a moment.
    We do no know if the bootloader will stay "unlockable" in future updates. OTA's can update not only software..
    but the boot stack as well.. enabling features to block downgrades.. close exploits.. and all sorts of fun stuff.

    so.. instead of taking an OTA.. wait for the files to get posted so we can look at things first.. possibly only updating /system, /boot, /modem (maybe tz/rpm)
    without updating the rest of the boot stack. ya... do that. Plan on making a lil thread on this soon to make things easier.

    EFS Backup:

    Code:
    [FONT="Arial Narrow"][B]Backup EFS after jailbreaking your G3. EFS is split into 2 partitions modemst1 and modemst2. 
    img files will be on root of internal sdcard. Save the .img files somewhere else besides the sdcard... email, cloud, etc..[/B]
    
    I have made a new thread on EFS backup and restore which can be found [URL="http://forum.xda-developers.com/lg-g3/development/efs-lg-g3-efs-backup-restore-t2907329"]HERE[/URL].
    [/HIDE]
    [B][SIZE="5"]Restoring Stock / Remove root flag:[/SIZE][/B]
    [HIDE]
    Download the tmo .tot file and use lg flash to restore it to stock. itll format everything on internal sdcard so backup anything u may need off it.
    
    T-Mmobile firmware can be found [URL="http://downloads.codefi.re/wolfgart/LG_G3/D851"]here[/URL]. Thanks to [user=608699]@wolfgart[/user] for the files and [user=1157052]@thecubed[/user] for codefire hosting. 
    
    *Step by step picture guide - [url]http://imgur.com/W83hMPE[/url]
     
    install the drivers.
    put phone into Download Mode (power off. unplug USB. pull battery. put battery back in. press/hold Volume Up then plug in USB cable.)
    In Windows Device Manager set the phones serial COM port to #41. (*see picture guide for help)
    Install LG Flash. In "C:\LG\LG Flash" folder delete megalock dll. Replace with .dll below.
    new megalock dll - [url]http://bit.ly/1cQADXm[/url] (this site includes a "download manager.. UNCHECK THE BOX before downloading dll file.)
    Run LG Flash in the "C:\LG\LG Flash" folder. Select korean factory if asked.
    When LG Flash opens you will see a box to select firmware and dll.
    Select LG Flash (.dll).
    Select (.tot)
    Hit OK (*see picture guide for help)
    Hit yellow start button. If you get Milkyway error click ok. LG Flash will then run a crc check on the tot file. Takes a bit. 
    After crc check finishes unplug the phone. plug phone back in. it should now be seen in LG Flash and start flashing. 
    Phone will reboot when finished. You may end up on a screen with s "2"... let it sit there for a minute or two. 
    If stuck on "2" try unplugging the usb cable from the phone.. wait 10 seconds.. then plug the usb cable back in. now wait 30 seconds and hopefully it changes to a "3"
    Once the phone says "3" you can unplug the USB.. remove the battery and plug back in.. boot back up... you are now 100% stock. 
    [/HIDE]
    13
    Hey guess what?

    Windows support is up!
    Fixed OSX bugs!
    aaaand I included a 64-bit ADB binary that should fix Linux not detecting the phone!

    Let me know how it goes!
    7
    hi,
    (...) when i download SuperSU i get that there are no SU Binary installed.
    Answer is quite simple: you did not get root access to the system. You are not rooted. On why you did not get root, I don't have an answer. The screenshot from script you ran unfortunately does not show, if on the way something might went wrong but the script did not notice and/or did not care. I for example failed to root 10N, it's quite possible that PurpleDrake doesn't work anymore and got fixed.

    besides the custom Rom,it's possible to install the official LG LL KDZ?
    Of course. Any KDZ compatible with your device can be flashed. You will lose root of course and will not be able to regain it while on unrooted Lollipop.

    Does anyone know if someone is working on a solution to root the 5.0 stock ROM?
    Two possible answers, as there are principally two ways to obtain root: a) and b) :p

    Read on:
    a) Exploit a weakness in current Android code; this weakness would be common to all devices running this code, no matter if TouchWiz (Samsung), Optimus UI (LG), Sense (HTC), Sony's XPERIA devices, ...
    b) Exploit a weakness of a specific device, be it a weakness of the/a specific Android build specific to this device, a hole in the bootloader, recovery, you name it.

    1. to a) This is what towelroot did. A vulnerability in the kernel code allowed towelroot to virtually root any device running an affected kernel. So many, many devices were rootable this way, of course once the hole was closed in the kernel source, as soon as a device ran the newer kernel code, it was immune to towelroot. So all devices which received an update were eventually immunized.
    2. to b) This is what virtually all rooting methods for the G3 do. They exploit one or the other vulnerability of the G3, a specific build of android on the G3, a specific recovery etc etc.

    So the final answer to your seemingly simple request, which in the end is not as simple as you possibly thought:
    As followup to 1 and a) There are probably, in this very moment, quite a handful of developers, trying to penetrate the current Android code to find a point of attack. This will get more and more difficult though, as Android is hardened from version to version. In case a hole in the current 5.x line of code (Lollipop) can be found and successfully exploited, a method like towelroot will be released and quite a few devices and very likely also many of the devices scheduled to receive Lollipop anytime soon now, will be rootable. The hole will quite possibly be quickly fixed though, and future devices won't be affected anymore as well as current devices, receiving an update to the base code, fixing the hole.
    As a follow up to 2 and b) with a handful of high-profile devs, more or less the main responasbles for all previous rooting methods for the G3, having left the G3 scene, coupled with a lacking influx of new developers probably mainly due to the age of the device, no, theres is probably no one working on getting "native" root for the G3 on Lollipop.

    This leaves us with mainly three scenarios:
    - the current one: downgrade to Kitkat, obtain root, get bump, flash a Lollipop-build of your choice through the bumped recoveries available.
    - There might be a rooting method for the new LG Flex 2 which will be found anytime in the future and which turns out to be compatible with the G3.
    - There might be a rooting method for Lollipop in general, which also works on the G3.

    Thats pretty much your options right now. I don't think I forgot anything.
    6
    Thank you! @thecubed & PurpleDrake

    this guide help my very much! (with pic & every thing)
    http://www.androidrootz.com/2014/07/how-to-root-lg-g3.html

    and hope this will help too: (Unroot for OTA using LG PC Suite & it Clear the "ROOTED" to "UNROOTED" on the DM)

    http://forum.xda-developers.com/lg-g3/general/guide-unroot-ota-using-lg-pc-suite-pc-t2802286
    -
    http://forum.xda-developers.com/showthread.php?t=2715114

    While this is indeed a very helpful picture guide, please don't download PurpleDrake from this person's website. I've asked that my files not be mirrored elsewhere, and this guide has disregarded my request.
    There's no way to know if the guide creator has added any additional software to PurpleDrake that could compromise either your computer or your phone. Please only download from the sources listed in the OP of this thread.

    Thanks!