yashsingh1/xdaforums huggingface dataset:
[G3 Android Development] ElectroPug:
You mean "assets/linux/*" or "assets/linux*/" ?
[G3 Android Development] thecubed:
Can't hurt to try! The Lite version of PurpleDrake is pretty safe, it'll abort the process if it thinks it can't root your phone safely.

If it works, let us know and we'll add it to the compatibility spreadsheet :) 10E is supported on other EUR models, so I'm pretty sure you'll be fine.
[G3 Android Development] mvtm:
If i try and it's not compatible do i brick my G3? I'm a student and i just spent like all my savings buying my expensive G3. I have never rooted also, so i love to try, but i think it might be risky?

It is amazing how someone located in Venezuela got a phone from Singapore. lol - btw if i brick it, there won't be an immediate replacement for me because we live kind of dictatorship here and every thing is scarce. It's not like in the US i can walk to a BestBuy and have it replaced in an instant.
[G3 Android Development] Zachhockey2:
Like cube said in the first post, your phone will simply reboot if the script fails to root due to the vulnerability not being present in one's model. So try it on your phone and report back here if it worked.
[G3 Android Development] mvtm:
Will this erase any thing that i have already installed? do i need a backup?

I would be trying it on OS X!:cyclops:
[G3 Android Development] Zachhockey2:
I don't think it'll wipe anything from your device.

Truthfully I am still debating whether or not I should pickup a g3 so I have not attempted to root using this method. Going by what cube wrote and what others have said, I see no indication that it wipes devices in the rooting process.
[G3 Android Development] mvtm:
Ok which version do i download. I tried downloading the purpledrake R03.tar.gz and i cannot unzip it. (operation not permited)

R01 expands ok.

Will try it tomorrow on R01 its 1am here
[G3 Android Development] mvtm:
I connect it with usb debugging on, and run purpledrake_osx.command and it tells me waiting for device for around forever.

waiting for device .... .........

R01
[G3 Android Development] Razertje:
Thanks working great!
[G3 Android Development] 557953:
Try running Purple Drake and then plugging you device in.......
[G3 Android Development] daniz185:
D855 firmware 10e success root with purple drake.

thanks....... :)
[G3 Android Development] zige:
I think that i'm stupid because i cant exctract that tar.gz-file... Dont know what to do..

EDIT: Yeah i did it! Thanks this is great! :) I just needed couple times extract with 7-zip :)
[G3 Android Development] garylgray:
Please please please can we get this for the Sprint model? Lol. I'm dying reading all this success with other carriers.
[G3 Android Development] Kasya:
32GB - EU CZ modell - V10e --> worked! Thanks!
[G3 Android Development] gsw5700:
Works on v10f , thanks
[G3 Android Development] bar1203:
+1
[G3 Android Development] mr pnut:
It does work on windows 8.......
[G3 Android Development] radeonxt:
working.

thank you barney the purpledrake
[G3 Android Development] macfreaker:
There is here in Belgium a small update of LG , can I Installer this without lossing root?
[G3 Android Development] autoprime:
it can go multiple ways.. and cannot be predicted and can only be documented by you as to what happens exactly.

is this an over-the-air update which downloads onto your phone? or is it an update through the Lg Mobile Support Tool?

which software version is this new update? what is your current version? 10a.. b.. c?

the Lg Mobile Support Tool will indeed remove the current root though it is likely purpledrake will still work on the new update. tests have shown that 10E 10F and 10G still work with purpledrake as of this moment. that can change in the future.

an over the air downloadable update can sometimes detect the current root and decline to update. sometimes deleting root through the supersu complete removal option in its menu will work. sometimes its not enough and you must also remove the root flag. reflashing a stock tot or kdz file and then taking the ota would be the easiest when going that route.

over-the-air downloadable updates can also fail if you modified any stock system files. if you renamed/replaced/deleted any files that weren't already able to be deleted through the official app uninstall menu then the update may fail when scanning your phone before updating. reverting any changes can help.. or in some cases.. again.. stock tot or kdz to go back to stock then ota.. or flash a newer kdz which includes the new update.

another way the downloadable updates can fail is if you change or remove the stock recovery. currently this should only apply to tmobile D851 users.

SO... too long;dont read

[MENTION=1463844]macfreaker[/MENTION] try to take the update.. let us know how it goes ;)

if the update fails.. take note of the error. was the error because of root? because files were missing/didnt match? something else?

