yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G3] tribalartgod:
Windows Instructions

I understand this method and device are still in the infant stages, however, I do have some questions...

During the Windows execution of PD, the command prompt closed during the PermaRoot process, requiring a battery pull to reboot the phone...

> The phone was in fact rooted, despite the closing of the command prompt. (Tested with TB) However...

TWRP was not installed during this process, nor did it prompt for a custom boot.img...

-What does this mean? (As in, was anything missed?)

-Does the process need to be done again?

-Did I just trigger the root counter?!

-Can someone please explain this to me like I'm a 5 year old?
[T-Mobile LG G3] dreamsforgotten:
Are you on 10m software revision? If so what you experienced is normal behavior.
[T-Mobile LG G3] tribalartgod:
I am indeed on 10m. Thanks for your quick reply! So, since this is normal, I assume, the root trigger was not tripped? Is this correct?
[T-Mobile LG G3] dreamsforgotten:
Oh no, the root trigger was indeed tripped, however, a return to stock will alleviate that.
[T-Mobile LG G3] tribalartgod:
Perfect. As long as I can hide the root if it's ever needed, I'm happy. :D ...Now, to make a Boot Animation. :D

Hey, thanks again for the quick reply and your help!
[T-Mobile LG G3] dreamsforgotten:
Anytime.
[T-Mobile LG G3] diverwes:
I have the same on mine running 10m but my question is TWRP its not installed so how do I do that. It ran great until after the perm them closed without asking about rest of installs.
[T-Mobile LG G3] dreamsforgotten:
I have not installed twrp myself, but I believe you simply install twrp manager from the play store and allow it to install twrp.
[T-Mobile LG G3] tribalartgod:
I used Flashify... Download the img file from TWRP website, and tell Flashify to use that file. Worked fine for me.

I have since unrooted for now tho. I was getting some weird glitch where my alarm icon and sync icon were fluctuating between each other. I also had an issue where my carrier data and wifi were both active at the same time. Both were pulling data from the same source. (Might have been something I missed myself, but I'm still gonna wait a bit I think)

[MENTION=2684188]autoprime[/MENTION]... Your instructions for removing root on this phone worked great... For entering download mode, you do not have to pull the battery tho. I was able to unroot last night without doing so. Once the "3" showed up I did have to pull the battery at that point tho.
[T-Mobile LG G3] Nsx93:
Any confirmation this work with 10m without issue? Just got my g3 and it's updated to 10m..

Thank you

UPDATE:

Confirmed it worked. Although you will need to pull the battery after it's done. The program itself will exit upon completion. you will NOT get any notification. Your phone WILL still show the data cable and phone image. I waited about 3 minutes for it to do something but nothing happen. So i pull the battery. Reboot and proceed to installing SuperSu and Root Checker.. Confirmed Rooted..
[T-Mobile LG G3] dreamsforgotten:
It will work, the app in Windows will not exit properly, ie it will hang, but your phone will root without issue.
[T-Mobile LG G3] Crossxcalibur:
I believe I am dealing with this myself. I have rooted fine, but no TWRP. Flashify doesn't recognize my device to install it either. Are there any other methods to install TWRP for the the T-Mobile G3? Just got the phone, but surprised to see a smaller community with this compared to the G2. Thanks for any help.
[T-Mobile LG G3] tribalartgod:
Flashify works, but not without a few more steps first. Go to the TWRP website, and grab the IMG file for the recovery for this device. Put that IMG file on your memory card and then select it with Flashify. Works fine. :)
[T-Mobile LG G3] Crossxcalibur:
Thanks. Checking it out now.

EDIT: Worked perfectly. :)
[T-Mobile LG G3] enrell:
Help needed guys.

Anyone knows how to remove TWRP? I forgotten to turn off OTA updates. My phone downloaded them and restarts. After restarting, it would boot to TWRP. Restarting system in TWPR does not work.

Help !!
[T-Mobile LG G3] tribalartgod:
If I understand you correctly, you ARE able to boot to TWRP, but NOT able to boot the system... Is that correct?

