yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] Koopa777:
What? I was under the assumption that if you flashed back to stock, the rootchecker would be reset.....
[G2 Android Development] lmarranzino:
Seems like the old days of the S3 once tripped the only going back was with Chainfire app. BUT not for the LG seems once you trip the ROOTED that is it. I went back to stock and didn't change a thing stayed on rooted. So I just re-rooted and said OH screwed again.:(
[G2 Android Development] PRGS3:
Simple as can be - solid win.

Thanks!
[G2 Android Development] klebengan:
so there's no chance at all to reset the tripper right ? untill now?
[G2 Android Development] Jason0071:
Root Errors

Rooted with files in the OP. However, the script cannot chown and chmod the system/bin/sh because it is a read only directory. Superuser installs and the phone root trip shows rooted but no apps have root permissions and run correctly. Help??

---------- Post added at 11:28 AM ---------- Previous post was at 11:03 AM ----------

I installed Chainfire Super Su and it says no su binaries installed..but the phone says rooted. Even duplicating the Op process does nothing same chmod and chown errors.
[G2 Android Development] TheUnlockr:
Did a few how to videos on my site for newbies for the G2. If you think it'll help anyone feel free to link to it or even just embed the video in the OP. Hope it helps!

How to Root - http://theunlockr.com/2013/10/31/root-lg-g2-t-mobile/

How to Flash a Custom Recovery - http://theunlockr.com/2013/11/03/flash-custom-recovery-lg-g2-versions-video/

How to Unroot - http://theunlockr.com/2013/11/01/unroot-lg-g2-versions-video/

Thanks for an awesome script!
[G2 Android Development] drew15b@gmail.com:
Does this support the LS980?

Hi,

I have acquired as of 11/08/13 the LG G2 Sprint phone running the following:

Android 4.2.2

Baseband version - M8974A-AAAANAZM-1.0.190034

Kernal Version - 3.4.0

Build Number - JDQ39B

Software version - LS980ZV7

Is this method supported for this phone series yet, I know its only been 1 day since release for sprint here where I live, but this usually is rooted/unlocked soon after release date, especially with similar builds from other phone carriers.

If this is rootable right now could someone point me in the right direction on how to start this. Ex. - What is the type of phone i have that i would follow in this tutorial? None of this information above appears to reference the phones ROMS that are supported at the beginning of the thread.

I have run a search on this thread for "Sprint" already and didn't really see anything helpful.

Thanks
[G2 Android Development] puch0021:
See the Kingo Android root thread in general.
[G2 Android Development] Shijn:
I have more or less the same issues.

Followed OP instructions, supposedly rooted the phone (had SU) but I can't boot into recovery. Any attempts to boot into recovery will end up in failure with and error message show in the top right (Secure booting error/ Boot certification error).

820 user
[G2 Android Development] nyorbee:
Hi it this method will work with intenational d802 version? And I wonder, I heard that LG G2 will get OTA to KitKat 4.4, when I will be rooted, I will still recive this OTA? And if yes, that mean I will become unrooted? And if yes, will this method will still work on kitkat to root my phone again?
[G2 Android Development] Shelnutt2:
Till theCubed updates the OP you can root sprint with v11:

http://downloads.codefi.re/shelnutt2/g2/spr/ioroot11.zip
[G2 Android Development] mihanstar:
Hi,

Can I root software version: "D802 10C AME-XX" in this method?

---------- Post added at 11:29 PM ---------- Previous post was at 11:24 PM ----------

Hi,

Can I root software version: "D802 10C AME-XX" in this method?
[G2 Android Development] xldavielx:
Hey I have the AT&T variant and was wondering if I root the phone, and had to unroot it in the future for any warranty reasons, which method will help me reset the LG Root Tripper count, so they won't know I had ever rooted the device in the first place ? Thanks !
[G2 Android Development] ericdabbs:
Where is the trip flag located on AT&T, Tmobile and Sprint versions?
[G2 Android Development] isotoper:
Asking that too.

10x
[G2 Android Development] Kaherdin:
My LG G2 wont connect or wont show up in ADB

Ok. I come from a rather nice line of android devices and still had my shared piece of issues with this rooting procedure.

Here is what I experienced;

LG G2 802 Swedish version, sold to me by the operator "Halebop"/TeliaSonera

My device wont show up as connected while in adb window. It just read "offline" or "unauthorized".

My solution;

Used a second computer

Installed the drivers from here

Without

USB debugging enabled I attached the G2 to the computer and let the drivers install

