yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G3] EEngineer:
I followed the rooting procedure here and rooted. How do I know for certain if I have TWRP custom recovery installed?

Also, can't I hard reset the G3 just by pulling the battery?
[T-Mobile LG G3] hawkstwelve:
Just tried to flash new version using Flashify and got stuck at a screen saying "Fastboot Mode has started" and nothing else happens. Going to try using adb.
[T-Mobile LG G3] decaturbob:
Did u try to install quick boot app so you can select recovery from power menu...battery pull not the same as hard reset...

sent by safestrap powered echo v26
[T-Mobile LG G3] jgarozzo:
Rename by adding the .gz?
[T-Mobile LG G3] krowley3:
Updated recovery install

You can install the updated recovery that [MENTION=2684188]autoprime[/MENTION] linked on the previous page via adb.

adb push openrecovery-twrp-2.7.1.3-d851.img /data/local/tmp/openrecovery-twrp-2.7.1.3-d851.img
adb shell
(Type su and hit enter if you do not see a #)
cd /data/local/tmp
dd if=/data/local/tmp/openrecovery-twrp-2.7.1.3-d851.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
exit
adb reboot recovery

I have installed and it is working great. Thanks for the update [MENTION=2684188]autoprime[/MENTION]!
[T-Mobile LG G3] chefp2010:
I used flashify no problems here with new twrp l.....thx autoprime
[T-Mobile LG G3] Boostjunky:
A fresh download should result in a package name of "PurpleDrake-TMO_R03.tar.gz" (notice the "gz" file extension). From there, you can open the archive, and the next folder should be named "PurpleDrake-TMO_R03.tar" (without the "gz" extension). Double clicking that folder should then bring you to a folder named "PurpleDrake" without a "tar" or "gz" extension. Drag and drop that folder (or, in other words, extract that folder) out of the archive.
[T-Mobile LG G3] Cablespider:
Will updating TWRP mess up the custom boot and trip the root checker?
[T-Mobile LG G3] ska8tdude:
Does anyone know where I can acquire just the TWRP boot img, my phone has already been rooted and I don't have access to a computer at the moment to run the program that auto installs TWRP. I went to the TWRP website, but it doesn't list the G3 as being compatible.
[T-Mobile LG G3] tschmid:
Yes try it
[T-Mobile LG G3] krowley3:
Check the previous page. Autoprime posted a link. You will want the one with today's upload date.
[T-Mobile LG G3] hawkstwelve:
My mistake, MD5 didn't match. Downloaded with a different browser, MD5 matched, flashing via Flashify worked.

Thanks devs!
[T-Mobile LG G3] Gytole:
flashed twrp with rashr

Flashed the new fullscreen updated twrp that prime put on the previous page. Downloaded, flashed with rashr and booted to recovery within 30 seconds...

I highly recommend rashr on the playstore
[T-Mobile LG G3] Boostjunky:
I very much doubt that renaming the archive will fix the problem. I highly recommend redownloading the package and making sure that you properly extract it, and then try running the program again.

Also, make sure you got a good download by checking the MD5 sum after the download (before extracting anything)
[T-Mobile LG G3] brangalm:
Thanks so much for this! Working perfectly for me.

Is there any possibility of adding a bit more detailed instructions to the first post? Specifically the instructions about installing the LG drivers and putting the connection to PTP. I only mention it because it'll save a lot of posts / questions. I know people should read thru the thread but we all know how many people don't :P

Thanks once again! Woooo! Now just to wait for AOSP / CM ... :D
[T-Mobile LG G3] GenoAndroid:
Whats the best program to use to unzip that tar file on windows
[T-Mobile LG G3] Boostjunky:
7zip
[T-Mobile LG G3] jgarozzo:
I download the windows version for tmo and it never downloads the .tar.gz. Just the .tar
[T-Mobile LG G3] Boostjunky:
It's likely that it IS downloading the file as a .gz file, but as is common with Windows ever since Windows Vista, the file extension is probably hidden by default in the windows settings.

So, in order to view the file type, you can enable "viewing file extensions" by doing the following:

Open "Folder Options" by clicking the "Start" button, clicking "Control Panel", clicking "Appearance and Personalization", and then clicking "Folder Options".

Click the "View" tab, and then, under "Advanced settings", clear the "Hide extensions for known file types" check box, and then click "OK".

Now you should see file extensions for all files on your computer (.exe, .msi, .bat, .zip, .gz, .tar, .dll, etc...), and your freshly downloaded file should then read "PurpleDrake-TMO_R03.tar.gz".

From here, right click the "PurpleDrake-TMO_R03.tar.gz" (preferably with 7zip, but most any archive viewer should work), select "open archive", then double click the 'PurpleDrake-TMO_R03.tar" folder. From there you should see a PurpleDrake folder with no file extension. Drag and drop the "PurpleDrake" folder into the workspace you plan to use. After you've dragged and dropped the folder into your workspace, open the folder and navigate to PurpleDrake\assets\windows\bin\ and you should see the mintty.exe file inside that folder.

If you're seeing that file, everything should be in order with the PurpleDrake package, and from there, it will come down to the execution from that point on. Make sure your phone has USB Debugging Enabled, in ptp mode, and it SHOULD work.
[T-Mobile LG G3] jester450:
Did a quick search and couldn't find anything. Probably not looking hard enough :)

Does this method provide a quick and easy way to unroot (just in case)?
[T-Mobile LG G3] Boostjunky:
Haven't verified it, but i would imagine this should work.

http://xdaforums.com/showthread.php?t=2818667

[Firmware] (Back to original untouched stock) T-Mobile LG G3 D851 + Flashing Guide
[T-Mobile LG G3] mr pnut:
I was able to fully unroot with supersu donate version but i didn't have a custom recovery only root and it works.........
[T-Mobile LG G3] dems86:
Did this yesterday (before using PD to install boot.img too this time around). Takes a couple minutes and extremely easy, just as a heads up for anyone who wants to unroot or runs in to any problems.
[T-Mobile LG G3] Nosferatu.:
so once we got this all taken care of, can we go flashing the ROMs for other LG G3 phones (e.g. international)?

I'm itching to try new ROMs but there's nothing yet in our forums. I'm going to assume no since we don't have a custom kernel yet. Coming from a Galaxy S4 I remember you could ROM hop (as long as it was a Qualcomm based S4) but you needed the T-Mobile's kernel flashed as well or you'd boot loop. Same for us on the G3?
[T-Mobile LG G3] camdogrs:
Rooted manually, Installed TWRP on OS X. Thanks OP!
[T-Mobile LG G3] jgarozzo:
It sees it as a .tar.gz but the finished download is .tar with no executable mintty file. My computer just won't see my phone. I am at a total lose here.
[T-Mobile LG G3] decaturbob:
You have USB support enabled thru dev options...and all LG drivers loaded on your computer..Select mtp or ptp and your computer doesn't see your phone either?

sent by safestrap powered echo v26
[T-Mobile LG G3] RMXO:
Anyone's TWRP not restoring backup's that you renamed using a file manager? I renamed two backups and TWRP doesn't see them when doing a restore, it only see's the backup I left alone. The only way I could restore those were to move the folder inside to the un-renamed backup folder and it was able to restore. Not sure if I'm explaining myself clearly or not.
[T-Mobile LG G3] decaturbob:
took 15 minutes to root and manually install new recovery thru rashr. making first backup of my system. Job well done. For those who wish to minimize problems, take your time and have the steps covered.

Windows 7 with no issues

as for the new updated TWRP...the text is still too small to read.
[T-Mobile LG G3] autoprime:
might be time for some glasses :cool:
[T-Mobile LG G3] decaturbob:
lol...naw the text is really too small on the screen when twrp is performing its function.....the Twrp screen for selections is great....its the window of the commands thats too small....but hey, we have recovery and that is great!!!
[T-Mobile LG G3] Boostjunky:
You're right, the text is almost impossible to read. But, yeah... thank goodness we even have a recovery at this point.
[T-Mobile LG G3] raw2000j:
I havent restored yet but th backup I renamed is there.

---------- Post added at 10:39 PM ---------- Previous post was at 10:38 PM ----------

Worked great thanks windows 8.1
[T-Mobile LG G3] jerflash:
anyway to flash twrp 2.7.1.3 on the tmobile version yet? I see you can do it on the tethered jailbreak but heard nothing for flashing to the actual phone. 2.7.1.3 fixes the screen resolution when in recovery
[T-Mobile LG G3] justen7723:
Use flashify http://techerrata.com/browse/twrp2/d851
[T-Mobile LG G3] jerflash:
Thanks man for some reason i could not find it on twrps website. working great not and now includes efs backup
[T-Mobile LG G3] Skizzy034:
Ours won't be tethered tho will it?
[T-Mobile LG G3] justen7723:
Its not tethered now, use flashify from the play store and install it on your phone
[T-Mobile LG G3] kevinrocksman:
does this work on sprint at all? I am a bit confused on if it does or not.
[T-Mobile LG G3] justen7723:
https://docs.google.com/spreadsheets/d/tmEeVeok0a5J858BN_NfUWg/htmlview
[T-Mobile LG G3] BACARDILIMON:
Try the other post for instructions if available
[T-Mobile LG G3] sd1esel:
Just bought the G3, but not seeing the download section for windows installer to root in the OP. Please help..
[T-Mobile LG G3] BACARDILIMON:
Go back and read the op fully. It right in it. Also google for video on how to

---------- Post added at 11:03 PM ---------- Previous post was at 10:24 PM ----------

Now we just need to resize the text so it can be read without a microscope.
[T-Mobile LG G3] ratchetjaw:
Mac
[T-Mobile LG G3] Project X-Ray:
Exactly the same here. First time error second time went right on. My TWRP looks odd also. Great work to the devs!
[T-Mobile LG G3] roughmouth:
I got root! i figured out what i was doing wrong. dose anyone know how I would get the Twrp working using ADB commands?
[T-Mobile LG G3] notxel21:
How did you get it to work. Everytime I try I'm just stuck on Waiting on device...... My G3 has usb debugging enabled with the MTP connection?
[T-Mobile LG G3] roughmouth:
make sure you load the drivers in the op.
[T-Mobile LG G3] Jocelyn:
You want PTP according to OP
[T-Mobile LG G3] ratchetjaw:
Should be in ptp
[T-Mobile LG G3] Project X-Ray:
You need to have it in Send Images(PTP) not MTP.
[T-Mobile LG G3] aaronc_98:
failed first try... worked on second try. Thanks!!!
[T-Mobile LG G3] mallman:
lol maybe im a newb, its an exe and im on ubuntu.... doesnt do anything when i click it
[T-Mobile LG G3] notxel21:
Thanks everyone! Not sure how I missed that! Worked like a charm! But like most I had to run the program twice! :laugh:
[T-Mobile LG G3] ratchetjaw:
Glad you got it going. Let the fun begin
[T-Mobile LG G3] aaronc_98:
Where is superuser? I went through the process and route seems to be working but I do not see superuser or supersu. Is this expected?

Is it just in stealth mode? Because of the route checker?
[T-Mobile LG G3] mallman:
when i run commands manually i get "error: insufficient permissions for device". Ive tried the script 10x at least and it always sticks on "Waiting on device" after the reboot. oh well, i gave it all i had LOL
[T-Mobile LG G3] roughmouth:
install it from the playstore
[T-Mobile LG G3] NewZJ:
Eagerly awaiting Windows support, thanks for your hard work!
[T-Mobile LG G3] thehavock18:
Woot got it to work using Arch linux after I installed android-tools android-udev packages then reran the script.

THANKS a ton guys!!!!!!!!
[T-Mobile LG G3] marty331:
Very happy to see this!! Thanks for all the hard work guys.....root will commence in 3......2........1......
[T-Mobile LG G3] mallman:
got mine rooted in wondows. I installed drivers, extracted scripts and ran the commands manually. You need adb if you dont have it, you can get it here http://d-h.st/asC

after extracting my commands were

C:\Windows\system32>cd C:\Users\Michael\Downloads\PurpleDrake\PurpleDrake

C:\Users\Michael\Downloads\PurpleDrake\PurpleDrake>adb reboot --bnr_recovery

C:\Users\Michael\Downloads\PurpleDrake\PurpleDrake>cd assets

C:\Users\Michael\Downloads\PurpleDrake\PurpleDrake\assets>adb push start_restore
/temp/start_restore
6 KB/s (13 bytes in 0.002s)

C:\Users\Michael\Downloads\PurpleDrake\PurpleDrake\assets>adb push permaroot.bin
/temp/start_restore
10395 KB/s (256000 bytes in 0.024s)

C:\Users\Michael\Downloads\PurpleDrake\PurpleDrake\assets>adb reboot
[T-Mobile LG G3] koraun:
Following the commands worked for me too. Having trouble getting into the bootloader or recovery so i can install twrp. Whenever i use adb reboot bootloader or adb reboot recovery it just normally reboots and loads the OS. I do have root though so I'm happy
[T-Mobile LG G3] autoprime:
ahhh THAT text. kept hearing how it was too small and I didn't see the issue.

ok.. noted.
[T-Mobile LG G3] BACARDILIMON:
Lol I was worried. But it worked. Back ups good so I will just have to make sure I flash legit stuff and no one ask what it said if error happens lol. It a W.I.P
[T-Mobile LG G3] Enzopreme:
Hey guys- I need some help. I used my friends Windows 7 laptop to try this, and it's not working. I downloaded, extracted, and tried to run the script. All it does is open a terminal window for a split second and closes again. Something does come up in the terminal but it's way too fast to read. I also installed the correct drivers for the 851. He doesn't have sdk or anything on his computer, could that be the problem? I know it says fastboot drivers are required for recovery installation, but I can't even get root. Please help. Thank you so much.

Also when I run as administrator I get the " Windows cannot find '.\assets\windows\bin\mintty.exe"

Any help guys please. I need to be rooted.
[T-Mobile LG G3] Boostjunky:
Describe how you extracted the package.
[T-Mobile LG G3] Intel_x:
Unroot

is there any unroot? in case ota comes out?
[T-Mobile LG G3] EEngineer:
O.K., I installed the Quick Boot app, I do not have TWERP recovery installed. The OP doesn't have instructions for installing TWERP so how do I install TWERP?
[T-Mobile LG G3] decaturbob:
In previous posts it calls out flashifly or rashr both from playstore. I used rashr.....just dl the latest twrp and put it on your SD card. I always dl to computer and verify md5 checksum.... Bad dl do happen

blasted by TMO G3
[T-Mobile LG G3] EEngineer:
Where do I download the latest TWERP? When I google I see some websites that claim to have LG G3 TWERP but I don't know which I can trust. What version is the latest?
[T-Mobile LG G3] BACARDILIMON:
Go to post 572. He linked it and says the app.
[T-Mobile LG G3] decaturbob:
Take some time and read some of the previous posts....

blasted by TMO G3
[T-Mobile LG G3] EEngineer:
THANKS!!! That did it!!! I've got TWERP with very tiny letters and I did my first backup. Order is restored. +1 to you!

Thanks, but I don't have two hours.to spare.
[T-Mobile LG G3] decaturbob:
Your time is worth no more than any one else's.... I read nearly 600 posts in this thread.... I expect myself to do all the research before asking for assistance...

blasted by TMO G3
[T-Mobile LG G3] force70:
And that sir is how to do it, wish there were more with your mindset on xda!

so many people too lazy to research a bit and expect to be spoonfed.

sent from Canada via my Note 3, Note 2 or One X +
[T-Mobile LG G3] BACARDILIMON:
Small text he knows about.will fix for next one
[T-Mobile LG G3] Jo_795:
jsut quick question, does this cause the phone to reset your data? or just root and good to go, no data lost?
[T-Mobile LG G3] NCguy:
Isn't it possible to just temp boot into twerp instead of flashing it? That way you could do your backups etc and still potentially take an ota (if desired)
[T-Mobile LG G3] decaturbob:
you have to be rooted to take TWRP I believe and a rooted phone will prevent OTA...
[T-Mobile LG G3] NCguy:
Are you sure about that? That's definitely not the case on my Nexus 5. On the N5 you just can't have a custom recovery or modified files in /system. Being rooted alone doesn't affect OTAs. If it's the case on the G3 then it must be a G3 thing.
[T-Mobile LG G3] decaturbob:
verizon S4 if you are rooted OR froze/deleted and stock app you couldn't take an OTA...that is a fact. G3 has a system health status which monitors many aspects including being root. Any one taken a a TMO G3 OTA while rooted?
[T-Mobile LG G3] NCguy:
Has there been one yet? How about same question on a rooted G2 without custom recovery?
[T-Mobile LG G3] decaturbob:
been 3 OTA's for TMO G3. I took them all before rooting
[T-Mobile LG G3] NCguy:
So if you want the next one, assuming you're rooted with twerp, what's the plan? Restore back to factory first?
[T-Mobile LG G3] jerflash:
What firmware are you on? What's the last update you had?
[T-Mobile LG G3] decaturbob:
Actually they were LG app updates...

blasted by TMO G3
[T-Mobile LG G3] NCguy:
Sorry, still new to LG. They send out app updates as something different than rom updates? And these don't come from the play store? Has there been any actual rom updates?
[T-Mobile LG G3] zone23:
Since TMO bootloader is unlocked you should not need to root first.

---------- Post added at 02:53 PM ---------- Previous post was at 02:52 PM ----------

You will find LG updated apps in "Update Center".
[T-Mobile LG G3] stuckintheskull:
That or wait for a Dev to make a custom ROM with the update and flash that.
[T-Mobile LG G3] tarroyo:
After flashing this via flashify I get a screen showing, 'fastboot enabled' after reboot had to do a battery pull.

Anyone else seeing this?
[T-Mobile LG G3] mrfeuss:
Check your MD5. Sounds like a bad download.
[T-Mobile LG G3] zcgofaster:
I had that problem too. In fact that's how I ended up paying for flashify (not a bad thing). Kept having to restore a backup recovery every time it happened. I finally checked md5 and got a match, then it worked fine.
[T-Mobile LG G3] NCguy:
I'm sorry I don't actually have the phone yet, just trying to see what I'm getting into. And please advise if I'm getting off topic. Can you confirm:

1. You can ota a g3 that is rooted and stock recovery;

2. You can just boot into twerp for backups if you don't want to flash it.
[T-Mobile LG G3] jgarozzo:
USB support is enabled

All LG Drivers are loaded.

Computer doesn't see my phone.

---------- Post added at 08:31 PM ---------- Previous post was at 08:30 PM ----------

USB support is enabled

All LG Drivers are loaded.

Computer doesn't see my phone. Plus, I don't see mintty.exe. The .exe isn't there.
[T-Mobile LG G3] 20degrees:
Do I have to do the twrp option to not trip the counter? Or just the custom boot?

G3
[T-Mobile LG G3] Enzopreme:
I have since installed the fastboot drivers on his computer, so that wasn't the issue either.

Bump for an answer? Anyone?
[T-Mobile LG G3] dems86:
Boot
[T-Mobile LG G3] mingkee:
Keep your eyes on another update may come soon as VoLTE is missing and it needs some minor fix (100% battery does not stick, bolt on battery icon even it's fully charged, "halo effect" on fonts, and screen fine-tuning).

Usually the system update removes root.
[T-Mobile LG G3] Skizzy034:
Is it possible to just flash the stock recovery, unroot, and factory reset instead of using LG Flash Tool to reset to stock?
[T-Mobile LG G3] NCguy:
Any luck with survival mode in superSU pro?

---------- Post added at 07:10 AM ---------- Previous post was at 07:06 AM ----------

Is it possible to just boot into twerp each time you need it rather than flashing it?
[T-Mobile LG G3] Skizzy034:
What? I wanna reset the phone but don't wanna go through the LG flash tool route to do it.
[T-Mobile LG G3] NCguy:
No, not to reset. To backup.
[T-Mobile LG G3] Skizzy034:
Are you asking how to backup? If so, then no. You don't need to flash twrp every time. Just once. Use the command "adb reboot recovery" or power the phone off and hold power and volume down until the LG logo appears then let go and quickly hold them again abd choose factory reset. It will bring you to twrp. An app like quick boot will also get you there.

IMHO, you shouldn't be flashing anything if you didn't know this already. No offense.
[T-Mobile LG G3] NCguy:
No, Im afraid you're the one who doesn't get it. I actually WANT to temp boot twerp every time as opposed to more permanently flashing it. With my Nexus 5 you can temp boot the recovery every time if that's what you want to do and its never installed that way. That way you dont have a custom recovery blocking your OTAs. I know this can be done, I'm simply asking if there is any issues doing it on a G3.
[T-Mobile LG G3] pezlomd:
Can someone tell me what the option for installing a modded boot does? Is this something that needs to be done to flash Roms and kernels etc? I'm not familiar with lg secure boot or w.e Thank you.
[T-Mobile LG G3] wideasleep1:
Some of this can't be answered until we actually get an update. [emoji4] I think file checker will cough on custom recovery and altered sys files on this phone. Both Wug's and MSkip's Nexus Tookits allowed to boot only into TWRP without flashing it to the phone, but the LG G3 is obviously not a Nexus. MSkip also has a Unified Toolkit supporting Sammy and Nexus (LG not mentioned in supported devices but may still work) which may perform similarly provided you've sussed the LG drivers in advance.

Sent from my amazing LGG3!
[T-Mobile LG G3] NCguy:
Thanks wideasleep. I remember you well but cant actually recall which thread(s). Good to see a fellow poster messing with a g3 also. New ground here for me and it would be a lot easier if I actually had the phone.

Isn't it simply a fastboot option to boot the recovery as opposed to flashing it? Fastboot is supported isn't it?
[T-Mobile LG G3] wideasleep1:
Lol! Well....it's complicated! This thread may help... http://www.reddit.com/r/LGG3/comments/2b5jce/lg_g3_does_have_access_to_fastboot_heres_how_to/

I rooted using Windows PurpleDrake script and chose to use the custom boot image provided to cloak root status, hoping to pass the OTA file checker, but it remains untested. I don't expect an OTA any time soon ( watch me be wrong![emoji13] ) but am curious how it will play out running the custom stock boot image versus stock versus TWRP/CWM. I'll adapt as needed as I've done with HTC, Sammy , Nexus and now LG, but Nexus leads in the 'ease' department for sure. Quirks and discovery is half the fun but nearly all of the annoyance. [emoji41]

Sent from my amazing LGG3!
[T-Mobile LG G3] NCguy:
Thanks for that great info. Explains a lot.

So the OTA may fail if it merely detects root? That's definitely different from Nexus where it simply unroots but still applies the ota.

I know it will fail if it detects a custom recovery. So is there any reason you can't use the method in your link to run fastboot to just boot into twerp? Have you tried to boot into a custom recovery yet?
[T-Mobile LG G3] mikeyinid:
Root shouldn't cause an OTA to fail. An altered system will, if you delete or rename apps. As far as recovery goes, I think CWM is the only one that can, on certain devices actually flash an OTA patch. TWRP will not.
[T-Mobile LG G3] NCguy:
Is the custom boot partition used in purpledrake for root not something the OTA might fail on? It sounds like it hasn't been tested yet?
[T-Mobile LG G3] mikeyinid:
We'll find out when we get an OTA :laugh:

I wouldn't sweat it to much, restoring to stock is pretty easy for us.
[T-Mobile LG G3] NCguy:
Has anyone made an educated guess?

If you have a lot of apps restoring to stock can really take a lot of time and effort.
[T-Mobile LG G3] CheesyNutz:
Would love to have the TWRP update again to fix the super small text while it's doing anything

LGG3 and beyond
[T-Mobile LG G3] justen7723:
http://xdaforums.com/showthread.php?p=5451281

Edit: link is screwy for some reason lol

Check page 59, post 581
[T-Mobile LG G3] dems86:
What does an eclair ROM for the HTC Dream G1 have to do with his post exactly?
[T-Mobile LG G3] justen7723:
Lmao!!! That's weird, it should have directed to page 59, post 581 of this thread.
[T-Mobile LG G3] dems86:
Haha, I assumed it was a mistake but I couldn't help myself ?