yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G4] KingCheetah:
Successful TWRP install and root!

Big thank you, Micro, for your set-up of this relatively simple process. Just rooted my phone and am currently installing BusyBox. I gave it a two minute interval after the unplug notification came up in the command dialog box, to make sure the script had run. TWRP popped up like a charm from the factory reset screen, no problem. :highfive:

Rumbling Purr of Gratitude --

KingCheetah
[T-Mobile LG G4] scottspa74:
Quick question on this. My girl has g4, I have g3. If I uninstall the drivers that work currently with g3, will the new ones for g4 still work with g3?

All [MENTION=2522637]MicroMod777[/MENTION] amazing job on this tool. You have really made things simple for everybody.
[T-Mobile LG G4] MicroMod777:
Not sure. Whats more important? :)
[T-Mobile LG G4] scottspa74:
Well,..mine,..of course lol
[T-Mobile LG G4] MicroMod777:
Guess she's not a keeper then! lol
[T-Mobile LG G4] scottspa74:
Oh contraire, my friend. She's just far less concerned with android than I. ;) thanks for all your work. Just finally reinstalled and was able to get working again fastboot and adb. Not to hijack. Just wanna say thanks.

Edit: also I saw someome here say, 'you don't need root to get recovery, you need recovery to get root'. That's not entirely true (at least from a users perspective). If you get root first , you can use root apps or TE to flash recovery FWIW
[T-Mobile LG G4] bigchuq:
Will this "one click" work on the update H8111n? I was having problems using one click before, but I was going to try it on another computer. Then I realized, I took the OTA update
[T-Mobile LG G4] MicroMod777:
Yes. Just tested it on 10N.
[T-Mobile LG G4] bigchuq:
Thanks, keep up the great work! You're keeping me from going to note 5? LOL
[T-Mobile LG G4] MicroMod777:
HA, I've been thinking of the S6 Edge Plus, but they want $420, plus my trade in. I think I'll wait! lol
[T-Mobile LG G4] bigchuq:
Ok, I've tried to use this one click three or four times now. I get to where it says pull battery. After I do that I try to get into twrp by holding down "power and vol. down" but I end up erasing my phone again. Am I missing something? Please Help
[T-Mobile LG G4] jscroppo:
Going to give this a go later tonight hopefully it works im on the N update. Im far to lazy to do the other method lol crossing my fingers this works for me
[T-Mobile LG G4] Saad Ali:
Will it work with 10n update?
[T-Mobile LG G4] MicroMod777:
Yes
[T-Mobile LG G4] jscroppo:
Took me a few tries but i got it working with the 1 click method. I had to use the drivers posted a few pages back not the ones from the op that did it for me. Thank you very much for this
[T-Mobile LG G4] RussianBear:
It just takes a few moments after the message that tells you to pop the battery. The command that writes twrp follows that message lol
[T-Mobile LG G4] nonmindo:
Tried one click method multiple times, tried manual method once......and ended up with a formatted phone....ugh
[T-Mobile LG G4] jscroppo:
I let it sit for almost 5 minutes with no luck nothing worked until i tried the other drivers
[T-Mobile LG G4] aaronrw:
What other drivers?
[T-Mobile LG G4] jscroppo:
These drivers are the ones that worked for me
[T-Mobile LG G4] bradbusa:
Could not get this to work on my windows vista desktop pc, but was able to get this working on my windows 10 laptop. the best way to make sure you have drivers installed is to use the "install drivers" option in the mtp menu settings on the phone itself. ended up factory resetting my phone the first few times with the desktop, but worked first try on the laptop - when using this method.

Thanks!
[T-Mobile LG G4] Dr.Evol500:
I'm at my wit's end, guys. I've tried load the drivers from the OP, I've tried loading the drivers from the phone, I've tried loading the alternate drivers from a few pages ago. I've done the one-click method probably 10 times, and I've tried the manual method almost as many times. I've tried the whole holding down and the power button, releasing power and then pushing it again, and going into factory reset thing half a dozen times, and reset my phone each time. I've tried to reboot to boot loader with ADB many times, each time I get the dead droid. I don't know what else to try. Does anyone have any suggestions?
[T-Mobile LG G4] aaronrw:
Do what I'm doing buy a nexus
[T-Mobile LG G4] RanbirS:
I am on 10n or 11n whatever, this method doesn't work. Tried Manual and Auto. Both doesn't work. Good work OP.

It stuck @ echo Starting flash TWRP...

echo TWRP flashed! Unplug and pull battery!