I chose to connect my G2 as MTP in "PC Connections"

Now I enebled USB debugging under developer options

And then i did, inside the "IORoot" folder (containing the adb.exe-file) I ran the "root.bat-file"

When it didnt connect to the G2 I once again disabled USB debugging and then re-enabled it.

Of course this is a rather novice and trail-and-error approach but it worked for me and therefore I make it searchable through google right here.

To all developers out there; thank you for making my digital life wonderful :good:

Best regards from Sweden
[G2 Android Development] ChaseRxx:
Can i root my D805 Device ?

Bad choice... missed my One
[G2 Android Development] ericdabbs:
Can we update this XDA thread to reference iorootv11 that supports the Sprint version that was found here http://downloads.codefi.re/shelnutt2/g2/spr.

I tried it last night and it works on the Sprint LS980 version. It will be nice to have an easy way to tell folks with the Sprint version to reference this XDA thread for root.
[G2 Android Development] leomd333:
Edit: Delete
[G2 Android Development] dawabz94:
Worked on my D802, thanks !
[G2 Android Development] dysfunkshun:
OK, im new to LG and just picked up my d801 earlier today. Attempted root with this and everything seemed to go through without a hitch, saying it was successful. All root apps seem to work, but I never get any prompts for superuser and no apps show in superuser either. I then tried to install twrp and again, it was successful but I'm not sure how to access recovery. Thanks in advance for the help!
[G2 Android Development] tkuligowski:
Okay this is a total PITA on the Verizon version. It always stalls at looking for device. I had to keep switching between mtp modem, ethernet and usb debugging before it finally went through. I still don't know how I did it. I never want to do it again.

Superuser doesn't prompt for root access I uninstalled it and SuperSU works fine.
[G2 Android Development] simon_lefisch:
Used this method on my VS980 with the OTA installed....worked perfectly! Thanks for posting ?
[G2 Android Development] ericdabbs:
Where do you find the area that flags or trips the root checker? Is this applicable to all variants of the G2?
[G2 Android Development] tkuligowski:
How did you get this to work on your Verizon edition? I had to do all these connects and reconnects, enabling disabling usb debugging, changing between modem and Ethernet. I'd get it past waiting for device then have to figure it out again when you have to unplug and replug. I don't even know how I eventually got it to go through both steps.
[G2 Android Development] crazylife:
I got my g2 D802 yesterday after rooting it by this app it have reboted to recovery and cant do anything to it.

Cant mount the sd or sideload or anything at all...

What kind of problem im having in here :(
[G2 Android Development] BaYRiCaN:
Freshly rooted thank you

Sent from my LG-LS980 using Xparent Red Tapatalk 2
[G2 Android Development] ericdabbs:
Is there a reason why ioroot v11 has not been uploaded to the OP to include the Sprint version?

The ioroot v11 file is located here: http://downloads.codefi.re/shelnutt2/g2/spr/
[G2 Android Development] isotoper:
Hi,

Thanks a lot for this great root method.

Only 2 questions please :

1. Will this only a root implementation or it has any change to the kernel or recovery ?

2. Can it eliminate OTA updates in the future ? (KITKAT is on the way soon...)

Thanks again !
[G2 Android Development] greyhd:
The only extra step with the VZW version is to switch it to Ethernet mode.
[G2 Android Development] greyhd:
Thank you for this great tool. Just rooted my VZW G2 and everything went well.
[G2 Android Development] simon_lefisch:
it was super easy. watched the vid first, then rooted in 5 minutes. switching to ethernet mode or modem mode worked since that was the only way to get USB debugging to show.
[G2 Android Development] greyhd:
I also would like to point out that there are prompts on your phone that come up and you have to click ok, if you don't the root tool will just hang. There is a "finger print" pop up, just say ok and you will root successfully.
[G2 Android Development] robogo1982:
Worked without a hitch :) thank you.

Question: can I replace the bundled Superuser app with, say, Koush's Superuser after downloading and installing it?
[G2 Android Development] TSF14:
OK, seemed easy enough. Rooted my D800, many thanks! However, now my stock recovery is broken. Shows the Android robot on his back, with the yellow triangle sign, and the red exclamation point.

How can I restore recovery?

---------- Post added at 02:45 PM ---------- Previous post was at 02:39 PM ----------

Got root, thanks! Lost my stock recovery.(D-800)

Can anyone tell me how to restore stock recovery?
[G2 Android Development] dawabz94:
Just noticed my recovery is broken too

I can live with that but would like to restore it if possible though