If this is correct, you should be able to simply flash another ROM and be done with it.

If this is not correct, then you will have to restore with the factory TOT file, and start from scratch.
[T-Mobile LG G3] dbh369:
Will it work with Lollipop ;)

http://www.engadget.com/2014/11/09/lg-first-with-lollipop-upgrades/
[T-Mobile LG G3] datdirtyscrew:
I apologize if this has been covered. Since I started flashing AOSP Roms recently now that BT works, I can't backup anything new. Instead.... Some of my other files some how end up in the TWRP folder. Wth. No clue what happened. Gonna do some testing now but curious if this has happened yo anyone.
[T-Mobile LG G3] foxfire235:
Not working for me. Tried on windows and mac. Any ideas?

Your phone is a [ LG-D851 ] on [ ] running SW version [ V10c ] ...

Edit- My device is with GCI wireless in Alaska and I used the IOroot method and it worked. The issue was that this device does not have the bnr-recovery, but standard 3e recovery instead.
[T-Mobile LG G3] MCASTILLO:
Sorry to bother you.

Right now my device has D85110M software version, custom Rom.

When I go back factory state, can I use D85110C Tot file for unroot my cellphone?

I hope someone can help me please, thanks.
[T-Mobile LG G3] pmgreen:
I'm rooted but having issues with flashing so decided to try to reinstall TWRP but it chokes on Fastboot. So I tried using PurpleDrake again but it freezes on 1620 fastboot processing commands.. help please...
[T-Mobile LG G3] nostrzak:
The script is not recognizing my device after reboot to recovery. If I try to run adm manually I get:

nostrzak@nostrzak-ux32vd:~/Pulpit/PurpleDrake-Lite$ adb push ./assets/start_restore /temp/start_restore
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: insufficient permissions for device

Any advice?
[T-Mobile LG G3] MCASTILLO:
Sorry to bother you, again... I really need your help, anyone, please?

Right now my device has D85110M software version, custom Rom.

When I go back factory state, can I use D85110C Tot file for unroot my cellphone?

I hope someone can help me please, thanks.
[T-Mobile LG G3] AlexRamallo:
I think the latest version of this is broken. I just used it on my D851 on Win8, and it managed to perma-root. However, as soon as it says "Permaroot worked, all done here. Moving on...", it closes and doesn't let me install TWRP. I remember I used PurpleDrake when I got the phone a couple of months ago, and it worked perfectly.

Thanks anyways for the root :P Guess I'll have to install TWRP on my own
[T-Mobile LG G3] bkeaver:
This is all its ever done for me. First time I've used it it was back in September. If you look back in this thread that goes back at least that far if not further.
[T-Mobile LG G3] jayceebee23:
i wouldnt exactly say it's broken since this was orginally meant to root firmware version 10c. that it also works in 10m i think is good enough for me. just install twrp manually. easiest way is to use twrp manager.
[T-Mobile LG G3] autoprime:
for the record... as of today's D851 10R update.. PurpleDrake is patched. No clue what has or hasn't changed otherwise.. also has nothing to do with this thread.

I'd guess there probably won't be an updated LG root in the immediate future... no reason to waste a bug when downgrading is still possible... every single G3 and other flagship LG device has root with some firmware version. Perhaps we'll see a new android-wide 4.4.x bug that would work for all.

Others will have to report if being previously rooted then taking the OTA from 10M to 10R retains root.

Your other option is to dump the 10R KDZ and flash the 10R partitions manually with TWRP. I'll probably make a secure flashable bootloader update zip.. and I'll have have the boot, modem and all the other partitions (minus system), as always, up on my codefire folder. Someone else will have to upload/mirror the system.img for the masses. My "flash2" zips found HERE under the "How-To Manually Flash/Update Device" section will automate the "dd" commands to easily flash the stock untouched modem.img, boot.img and system.img. OR wait for a flashable 10R rom.. and just flash the 10R modem manually (TWRP needed of course).