maybe it works and you keep root and update at the same time.. awesome. if so let us know which version you were using and updated to.

updates on the G3 are new and we'll learn as we go... while comparing to previous phones(Optimus G, G Pro, G Flex, G2) at the same time. :good::fingers-crossed::highfive:
[G3 Android Development] macfreaker:
Update fails, It was a OTA update to version v10e. I have downloaded the update and after restart (when tries to update) it had a error. That error tells me to use to pc software on my pc. My phone reboots perfectly to the previous version and when started i get the message that the update was not possible because of root.

[IMG="Update 10ve (dutch)"]http://i1233.photobucket.com/albums/ff392/macfreaker/Screenshot_2014-07-25-08-39-53_zps4eafc8ce.png[/IMG]

The update contains better battery life,camera improvement, poweroptimalisation.
[G3 Android Development] Roman91:
that's a horrible news!!

cannot we use cf_autoroot of chainfire??

becuase my d855 is a bit slow (if compared to my ex-opo) ...not as fast as expected
[G3 Android Development] meylodie:
Line 17:

chmod -R 755 ./assets/linux*/

because assets/ contains among else, the directories "linux32" and "linux64", one for each of both architectures (32 and 64bits, you would guess). The '*' allows the script to chmod both, then choose any of the two which is relevant in a given system.
[G3 Android Development] jerusalem.boy:
does it work with stock Lollipop ??
[G3 Android Development] ElectroPug:
Thank you very much for sharing this knowledge [emoji4] I will try it as soon as possible

Edit: Now the script runs but seems like I'm still stuck at "waiting for device". Any idea concerning this?

Edit 2: All right, I executed it as superuser and now everything worked, hooray :)
[G3 Android Development] meylodie:
Hello,

I have Beat only, on LG G3 S, which is the D722 version. I tried, it worked for me. This thread title says about LG-G3, not G3 S, and my phone is a G3 S : I just had to try… though I read on some French droid forums that it worked for them with the same model as mine.

You try, and you tell us, please. Don't forget what is explained in the first post: the advantage of this program over adb, is that it makes a test first, then lets you know if that would work, then lets you decide if you want to root it permanently. So just try?

(Well, I have read a lot on these threads, that it does not work on Lollipop. Unless it was about installing a ROM? Not sure, it seems I has been stated about 250¹⁰ times. ;))

---------- Post added at 04:37 PM ---------- Previous post was at 04:34 PM ----------

I met with the same. Check if your phone is well on the home page, then unplug the USB and plug it again. Then do "adb kill-server" and restart your script. Also before you will want to check : are you connected with the PTP protocol instead of the MTP? PTP is needed for it to work.
[G3 Android Development] ElectroPug:
As I stated in my edited post I made it, I just had to execute the script as superuser! silly me! :silly: But thanks, you've been a great help! :)
[G3 Android Development] meylodie:
Of course, you need to use "su" or sudo. That's right. :)
[G3 Android Development] ElectroPug:
So I conclude for Linux Users:

After that you probably don't want to install any OTAs because it's not completely safe to do that. To disable OTAs do this:

(Thanks [MENTION=2684188]autoprime[/MENTION])

You also should consider a EFS Backup. see here

Am I missing something [MENTION=6319791]meylodie[/MENTION]?
[G3 Android Development] meylodie:
Hi ElectroPug,

I don't think you missed anything. Maybe a reminder to say the developers recommend to avoid updates (prior? after?). On the French Fandroid forum I read that some have updated last autumn after rooting their LG G3 S, and that so far it has not "un-rooted" their phones. Depending if the owner of the phone likes doing bleeding edge or stay somehow safe… :)

/a bit OT, but if someones knows? After rooting it, I wonder if there is a way I could access the files containing the "LG software terms and conditions"? I'd like to copy them to my main computer to have a close look. Is that possible?
[G3 Android Development] ElectroPug:
No idea, sry :(
[G3 Android Development] Droid-V:
This simple not work here, PurpleDrake doesn´t recognize my phone, I´m on 10o version and I think this the only way to root it so I need to solve the problem, what can I do ?
[G3 Android Development] m1trand1r:
what exactly have you already done?

That would be good to know....and easier to determine what you can do:)