Thanks for any help !
[G2 Android Development] TSF14:
Fixed it. Downloaded one of the CWM recoveries, un-zip it and extract the .bat files. Plug your phone into Windows, make sure usb debugging is on. Click on the .bat file, and follow the prompts. Hope this helps.
[G2 Android Development] jvidia:
Does this rooting method voids the warranty?
[G2 Android Development] greyhd:
Yes. If you need to send it in for warranty work you would have to revert back to stock.
[G2 Android Development] jvidia:
And it doesn't have some sort of counter/flag that shows it was rooted?

Flash to stock is simple?
[G2 Android Development] pennie57:
When. I hit root bat it says hit any key when I do that the box closes
[G2 Android Development] greyhd:
Yes it has the unlocked flag, but I think if you go back to stock it should be ok. You can check out the threads on going back to stock.
[G2 Android Development] jparr45205:
Any help would be amazing.

Hello! I'm having an issue while running the root.bat file that I was unable to find an answer for. Hopefully someone here has the solution. When I run the file I receive the following message:

Looking for device...Error: protocol fault (status read)

Determining carrier...

Error: more than one device and emulator

GOTO was unexpected at this time

Thanks!
[G2 Android Development] xdp:
Does this root method work on latest T-Mobile (D801) OTA for a device that was just purchased? Wondering if root/custom recovery/CM 10 can be achieved on this device.
[G2 Android Development] tacosrdelicioso:
K. So android debugging won't start on my g2..
[G2 Android Development] greyhd:
Did you pick Ethernet as your internet connection from the drop down status bar?
[G2 Android Development] simon_lefisch:
You should be able to. I downloaded SuperSU and all is well. Just uninstall the bundled sure app afterwards.
[G2 Android Development] tacosrdelicioso:
What the f is this... Really? Lg is quirky. Thank you
[G2 Android Development] dawabz94:
Yup

Eventually did the same, thanks for the hint

For what it worth, I used Option 2 of this thread : [GUIDE] INSTALLING TWRP on LGG2 (VZW, AT&T, TMobile, KT, d802, others) [UPDATED]

Nice day all :)
[G2 Android Development] 3gDroid:
Quick question.....when I go into ROM Manager and click Reboot Into Recovery....I see the android with a red ! on top of it. What do I do?
[G2 Android Development] greyhd:
+2 -SuperSU will over ride Superuser.

Its just an extra step that good ol' big red makes you do to get debugging to work. If that doesn't work, it might be the drivers. I had to download the drivers from another link. ALso keep an eye on your phone for the promps that come up, just click ok.

Did you download TWRP or CWM recovery before booting into recovery?
[G2 Android Development] 3gDroid:
Yeah....i'm on 6.0.4.4. I can't even download ROMS in ROM Manager.

Should I use TWRP instead?
[G2 Android Development] greyhd:
Have you tried using TWRP? I pushed it through ADB and no isses.
[G2 Android Development] 3gDroid:
How do I push it through ADB?
[G2 Android Development] greyhd:
Search is your friend,

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

Video Walk Through

http://theunlockr.com/2013/11/03/flash-custom-recovery-lg-g2-versions-video/

I take no credit for any of the work or videos. I also do not take responsibility if you brick your phone.
[G2 Android Development] 3gDroid:
Thanks bro
[G2 Android Development] h9s:
any1 having problem installing LG G2 drivers on Win 8 64 bits??

since i can install the driver, even getting from the LG website??
[G2 Android Development] greyhd:
Try getting the drivers from one of the ,"revert back to stock" threads. That's what I did.
[G2 Android Development] h9s:
all the link for downloads are suspended...
[G2 Android Development] Grandelama:
You can download the drivers here
[G2 Android Development] h9s:
Thank you..solved !!!
[G2 Android Development] ilovebbq:
after uninstalling drivers and reinstalling and messing around to ensure that the android adb is functional, everything worked fine for my verizon lg g2 with ota

:D

except everytime i try to access the recovery function from rom manager, i get the fallen droid with the red exclamation mark