Bootloader has been updated but it's not related to any sort of lock. You can still downgrade and it's still 100% open/unlocked.
[T-Mobile LG G3] Boomer6345:
Ugh...

Just bought a T-Mobile LG G3 (D851). Working great and love it. But I foolishly accepted the latest OTA (so I'm now on build 110M) when I first powered up the phone. Now I'm stuck with no root and no way to unlock the bootloader, correct?

Is there no way to flash an older kernel, use Towelroot, and flash back? If I follow procedures to flash back to old ROM I lose data, correct? I can't back up my data now since I don't have root! Yuck!!!!
[T-Mobile LG G3] justen7723:
Root should work fine on 10m and boot loader is unlocked with tmo variant.
[T-Mobile LG G3] Boomer6345:
Thanks....and sorry....that was a bad post by me.... ;)

I meant there is no way to install TWRP (not unlock bootloader) without root since fastboot download mode is not available without rooting and then disabling LG's special download mode first....or rooting and using a tool like Flashify.

But....since 10m is rootbale....I'll give it a try.

But I really thought the latest OTA was not rootabale....and thought 10M was the latest. But that must be 10R which I see posts about today....I'm not seeing 10R as an available OTA on my phone. Could this be due to me having an AT&T SIM installed and using the phone on their network instead of T-Mobile?
[T-Mobile LG G3] peripheralview1:
Purple Drake Temproot only

So I just got a replacement and took the OTA 10R by mistake while setting up the phone. PurpleDrake will temproot the OTA, but gives an error and immediately closes if you try to premroot. Anyone have a suggestion while I'm in temproot? Tried the LG flash tools and was not able to read the device even after changing the port number... Unified android toolkit recognizes device but doesn't give options for installing recovery under the basic menu. At worst case I stay with 10R for a few weeks till L arrives for T-Mo. Still would like root again for my Ti Backup. Thanks in advance...
[T-Mobile LG G3] koraun:
Thanks!! Using flashify worked for me.
[T-Mobile LG G3] roughmouth:
confirmed to work

running a backup now and the im a gonna get rid of some bloat! (not that this has much lol). It was a little scary getting into twrp though. ive never had to do it through the hard reboot menue but it worked!
[T-Mobile LG G3] chakra:
I don't know why it won't work, still stuck on waiting for device....
[T-Mobile LG G3] CWick4141:
I get stuck in Ubuntu waiting for devices

Starting our ADB server...

./assets/purpledrake_main.sh: line 38: ./assets/linux//adb: No such file or directory

Waiting for device...........

i'm in PTP as mentioned above
[T-Mobile LG G3] F4M0U569:
so how do we get recovery to work? just install twrp from play store and that's it?
[T-Mobile LG G3] pandacookie:
The script should have installed TWRP for you. If you mean how to ACCESS recovery, I do believe there's a button combination. Anyone wanna clarify?
[T-Mobile LG G3] janitorjohnson:
So...theoretically if I have a standard PC running Ubuntu this would work fine?
[T-Mobile LG G3] hello00:
just install the quick reboot app
[T-Mobile LG G3] The Kid Cassidy:
How did you do a hard reboot? I have root and flashed twrp through flashfiy....but don't know how to get into twrp.

*EDIT installed quick reboot app...making a backup now!! man why does the TWRP look so small on the screen? Hope it's still legit..LOL
[T-Mobile LG G3] stuckintheskull:
Yes. I used Ubuntu 14.04 to run and worked good.
[T-Mobile LG G3] trebills:
Anyone know how to get adb working a VirtualBox Linux x64?
[T-Mobile LG G3] janitorjohnson:
Perfect. Getting it done now. Thanks
[T-Mobile LG G3] F4M0U569:
no it doesn't install. you have to do it manually
[T-Mobile LG G3] CheesyNutz:
Just to confirm this will not wipe the device?