Sent from my LG-D855
[G3 Android Development] Droid-V:
Evereything is ok, I`m doing everything correctly but when I open the purpledrake_windows.bat and press enter ...

Press [enter] to continue...

Waiting for device... 1 [main] bash 5960 child_info_fork::abort: C:\Users\Vinícius\Desktop\LG G3\PurpleDrake-Lite\assets\windows\bin\cygiconv-2.dll: Loaded to different address: parent(0x6C0000) != child(0x670000)

./assets/purpledrake_main.sh: fork: retry: Resource temporarily unavailable

2 [main] bash 7196 child_info_fork::abort: C:\Users\Vinícius\Desktop\LG G3\PurpleDrake-Lite\assets\windows\bin\cygiconv-2.dll: Loaded to different address: parent(0x6C0000) != child(0x730000)

./assets/purpledrake_main.sh: fork: retry: Resource temporarily unavailable

3 [main] bash 7072 child_info_fork::abort: C:\Users\Vinícius\Desktop\LG G3\PurpleDrake-Lite\assets\windows\bin\cygiconv-2.dll: Loaded to different address: parent(0x6C0000) != child(0x610000)

and etc. ando nothing happens ...
[G3 Android Development] schaggo:
Possibly the í in Vinícius, breaking things. Move the tool to root directory of your drive and try again. I suspect it doesn't work anymore with 10o though, it didn't work anymore on 10l for me.
[G3 Android Development] Iarwa1N:
I installed the latest version from LG PC Suite last night and today I tried to root my phone but I could not. I tried PurpleDrake but it says that my software is not vulnerable. Can someone give me an idea about what should I do ? Here is the output;

Your phone is a [ LG-F400S ] on [ SKT ] running SW version [ V20f ] ...

ERROR: Your phone is not running a compatible software version. No vulnerable mode detected, rebooting phone.
[G3 Android Development] B@sti:
Come on man, read the thread please. ;)

You're on Lollipop and you can't root it.

Downgrade to KitKat and then it'll work.

That's so annoying. Read the OP before posting.
[G3 Android Development] Droid-V:
The problem was in my pc, just used my father pc and now I'm rooted. Thanks.

Sent from my LG G3 D855P
[G3 Android Development] u_know_me:
Purple drake still works on KK 10L, I've rooted my LG D855 32GB yesterday
[G3 Android Development] twiifm:
Is there anyway to root 10R? I sent my phone to LG to get fixed and they sent it back unrooted and 10R
[G3 Android Development] sano1:
It won't delete any of my date if I do the root through this program, will it?
[G3 Android Development] m1trand1r:
No...:)

Sent from my LG-D855
[G3 Android Development] sano1:
Thank you for the reply :)

One more question; how long is it supposed to say "waiting for device?" Because mine has been going for a WHILE.
[G3 Android Development] m1trand1r:
It's almost instant. What did you do?

In Which mode did you plugged your device to pc?

Sent from my LG-D855
[G3 Android Development] sano1:
I had it plugged in in mtp and ptp modes. Both times it took its time.
[G3 Android Development] sano1:
Anyone willing to take a jab at this?
[G3 Android Development] m1trand1r:
did you enable usb debugging ?

did you install or tryed to re-install LGE drivers ?

is your device recognized by pc?...

Sent from my LG-D855
[G3 Android Development] sano1:
Debugging was on, yes. I tried installing the drivers also, but the device wasn't recognized at first. I'm gonna try a different pc.
[G3 Android Development] SimboXXX:
Did you resolve this?

I am having the same problem.

I have installed the latest drivers from LG Support (3.13.2.0).

Windows 8.1 is recognising the device.

USB debugging is connect in PTP mode.

Phone screen is on.

Press Enter > Waiting for device... Nothing more

???

Edit: I changed back to MTP mode (which I had already tried first) and it found device... All done, thanks!
[G3 Android Development] sano1:
Hey, sorry for the late reply. Mine worked when I changed to a different pc. I was using Windows 7 on both ends. Glad to hear yours worked out for you also.
[G3 Android Development] edsib1:
nvm working now.
[G3 Android Development] Meneldur:
For the record: WORKED on my D855AR. Stump didn't work minutes earlier.

4.4.2, V10c
[G3 Android Development] adyscr:
LG G PAD v490

Hello,

I can't root my v490 (LG G PAD 8" - build number: KOT49I.A1410921752 Android 4.4.2) with purple drake...doesn't even detect the device (also tried with stumproot, framaroot etc)
[G3 Android Development] daeron666:
Cannot root!

For me it doesn't work!!!

I have a lollipop g3 d855 16gb

build: lrx21r

when it reboots for rooting says that cannot root the phone.....
[G3 Android Development] m1trand1r:
*gawd*.....

Sent from my LG-G3/d-855/16Gb/Titanium Black
[G3 Android Development] krusion:
V10o

Hello. I sent my LG G3 D855 for repairs about a month ago. I was on V10J i think and now I got it back V10i. Anyway, i got an update for V10o which is good because I don't want lollipop. At least not yet since it has a couple of faults i don't like.

So back to the question. If I were to update to V10o will I be able to root and to bump? Or should I just stick to v10h? I do believe that v10o can be rooted with purple drake only and not stump. What about bump?

I tried looking online but v10o isn't really popular so I couldn't find hard evidence about anything.

Thanks in advance.
[G3 Android Development] m1trand1r:
I was on 10l when I bought my device and I used purpledrake w/o any problem.

I used purpledrake to root 10l and then i've flashed TWRP with Flashify app from Playstore ...next I did was flashing cloudyG3 1.2 KK which is 10N based.

And with Rin 1.8.5 KK everything is awesomely good:)

Sent from my LG-G3/d-855/16Gb/Titanium Black
[G3 Android Development] krusion:
why use flashify not bump?
[G3 Android Development] skpManiac:
Does not work on my D585HK -0 any idea how to get it rooted so I can install Lollipop and get my Titanium Backup back?

Thanks guys
[G3 Android Development] detriod:
Hi there. the purple drake works. Once you plug in your usb cable and the debugging mode is on, go into settings > tethering. turn on the usb tethering then run purple drake again, it should works.
[G3 Android Development] croxley:
Will this root my phone LG G3 D855. This is a screenshot of software.
[G3 Android Development] m1trand1r:
Yes...use PTP mode...;)

Sent from my LG-G3/d-855/16Gb/Titanium Black

---------- Post added at 08:47 PM ---------- Previous post was at 08:28 PM ----------

it's easier with flashify :)

Sent from my LG-G3/d-855/16Gb/Titanium Black
[G3 Android Development] kkeller416:
thank you
[G3 Android Development] davormirkov:
Is posible to root LG G3 on lolipop
[G3 Android Development] croxley:
Is it possible to save the firmware on phone before rooting?
[G3 Android Development] m1trand1r:
Yes ofcourse [emoji14]

Why don't you try it?[emoji87] [emoji86] [emoji85]

It has to be a way...but for my knowledge base not if you don't have custom recovery.

So I guess that you root it....flash TWRP and make a nandroid. Why would you want to backup not rooted ROM that you're using?

It doesn't make sense to me tho...[emoji41]

Sent from my LG-G3/d-855/16Gb/Titanium Black
[G3 Android Development] croxley:
Just in case if phone develops a fault and I have send the phone for repair.
[G3 Android Development] m1trand1r:
Hm...if something gets wrong on your device...just download last stock firmware which can be flashed by flashtool....I think you'd need kdz file for that....so nothing custom remains on your device ....meaning no root and no custom recovery....simple as that:)

Sent from my LG-G3/d-855/16Gb/Titanium Black
[G3 Android Development] thomas15v:
I tried your script with the LG L Bello. And its kinda working, I got temproot and I can make files in the system root.

but permaroot doesn't do mutch.

It ended with this

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 2372 2015-02-05 15:01 br_daemon.log
-rw-r--r-- root root 36 2015-02-05 14:38 brd_ready
-rw-r--r-- root root 2 2015-02-05 15:01 error
-rwsr-sr-x root root 157424 2014-07-12 03:54 fakesu
drwx------ root root 2015-02-05 15:01 hidden
-rw-r--r-- root root 28 2015-02-05 14:38 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 didn't directly gave up after the permaroot bin failed. I tried to mount the system as rw, but something seems to denying that:
[G3 Android Development] bobola:
How long is the temproot thing?

Its been like 30 mins and is just adding " . . . " after the "Waiting for devices".

Is this normal?

EDIT: Got it working. Bad usb port.
[G3 Android Development] Tiggarenstal:
Just saying waiting for device for me also.

Tried different usb-ports. Running PTP mode and all that.
[G3 Android Development] lux@:
LG G3, D855, 32GB, Android 5.0 Lollipop, V20f

Don't work... :( Any idea?
[G3 Android Development] m1trand1r:
It won't work. It has been said numerous times around and around and what not.

But no. People just won't READ THE LETTERS from previous pages.

Please read before you post.

Thank you:)

Sent from my LG-G3/d-855/16Gb/Titanium Black
[G3 Android Development] lux@:
Are 84 pages to read, but thank you... :)

(Un)fortunately after my post I found that I have to downgrade to KitKat. :(
[G3 Android Development] m1trand1r:
I didn't want you to read all 84 pages...that'd be insane....I meant only few pages back.. [emoji14]

But yeah. You got it right...LP can't be rooted :(

Sent from my LG-G3/d-855/16Gb/Titanium Black
[G3 Android Development] Menotti:
Seems to not work for the L90:

Any other methods I could look at? Thanks!
[G3 Android Development] Jangla:
I'm sure you're already aware but for info: LG G3, D855, 16GB, Android 5.0 Lollipop, Software version: V20h-EUR-XX

Fails to work.

http://puu.sh/fReJf/6bcb49200c.png
[G3 Android Development] balkan_warrior:
Are there any methods for rooting G3 5.0 devices?
[G3 Android Development] rimatox:
It seems like you have to take the hard way, use LG kdz flasher to downgrade to 4.4, then root it and install recovery and get a 5.0 rom which is already rooted... It's stupid really, but I don't know of any other ways sadly. :/
[G3 Android Development] B@sti:
Shame on you. Really, Einstein. A few posts before yours. :p

As a newbie remember one basic rule: read before posting!

Lollipop is not rootable. Period.
[G3 Android Development] groovism:
Hello, I have D855 with V10l installed and failed.

this is what i got

Rebooting phone...

Waiting for device... . Found device!

Found device, checking if vulnerable...

Yep, performing temproot...

Waiting for system to settle...

ERROR: Something went wrong. FakeSU didn't work, rebooting phone.

Debug information - 'ls -l /temp/fakesu':

/temp/fakesu: No such file or directory

------------------------

We tried to temproot you, and it didn't work. This phone isn't vulnerable, it would appear.

Please post on XDA with your phone model, carrier, and SW version in the PurpleDrake thread and someone will take a look.

---------- Post added at 12:20 PM ---------- Previous post was at 11:52 AM ----------

after factory reset my phone it's working. :D
[G3 Android Development] Thelargeportion:
Lollipop

I fully agree that it's easy to search to say that Lollipop isn't compatible...but...

PLEASE could this be made clear in the OP? The amount of people that have tried this method of root to find it doesn't work and then to come back to the search option is a bit unfair - if it's made clear in the OP that there isn't a root for Lollipop yet, it'd save loads of people wasting there time?

Just a suggestion.
[G3 Android Development] B@sti:
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.

-------------------------

Since there are no version 20 firmwares listed (just the 10 ones),

it's written in the OP and everyone can read it.
[G3 Android Development] DPCardoza:
Need some help here fellas. I successfully downgraded to 10b on my Verizon g3. Downloaded purple drake and ran several times. Usb debugging is checked and tried both modem and Ethernet Usb options. Drake light runs then says error in the script and a bunch of other stuff to follow but it immediately closes the whole program so I've got no idea what the error is. Any ideas on what I'm missing? I've tried running the Windows version as an administrator too but the program doesn't seem to want to run at all that way.
[G3 Android Development] AdamWill:
Tip for anyone who gets stuck at 'waiting for device' on a recent Linux distribution: run the 'adb' from assets/linux32 or assets/linux64 (depending on your arch) directly and see if it fails with a library issue or something. If so, that's the problem. If your distro has a packaged adb, replace the PurpleDrake adb with a copy of it and that should fix things up.

Here's some highlights from my attempt on a recent Fedora:

[adamw@adam PurpleDrake-Lite]$ ./purpledrake_linux.sh
Launching PurpleDrake for Linux
Waiting for device... ......^C
[adamw@adam PurpleDrake-Lite]$ ./assets/linux64/adb shell
./assets/linux64/adb: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
[adamw@adam PurpleDrake-Lite]$ cp /usr/bin/adb assets/linux64/adb
[adamw@adam PurpleDrake-Lite]$ ./purpledrake_linux.sh
Waiting for device... Found device!
All done! Your phone has been successfully rooted.

Many thanks to the authors!
[G3 Android Development] patt2k:
worked on LG G Pad 7 LTE. Tablet for kids ,installed link2sd and few tweaks right away for bunch of games. Thanks!!