yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] tonisauffa:
Nothing partucuoar! I think I had a "half root"! The problem is that after the root I have the superus permission but no recovery! I'll do the root again and if necessary I'll flash the firmware!

Inviato dal mio LG-D802 utilizzando Tapatalk
[G2 Android Development] InfinitiGuy:
Installing recovery is a separate process. After achieving root, install SuperSU (replace and remove Superuser) and then do the custom recovery process.
[G2 Android Development] SREEPRAJAY:
A new user to G2....

Rooting was a breeze but just wanted to request you to add something in the OP. Struggled a bit with that but then GOOGLE has an answer to everything.....

If someone has BLUESTACKS android app installed on your laptop...

BLUESTACKS has to be disabled first

If someone already knows...please ignore this.

thanks OP...great work
[G2 Android Development] Jishnu Sur™:
Welcome to the G2 family bhai.. Hope you are enjoying the G2 ! :D Wish to see many things from you on this device too!
[G2 Android Development] slebit:
Welcome [MENTION=2731014]SREEPRAJAY[/MENTION]! I remember you from the time I owned an o2x. :)
[G2 Android Development] evolishesh:
Hi.

Im trying to root my phone but i can't install the adb drivers. Plus ADB is installed already on my computer

---------- Post added at 02:25 PM ---------- Previous post was at 02:24 PM ----------
[G2 Android Development] SuperMarioVT:
Thanks for the guide OP took about 3 minutes to root my Verizon G2.. Easy.. Thanks
[G2 Android Development] Kanzar:
I am not getting a definitive answer - will flashing stock to unroot the phone also untrip the rootchecker?

(I did search - but I see both yes and no!)
[G2 Android Development] pilot85:
is it as simple as hitting uninstall and installing another SuperSU (Chainfire)? i'm having trouble with the supersu that came with the root and itself updating, always says failed.
[G2 Android Development] InfinitiGuy:
When you install SuperSU it detects the other superuser app and prompts you un-install it.
[G2 Android Development] alienwolf426:
For people on Wind Mobile struggling to get root access, here is something you can do. I got this idea from this post by cingkrab. I edited the root.bat to use the ytiruces_1a_d803 file instead of g2_security. Basically, when the script doesn't find any matching carrier it assumes its one of these: ATT, TMO, SKT, or D802, except for some reason the G2 on wind is not the same as T-mobile, even though they're both D801. Instead we need to use the Canadian file which is mainly used to the D803 devices.

so, here are the steps to get root on a Wind Mobile G2.

1) Open root.bat in notepad

2) Do Crtl+F and look for ":ATTTMORoot" without the quotes but include the semi colon

3) a few lines underneath that line where you found ":ATTTTMORoot" you'll see a line which looks like this:

.\adb.exe push g2_security /sdcard/g2_security

4) replace that line with this:

.\adb.exe push ytiruces_1a_d803 /sdcard/ytiruces_1a

5) Save file and close notepad

6) Double click root.bat and follow the instructions as usual.

This worked for me. I'm currently in the process of installing TWRP so you're mileage may vary. I'm not going to be held responsible for any damage you might cause to your phone.

Cheers
[G2 Android Development] gsisr:
i rooted my g2 and i have question. with stock recovery i'll be able to receive ota updates? thank you
[G2 Android Development] tase25:
Bell version

Hi, I get the following error. It just stops after that.

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

596 KB/s (1468798 bytes in 2.406s)

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

Edit: NM, I reset my computer and phone and ran it again. Works.
[G2 Android Development] 360Razir:
Thanks, OP! :good:

Donation sent....
[G2 Android Development] xdafoundingmember:
Thanks worked like a charm
[G2 Android Development] caribouxda:
+1
[G2 Android Development] xdafoundingmember:
No once tripped always tripped. ..if you need warranty just fry your circuit board
[G2 Android Development] Kreuger:
Thank you so much for this. Much simpler to root than my HTC One X was.
[G2 Android Development] bl4ckdr4gon:
Thanks, ran well on 1st try. Took no more than a minute.
[G2 Android Development] J.Guido85:
Deleted
[G2 Android Development] xaneybert:
Hi all I have tried accessing this last month, and it worked. I had xposed frameworks installed and all. after some time I tried to use titanium backup, but it tells me I have no root access. After updating the xposed framework the app_process does not get updated anymore, but when trying to check the adb shell. it says uid=0(root) and gid=0(root)