Doesn't do anything after that...
[T-Mobile LG G4] NWLONEWOLF87:
I'm on the H81110h version and I'm able to complete all the steps. When I unplug, pull the battery and try to boot in to TWRP all it does is format the phone. I've done this about five times now and still not successful. Tried all the drivers provided on the page and followed all the instructions but still no success in getting TWRP to flash. Could being on a windows 10 computer be the issue?
[T-Mobile LG G4] RussianBear:
How long are you waiting after that "unplug" message? Give it a few minutes, then unplug.
[T-Mobile LG G4] RanbirS:
I give it few minutes, and unplugged it, No luck...
[T-Mobile LG G4] jscroppo:
This is very strange that it's working for some and not all it took me a few tries but i got it working
[T-Mobile LG G4] timbck2:
I'm having problems here - everything seems ok until the script attempts to run Send_Command.exe, then I get (in Windows) "Send_Command.exe - Application Error: The application was unable to start correctly (0xc000007b). Click OK to close the application. I installed MSVC++ 2010 x64 redist (because at first I got a message about missing msvcr100.dll). Any ideas?
[T-Mobile LG G4] aaronrw:
http://xdaforums.com/showthread.php?p=62167311
[T-Mobile LG G4] timbck2:
Installing this didn't make a damn bit of difference - I'm still getting the 0xc000007b error when I run the Send_Command.exe command. :(
[T-Mobile LG G4] dleclair:
I have the TMobile G4. I did the one click procedure with the OP's device drivers installed. Phone rebooted, I went to the wipe to enable TWRP and it did a phone wipe (not a problem I have a backup)

Booting back in Google asked for sign-in and two step verification and now the SMS verification texts aren't coming in and I'm essentially locked out of my account on my phone (my fault for not having printed out back up codes).
[T-Mobile LG G4] Barsky:
While I have used this method on 10H successfully, I have never gotten it to work on 10N and instead flashed a pre-rooted 10n, afterwhich I could easily flash twrp via Flashify.

Has anyone seen this method work on 81110n?
[T-Mobile LG G4] scottspa74:
Yes

http://xdaforums.com/showthread.php?p=62622369

Page 22, I believe. OP and a dew others have uses/tested.
[T-Mobile LG G4] BigSK225:
It worked for me on 10n. It took A LOT of tries but it finally worked. It kept getting stuck looking for serial port, but once it passed that it was smooth sailing.
[T-Mobile LG G4] cyan pac:
Solved
[T-Mobile LG G4] donbudafuko:
Can I just install twrp then install a rom without rooting? Cuz the rom would be rooted..
[T-Mobile LG G4] shane1diamond:
Yes, granted the rom is pre-rooted
[T-Mobile LG G4] ftarules:
I was able to install TWRP on 10n using this method. What I did differently that I downloaded the latest TWRP recovery img file and renamed it recovery.img and put in in the folder for this script. Then it worked fine. So I think the key to getting this work is replacing the packaged recovery.img with the latest one from TWRP thread.

Hope that helps others...
[T-Mobile LG G4] shane1diamond:
SOLVED: I just removed easy launcher since I never will use it. So home launcher is by default, default. lol.

Hello everyone,

first off thank you for this micromod, I got TWRP flashed!

But, For some reason my Home launcher default settings are not sticking. Everytime i go into recents apps and press the home button to return home i recieve the pop up to choose between home and easy home, even after i have chosen home and ticked "use as default" and selected the default home launcher in the settings menu. its a very small yet HUGE annoyance. lol. any help would be great.

heres some things that ive done before noticing the issue:

Attempted to flash the oneclick flash for TWRP by micromod 3X's. i ran into issues however, receiving an error pop up. it was after I switched computers and attempted again successfully however that is when I noticed the default home settings not sticking. Would anyone possibly have an idea on how I can fix this?

I have attempted to set home as default through the pop up as well as through settings menu with no luck.

Thank you!
[T-Mobile LG G4] ayuready1989:
wiped

welp lol wiped my phone trying to get into recovery, here are the lines i see

* server not running *

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

Starting adb server..

Waiting for device..

Device detected!

Pushing files..

1858 KB/s (41943040 bytes in 22.040s)

Rebooting..

Looking for LG serial port..

Phone found at COM3!

Rebooting into Download mode..

Waiting for device..

Phone found at COM3!

Starting flash TWRP...

TWRP flashed! Unplug and pull battery!

unplug it pull the battery, volume down and power til lg logo and go to the white screen ,, then select wipe twice and it wipes lol no twrp
[T-Mobile LG G4] coolmaster121:
Wait like 10 minutes after it tells you to unplug
[T-Mobile LG G4] ayuready1989:
ah thanks, i moved the echo unplug and pull battery part to after the send_command installtwrp.. been waiting here for 20 mins so im guessing its hanging at installTWRP..
[T-Mobile LG G4] The Apostle:
I've tried both, asvwell as every other trickery mentioned on the previous pages. Phone just boots up normal. Also boots to standard recovery if i manually boot to recovery.

sent from my Hyperdrive powered G Note 10.1
[T-Mobile LG G4] tekdemon:
It's definitely not flashing TWRP on my 10N phone, I even did the command manually just to see and it doesn't seem to actually flash TWRP. I wonder if it's the t-mobile software preventing stuff. If I try to use the factory reset option it just wipes the phone and if I use adb it just boots to what looks like factory recovery.
[T-Mobile LG G4] lrmdaddy:
just took mine back and the the nexus.....
[T-Mobile LG G4] gilgamesh0:
Failing for me in the same way, after extensive attempts with each of the proposed driver options on two machines (Win 8.1-64 laptop and Win7-64 desktop).

Or rather, it *appears* to be failing -- to confirm, from folks who have it working, you should only see one "are you sure you want to wipe your data" screen after doing the physical reset to recovery, and it then works? If you confirm once and see a second confirmation screen, then TWRP isn't running and if you confirm again, you will wipe -- is that correct? Or is it two screens even with TWRP properly installed?

When I'm in download mode, btw, while Dev Mgr shows the device comm port correctly and can run send_command etc., the device under "Portable Devices" does not show as running properly (with yellow exclamation). I wouldn't necessarily expect that it would in download mode (as long as the port connection is there), but maybe it should be.

One observation, wrt those who've succeeded with this -- they all (mostly, a couple were ambiguous) seem to have first ended up inadvertently wiping at least once with factory reset, before eventually succeeding. Perhaps a factory reset is somehow in any case needed for this to work?

Thanks to OP and all for their efforts w this.
[T-Mobile LG G4] Jammol:
No problems here. Did it on two brand new G4 phones with 10N. Ran as administrator like I always do when running one click programs and scripts. I waited for about 5 minutes and then rebooted straight to TWRP.
[T-Mobile LG G4] ayuready1989:
help

anyone have any tips on succcessfully getting twrp installed? everything runs but send_command ... dd if=/data/media/0/recovery.img etc that command isnt doing its job... im on a fresh g4 as i bricked my last one trying to install twrp h811110h firmware.. still stuck on the same thing.. im running windows 7 x86 in vmware on linux
[T-Mobile LG G4] ayuready1989:
for anyone having issues, you should update to 10n first then use the send_command tool to DD the prerooted 10n system there then open a shell and use the command in installTWRP(make sure recovery.img is present) file in the oneclick twrp solution and now im all up, appreciate the effect guys :)
[T-Mobile LG G4] gilgamesh0:
To clarify re the above, now that I have TWRP running (ended up doing after just flashing rooted stock system img from another post), I can confirm that you do need to select yes on both screens to continue to recovery/twrp (not sure where I got the idea otherwise). (Which of course unfortunately means you have to find out the hard way if you aren't sure if you've got twrp flashed and didn't want to wipe.) Just fyi for anyone else confused on that point.
[T-Mobile LG G4] jobella:
It took about 15 to 30 minutes to get the drivers installed and I hung up on the send_command line below. This command below is the one that runs installTWRP batch file. Running as admin does not help me. Waiting 10 to 15 minutes does nothing.

Send_Command.exe \\.\%comPath% < installTWRP | echo off

Moving the echo commands before the above command of course did no good. The above command just never ran. I know this for a fact because I added an echo command after the Send_Command... that said "echo I just flashed and I passed installTWRP" And the batch file just hung on the Send_Command

The recovery.img file got pushed fine. I had the same problems with adb reboot recovery giving me the dead robot. Yes, I reset my H811 a few times too.

I tried on two computers both Windows 7. Each time I got stuck on the above time. I gave up after 2 hours.

I hard-coded my Com port in the batch file and it worked file. Use notepad to edit the batch file and check Device Manager for your Com port.
[T-Mobile LG G4] aaronrw:
I'm assuming that using windows 10, and putting the device in DL mode and then trying to get the drivers installed isn't working properly on my end. Once the device is recognized in DL mode I can go to device manager and see my g4 with a note saying driver error. while being booted into ANDROID the device shows up properly and adb commands work and such. Where the hell do i get that DL mode driver and how to install? Tried soooo many times with abolutely no luck on two firmware versions. TIA to any and all out there.
[T-Mobile LG G4] supreme329:
Had the exact same issue. Finally gave up and just flashed a stock rooted image. Much easier.

Sent from my LG-H811
[T-Mobile LG G4] B|acknd:
I'm having the exact same problem. I'm going to try again on my Windows 8 laptop.
[T-Mobile LG G4] ploopower79:
Did you guys disable the driver signature verification on windows 8/10?

I could never get my drivers needed for rooting and flashing installed for my xperia z1 without it being disabled and when I had upgraded to the g4 it was already disabled from before maybe that would help?
[T-Mobile LG G4] itzmehotsauce:
I just read all 27 post of this thread and finally someone answered what I was going to ask so just to be sure I need if I want to change rom I need to go thru both screens again that's the only way to boot to recovery unless you click on boot into recovery[emoji106]
[T-Mobile LG G4] B|acknd:
As long as you are rooted and have TWRP installed you should be able to download an app from the Playstore like quick reboot to boot into recovery. Keeps you from having to power off and do the button sequence.
[T-Mobile LG G4] willgetin:
Well, got it working today. I've tried it several times in the past on various computers, to no avail.

Today, I used a freshly built stock Windows 10 Enterprise install. Downloaded the One-Click file, unzipped it to the root of my e:.

Connected my phone, and installed the drivers from the phone. by clicking on MTP on the phone, going to settings, and choosing "install PC drivers". Copied the driver files to my e:. Went into the driver files on e: under "LGE Mobile" and "Tools". Ran the "LGUnitedMobileDriver_S51MAN313AP22_ML_WHQL_Ver_3.13.2.msi" file. Then, I opened a command prompt on the One-Click folder. I copied the name of the bat file and pasted it into the command prompt and hit enter. Afterit ran and did its thing, it came up to the pull the battery prompt, I let the phone sit for 20 minutes before I disconnected from the laptop and pulled out the battery. Once I put the battery in, and rebooted by holding volume down, then power until LG showed up, let go of power for one second then held it again till the reset screen came up. Chose "yes" twice, and BAM. I saw TWRP. Woohoo! I didn't reset it this time.
[T-Mobile LG G4] eusthebest:
Will this work on firmware H81110N? The op and everyone only say H811 so i don't know if the 10N makes a difference and i wanna make sure before i attempt to root with this tool.
[T-Mobile LG G4] jobella:
Yes, this works on 10h and 10n firmware.
[T-Mobile LG G4] fegar:
What am I missing?

Am I missing something here? Should there be some type of progress displayed on the "firmware update" screen? Mine just sits there and no matter how long I wait to pull the battery and usb it never installs TWRP. Drivers are installed properly so I'm at a loss. :confused:
[T-Mobile LG G4] davidukfl:
in the middle of the one click installer. Phone is in download mode at 0% and the script is stuck at "waiting for device", been like that for about 15 mins with nothing happening. My assumption is drivers aren't properly done. I should be safe to reboot the phone and cancel given nothing has been flashed correct?

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

Decided to be ballsy.... the answer to my above question is yes.
[T-Mobile LG G4] ZPaul2Fresh8:
Finally got mine to flash TWRP. I was always getting the msvcr100.dll was missing, but I was running the latest .NET distribution. I'm running windows 10 64-bit but only got it to run to Send_Command.exe without errors by installing the 2012 32-bit version. I dunno and don't care at this point, all I know is that I'm rooted and running TWRP finally! :)

Oh and I did let my phone stay plugged in for an extra 10 minutes before pulling the battery when prompted to.
[T-Mobile LG G4] lrmdaddy:
no matter what I do.....I cant get root...follow every thing to the t...I did it fine on old lg g4 but my replacement I cant get it....tmobile lg g4 n
[T-Mobile LG G4] aaronrw:
I have an old windows xp machine any word on getting that to work?
[T-Mobile LG G4] 888Plugin8.com:
It should work with xp. Have you already tried it
[T-Mobile LG G4] aaronrw:
Yea no go. Cant locate lg port I'll try again ....maybe thanks.
[T-Mobile LG G4] vonlupe:
tried dozens of times, changed drivers, left sitting in DL mode, etc. despite looking like it worked every time, it never actually put TWRP on my phone.

using the same tools and drivers, writing this rooted image worked on the first try.
[T-Mobile LG G4] MrSmith317:
I know my experience won't help anyone but going through this process somehow failed about 9 times then soft bricked me. I can't even get the phone to boot and waiting for my warranty replacement will be painful.
[T-Mobile LG G4] universeisgr8:
Spent hours and performed each step. But not booring into twrp. It just goes to Erase data mode with yes/no. Hope a better method will be available soon.

---------- Post added at 05:06 PM ---------- Previous post was at 04:25 PM ----------

how did you flash the stock rooted rom without twrp?
[T-Mobile LG G4] supreme329:
http://xdaforums.com/showthread.php?t=3191038
[T-Mobile LG G4] aaronrw:
This worked great thanks.
[T-Mobile LG G4] jannmedia:
Finally get it to work.

The idea is to let the phone connected to the cable for at least 3 minutes, then unplug it and take the battery then reboot to the recovery but not from command adb.
[T-Mobile LG G4] Copp:
811 & T-Mobi;e?

PREREQUISITES:

**Must be on T-Mobile USA LG G4 H811 or you will brick. 10N/H.

**Must have LG drivers installed and USB debugging enabled

**Windows computer

**OEM Unlocked in Developer Options.

I bought the phone from T-Mobile, have since switched to Cricket. It is an LG-H811 under "Model". I want to get rid of all the T-Mobile bloat, so I assume this is safe?

Probably sending the phone back to LG first, it sometimes overheats to the point that it can burn my ear and when that happens it will kill a battery in less than 1/2 hour.
[T-Mobile LG G4] tghtaclegend:
bit confused

Ok, so I'm a bit confused. This is the process to do a manual sim unlock for the H811 model? Sorry, but I'm bit of a newbie.
[T-Mobile LG G4] cyan pac:
no this has nothing to do with sim unlocking, this is for installing recovery and rooting, i believe sim unlocking would be in general fourms or q and a fourms
[T-Mobile LG G4] samuraix21:
Is this for real? I would go this route if that's the case. This has a much "lower" effert root than that "low" effort root.
[T-Mobile LG G4] The Rubenator:
Help, OEM Unlock

Help, OEM Unlock is requesting a pin number when i check the box: **OEM Unlocked in Developer
[T-Mobile LG G4] MicroMod777:
Odd. Factory reset to possibly fix it. How did you get your G4?
[T-Mobile LG G4] The Rubenator:
T-Mobile

Got mine from T-Mobile store

---------- Post added at 08:51 PM ---------- Previous post was at 08:46 PM ----------

From the T-Mobile store
[T-Mobile LG G4] MrSmith317:
Finally got this method to work. It took multiple wipes (and 2 phones) before it finally took but I can't be happier that I didn't have to download 4GB to get the job done. I wish the process was more refined but I have to give it up to OP for providing it. Thank you so much!
[T-Mobile LG G4] MicroMod777:
Sweet. Not sure why it only works on 50% of G4's. I've done full kdz restores a couple of times and even did a new install of Windows 10 and couldn't reproduce any of the errors people encounter.
[T-Mobile LG G4] 3's&7's:
Thank you for packaging codefire's breakthroughs with this [MENTION=2522637]MicroMod777[/MENTION]

My experience was: Windows 10, oem usb cable, brand new h811 on H version software, and had to perform the auto process twice in order to achieve TWRP install. I believe the "pull battery" instructions in the cmd screen may be a bit premature...I let it wait one minute on the second pass and success (vs. pulling immediately on the first pass).

However, it could have been a driver issue as well, etc. In any case I saw the LG stock ROM for about two minutes out of the box and now enjoying CM 12.1...I waited 6 months to buy this phone until it could this. Ty again for making this an easier process!
[T-Mobile LG G4] samuraix21:
Hi, did you resolve the issue? This doesn't bode well if there's an OEM unlock code you have to bloody type in -_-
[T-Mobile LG G4] MicroMod777:
Well got my replacement G4, and now I'm having trouble getting TWRP on to it also! lol It came preloaded with 10N. Still trying different things.
[T-Mobile LG G4] MicroMod777:
Well, looks like I'm blocked somehow on 10N preloaded I think. Whats odd is that I can backup the recovery.img in download mode. But then it won't write the new twrp recovery.img in download mode. This makes no sense.

Gonna try the other rooted system.img method as soon as it downloads it.
[T-Mobile LG G4] MicroMod777:
Got some bad news! If your LG G4 came pre-installed with 10N software, then somehow this One-Click TWRP does not work.

I just successfully flashed rootedsystem.img provided by awesome Rydah805. So please go here if yours came preloaded with 10N software:

http://xdaforums.com/tmobile-g4/development/h81110n-stock-rooted-image-t3191038
[T-Mobile LG G4] randy6675:
Just got my wife a Tmobile g4 a few days ago. It was on 10h, but updated to N the first day. Do you think one click will work?
[T-Mobile LG G4] MicroMod777:
Possibly. It wasn't pre-10N loaded.