yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G3] BACARDILIMON:
You had it easy. Mine crashed phone and twrp killed everything. Had to back to 10c with lg flash tool. Only fix I found

BAD ASS G3
[T-Mobile LG G3] vnyborg:
I just brought the g3,i did the update. Can i still root?
[T-Mobile LG G3] zawata:
well if youre in linux then you shouldnt be having driver problems(unless it was a super extreme case)

do you have root acces on your phone but no binary(like i did?) a way to check this is too run stump and SU, stump will say you are rooted but superSU will say it cant install the binaries
[T-Mobile LG G3] dreamsforgotten:
I have no root, stump says yes, supersu says can't install binary. I have adb access with the phone booted normally, none when it's in bnr recovery. Far as Linux, no there's no drivers but I believe my udev rules are configured properly.
[T-Mobile LG G3] zawata:
yes, if it wasnt rooted before then root normally using purpledrake

if it was rooted normally then you took the update, then try to use purpledrake and if it doesnt work then try to RUU back to before the update
[T-Mobile LG G3] dreamsforgotten:
I set my phone up on my gaming rig in windows at lunch and purpledrake completed successfully. I still don't understand why Linux is unable to access the bnr partition via adb but at least I'm back rooted. Thanks op.
[T-Mobile LG G3] bfederspill:
Will we loose the "m" update and be back on the "c"? I was also stock and did the update now I want to root with purpledrake.
[T-Mobile LG G3] dreamsforgotten:
Just go ahead with purpledrake it will not revert m to c only root either one.
[T-Mobile LG G3] bfederspill:
Well I'm rooted. Kind of strange though, after it temp rooted it asked to permroot. After I hit enter to proceed it done something then purpledrake closed after about 5 seconds. My phone screen had a picture of a phone with 2 cords plugged into it with a crossed out circle and I think the word 'no' in the middle. I did a battery pull to be able to reboot. I guess it worked cause busybox updated and a couple of my programs asked for root permission and got it. Had me worried for a while there. Thanks to all.
[T-Mobile LG G3] dreamsforgotten:
That's how it works. The screen with the two cords and the no sign is your bnr-recovery partition. It doesn't reboot you out of it at the end for some reason.
[T-Mobile LG G3] bfederspill:
That's good to hear I thought I screwed up somewhere. Thanks.
[T-Mobile LG G3] wha2do:
Ran into to the same, also worked fine though was a bit confused too. Thought I remembered after selecting to permaroot in PurpleDrake, an option on how to root (regular, modded boot, ... sorry going from memory here). Also thought it rebooted w/o a battery pull...but again all is well on mine too. :)

For others, there is another discussion on updating to 10m here:

http://xdaforums.com/tmobile-lg-g3/general/update-t2872755/page7 (specifically posts 332, 338, and forward)