can you please help me. :(
[G2 Android Development] lakaw:
I had the same thing happen. Seems to have been an issue with TiBu though. Root access is granted with the latest TiBu update.
[G2 Android Development] xaneybert:
Still ain't working for me. :(
[G2 Android Development] J.Guido85:
Question.

I noticed in the beginning of this thread, There is two different ways 2 root the device. There's the #1 post which is:

"Ensure you have the proper USB drivers installed, and your phone is in the proper mode (For Verizon, use Ethernet mode on the PC settings menu)

Enable Developer Mode on your phone and enable USB Debugging

Extract this zip file somewhere on your PC

Run root.bat

The phone will ask you to disconnect USB, disable USB debugging, then re-enable it and plug the phone back in, do so when prompted

You will then be asked if you would like to have a superuser package installed, which you can accept or decline"

Then there's #2 post which is:

"This is confirmed to work for the ATT and Verizon variants, I'll add support for T-Mobile as soon as I get someone in #lg-g2 in Freenode who owns one.

Simple:

Ensure you have ADB drivers installed and USB Debugging enabled

Extract this .zip file somewhere

Run the root.bat file, and read the instructions

During the installation, you'll have to disable USB Debugging and re-enable it, then the app will ask you if you care about rootcheckerd (rctd).

If you don't want your phone to show "rooted" in download mode, or in settings, hit CTRL-C when prompted and you'll just have a root shell through ADB.

Personally, this is enough for me, but if you want full root, press continue and it'll install superuser and a superuser binary for you.

PLEASE do not mirror this! It makes my life easy if I can just edit the file on my server if need be instead of contacting all the mirrors."

Which one should i be following? I started watching the video and noticed he is looking at the #2 post, But from the date it looks like maybe the #1 post has been updated. I have the D800 G2 On AT&T. Which process should i follow? I'm looking to install twrp and roms once i have root...

Thanks in advance!
[G2 Android Development] snake2332:
Is VS98011A still the latest VZW OTA update? Getting a G2 tomorrow and don't want to update if this root method won't work. Like when I got my Galaxy S4, I am glad i didn't install the OTA that was prompting to be installed because it was the ME7 or whatever that wasn't rootable.
[G2 Android Development] J.Guido85:
From what i gathered from the video, He states that you can do either way, But if you want to do the OTA, You MUST do that first before rooting, Because you're not supposed to take OTA's once rooted. If you don't plan on doing the OTA's, Then you're good to go.
[G2 Android Development] snake2332:
Ya I was just curious if VS98011A is still the current/latest OTA. I will just not do any OTA updates prior to rooting since I plan on using custom roms anyway.
[G2 Android Development] mainomain2:
Help!!! I just got my G2 last night and had no idea if I took the UPDATE I wouldn't be able to root my phone!! Is there any way around this guys? I had an LGOG previously and I don't recall anything like this when I rooted it...
[G2 Android Development] lazer77:
Pretty sure it says right in the OP, the root method would work with the OTA..

Sent from my LG-D800
[G2 Android Development] greyhd:
As mentioned above, the OP says you can take the OTA then root the phone. Take the update, download the file to your device then root it using the steps in OP.
[G2 Android Development] JRJ442:
Does anyone have another link to this? Appears that the link is broken.
[G2 Android Development] hckyplyr:
Link working again
[G2 Android Development] simon_lefisch:
Give me a few and I'll post one....

EDIT: link worked for me. Should be good.
[G2 Android Development] J.Guido85:
Looks like there's an update for the AT&T G2, Will this affect the root process if I take it? I know it wasn't a problem for the Verizon variant, but I'm just making sure.
[G2 Android Development] greyhd:
If you are rooted and take the OTA you will be in a bootloop.
[G2 Android Development] mainomain2:
Thank you so much guys. I didn't want to screw up my phone. I love this thing.
[G2 Android Development] snake2332:
So you took the OTA and it is still the VS98011A version? I'll be getting mine tomorrow actually. I figure I will just not install any OTA just in case there is a new one. Kind of sad that my Galaxy S4 will be back to stock and ignored entirely because it'll be my work phone and needs to have Mobile Iron and Touchdown installed on it. I wonder if Mobile Iron will care if the Knox bit is 1...hmm, I doubt it.
[G2 Android Development] greyhd:
11A is the latest version for Verizon. Hopefully LG will release 4.4 sometime in Q114
[G2 Android Development] davevinci:
Rooted my friend's D802 10b with this! Thanks OP!
[G2 Android Development] uuc328:
Greatly appreciate all the work you guys have done here, thanks!
[G2 Android Development] byproxy:
No ADB Devices

can't get computer to recognize phone in adb.

installed drivers, usb debugging enabled (icon shows up on phone), and phone in ethernet mode.

at command prompt, no devices show up when entering "adb devices"

any help much appreciated.
[G2 Android Development] jvidia:
For the international/european D802 (carrier free) this is the best way to root the G2??

Thanks.
[G2 Android Development] byproxy:
so once i switched computers and was able to actually access the phone via adb... this work GREAT!!

one suggestion:

once the bat file ran and finished... it didn't really tell me it was done. i wasn't sure if i was good to go or not because no message appeared saying done. however, it did finish because SU was installed, and ADB ID showed at root, and titanium backup installed and functioned fine.

so... while this was awesome and i much appreciate... i'd just suggest a "finished" echo (or something like that) once the bat completes.

anyway, thanks to the author!!
[G2 Android Development] hydeah:
Hi Everyone,

Is this root method good enough for me to just root my D800 AT&T and get rid of all the bloatware AT&T loaded in my phone, and to be able to switch governor control? I really don't want to mess with my G2 but it feels sluggish.

Following this root, can I use something like CWM (I guess it's called TWRP for LG phones) to take a snapshot of the device and backup for future?

Thanks in advance!
[G2 Android Development] lazer77:
It's not called twrp for LG phones.. they're 2 different recoveries. But yes, you can.

Sent from my LG-D800
[G2 Android Development] ATHM50:
Perhaps adb requires an update. Although I'm attempting to root on OS X and via Terminal; I believe updating the Android SDK (and therefore updating adb) fixed this issue for me.

I hope this helps.
[G2 Android Development] meascom:
Future OTA after root

Just wanted to confirm this piece, if someone can please.

I have Verizon G2 (VS980) with 11A software load. I dont plan to use custom ROMs in future, but definitely plan to keeping my phone updated with latest original (distributed by VzW/LG) software. Can I root now or should I refrain from doing so?

I need root to uninstall bloatwares, and restore Titanium backup from my previous phone

Thanks in advance
[G2 Android Development] feralcat:
Awesome took less then a minute to root
[G2 Android Development] il Duce:
[MENTION=1157052]thecubed[/MENTION] this works (v11) with sprint without issue maybe update the op?
[G2 Android Development] Dri94:
nvm... irc people helped me "]
[G2 Android Development] hydeah:
Thank you so much, I see you are also in New York and you are also with AT&T, are you happy with your setup so far? you are pretty much where I want to be, all stock just rooted with TWRP installed for security and peace of mind. May I ask, if you would be so kind to share your setup, what did you remove/freeze/disable? I am really getting tired of random frame skips on this phone, when I run a super hardcore game like Asphalt, it seems to run fine, but when I play a very basic sidescroller it seems to skip frames.. Anyway, I don't want to bore you with details, but I just wanted to get a feedback from a fellow NY'er on AT&T who could be the best person to guide me. :highfive:
[G2 Android Development] lazer77:
[MENTION=4346947]hydeah[/MENTION] pm'd you to keep the thread root related. ;)

Sent from my LG-D800
[G2 Android Development] Bornin:
Hey all, I'm getting a G2 in 6 hours from now :D so I just read this entire thread as one is supposed to. I tink I'll root my device without a problem but there is one question I couldn't find an answer for.

Will rooting prevent us in anyway from getting Kitkat later on?
[G2 Android Development] Bornin:
How long is this rooting supposed to take? I'm stuck on " Mounting system rw and pushing su, then remounting system ro again" for like 5 minutes now
[G2 Android Development] hydeah:
How are you doing now? Did it finally complete?

In this video: http://theunlockr.com/2013/10/25/root-lg-g2-versions-video/ i can see he says "it hangs for a bit" and I see his time stamp changed by 14 minutes.

Which model are you using?
[G2 Android Development] gbell76:
I keep getting this error message.

Hey there everyone. I am following the instructions exactly and I keep getting this (see attached photos). Note: I did download an update 2 days ago and I also tried ioroot10 and ioroot11. Thank you in advance for your help.
[G2 Android Development] lazer77:
I don't even think it took more than 5 mins. It was quick.

Sent from my LG-D800
[G2 Android Development] greyhd:
Use IOroot10 and find another file for the LG drivers.

As for how long it took to unroot, around 5 minutes. Keepan eye on the phone because there are some prompts that you have to say "ok" to for it to work.
[G2 Android Development] edgarzin:
Huge thanks! Im happy because this is the first android device i managed to root!

I have a question. I Factory reset the phone, and the superuser app is not there anymore. Did I lose root? If not, how can i intall superuser again?
[G2 Android Development] lazer77:
I would say you lost root.
[G2 Android Development] greyhd:
+2 on loosing root. Check the section "about phone" then "status" and see if it says rooted or unrooted. You might have to root again.
[G2 Android Development] edgarzin:
Just checked the final instructions from the video, according to them the root is there,

C:\Users\Edgar\Downloads\ioroot10>adb shell

shell@android:/ $ su

su

root@android:/ # id

id

uid=0(root) gid=0(root) ==> this means Im rooted.
[G2 Android Development] angel7501@live.com:
Please help, need to root D801

Guys I was wondering, would the tmobile root work with the Claro Puerto Rico variant of the LG G2?

The model of the phone is LG-D801 same as tmobile, and the Software Version says D80110a-AMX-XXX

Any help will be greatly appreciated!
[G2 Android Development] greyhd:
Can you boot into twrp? Also download supersu from the play store.
[G2 Android Development] nomad3018:
Debugging not showing up?

Hi all,

I was really excited to get my g2 and root it, but for some reason usb debugging is not showing up on the notifications menu, even though its checked. I have installed all the drivers multiple times but for some reason it still wont show up. Its the verizon version with VS98011A stock, and im running windows 8 on my pc. any advice would be appreciated!
[G2 Android Development] greyhd:
When you plug in your phone, open up the notification bar and make sure its on internet.
[G2 Android Development] nomad3018:
I must be an idiot. That worked thank you!
[G2 Android Development] greyhd:
Glad it worked.
[G2 Android Development] Bornin:
It turned out to be a driver problem. All is good now :good:
[G2 Android Development] hydeah:
Great! Thanks for coming back and reporting. Did you use the latest drivers? The ones linked are older, but LG released newer ones.

I will root this weekend, wish me luck people! :)
[G2 Android Development] Bornin:
No LG drivers didn't work for me for some reason

I used the universal naked drivers. http://xdaforums.com/showthread.php?t=2263822

It failed initially because windows downloads drivers from it's database as soon as you plug in the phone. causing to fail installing MTP drivers.

I had to cancel that and then install the universal drivers manually

*very nais phone :highfive:
[G2 Android Development] hydeah:
So you made the mistake of plugging it before installing the drivers?

I just installed LGUnitedMobileDriver_S50MAN310AP22_ML_WHQL_Ver_3.10.1 (Downloaded from LG) and so far I did not plug my G2 yet. :)
[G2 Android Development] Bornin:
Nope I installed that driver even before picking up my phone at the store haha, Yeah I'm very against non rooted phones :)
[G2 Android Development] blakeatl:
Please update post for future new users. It took me almost an hour to get my phone rooted because the ioroot10 does not work on Sprint devices. After finding post 514 on page 52 was I able to root in less than a minute. Also thanks for this easy process.
[G2 Android Development] angel7501@live.com:
Anyone? :/
[G2 Android Development] REDFOCZ:
Did a quick search and wasn't able to find an answer. This works on the d800 running the 10o firmware right?