:confused:
[G2 Android Development] greyhd:
When you enabled usb, did the bug pop up? Any other option besides MTP like ethernet? It might be like the verizon version with that extra step.
[G2 Android Development] xdp:
If I buy a new AT&T G2 with the latest OTA, will I have to follow the convoluted process in the "Go Back to Stock" thread before being able to root? Or can I follow this method even on the latest firmware that they're selling today?
[G2 Android Development] ffejy462:
Thanks for the root! The hardest part was the dang drivers for some reason. I think I used at least three different drivers before adb would work. Flashing twrp was simple with flashify.
[G2 Android Development] myboyblake:
Is there a way to root it on Linux? I've tried searching everywhere but can't find a shell script or anything Linux friendly. Thanks everyone!! :)

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ok i managed to find a script on reddit that someone posted on github. script never worked though. kept saying my phone was not supported yet which is the VS98010B ota version. I couldn't find what was causing this error in the script so I ran everything manually. I pushed g2 security. I pushed su to xbin and then i installed superuser.

I installed rootchecker and it said that the device has root access. In the about phone, root status still says unrooted.

I am very confused why this is. Did I just have some spit of luck?

When I find out for sure it is rooted, I will post all the steps I took to get it working on linux. There is a lot more than what I posted. I just summed up to the part where i interact with my phone :P
[G2 Android Development] serseri22:
Sorry for this question. If I root with ioroot. Is it wipe current Rom data or is it just root so all my data will be there. Or is it all wiped off
[G2 Android Development] myboyblake:
all your data will still be there.
[G2 Android Development] kclawrence:
Hello.

Thanks for sharing but ioroot not work on my F320L.

(ro.build.target_country=KR

ro.build.target_operator=LGU)

I tried to amend root.bat "if %RESULT%==LGU GOTO KTRoot" but still doesn't work with below Error.

Any help ?

"

Mounting system RW and pushing SU, then remounting system RO again

mount: Operation not permitted

failed to copy 'su' to '/system/xbin/su': Read-only file system

Unable to chown /system/xbin/su: No such file or directory

Unable to chmod /system/xbin/su: No such file or directory

mount: Operation not permitted

Installing superuser

2173 KB/s (1468798 bytes in 0.660s)

pkg: /data/local/tmp/superuser.apk

Success"
[G2 Android Development] KristianKenneth:
this is weird but under superuser no app is shown under log but my apps that requires root can gain root access. Theres not even a pop up window requesting for root access.
[G2 Android Development] xdp:
Any ideas about this?
[G2 Android Development] ColdBrew:
Is there a way to reverse this for the Verizon LG G2? I've seen the process to return to stock for other carries but not Verizon.
[G2 Android Development] sefirosu0522:
Ok so I rooted and tossed twrp on the phone, (VZW version). I installed TiBu, Quick Boot and Root explorer. None of the root apps are asking for root permissions. Is this normal?
[G2 Android Development] dawabz94:
Yes

I suggest you grab supersu (https://play.google.com/store/apps/details?id=eu.chainfire.supersu) from google play store

It will automatically offer you to uninstall superuser

And you're good to go :)
[G2 Android Development] sefirosu0522:
Thank you good sir! Did this when I got to work this morning. All is good!
[G2 Android Development] dawabz94:
Great to read !

Enjoy :)
[G2 Android Development] slebit:
Thanks for this tool! Worked splendidly on my new g2.
[G2 Android Development] eggman89:
Sorry I didn't read the entire 55 page, but it was not mentioned in OP.

I want to know if it is possible to completely remove the Root status later on?

Including in the download mode?
[G2 Android Development] InfinitiGuy:
Isn't this just the normal stock Android recovery?
[G2 Android Development] Shelnutt2:
V11 has a bash script included. :)
[G2 Android Development] robogo1982:
Did it, all is working. Thanks a bunch :)

