yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G4] MicroMod777:
Yes, I have that on the prerequisites. Thanks.
[T-Mobile LG G4] dspcap:
I've tried several times to get into download mode to get into TWRP. I made sure OEM unlocked is checked in dev options. Any thoughts?

Tried this 5 times:

**Pull battery, put back in. Press and hold volume down/power. When LG Logo appears only let go power for a second and then press again till factory reset screen appears. Do factory reset to boot into TWRP. If you don't see TWRP run program again.
[T-Mobile LG G4] MicroMod777:
You want download mode or TWRP? These are two different things.

Did you successfully flash TWRP?
[T-Mobile LG G4] dspcap:
I was able to follow the instructions in the OP. I removed the battery when it told me to and then restarted. I put updatesuperuser.zip on my phone. Now I am trying to get into TWRP to flash the superuser.zip file.
[T-Mobile LG G4] Qverse:
OK so this is follow up. 2 things

Worked like a charm, but the first time even saying "TWRP flashed ! unplug and pull battery" went I vol- + power on on the prompt to reset and restore and it did erase everything. Then after reboot I powered off. tried and YES TWRP is working and flashed SuperSu. Now Rooted and with TWRP. I am not sure is that's how it was suppose to happen but MicroMod777 :good::good: it worked sweet.

De-bloating done and that freaking IQ carrier crap gone. MicroMod777 again a Great One click ! Mod
[T-Mobile LG G4] dspcap:
My problem was not using the right LG drivers.

All is great!
[T-Mobile LG G4] fiody:
MicroMod777, thank for you this! Getting ready to install TWRP and root phone. One question, I am waiting on Tmobile to hook me up with permanent SIM unlock, should I wait till they unlock my phone, then perform this install? Or it doesn't matter?

Thanks again.

EDIT: Manual Mode does not work either. I even tried booting into TWRP after the factory reset like a user did, and still nothing.

EDIT 2: FINALLY got it to work. Not sure what did, if downloading the LG Bridge, or when I installed the drivers that come up when you select MTP mode, and installing direct from the phone. But finally was able to get into TWRP and flashed SuperSU.
[T-Mobile LG G4] DsturbD:
a SIM unlock has nothing to do with what this does. a SIM unlock just lets you take your phone to another carrier
[T-Mobile LG G4] fiody:
That I know, but my concern was with the phone's bootloader unlocked and rooted, will the Tmobile provided SIM unlock still work. I was not able to use the device unlock app that the phone came with, so Tmobiles technical support is finding a work around for me. I guess I can wait till they get back to me, but I am just so anxious to do this!
[T-Mobile LG G4] Rydah:
Might I make a suggestion? Instead of verifying that TWRP has been flashed by going into the factory reset menu via Power Down + Power, how about doing an: "adb reboot recovery" ? I had made an attempt yesterday and just now again that appeared to be successful yet when i hit factory reset to boot into TWRP, it actually wiped everything instead of booting into TWRP. Very frustrated on losing my data twice. (yes OEM Unlock was enabled.)
[T-Mobile LG G4] Unheard:
As another member stated, I had to run the send_command.exe by hand as well to get TWRP installed. Perhaps consider running the send_command.exe before stating that TWRP is installed?
[T-Mobile LG G4] waylo:
What's the best way to get back to stock recovery after instalilng TWRP, should one need to return the phone in unadulterated condition back to T-mob?
[T-Mobile LG G4] DylanTheVillian:
This https://androidfilehost.com/?fid=24052804347788136
[MENTION=2522637]MicroMod777[/MENTION] posted a few pages back or in one of his other threads....
[T-Mobile LG G4] freak2431:
I don't know what i'm doing wrong I have tried this like 10 times and can't get it to work I have even tried manual
[T-Mobile LG G4] fiody:
How many times do I need to run the one click for it to install TWRP? I followed OP to the letter, and it just keeps resetting and not going into TWRP. I will try manual mode now.
[T-Mobile LG G4] jordanzink:
So im in the process of this now. it took my phone about ten minutes after it said "waiting for download mode"

now its on a screen that says "firmware update do not unplug usb until process is complete"

there is a progress bar that hasnt moved from 0. is this part of it?
[T-Mobile LG G4] MicroMod777:
Those of you who cannot get this going need to uninstall all of your LG Drivers and download and install the one from the OP.

Then try it again.

As Rydah805 posted use, adb reboot recovery, to enter recovery for now on so you don't keep doing factory reset's.
[T-Mobile LG G4] freak2431:
tried that and still no go
[T-Mobile LG G4] MicroMod777:
How about manual mode?
[T-Mobile LG G4] mingkee:
I installed LG PC Suite to get the required drivers.