LGG3 and beyond
[T-Mobile LG G3] roughmouth:
Warning ... If you do not have twrp installed this could suck. Shut down completely. Hold down button and power till the lg logo comes up, release and repress until it goes into hard reset mode. Go thru the steps to do a hard reset. If it wipes your phone you did not have twrp installed. Freaked me out a bit but it worked. Do this at your own risk
[T-Mobile LG G3] AngryDinosaur:
will this be posted on the TMO thread too
[T-Mobile LG G3] androidoholic:
It installed fine for me on a mac. I'm doing a TWRP backup now

No it will NOT wipe the device.
[T-Mobile LG G3] F4M0U569:
im on windows that's why
[T-Mobile LG G3] Jephre:
ADB recognizes my phone when I first plug in, but when I reboot, it doesn't recognize the device so the script isn't going through.

Anyone else having the same problem on a mac and is able to get through it?
[T-Mobile LG G3] BallCity:
Yup, this worked great for me! I have root now! Very nice, very easy. Thanks a lot man!
[T-Mobile LG G3] krowley3:
I am not 100% sure about this and whether it would work, but if you have temp root and you can install SuperSU, download the latest twrp recovery.img, put it on the internal sdcard and do the following via adb shell or terminal emulator.

su (then press enter and grant SU permissions on the phone)
dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
reboot recovery

If that works, you should reboot into twrp where you can flash this SuperSU to root permanently or flash another rom that is already rooted. I have not tested this or ever had to deal with a temp root situation, so I cannot guarantee that it will work, but the logic makes sense to me. I believe [MENTION=2684188]autoprime[/MENTION] stated that you can still roll back to either c or m and then root and update from there. Don't quote me on that though.
[T-Mobile LG G3] peripheralview1:
Thanks krowley, I'll give it a try this weekend. If all else fails, I'll try to bribe my local tmo techs. to wipe my system off my phone...lol.
[T-Mobile LG G3] bigcletus:
I used this method when I first got my D851 with my mac and it worked but gave strange errors in the terminal on osx.

Anyways, I have root working fine but currently only stock recovery. Could I safely use something like flashify to install CWM/TWRP? Thanks.
[T-Mobile LG G3] potato salad:
Yay, finally got it to work. It would just say waiting for phone and after a few lines of dots I figured I was doing something way wrong. I'm far from an expert but this is what I did. I'm on Win 8.1. with the 10M build btw.

On my phone I enabled developer options by going into settings, then about phone, then software information, then just tap build number a bunch of times. Now you should have developer options in the system menu under settings. Open that up and enable developer options. Keep in mind that it will be 'grayed out' if you have the usb cable connected to the computer and won't let you change it until you unplug. Connected my phone and had MTP option enabled.

Now I unzipped the purple drake tar file I downloaded. i actually had to unzip twice until I finally got a folder. Then I checked for mintty.exe under "PurpleDrake\assets\windows\bin\mintty.exe" as others kind folks on here mentioned to try and opened it and received this message "/bin/sh: No such file or directory". I nodded my head and pretended to know what I was looking at. Anyway, then I opened "purpledrake_windows" as mentioned in the OP, hit enter and all was good. I will note that it just exits when complete and gives no root confirmation.

Back to my phone I found root checker on the play store as mentioned on here as well and confirmed all was good. Way too much detail i'm sure and like basics for most ppl on here but hopefully this helps someone that was struggling like me.
[T-Mobile LG G3] peripheralview1:
D85110R flashed back to D85110C

Finally got it flashed back to 10C. Used the LG Flash Tool 2014. CSE flash was hanging in the program so I ended up dirty flashing over the top of 10R. Once it was re booted, major errors and hanging so I did a full system reset, wiped everything, and restored with twrp... Now everything works but when i try a phone call it immediately says call ended before it even places the call... I'm thinking update the radio???
[T-Mobile LG G3] wwwwd83:
tried but got error.