And thanks for the mention about the bnr-recovery, dreamsforgotten!
[T-Mobile LG G3] Eddieh31:
i tried to install TWRP but its asking for files...where do i get them from?
[T-Mobile LG G3] wha2do:
Because you quoted the part about TWRP and TWRP manager, are you trying via TWRP Manager (it's found on Google Play Store)?

Personally I didn't use TWRP Manager because it downloaded/installed v2.7.1.3 which has the very small print. From within this app, it's done simply by selecting Install TWRP --> Install Recovery. It should start downloading the img file and install it...

I flashed via adb using another version of TWRP that was more readible (can't remember at the moment what version). V2.8 has been released that may also be easier to read but I haven't had a chance to try it. It can be found at: http://teamw.in/project/twrp2/249, but make sure you are downloading the correct version for your phone and the md5 matches. This is link/file is for the T-Mobile d851!

From the question posed, I might just let TWRP Manager do it for you unless you feel very comfortable using adb. Good luck!
[T-Mobile LG G3] jerseykat1:
How do I reboot into twrp recovery afterwards?
[T-Mobile LG G3] justen7723:
Manually

Hold down power and volume down at the same time let go once you see LG logo and then hold again. You'll see a screen saying its going to factory reset press yes (don't worry) you're now in recovery.

Or download quick boot from the play store.
[T-Mobile LG G3] bbobarino:
Jus wanna say that this was the easiest root to date for me awesome job and thank u so much
[T-Mobile LG G3] jerseykat1:
It actually did factory reset my phone.. I know its rooted.. I'm certain it is as I have root apps running.. Wtf.

---------- Post added at 12:14 PM ---------- Previous post was at 11:55 AM ----------

When I try quick boot the phone restarts.. Goes to the open chest android for about 5 seconds then it reboots..

---------- Post added at 01:01 PM ---------- Previous post was at 12:14 PM ----------

Do I need to manually install twrp from the twrp app in the app store?
[T-Mobile LG G3] Toneman07:
This sounds like you do not have a custom recovery installed - therefore it is going into factory recovery. Download TWRP manager - select d851 from the list and install. Then you will be all set. Rooted does not mean you have a custom recovery.
[T-Mobile LG G3] jerseykat1:
I was under the impression that this would root and install twrp.. So I do have to manually install it?
[T-Mobile LG G3] Toneman07:
If you are running on the D8551 something something M the phone errors out during the root process and never actually installs twrp. (Battery Pull required to get out of download mode) The thought is because the root method is attempting to install the old recovery image? Not too sure exactly. So you would then be required to manually download and install TWRP.
[T-Mobile LG G3] jerseykat1:
That is correct I did have to do a battery pull to get out of the install process.. D851
[T-Mobile LG G3] Toneman07:
You will need to manually install TWRP :good:
[T-Mobile LG G3] behappy:
Has anyone successfully installed TWRP and had the chance to restore a backup? Heard there are issues with this...
[T-Mobile LG G3] justen7723:
No issues here.
[T-Mobile LG G3] behappy:
I tried unzipping the recovery and flashing with flashify - no luck.

Mind linking me to where you got TWRP?
[T-Mobile LG G3] justen7723:
Download then Install with flashify

http://techerrata.com/browse/twrp2/d851
[T-Mobile LG G3] Dr.Pagan:
Hello..i flash twrp via Flashify and now remains stock in twrp...cant boot again the os...what should i do??? thanks:confused::(
[T-Mobile LG G3] behappy:
^Exactly what I heard was happening. Similar thing happened to me with a certain xposed module, and I had to dirty flash the stock rom. I'm not trying to deal with any of that, so I'm just going to wait a little bit until these issues are resolved.
[T-Mobile LG G3] Dr.Pagan:
The stock one in the zone rom thread???
[T-Mobile LG G3] Toneman07:
Use toolkit to flash back to stock. Re-root. Install TWRP using TWRP manager in play store then flash your new rom. Worked on both mine and my wife's phone. I have installed recoveries with no issue.
[T-Mobile LG G3] Dr.Pagan:
Lg Flash Tool???
[T-Mobile LG G3] Toneman07:
Yup
[T-Mobile LG G3] Dr.Pagan:
Im already downloaded .8g of 1.6 g lol..thanks mate...
[T-Mobile LG G3] behappy:
What device are you selecting in TWRP manager?

Update:

I was looking for G3, but found it under the obvious D851.

Flashed it, and am currently backing up. Sweetsauce!
[T-Mobile LG G3] Dr.Pagan:
Yea...I choose D851...and i had to flash factory image men...now im stock, unroot again...im afraid to try to root it again and get stuck at twrp recovery
[T-Mobile LG G3] BACARDILIMON:
The root process is simple and it is foolproof. Make a back up of app data with titanium backup and then go to town . it easy have no fear and just follow the directions.

BAD ASS G3
[T-Mobile LG G3] Dr.Pagan:
I didnt had any problem when i rooted....i made it...the problem was when i flashed twrp via flashify
[T-Mobile LG G3] bbobarino:
Installed twrp for me as well as root

---------- Post added at 07:04 PM ---------- Previous post was at 07:02 PM ----------

You shouldnt have to pull battery at all. Wen is installing b patient it will boot up on its own
[T-Mobile LG G3] Dr.Pagan:
After flash twrp ask me to reboot it...hit yes then boot to twrp recovery and never boot again..im in the m version
[T-Mobile LG G3] bbobarino:
O im on the c version maybe thats y?
[T-Mobile LG G3] BACARDILIMON:
Use twrp manager

BAD ASS G3
[T-Mobile LG G3] BACARDILIMON:
Nope I am on 10m no issue at all.

BAD ASS G3
[T-Mobile LG G3] Dr.Pagan:
Yes Men...I used it and is all so freaking good....:laugh::good:
[T-Mobile LG G3] BACARDILIMON:
Glad it worked out for you

BAD ASS G3
[T-Mobile LG G3] jailbreakkid23:
Does a factory reset return me to stock recovery?

swagg blasted from Tmo LG G3
[T-Mobile LG G3] daveid:
No, you would have to flash the stock recovery. Wiping just effects the data partition.
[T-Mobile LG G3] raw2000j:
Just puts u when u onstalled rom first time with no apps and stuff u added
[T-Mobile LG G3] recepo1:
Worked perfectly fast and easy thx
[T-Mobile LG G3] aaronrw:
Edited
[T-Mobile LG G3] aaronrw:
Does the app install the newest version I couldn't see an option to select which version to install. TIA
[T-Mobile LG G3] Txwolf1980:
BNR Recovery stall

A little history.

Before taking the 10m, I did everything EXCEPT forgot to unroot. Stump said I was, SU said I wasn't, and I have corrupted su binaries in /system/xbin

Today, I finally got my linux box back, and decided to try flashing PD. Everything went fine, until it boots me into BNR recovery (the image of phone, usb, and the hand). Once there, it sits on 'waiting for device.

Reading up through terminal, I'm seeing this

hugh@hugh16 ~/Downloads/PurpleDrake $ ./purpledrake_linux.sh

chmod: cannot access ‘./assets/linux/’: No such file or directory

Launching PurpleDrake for Linux

Welcome to PurpleDrake!

Since It hasn't flashed anything, I've unplugged and rebooted with battery pull. I'm getting the same result twice.

Thoughts? And, yes I chmodded.
[T-Mobile LG G3] Txwolf1980:
[MENTION=2551535]dreamsforgotten[/MENTION]

I'm in the exact same scenario you had with Linux. Did you ever figure it out, or did you wash your hands of the mess after you got it done on your gaming rig?
[T-Mobile LG G3] dreamsforgotten:
Tbh, I didn't play around in Linux after rooting in winblows. Something is askew tho, I checked the device and vendor Id via lsusb and put those values into 51-android.rules restarted adb and udev. I checked and double checked my values on that. When I run adb devices I'm left with the ?????? No permissions output.
[T-Mobile LG G3] Txwolf1980:
Same thing I'm getting. Adb wants you to permit the computer again, from what I can tell, but since there's no ui for the popup, you can't. I'll stall my wife's computer this weekend, I suppose, but I'd really like to figure out what the issue is
[T-Mobile LG G3] Papote3:
Just to be sure... what is the procedure to follow to root. Im on 10m not rooted everything stock
[T-Mobile LG G3] dreamsforgotten:
You can either go purple drake or stump, stump being the easiest but you'll have to select brute force option I believe
[T-Mobile LG G3] Papote3:
Went with purpledrake, couldn't wait for a response... Haha

Just like in earlier posts, the prompt window just closes and phone gets stuck in download mode.

Went ahead and did a battery pull, boot it up fine, installed supersu from play store, it installed su binaries fine

Next busybox and and twrp manager

I now have root and custom recovery

My concern was this root flag that gets checked when rooting. My guess is that the custom boot.img in purpledrake is not for fw 10m and that the reason for the prompt window suddenly closing and also my phone showing as rooted. But as it has been said, I can just flash stock and the root flag would go back to unrooted
[T-Mobile LG G3] housry23:
OK that was my concern, the root check. So flashing back to stock removes the root flag? PurpleDrake successfully rooted my G3, I installed SuperSU from the Play Store, Installed TWRP 2.8.0.1 in fastboot and now I'm worried about the root flag, but as long as a flash back to stock resets it, no worries.
[T-Mobile LG G3] Papote3:
I haven't tried it, but read the 2nd post.

I also read it somewhere else
[T-Mobile LG G3] gmore70:
Windows File Corrupt?

When I download the code file for windows and try to extract it I get an error that says the "archive is corrupt". Am I doing something wrong? Thanks in advance for any help.
[T-Mobile LG G3] BACARDILIMON:
Redownload and use a different browser

BAD ASS G3
[T-Mobile LG G3] pattielipp:
Hey TX! It's been A LONG Time! it looks like our paths have crossed again. Are you still having issues with this and rooting your phone shoot me a PM or an email if you still have that and i'll get you there?

Are you still driving?
[T-Mobile LG G3] Txwolf1980:
Damn. I didn't expect to see you around here!

Nah. I just waited until I got to a windows machine and dealt with it. I have an idea of what's screwed up on Linux, but not how to fix it. I'll experiment, to learn if nothing else, if you've got a solution.

Yeah. I'm still driving. Hit me up on hangouts, and we can bs. I'll pm you my email, in case you don't have it saved
[T-Mobile LG G3] The Ringmaster:
Is there any fix for this yet?
[T-Mobile LG G3] Papote3:
I don't know.... I guess if the OP hasn't posted anything new then that would be a no. But you can safely root with PD. The only thing is that you have to do a battery pull after the PD command promt closes. Then just install Super SU, busybox and TWRP from playstore. Really easy for someone who has played with rooting and stuff.

And aboy the root flag being checked, I wouln't worry about that, He says in the second post, how to go back to stock completly unrooted
[T-Mobile LG G3] UK2K:
Wanted to give props to the Devs. Made the switch from ATT to TMO and G3 yesterday. Got home downloaded PurpleDrake and worked flawlessly so thanks for the sweet application. :good:

Now to decide which ROM to try.

---------- Post added at 09:48 AM ---------- Previous post was at 09:45 AM ----------

Curious as to why you had to do a battery pull after the PD prompt closes? I ask because I didn't and everything went fine. I went with the install TWRP option.. 2 I believe, and that was that.
[T-Mobile LG G3] dreamsforgotten:
Are you on the 10m update
[T-Mobile LG G3] Papote3:
Were you on 10c or 10m

I was in latest (10m) and it did not ask me anything like that. The prompt just closed and the phone was stuck in download mode
[T-Mobile LG G3] UK2K:
I'm on the 10C.

I'm totally new to the G3 so just curious.
[T-Mobile LG G3] carnegie0107:
Exits prematurely in linux?

It manages to permaroot just fine, but rather than asking about TWRP and a custom boot.img as the thread indicates is the intended behavior, after permaroot it outputs:

Applying permaroot...
Waiting for system to settle...
Checking if it worked...
Permaroot worked, all done here. Moving on...

then exits without error. stderr only reveals

chmod: cannot access ‘./assets/linux/’: No such file or directory

I already manually chmod-ed everything in the assets folder, purpledrake-main doesn't actually point to ./assets/linux/, but gets the adb path in /linux32/ or /linux64/ from purpledrake-linux.sh. Obviously the OP knows this, I'm just saying that the only thing in stderr is clearly unrelated.

I'm manually flashing the boot and recovery images found in the assets folder after I finish this, but I thought I'd post that it didn't seem to be working as intended.
[T-Mobile LG G3] jaredtritsch:
I am experience the same issue with requiring a battery pull.
[T-Mobile LG G3] Papote3:
That the reason, why it didn't close and everything finished.

I think PD hasn't been updated for the new fw 10m and that's, why it closes if you have 10m. (It gets root, just doesn't custom recovery or superuser).

Like I said before, I think it has to do with the boot img. It still works on 10m, its just a little different step than with 10c

---------- Post added at 11:55 PM ---------- Previous post was at 11:52 PM ----------

If you are on 10m, when PD closes, just pull battery to do a restart and then manually install supersu from market and recovery (I use twrp from market app twrp manager)

---------- Post added at 11:56 PM ---------- Previous post was at 11:55 PM ----------

If you are on 10m then Same procedure I've been describing. You are already rooted! You can verify with root checker from play store
[T-Mobile LG G3] Syntax323:
Since its failing does it happen to still install the root checker mod? That says we aren't rooted? I don't want to trip the counter...
[T-Mobile LG G3] Papote3:
The root flag gets checked if you are on 10m

But you can return it back to stock when ever you need it (read second post)
[T-Mobile LG G3] Syntax323:
Oh okay awesome. I heard stump root stopped working, but I see people on 10m still using it and saw an article saying it still works. What's different between them? Stump and this one both do same thing right or does PD do something stump doesn't for 10m?
[T-Mobile LG G3] Papote3:
I haven't used stump, but heard that they both do the same of you're on 10m
[T-Mobile LG G3] Syntax323:
Okay right on. I mean with both I still have to manually install recovery and suoerSU. Just making sure either way is okay
[T-Mobile LG G3] Syntax323:
Since I'm on 10m though, is there a method preferred over the other? I would have used Purple if I was on 10c, but now i guess it won't matter right?
[T-Mobile LG G3] Syntax323:
Actually. If I factory reset my phone, i'll be back to 10c. WHen I got the phone I had to install the Update. It popped up when I got phone turned on for the first time.

Though, if I root on 10c, am I stuck on 10c? I would have to flash a 10m over wouldn't I?

Or is there no point in doing that? Should I just do PD root on 10m, than superSU and Recovery from market, and i'll be good?
[T-Mobile LG G3] dreamsforgotten:
Yes, your conclusion is correct.
[T-Mobile LG G3] jpeps3:
Twrp. Flashable pleaase
[T-Mobile LG G3] at4r1:
Is anyone else having an issue with the download. I tried using 7zip to extract it. When extracting the tar I get an error stating that the file can not be opened as an archive.

When using linux I get the following:

root@box:~# tar -vxzf PurpleDrake-TMO_R03.tar.gz

tar: This does not look like a tar archive

tar: Skipping to next header

tar: Exiting with failure status due to previous errors

Obviously tried different browsers and computers.

EDIT: must have been the network I was on corrupting the file. I got it now.
[T-Mobile LG G3] htcgr:
lg l90 d410 it works...!!!!:victory:
[T-Mobile LG G3] jayceebee23:
In linux you need to gunzip before untar.
[T-Mobile LG G3] umbc1205:
Just wanted to say thanks for the script. Rooted this morning using the script with no unknown issues (The script closed during Perma root process, but must of completed as I had root after rebooting the phone).

Thanks
[T-Mobile LG G3] jlk_250:
I just rooted my D851 with 10m. It closed the command prompt window when it finished permaroot but left the phone with the "do not unplug" screen. Pulled the battery and rebooted with root intact. Thanks!
[T-Mobile LG G3] iStayHigh:
Thanks for this easy to use program,rooted my girls G3 quick & fast

N⁴ eating breadcrumbs & bunnies with a Matr1x kernel
[T-Mobile LG G3] he6rt6gr6m:
Works with latest D855 V10l update. Cheers! :good::good::good:
[T-Mobile LG G3] aldaris565:
is there a way to just flash TWRP? my phone is already rooted.
[T-Mobile LG G3] Justin33060:
Error

Im getting a error "Windows can not find \assest\windows\bin\mitty

What do I do??
[T-Mobile LG G3] SamDeKyro:
After using PurpleDrake on D85110m No apps would install from Play Store. Once It's done downloading it would just stop, doesn't freeze or anything. I cleared the Cache for the Google Play Store under apps and it worked. I was able to install SuperSu & Twrp. after running SuperSu and selecting TWRP the phone restarted. But not I am back to the apps not installing again, except this time clearing the Cache doesn't seem to fix it. Any suggestions? Thanks!
[T-Mobile LG G3] Stewartwi:
Stock question?

Newb question sorry if it's been asked already? Can I use this to return my phone completely to stock included reverting the bootloader back to stock as well or will this just put the software back and not the loader?
[T-Mobile LG G3] Showtek1980:
Hello :) You can add this version ( F400k10t) to your spreadsheet on the first post :) .. I just updated to the F400k10t version and rooted with this beautiful tool.. Thank you much !!!! The update is about 130MB.. The speed after the update is fantastic :) :good::cowboy:
[T-Mobile LG G3] tribalartgod:
Forgive my ignorance, as I'm still new here... If I follow this process for Root only, no extra ROM, will this break anything? Example: Camera, Tethering, etc.