Here is a catch: make sure you backup your stuff, especially internal storage, with LG Backup all to external card.

I wiped the phone tried the method the first time, but second time worked fine.

If you want to root, you have to copy superSU, from chainfire, to external SD (64GB OK).
[T-Mobile LG G4] freak2431:
same result
[T-Mobile LG G4] Rydah:
Same here, not understanding what's wrong... I'm able to root via the low effort method and flash recovery after that from flashify, but I want to be able to be stock and root via TWRP.

Sent From My LG G4
[T-Mobile LG G4] benjihana:
Welp, just accidentally wiped my device. It went through install, rebooted twice, everything looked fine. Pulled battery, tried to go into recovery, except it just wiped my device.

Sigh.
[T-Mobile LG G4] Qverse:
The key for me was on windows 7 the drivers was not recognizing my device so I uninstalled all LG drivers and rebooted then reinstalled drivers from OP. You would know if phone is connected because USB PC connection would popup on your phone and Media device (MTP) would be checked off and internal storage would showing on your computer. The same in Windows 8. Then and only then did the One click TWRP worked. The first time it wiped everything . Doing it on a different Tmobile L4, I made sure I backup all my stuff, especially internal storage with LG Backup all to external card. It does work and so for I find MicroMod777 the easiest way to install TWRP and Root on the Tmobile LGG4 following his OP.

:cool: :good::good:
[T-Mobile LG G4] Rydah:
I've v tried that but didn't reboot between uninstalling the LG drivers and installing the ones from OP. Twice the script said it installed as well and no go for me. ?

Sent From My LG G4
[T-Mobile LG G4] Nick L:
Hi there,

First of all, thanks to the OP for putting this together. Unfortunately, I'm having a bit of trouble getting this to work right. I tried both the manual and automatic methods, and everything seems to work exactly to plan until I try to get into the recovery. Then I get the "No command" screen with a picture of an opened-up Android on it, and the only thing I can do is pull the battery to get out.

Here's what I did:

-Made sure that "Enable OEM unlock" and USB debugging was checked in the developer options.

-Installed the LG United Mobile Driver from the OP link. (After this didn't work the first time, I tried the uninstall-reboot-reinstall steps as well, but with no effect.)

-Ran adb devices to make sure the phone showed up (it did).

-Followed the manual steps - everything worked just like the OP said, although the dd command seemed to go by more quickly than I expected - I thought it would take a few seconds to finish, but it was pretty much instant. I also tried the automatic method, and everything seemed to go fine there too - pulled the battery when it told me to, and rebooted without issue.

-After the "LEAVE" command and rebooting, I tried adb reboot recovery and got the "No command" screen.

Can you help me see where I went wrong? Thanks!
[T-Mobile LG G4] dspcap:
For anyone that is having problems, try this, it worked for me. Uninstall the current LG Drivers, reboot, then download and install these drivers. For me, it was the drivers I downloaded from the OP. I don't know if I downloaded the wrong ones from that page, but these drivers worked like a charm and so did the rest of the process.

http://downloads.codefi.re/autoprime/LG/LG_G4/LGUnitedMobile_Win_Driver_Ver_3.14.1.exe

Thanks [MENTION=2522637]MicroMod777[/MENTION]
[T-Mobile LG G4] Qverse:
So the big question is does your computer recognized your Phone ? Can you can you see your phone in your device manager and in your computer ? I have read else where that maybe antivirus or something is blocking full re-installment of the drivers . you can always try a manual driver search in the LG Folder . In windows 7 it is C:\Program Files (x86)\LG Electronics\LG United Mobile Driver.

It will never work if drivers not installed fully. Hope this helps
[T-Mobile LG G4] dspcap:
That's the point I am making above. I wonder if some of us are having issues with the drivers from the OP. Hence why I am posting the one that worked for me.
[T-Mobile LG G4] Rydah:
Yup, no errors in device manager and all works well. Windows fully recognizes the device.

Thanks, will try tomorrow when I'm back from vacation. ☺

Sent From My LG G4
[T-Mobile LG G4] dspcap:
Just make sure you uninstall the old driver, reboot, then reinstall the new driver.

[MENTION=2522637]MicroMod777[/MENTION] helped me a great deal.
[T-Mobile LG G4] dontbeweakvato:
I just installed flashify. Then flashed twrp from the tmo g4 forum. Bam! You just got twrped. Easier than a "one-click" method. Well faster.
[T-Mobile LG G4] Rydah:
That works well but avoids the purpose of this, no root necessary. Flashify requires root.

Sent From My LG G4
[T-Mobile LG G4] the cronic dude:
Huge thanks to [MENTION=2522637]MicroMod777[/MENTION]

Just thought i would pop in because it seems i was having a similar issue. I have an lg g3 as well and had drivers installed before this. I downloaded and installed drivers from the op. The computer recognized the phone and the whole one click "worked". Except i as many ended up erasing my phone instead of going into recovery. Tried two more times same result. Then i pluged my phone in tonthe computer and went into device manager and deleted the phone drivers from my computer. Restarted both phone and computer. Also revoked all usb debugging (start fresh). When i pluged the phone back in asked for usb debugging access, granted it, and when the computer promted let it download the drivers from the phone. After that ran the one click and it worked like a charm.
[T-Mobile LG G4] jasonv31:
First of all THANK YOU for a much easier way to get ROOT and prep for the upcoming roms ! I have installed the correct drivers (as per your instructions) also it connected and I got the appropriate prompts on my phone for access etc. so I am pretty sure the drivers are installed correctly. Everything flashed correctly and I pulled battery when instructed, but I was at first unable to figure out how to get into recovery (TWRP), I read the entire thread and saw how some were having a wipe issue (after clicking factory reset) so I tried the ADB method (OEM unlock checked), that didn't work, so I tried the factory reset method anyway and it wiped my phone and sent me back to the beginning. So it looks like I did something wrong ... any ideas ? Isnt the manual method exactly the same thing just scripted ? Why would that be any different than what I have already done ? I like to move slowly and carefully.... so I am fine watching for a bit longer to figure all this out :)

reading a bit more I see a possible trend ... uninstalling drivers etc and reinstalling seems to get this going for many... I will try that and see if it does :)