Downgraded to m using LG Flash Tool then took OTA Update. Everything worked fine. Then tried to run PurpleDrake and its allowing me to temproot but giving me an error when I try to permaroot. The screen closes so quickly that I cant see what the error actually is. Any ideas?
[T-Mobile LG G3] peripheralview1:
Just did the same thing as you, however I used stump root and it worked like a charm once I was back on 10m. There's a thread for it in the forum here somewhere. Just download the apk from the thread because it's not in the play store. Good luck!!!
[T-Mobile LG G3] wwwwd83:
cant find stump.

if you run across the link, let me know. gracias.
[T-Mobile LG G3] peripheralview1:
http://xdaforums.com/lg-g3/orig-development/root-stump-root-lg-g3-sprint-verizon-t2850906

Thread for stump root... enjoy!
[T-Mobile LG G3] AKfortyseven:
Pretty sure I was on the latest update(R?) and this method rooted just fine and TWRP app from play store installed TWRP just fine.

Thanks OP
[T-Mobile LG G3] johnny tsunami:
Same problem as some.

I am on 10m, and I think that I got stuck in temproot. All of the sudden the terminal closed, and I tried using quick boot to boot into recovery to see if it would open twrp. No dice, I am wondering what I can do, since im stuck in this limbo state of root, I have supersu installed, and root checker said I am roooted, but I cannot go into recovery. Any suggestions? thanks.
[T-Mobile LG G3] celljunkie707:
reboot the phone by pulling the battery. then download twrp from market. install superuser/busybox if needed. install TWRP from the app. use a terminal app to run command "reboot recovery"
[T-Mobile LG G3] crashfocus:
I just got this to work on a fresh 10R installation. It's not impossible to do!

First things first, here are the things you need to have downloaded:

- TWRP 2.8.2.0