Thanks in advance
[T-Mobile LG G3] dreamsforgotten:
Nope, will strictly root your phone
[T-Mobile LG G3] MeatyCoins:
does this tool also unlock the bootloader? or should/could I still use bump after using this method (to unlock BL?)

Thanks!
[T-Mobile LG G3] dreamsforgotten:
D851 is already unlocked no need to bump at all. This doesn't unlock, merely roots. If you're on 10c it'll install twrp if you're on 10m it will not. You'll have to install twrp via twrp manager.
[T-Mobile LG G3] Deefex:
So this is the 3rd time i'm trying this. Earlier today, I tried getting in recovery mode. because that's how I rooted my past 2 droids. just putting in the tar of zip file in internal memory, and then booting into recovery mode. This site I read stuff on just told me to press yes when it asked to do a hard reset.

So I clicked yes to both and boom! It actually did a f*cking hard reset and I lost EVERYTHING! Very disappointing.

So i'm trying again. This time I even installed the g3 firmware drivers from LG's site. I have it on developer mode, USB debugging. all the options in developer mode is as it once was right after I did "installed" the developer mode trick. Long story short...

I now click on purpledrake_windows and the cmd windows comes up with this.

So that's my problem. IT's been like 6 minutes and just hangs there. saying "Waiting for device". not doing anything. I have supersu installed. so idk what's wrong. :(