Update --- Yes confirmed the careful installation of the drivers make the difference. 1) made sure i used the ones that [MENTION=2522637]MicroMod777[/MENTION] listed, 2) made sure that install from phone popped up and QUICKLY looked at the prompt on my computer to install driver (I know this is maybe redundant to step 1 but it worked !) 3) gave permission on my phone for adb access ... if it doesnt do this I would surmise that access is not granted and this is not going to work.

Once done I followed the OP directions to boot into TWRP using battery pull/volume down+power then moment off power during logo and then repress power, then selected factory erase and it went straight into TWRP. From there I had already placed the zip version of Super Su in my ext sd and flashed it from TWRP. I am now ROOTED and have TWRP installed ! MANY MANY PROPS and Thanks to [MENTION=2522637]MicroMod777[/MENTION] (Beers enroute !)
[T-Mobile LG G4] adventur3_m4n:
I've been having an issue where running the bat is always stuck on "serial port not found., please insert the phone manually into download mode." I try that and it's stuck on waiting for device. Running it all manually seems like all works fine and dandy but then when executing the adb command, after the lg splash, I see the no command error with the android all agape. Windows properly recognizes my device and its the com port but I'm certain this is an issue with the drivers not being installed fully or irregularly. I've tried every dl link in this thread, every suggestion that could pertain to my problem, turning antivirus and antimalware off, restarting when uninstalling and reinstalling the drivers, etc. I've tried updating my adb install in case that may have been causing an issue. Nothing.