Sent from my LG G2
[G2 Android Development] AvErNaN:
Done on D802 using ubuntu. Thanks for the bash script, it took only 2 minutes. Now I'll go to install all my root required apps :D
[G2 Android Development] REDFOCZ:
I ran the script and am having an issue with it pushing the SU to the phone.

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

Phone model is an AT&T D800, software version D80010o

What should I do? I have the Super user app installed but with out the binary I cant do anything.
[G2 Android Development] Logix:
also ran into this on a vzw version (with ota) any one from the vwz side have a idea?
[G2 Android Development] autoprime:
updated this for the AT&T 10o update.

*edit*

confirmed working on 10o..

ioroot12 - http://downloads.codefi.re/autoprime/LG/LG_G2/ioroot12.zip

sometimes the bat acts weird...

to run the root manually in under 10 commands... for AT&T 10o users...

1: adb devices
(make sure it sees your device)
2: adb push ytiruces_1a_att /sdcard/ytiruces_1a

*******************************************************
Now, please unplug usb, go to developer options and
disable USB debugging. Now disable Developer Options.
Turn On Developer Options. Enable USB Debugging.
Once you've done that, re-plug your usb...
*******************************************************

3: adb shell
(you should now see a # instead of a $. # = root)
4: exit
5: adb shell "mount -o remount,rw /system"
6: adb push su /system/xbin/su
7: adb shell "chown 0.0 /system/xbin/su;chmod 06755 /system/xbin/su;sync;mount -o remount,ro /system"
8: adb install superuser.apk

If you have issues with root always being accepted and superuser never asking...

you can install SuperSU from the Play Store and in the SuperSU settings update the SU binary. Now delete superuser.apk
[G2 Android Development] ralphie1267:
I am on att ..I took update also.ioroot did not work with me either got same su error as u.I did root with kingo and no problem there it took a total of like 5 min and was done and rooted installed latest twrp. And dl flashify to flash twrp. But

I'm gunna just chill with root until I do a s...load of reading and understand this phone..way different then a Samsung phone... been reading all these horror stories of people getting stuck in a bootloop or worse using twrp..
[G2 Android Development] blakeatl:
Did you change directory to where adb is installed?
[G2 Android Development] ralphie1267:
No, I didn't..should I have?
[G2 Android Development] albsat:
So my question is; can I update to supersu if I want to try it?
[G2 Android Development] droidiac13:
How did you get TWRP to stick? When I use flashify it says it installs, but when I try to get into recovery it takes me to some secure booting error screen or something.
[G2 Android Development] ralphie1267:
Yes .I did upgrade to supersu pro ..I did not even try to flash twrp yet. .I stoped after rooting because of the ugly stories I've been reading bout twrp messing phone up after ota. I don't no enough if I get stuck in bootloop I would freak..
[G2 Android Development] REDFOCZ:
So no one with an at&t d800 who has rooted on the 10o has been able to get a recovery flashed to their phone?

Sent from my LG G2
[G2 Android Development] autoprime:
Use FreeGee from the Play Store to install G2 recovery. Then thank [MENTION=2413393]Shelnutt2[/MENTION] :good:
[G2 Android Development] REDFOCZ:
That didn't work either, tried both tarp and cwm. Both gave an error running action to install
[G2 Android Development] Douchie0221:
Just want to pop in and say that I am having the same problem; I successfully got root with io12 and am still not able to successfully install a recovery. I've gotten two '1' errors and one '127' error trying to use freegee.
[G2 Android Development] autoprime:
hmmm if you can PM me a logcat thats running during the error I can pass it to shelnutt.

people were using the app in IRC today.. tho it was for just about ever carrier except AT&T if I recall correctly.

as long as the app has root it should work :confused:
[G2 Android Development] REDFOCZ:
Pm sent with logcat zip, let me know if that is correct.

Sent from my LG G2
[G2 Android Development] franky1a:
Rooting Problem

when i tray rooting my g2 i get this

Easy root for LG G2

Supports the following carriers:

ATT, TMO, VZW, KT, SKT, RGS, BELL, TLS and OPEN

Repackaged by IOMonster

Converted for MacOSX by erraggy

See http://tinyw.in/mXhw for details

**************************************

Credit to http://optimusforums.com/threads/how-to-root-the-lg-g2-f320.8846/

Press any key to continue...

Looking for device...

/Users/Efrain/Desktop/ioroot_mac/root.sh: line 18: adb: command not found

Determining carrier...

/Users/Efrain/Desktop/ioroot_mac/root.sh: line 20: adb: command not found

Your phone carrier is:

We don't have an unlock for your carrier.

Please ask IOMonster or TheCubed to look into this

This program will now exit.

Press any key to continue...:crying:
[G2 Android Development] xodeus:
It looks like the script isn't working properly in your Mac.
[G2 Android Development] thiagofbrito:
Is it safe on D805 variant?
[G2 Android Development] franky1a:
maybe But on Windows I can get a abd to recognize my phone I've installed the drivers In he op and don't know what else to do.
[G2 Android Development] jonstrong:
I'm not Mac-savvy, but this sure looks to me like your path (or whatever is the equivalent in OS/X) doesn't include the directory where you've installed the SDK.
[G2 Android Development] autoprime:
ok, apparently you need busybox installed for this to run and the play store should have prompted you to download it if you are on 1.9.6 or above on the play store.

maybe try installing busybox and running again?