P.S., Since trying that Power Button + Vol down. I would sometimes go into Safe mode. Has anyone ever seen that? been there? or know what safe mode is for? is it like windows' safe mode?

I just looked and still...."Waiting for device" and no movement or action. :(

I have a LG G3 LD-851 10m kernel 3.4.0 Version 4.4.2
[T-Mobile LG G3] Deefex:
NICE!!! It was able to find my device. I kept making sure I had the latest drivers and firmware for my phone throughout this whole process. And it always kept saying I did. So I thought I was going nuts. But then one time, I plugged my phone in and asked if I wanted to install the LG PC Suite. So I did, and then ran purpledrake_windows and BAM! So quick!. So I chose to just permaroot it. So after rebooting and everything. I was looking at my phone and missed what the cmd window said, it then closed. but on my phone. There's this icon of my phone bring plugged and it's having a red hand on top of the plugs. IDK if this means not to unplug it or to unplug it? I'm going to read some of the replies on this thread and see if I should unplug now.

But if anyone is having any problems with this after setting up developer mode and USB debbuging and it still can't find your phone. Try looking for and installing the LG PC Suite. :) I can't wait till I've rooted this sweet phone. I just recently got a samsung galaxy note pro tablet. I wonder if it can be rooted already. But that's for another thread. hehhee. Thanks everyone for sharing their knowledge on previous posts.