Help please. Please :(
[T-Mobile LG G4] MicroMod777:
Thanks so much! Drivers is #1 issue and giving permission for computer on phone is probably #2 issues.

Uninstall all LG Drivers, reboot, install OP drivers, give computer permission on phone, are key to getting this to work. Out of all my one-click mods I've done on the G2 and G3, this G4 is the most troublesome. Not sure why when the G2 and G3 are used the same drivers.
[T-Mobile LG G4] Kalash:
So... I'm on Windows 10. I installed the drivers from the OP and ran the .bat.

This didn't work 2 times... The first time made me manually boot to download mode.

The second time it went to download mode on its own.

Both got to "unplug and pull battery" - both times it wiped the phone.

The 3rd time I went into USB settings (on the phone after plugging it in) and clicked the menu button, install PC drivers (I left the other ones installed)...

And that was it. Ran the .bat one more time, and TWRP is installed.

I really think you should edit the OP to put this step in prior to running the .bat

And maybe put in a step to allow ADB access on the phone.
[T-Mobile LG G4] Rydah:
Trying this, nothing else has worked for me. Will report back.
[T-Mobile LG G4] MicroMod777:
Try different computer.
[T-Mobile LG G4] DRSdroid:
I have now tried both the drivers the phone installs and the drivers that listed on this thread (of course only after uninstalling, rebooting, and installing the other drivers) on 2 different computers... Obviously I have usb debugging and OEM unlock enabled. I've tried both the one click and the manual method via both computers as well. No luck.

I've been rooting android phones since the HTC G2 with only minimal issues. I'm going to keep trying this method and report back. THANK YOU for creating a method that does not require wiping my phone! I'm determined to get it to take! When I do I'll report back any details or quirks about the process.
[T-Mobile LG G4] Andy65OU:
THANK YOU!!

I encountered the exact same thing as you, and did what you suggested, above. It worked perfectly!! Thanks to you, and obviously to MicroMod777.. :D :D

The chains have been broken!!!! **southern pastor accent** :victory:
[T-Mobile LG G4] coolmaster121:
1. MicroMod777 BIG thank you. Time for you to change your name from MicroMod777 to MacroMod777, you DA man. I was waiting for root that does not wipe your phone.

2. The last section of the OP explains how to enter TWRP. Is that a typo "recovert"?

3. Is it possible to add an addendum to the OP to include SU download link and installation instructions using ADB/CMD? Could we install SU using the chainfire app from the Play Store? https://play.google.com/store/apps/details?id=eu.chainfire.supersu&hl=en
[T-Mobile LG G4] anjini:
First of all, Thanks for the 1-Click. Installation went flawless.

My issue is that I can enter TWRP but cannot install super_su "UPDATE-SuperSU-v2.46.zip" from Chainfire or "Superuser.zip" from ChainDD to get root...... I get in TWRD the error "E:Error executing updater binary in zip '/sdcard/download/<file-name here>.zip"

\Any suggestions what I may do wrong?
[T-Mobile LG G4] coolmaster121:
Try the internal storage for the su zip
[T-Mobile LG G4] anjini:
Did this already. with the same error.

Could it be that I have an incompatible SU zip?
[T-Mobile LG G4] ambervals6:
@OP: can you note that this method requires sd card. Also would be great if you could also write a script that automatically takes users to twrp andflashes supersu for them. That way people would stop complaining:)

Sent from my LG-H811
[T-Mobile LG G4] coolmaster121:
I am so sad right now.

No Command is all I get after doing this process over and over, installing and removing and installing new drivers.

DOing it manually or with the bat file.

My second PC is windows 10 and it has this MSVCD100.dll file missing error. Dang it...
[T-Mobile LG G4] MicroMod777:
Those with issues try running this root method:

http://xdaforums.com/g4/orig-development/root-tmo-vzw-intl-variants-soon-root-lg-t3164765
[T-Mobile LG G4] ambervals6:
Did you have to use microsd card to root yours?

Sent from my LG-H811
[T-Mobile LG G4] Sean473:
Deleted..
[T-Mobile LG G4] suhridkhan:
Thanks... that worked for me..

happy that I am rooted now :)
[T-Mobile LG G4] coolmaster121:
That is what I was afraid of. Really did not want to wipe my phone, your root method looked so good, until I tried it, and as usual ran in to issues...
[T-Mobile LG G4] hdelvalle009:
Tanx bro

Enviado desde mi LG-H811 mediante Tapatalk
[T-Mobile LG G4] Sean473:
I've tried everything... tried this on 2 computers, removed all drivers, installed drivers from OP, install PC software from USB settings when plugged in even and still the thing runs and when I press adb reboot recovery, I get no command... I literally have no idea left on what to do...Any suggestions anyone? [MENTION=2522637]MicroMod777[/MENTION]?

I've spent 2 hours however each time I reboot to recovery it's just showing NO command...

---------- Post added at 06:22 PM ---------- Previous post was at 06:02 PM ----------

[MENTION=2522637]MicroMod777[/MENTION] I think the problem is occuring during download mode... I hear beeps etc when phone connects to it so driver must be working/activated however don't see any USB icon etc in tray... Is there some way to make the driver work for sure in download mode?

---------- Post added at 07:10 PM ---------- Previous post was at 06:22 PM ----------

I've tried a manual push but still no luck.. Still when I reboot into recovery I get the No Command screen... wasted over 3 hours on this.. Not impressed at all... I remember for my LG G2 and Z1. the 1 click methods took like 5 mins.. I cannot seem to understand why this keeps failing so badly... It's not a problem with the code but something is being ****ed up by the drivers....

---------- Post added at 07:18 PM ---------- Previous post was at 07:10 PM ----------

[MENTION=2522637]MicroMod777[/MENTION], will the following work without root?