- PurpleDrake (you're in the thread)

Prerequisite: Extract the recovery image (literally, recovery.img) from the TWRP ZIP you downloaded, and put it in a safe place (say, ~/Desktop).

Here's how I got it to work:

1. Use PurpleDrake to TempRoot. STAY AT THE TEMPROOT PROMPT. PermaRoot will fail if you try it. Like PurpleDrake will say, use Ctrl+C (on Mac/Linux) to exit out of PurpleDrake and return to the shell. Your phone will be in recovery mode. Keep it there.

2. Ensure your phone is connected to the computer: type "adb devices". If you get a "no devices found" error, just unplug the phone and plug it back in. Type "adb devices" again to make sure it shows up.

3. Type "adb push insert_path_to_recovery.img /temp" and make sure it pushes. Now, type "adb shell /temp/fakesu". This will put you in a superuser shell on-device. This is a good thing. Type "ls" and make sure the recovery.img is in /temp (fakesu is in /temp, no need to change directories).

4. Install the recovery image to the device by typing "dd if=recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery" This should only take a few seconds to work. Now type "reboot recovery". If it doesn't boot into TWRP, you have bigger problems. It should boot into TWRP, with all its awesome recovery glory.

5. If you want root, you can download SuperSu from this thread, adb push it to your device, and flash it accordingly.

6. Enjoy!
[T-Mobile LG G3] jongcruz:
dd command is not working, can you explain better the step 3

thanks......a video about this would help a lot.
[T-Mobile LG G3] BACARDILIMON:
Lmfao. You know the op has video right?

BAD ASS NOTE 4
[T-Mobile LG G3] YourWorstFears:
i press the ctrl+c and nothing happens it just closes purpledrake

im on windows
[T-Mobile LG G3] BACARDILIMON:
[emoji122] [emoji122] [emoji122] [emoji122] [emoji122] [emoji122]

BAD ASS NOTE 4
[T-Mobile LG G3] xXNahNahXx:
I have a tmobile g3, i turned on usb debugging, changed usb settings to ptp, allowed the installation of unknown sources, and i also have the latest drivers. When I run purpledrake (windows) it stays stuck on "waiting for device..."
[T-Mobile LG G3] BACARDILIMON:
I think back in sept I posted a link for you . Same link applies .

BAD ASS NOTE 4
[T-Mobile LG G3] trikar21b:
I'm right there with you. I get to the fakesu shell and then I can't do anything. :(
[T-Mobile LG G3] sasidhar79:
when i type in adb shell /temp/fakesu, i get # prompt but when i typed ls or any other command nothing happens.
[T-Mobile LG G3] gt911:
I followed all the stepds and my phone is not rooted. Once I installed the Superu, I opne it and a message appears:

"There is no a binary of super user installed and super user cannot install it. Ir is a problem!"

I press OK, and tyhen it closes. I check with root xecker, and it says: "this device does not have an appropiate root

access"

what can I do? thanks
[T-Mobile LG G3] BACARDILIMON:
How to Root the LG G3 - Latest: http://youtu.be/nmeER5btwDo

This is so simple. Watch video then rewatch and go along

BAD ASS NOTE 4
[T-Mobile LG G3] BACARDILIMON:
Follow that video I last posted

BAD ASS NOTE 4
[T-Mobile LG G3] gt911:


This method with this app vives me the message "sorry your phone is patched"
[T-Mobile LG G3] BACARDILIMON:
What software do you have on phone

BAD ASS NOTE 4
[T-Mobile LG G3] gt911:
I have 10r

Thanks for the help
[T-Mobile LG G3] BACARDILIMON:
I am not home near the phone. I will test it In A few hours when game is over and I get home and post results.

BAD ASS NOTE 4

---------- Post added at 10:12 PM ---------- Previous post was at 09:58 PM ----------

http://www.androidexplained.com/how-to-root-lg-g3/

You have to downgrade. It very easy. Follow the steps

BAD ASS NOTE 4
[T-Mobile LG G3] gt911:
Ok no problem. Enjoy the game

Thanks
[T-Mobile LG G3] BACARDILIMON:
I never upgraded. So when I did I lost root. Went backwards and was ok with stump.

BAD ASS NOTE 4
[T-Mobile LG G3] gt911:
I will do it. Am i gonna lost all the app and data? Can i brick it? Sorry sir. This is my last question (i am very nob at this)
[T-Mobile LG G3] BACARDILIMON:
Yes it is very possible to brick. But if you a noob as you call yourself it will be hard to unbrick

BAD ASS NOTE 4
[T-Mobile LG G3] gt911:
Is it possible for a new way to root without doing downgrade to be released?
[T-Mobile LG G3] BACARDILIMON:
No

BAD ASS NOTE 4
[T-Mobile LG G3] locozildjiangodx:
And I imagine the only way to downgrade is to do a factory wipe? So all info will be lost (again) till I Titanium back?
[T-Mobile LG G3] YourWorstFears:
is there a guide to downgrade and then upgrade to the latest and still have root

i want to know how to downgrade from D85110r to D85110m or D85110c im not sure which of the two is the newest one, and to upgrade back to D85110r while still having root. is it possible?
[T-Mobile LG G3] BACARDILIMON:
You downgrade and keep root than flash a custom 10r rom. Read the threads I posted.

BAD ASS NOTE 4
[T-Mobile LG G3] ilogik:
Could you repost the link, I'm also stuck on "Waiting for device"
[T-Mobile LG G3] BACARDILIMON:
Read back last 2 pages all the info is in thread. Links and websites and how to

BAD ASS NOTE 4
[T-Mobile LG G3] SilentSummer:
Thank you for this tool. Took me less then 5 minutes to root the phone.
[T-Mobile LG G3] enigma7820:
didn't work perfectly

I ran the batch file and I have root but it did not give me any choice in installing custom recovery or boot image, I did verify I have root it also froze I had to pull battery. I used windows 8.1 and have tmobile d851.
[T-Mobile LG G3] mitbit2k3:
If you are on 10m firmware that's all it does is root. You have flash TWRP through Flashify or TWRP Manager (both available on Play Store).
[T-Mobile LG G3] enigma7820:
ok I will try that thanks for the fast response