(but I am still reconsidering using Superuser and just going for SuperSU, don't know why).
[G2 Android Development] jiayit:
Ayeee, can't seem to get the .zip downloaded, brings me to a page not found :( any help? Tried on two computers, neither worked. Thanks!

Edit: nvm! Downloaded using my phone and transfered it to my computer.
[G2 Android Development] Tomekks:
UNroot

I know that after rooting my warranty is void. Will there be an option to unroot my phone?

I come from Sensation which had this option and it saved me one time when my touchscreen went bezzerk.

The question is: If I root, install twrp, do a nandroid of the current state, then flash a new ROM, will there be a way to come back to ALL stock?
[G2 Android Development] InfinitiGuy:
I'm wondering this as well. Also is there a way to view the LG root checker counter to see what it reports?
[G2 Android Development] condudad:
A quick search would have yielded the result...

http://xdaforums.com/showthread.php?p=46204640#post46204640
[G2 Android Development] g.b.a.:
same here...

this same thing happened to me while I'm trying to root Docomo L-01F G2...

it seems that Docomo's security is really strict...

hope someone knows some workarounds on this...
[G2 Android Development] InfinitiGuy:
I don't see where you can view the LG Rootchecker counter.
[G2 Android Development] xodeus:
I can not get proper root. Both this method and vroot method completes fine.

Superuser from here doesn't work, there are no requests. Phone seem to be rooted but when trying to access /system from anything else than adb the operation fails.

The issue is the same with vroot.

I've a d802.

Sendt fra min LG-D802 med Tapatalk
[G2 Android Development] condudad:
Sry my bad, it was just the unrooting part :o
[G2 Android Development] greyhd:
Did you install TWRP? SU won't show any apps but you can download SuperSU from the playstore.
[G2 Android Development] pilot85:
Noob question. I follow the vide instructions but i get stuck in where i type "adb devices" it does not show my phone. Does anyone have the link to the proper LG drivers? or could direct me on what im doing wrong.
[G2 Android Development] xodeus:
Twrp installed yes.

Now I've tested the root by a simple test.

I installed the supersu and updated the bin.

I froze the Chinese root and rebooted.

I ran supersu, updated bin, and prepared to reinstall. Rebooted.

I installed the supersu again, updated the bin and now everything works.

See my simple test. This operation could not be done before.

https://www.dropbox.com/s/rryabd2o5x12zrn/2013-11-23_07-53-20.mp4

Sendt fra min LG-D802 med Tapatalk
[G2 Android Development] Tomekks:
Found unrooting instructions http://theunlockr.com/2013/11/01/unroot-lg-g2-versions-video/

And also these: http://xdaforums.com/showthread.php?p=45293512

Can anyone confirm that one of these methods reset the rootcheck counter?

If no, is there an another way?
[G2 Android Development] InfinitiGuy:
If I knew how to check the rootchecker I'd tell you.
[G2 Android Development] dmbfan13:
Your phone should be prompting you for allowing ADB commands

---------- Post added at 12:13 PM ---------- Previous post was at 12:12 PM ----------

Thanks! I'll give it a shot!
[G2 Android Development] TruEastSydeBoi:
I'm not getting these ADB command prompts on my phone? When you plug your phone in, do you select a storage mode?
[G2 Android Development] dmbfan13:
I select internet tether (Cant remember if thats the name) then select Ethernet. This will allow USB debugging.
[G2 Android Development] TruEastSydeBoi:
And thank you very much, there's the usb debugging notification I've been looking for to show up in my status bar.
[G2 Android Development] dmbfan13:
Awesome! Glad I could help!
[G2 Android Development] tech_head:
Your version of ADB is old.

You need a new version for the prompt to happen.
[G2 Android Development] KornY10:
WIll there be a custom rom for this?
[G2 Android Development] kenlester:
yes
[G2 Android Development] joqsan:
I have my phone rooted already but I did it with the method that was posted about a week ago when the phone first came out. Is there something wrong with using that method?

I am on ATT by the way
[G2 Android Development] zxrax:
Thanks for the guides. Does anyone have an easy guide for AT&T?
[G2 Android Development] apascual89:
I just got a korean unlocked version let me know what I need to do to add support for it.

[MENTION=1157052]thecubed[/MENTION] thanks for your work!
[G2 Android Development] woof123:
What version did you got?I hope its the same as the one i will get also..
[G2 Android Development] Wkd1:
Thanks for this! I'll be rooting tonight!
[G2 Android Development] beddachedda:
Just rooted, painless! Thanks so much!
[G2 Android Development] apascual89:
F-320K
[G2 Android Development] Walter21026:
Successfully rooted, however I dont see an "unknown sources" ticker anywhere for titanium backup on the VZW version. its not in apps manager or storage. Can someone help me out here?
[G2 Android Development] woof123:
Mine will be the F-320S not sure if its unlocked also...
[G2 Android Development] anuraj1:
Allowing apps from unknown sources is in settings>security

Sent from my VS980 4G
[G2 Android Development] jayochs:
oh jesus...

so now if we did the chinese root method, we should def undo it? i deleted their superuser app immediately....
[G2 Android Development] rezrez12:
Anyone have instructions on how to do this on a Mac in Terminal?

Thanks!
[G2 Android Development] simon_lefisch:
Flashing to stock resets the root checker. To my knowledge that is the only way.
[G2 Android Development] tonisauffa:
Hi, something went wrong during the root and I do not have the recovery (no stock and no custom)! Have I to do the root procedure again or restore the firmware to solve? Thanks

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] InfinitiGuy:
What went wrong? What message did you see.