Additionally, it also seems the TWRP image you have in this 1 click is bigger then the one I downloaded from that thread... Can I try flashing that image (latest TWRP from that thread, I'll rename it recovery and use your code)? Also what's up the recovery image in your 1click thread? It's being edited in Feb 2015... Is it not latest TWRP?

http://xdaforums.com/showpost.php?p=62031039&postcount=2
[T-Mobile LG G4] suhridkhan:
you don't have to wipe your phone to use this method, I did yesterday, everything stayed.
[T-Mobile LG G4] MicroMod777:
Did you use these drivers: http://xdaforums.com/showpost.php?p=61172059&postcount=1

I don't know why this won't work on some computers. You try the root method link I posted earlier also?
[T-Mobile LG G4] MicroMod777:
Try putting your phone USB in camera PTP Mode.
[T-Mobile LG G4] Sean473:
I've tried all drivers.... Even this one... I don't know what to do :(

Used 2 computers, 2 cables and as for other root method, I won't try that.. It's too risky for me... I really don't know what to do... Can I try switching the recovery image with the latest one of TWRP? That one seems smaller...
[T-Mobile LG G4] coolmaster121:
I tried the newer TWRP, same issue...

I tried using PTP, same issue No command with a dead android robot...
[T-Mobile LG G4] ambervals6:
Same here. Drivers are installed fine. Says successfully flashed then dead android no command.

Sent from my LG-H811
[T-Mobile LG G4] Sean473:
Exact same problem.. I have no idea what to do anymore...
[T-Mobile LG G4] MicroMod777:
Try this: Then allow.
[T-Mobile LG G4] coolmaster121:
Without USB Debugging being allowed, we would not be getting to the very end of the process. None of the ADB commands would work...
[T-Mobile LG G4] MicroMod777:
I also typed "then allow".
[T-Mobile LG G4] coolmaster121:
That's correct. If the PC was not allowed to establish a debug session none of the ADB commands would ever work.

This means if the user is able to run your script and also is able to do the manual steps this steps has been completed.

I have re-allowed (revoke and then allow) and get the same result.
[T-Mobile LG G4] MicroMod777:
What happens when u do step 1 to 6 on the manual process? What happens when u type "id"?
[T-Mobile LG G4] DRSdroid:
I've now tried on 3 different computers. This most recent one I had never plugged the phone into. I installed the drivers listed in the OP, followed the procedure. And still got the dreaded "no command".

If it's important at all, here are a few things i've noticed on all 3 computers after countless attempts..

- When the process gets to "Starting flash TWRP..." it almost instantly says "TWRP Flashed!.." and tells me to pull the batt. It seems to happen very quickly.

- Download mode always stays at "0%" during the process. I believe it always says USER B100 in the box below the progress bar, but i might be mistaken.

- When following the manual procedure everything seems to match up (uid=0(root) gid=0(root) context=u:r:recovery:s0) throughout the process right up until the end.. after this "dd if=/data/media/0/recovery.img bs=8192 seek=35840 count=5120 of=/dev/block/mmcblk0" it just immediately gives the prompt again... similar to running the 'one click' method, it all happens very quickly and doesn't seem to do anything for me.

- Also worth noting I have only tried to boot recovery via "adb reboot recovery" as i didn't want to risk a full wipe :P Do I have to risk a full wipe to get it to take?

I'm not sure if any of that will be of any use, but I figured I would contribute some input. Clearly this method is working great for some people, I just wish I was one of them :.(

Thanks again [MENTION=1029450]MircoMod777[/MENTION] for providing the community with a quick and easy root method. Hopefully we can all help figure out the issues some of us are experiencing!
[T-Mobile LG G4] coolmaster121:
Same process and results for me.
[T-Mobile LG G4] SuperNu:
Just wondering if you are using the USB cable that came with the G4. When I rooted my G4 with the low effort root method, I could not get the COM port to display properly. Once I switched to the LG provided USB cable, everything worked flawlessly.

--SN
[T-Mobile LG G4] DRSdroid:
yup.. using the cable that came with the G4 each time. Also have tried usb 2.0 and usb 3.0 slots on 2 of the computers i've tried from.
[T-Mobile LG G4] MicroMod777:
Install this and type "reboot recovery"

https://play.google.com/store/apps/details?id=jackpal.androidterm

What happens?
[T-Mobile LG G4] coolmaster121:
reboot: Permission denied

Sad Face
[T-Mobile LG G4] MicroMod777:
You typed, "reboot recovery"?
[T-Mobile LG G4] MicroMod777:
U have Oem unlock enabeled?
[T-Mobile LG G4] coolmaster121:
Do you think running the debloater and hiding and disabling a few things could mess this up?