yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] autoprime:
open command prompt and use the cd command to navigate into the proper folder since your windows 7 seems to be weird. but the reason the bat isnt finding it is because the drivers arent installed. running an exe to install drivers does not always equal drivers being installed and attached to the proper device. open windows device manager and you'll likely see a yellow ? or ! which means it needs drivers still. at this point it is a windows issue and you'll need to sort it out. make sure you have the right drivers for your device..

either that or youre not in proper usb debugging mode.

without more info its hard to say 100%. giving as much info as possible when you post is most helpful.

but most likely root will still work... but you may have to use the manual method and use the OPEN D802 method. depends on firmware version really.

glad the manual method worked out. manual method ftw.

it looks like there wasnt an error with the script and it seems that the phone itself just wasnt toggled properly. after the first part of the root sometimes the phone has to be unplugged and cycled thru all usb modes before usb debugging is really turned off/on... it's just due to phone weirdness... and if it's not toggled.. the 2nd part of the root wont work.

this is why i prefer the manual method... it requires you to get that # prompt in adb shell before moving on to the next steps. I might try to work something into the scripts to force check for this before moving on with part 2 of the root.

what version of root does not matter in this situation but thx for including it. if you altered ANY files after root... or if you installed a custom recovery.. the OTA update will always fail. you will need to use the "go back to stock" methods in the forum to restore your phone to a 100% stock condition... from there you will be able to update ota. OR you could just install a custom recovery(twrp/cwm) and flash the stock 12B rom zip.. which is what the OTA update would be giving you anyway.

In my opinion an OTA should never be taken if already rooted and anything modded at all. If you need the OTA then you'll have to jump thru hoops like ive mentioned above.
[G2 Android Development] MrFrankfromCM:
Thanks for the reply. The only odd thing I did was add some photos to the Preload images folder that had 2 pre-loaded pics or videos in it. I know not to delete any apps after rooting. I do not have a custom recovery as I am only rooted and nothing else. I'll try moving those images from the Preload folder and see if that works.

Thanks again.

EDIT: I forgot....flashed or pushed the Hotspot mod...this is probably the issue with OTA.
[G2 Android Development] The Kid Cassidy:
Thanks prime...yea, didn't have the right drivers.
[G2 Android Development] iall5tar:
iRoot19 works like a charm in Mac without manual method... =)

Cheers and thanks so much!
[G2 Android Development] spunisk:
Lg G2 D805 support ?

Enviado desde mi LG-D805 mediante Tapatalk
[G2 Android Development] autoprime:
I have a test version of ioroot that may support D805 and D806 that I need tested.

It adds some new checks through the script(windows only for now) to show better errors along the way.

anyone on a g2 that needs root is welcome to try it. should support all/most devices/firmware.

test ioroot HERE. Use the "root-test-norootcheck.bat" instead of the normal root.bat

if it doesn't work I need exact details on what the error was. device model, firmware version and carrier info would help as well.
[G2 Android Development] Tinchoska:
Will test tonight

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] boudy21:
G2 AT&T version , unable to root

So guys i followed the instructions , had all the drivers set up , when i click the root.bat and then click any key to continue , the terminal just goes shut and nothing happens ...

Any help please :)
[G2 Android Development] Murtagh92:
First of all thanks for the immense work. I was successful, on the stock rom, to get root permissions. Then I installed the recovery, changed rom (omnirom) and now I no longer have root permissions. Also, if I repeat the procedure, after pressing any key on the keyboard, window just disappears and nothing happens. How can I do?
[G2 Android Development] penfold:
Thanks, I managed to root on a mac using the manual method, the auto script didn't work.
[G2 Android Development] bormasina:
LG Optimus G Pro

Could you add support for ATT LG Optimus G Pro E980. I know that this is LG G2 forum, but the current root method for the LGOGPRO doesn't work on the newest update. I got warranty replacement from ATT and it is already on the latest ota that has the root exploit patched. I would like to root first and make backup of EFS and the important stuff. I could try to flash back with LGFlash tool, but as i said i would like to make backups first. Thanks!
[G2 Android Development] HighlanderZA:
[MENTION=1157052]thecubed[/MENTION] - Thanks so much for this. :good: sort of a 'half root' :D capability!

Just got my G2 - don't want to do a full root just yet, and I'm a noob on the LG G2!!!:o

Need to make sure all is hunky dory and wait for the possible release of KK for us here.

Ads were driving me a little nuts in some of my apps though :(:p (used to rooted, rom'ed S2)

So ADB root sounded interesting enough for an experiment.

Grabbed the Adaway generated hosts file off my Nexus 7 and replaced the one on the G2!

Voila - no more ads!!!:good::fingers-crossed::D
[G2 Android Development] valen89:
does this work

does this work for the vs98012b version of the verizon lg g2??

---------- Post added at 09:03 PM ---------- Previous post was at 08:26 PM ----------
[G2 Android Development] autoprime:
I've been considering adding other LG versions. I have G Flex support added in a test version and LG Optimus G will be very easy to add as well. Optimus G Pro shouldnt be too bad... I'd need to track down all the different model numbers and firmware versions for it though.

what versions were you able to root. which versions cant u root? whats the root method you guys even use? link?

turn the phones screen on and unlock it... u should be prompted to hit yes/no on the phones screen when u try to use adb thru command prompt.. hit yes. if you already got this prompt and hit no by some chance.. you can go back into developer settings and press the "revoke usb debugging auth" which should clear out your "no" selection.

im sure the offline issue is the same reason ioroot19 didnt run. you should be able to run: "adb devices" command and see your device with no errors if you expect ioroot to run properly.
[G2 Android Development] valen89:
Thanks so much got it
[G2 Android Development] valen89:
Thanks autoprime got it rooted

:)
[G2 Android Development] farhanito:
where can I find previous versions of ioroot? or is it backward compatible?
[G2 Android Development] charleshenrysmith@comcast:
Deleted. Wrong thread.
[G2 Android Development] life:
huh?? you installed this?? you do realize this is a root method ( a bunch of files needed to be able to root your device from your pc) and not a rom or application, right? and if your able to reinstall cm11 you do not need this...
[G2 Android Development] bberryhill0:
Mostly the new versions add support for more devices. No need to go back to older versions.

Swyped from my Verizon LG G2 using Tapatalk 4.4.4
[G2 Android Development] farhanito:
Indeed.

Just rooted Int'l 80210e without issue using latest version.

Script runs fine.

Thanks [MENTION=2684188]autoprime[/MENTION]
[G2 Android Development] autoprime:
updated ioroot.

Changelog:

v20: added support for all D802/D805/D806. Updated all scripts. Added LG Optimus G and LG G Flex support. SuperSu now installed in /system.

The v20 Linux/Mac script currently does NOT support Tmobile D801 10g firmware. The Windows version DOES.

I need someone with a stock based TMO D801 10g rom to please give me the output of: adb shell getprop ro.build.fingerprint

this was a big update. scripts were completely redone. after lots of testing the scripts should work for just about everyone. Follow the scripts onscreen instructions and don't hit any buttons unless specified. Having proper Windows drivers installed prior to running IOroot still seems like one of the bigger issues.

If for some reason your device/firmware isn't supported I need to know which version of IOroot used and the output of the following four ADB commands:

adb shell "getprop ro.product.model"

adb shell "getprop ro.build.target_operator"

adb shell "getprop ro.lge.swversion"

adb shell "getprop ro.build.fingerprint"

Remember there's the manual method instructions to try which uses only adb commands. Works in situations where the scripts aren't working properly for a specific firmware version. Worst cast scenario, IOroot10 can always be found in the OP and for now.. IOroot19 can still be found here.
[G2 Android Development] illyfilly:
so i just tried it and got:
[G2 Android Development] autoprime:
which script? windows mac or linux?

just updated the windows bat. redownloading should grab the new file.
[G2 Android Development] illyfilly:
downloaded the uodated script for windows vs980 and now it was stuck on the waiting for device screen. unplugged the usb from the phone and closed out the command prompt. plugged the phone back in and ran the script again and it now works.

viola.

thanks a meelion.
[G2 Android Development] iqlogic:
Is there any chance that "ROOT checker" will be bypassed completely and we will have "full ROOT" on LG G2 without void warranty?
[G2 Android Development] iall5tar:
Hi [MENTION=2684188]autoprime[/MENTION] dunno if this it's already added but could you mind to add in the script "ORG" from Orange, this one is a carrier in Spain.

Btw is for Mac
[G2 Android Development] autoprime:
All D802/D805/D806 should be supported now. I have it look at device model and not carrier. So far ALL D802/5/6 root has been the same. As long as "ORG" is the same as the other D802 then it should work with ioroot20.
[G2 Android Development] iall5tar:
I'll report later thanks for the support!

Cheers!

Edit: [MENTION=2684188]autoprime[/MENTION] iroot20 works like a charm thanks mate! Already done with Mac!
[G2 Android Development] hotnikkelz:
I couldn't get it to work, i have a d801 and followed the instructions. and this is what i got.

I dunno what to do :( I'm desperate
[G2 Android Development] abo_mara7:
[MENTION=2684188]autoprime[/MENTION] I tried iroot10 before I notice that iroot20 is already out and both didn't work.

So, for iroot20, I ran the script for two times and all goes well and shows that the root was successfull. However, rootchecker asks for root permissions and once I grant it, it will just keep stating: "Please wait for Root Checker to complete. System appears to be running very slow."

I've also tried the manual method but it showed me $ instead of #.

LG-D802

Open

D80210d

lge/g2_open_ame/g2:4.2.2/JDQ39B/D80210d.1386774155:user/release-keys
[G2 Android Development] sethxavier:
right so im using f320s20g and followed io20 instructions to the dot. even tried the manual method.. says im rooted on adb but when i check on root checker it says i don't have root.. and super SU cant update binary error..

uhh sorry im really a newb at this, what can i post to get things checked?
[G2 Android Development] Massonite:
I'm having the exact same issue with my D801. Let me know if you figure it out.
[G2 Android Development] zvikam:
Root AT&T version

Hi guys,

Your help is needed.

I bought my phone in US at AT&T, it was sim-locked. I live in Israel so I use a GSM network I unlocked it for all the sims and now I want to root it and install a custom ROM.

I wanted to ask you if I can install any ROM on that phone once I root it or I have to use only AT&T Roms.

Thanks a lot for the help!

Z
[G2 Android Development] nucl3archick3n:
if I root would I still be able to receive OTA updates
[G2 Android Development] iall5tar:
Ofc, you able to receive OTA, if u didn't change anything...

Sent from my G2 POWERED by Dorimanx
[G2 Android Development] nucl3archick3n:
By changing e anything you mean the recovery or rom right?
[G2 Android Development] iall5tar:
Yeah, if u got your g2 from any carrier and you change something and the carrier release an ota and you change the rom from your carrier you will get a Softbrick.

Sent from my G2 POWERED by Dorimanx
[G2 Android Development] nucl3archick3n:
So a stock rom, stock recovery g2 that's rooted will not brick when performing an ota update
[G2 Android Development] iall5tar:
Not.

Sent from my G2 POWERED by Dorimanx
[G2 Android Development] rohecla:
Hello !

I tried to root my Open EUR G2 (D80210e)... But the phone seems to be undetected ! I'm on Ubuntu Linux 64-bit, and I get this :

ADB is set in my path. What to do please ?

EDIT : And the phone is detected (and not offline) by adb devices !

EDIT 2 : Working now ! I l used to call "sh ./root.sh" instead of "bash ./root.sh" !
[G2 Android Development] autoprime:
use the manual method. looks like the script isnt working on linux for whatever reason.

*EDIT*

Just read your newest EDIT... good to know!
[G2 Android Development] nucl3archick3n:
Would installing xposed and various mods affect an ota? Sorry for the trouble.
[G2 Android Development] autoprime:
why even take the OTA? when a new rom version is out.. generally someone makes a flashable rooted zip of that new rom. Since rooted... if you install TWRP or CWM recovery you could simply flash the newest version for your phone. You'd never run into issues that way.

Taking an official OTA update from a carrier after modding ANY files in /system or after removing stock recovery can lead to trouble.
[G2 Android Development] sethxavier:
LG-f320s

SKT

F320S20G

lge/g2_skt_kr/g2:4.4/KRT16S.F320S20g/F320S20g.1388842328:user/release-keys

tried ioroot version 20 and 19

windows 7

says ive got rooted adb, says can't install super user cause it's already there. root checker says unrooted and superuser won't update binary

please help :)

EDIT: oh and i tried the manuak, when i get on step 12, it always comes back at "device or resource busy"

then step 13 says superuser is already existing
[G2 Android Development] autoprime:
I'm wondering if the issue here is the 'daemonsu' is not being loaded at boot. it is important to reboot after attempting root... as a script needs to run at boot. I have added this forced reboot in the root scripts.. but if trying the manual method you would need to reboot after.

anyway... if it is indeed only an issue with the 'daemonsu' not starting then we will need to workout a method to have the daemon run at boot.

to confirm if this is an issue with daemonsu running at boot please run the following commands:

adb shell (confirm you have #)

/system/xbin/daemonsu --auto-daemon &

if there are any errors please post them. if there are no errors... attempt to start SuperSu or use RootChecker and see if root is granted. Let me know of the outcome.
[G2 Android Development] sethxavier:
well here's what i did

C:\Users\PC13\Desktop\myk root\ioroot20>adb shell

root@g2:/ # exit

exit

C:\Users\PC13\Desktop\myk root\ioroot20>/system/xbin/daemonsu --auto-daemon &

The system cannot find the path specified.

C:\Users\PC13\Desktop\myk root\ioroot20>/system/xbin/daemonsu

The system cannot find the path specified.

C:\Users\PC13\Desktop\myk root\ioroot20>

EDIT: yeah I did reboot when instructions asked me to reboot :)
[G2 Android Development] autoprime:
no, do not type exit.

adb shell

/system/xbin/daemonsu --auto-daemon &
[G2 Android Development] sethxavier:
C:\Users\PC13\Desktop\myk root\ioroot20>adb shell

root@g2:/ # /system/xbin/daemonsu --auto-daemon &

/system/xbin/daemonsu --auto-daemon &

[1] 11507

root@g2:/ # Usage: mount [-r] [-w] [-o options] [-t type] device directory

chcon: Could not label /system/etc/install-recovery.sh with u:object_r:system_f

ile:s0: Permission denied

chcon: Could not label /system/xbin/daemonsu with u:object_r:system_file:s0: P

ermission denied

chcon: Could not label /system/xbin/su with u:object_r:system_file:s0: Permiss

ion denied

chcon: Could not label /system/bin/.ext/.su with u:object_r:system_file:s0: No

such file or directory

Usage: mount [-r] [-w] [-o options] [-t type] device directory

mkdir failed for /tmp-mksh, File exists

chcon: Could not label /tmp-mksh with u:object_r:rootfs:s0: Operation not supp

orted on transport endpoint

chcon: Could not label /tmp-mksh/tmp-mksh with u:object_r:rootfs:s0: Operation

not supported on transport endpoint

this is what i got.. now this is beyond me lol
[G2 Android Development] autoprime:
hmm weird. try this...

(copy and paste the commands to be 100% sure you're entering the correct command)

adb shell
mount -o remount,rw /system
cd /system/xbin
daemonsu --daemon &

do NOT reboot after final command.

then see if root works. if not... I'll have to look into this deeper another time.
[G2 Android Development] zvikam:
Guys? Could anyone please help?
[G2 Android Development] iall5tar:
Hi, I think all the devs focus to make a rom for all models, also maybe can help to read the thread for lg g2 AT&T.

Sent from my G2 POWERED by Dorimanx
[G2 Android Development] sethxavier:
C:\Users\PC13\Desktop\myk root\ioroot20>adb shell

root@g2:/ # mount -o remount,rw /system

mount -o remount,rw /system

root@g2:/ # cd /system/xbin

cd /system/xbin

root@g2:/system/xbin # daemonsu --daemon &

daemonsu --daemon &

[1] 13358

root@g2:/system/xbin # chcon: Could not label /system/etc/install-recovery.sh w

ith u:object_r:system_file:s0: Permission denied

chcon: Could not label /system/xbin/daemonsu with u:object_r:system_file:s0: P

ermission denied

chcon: Could not label /system/xbin/su with u:object_r:system_file:s0: Permiss

ion denied

chcon: Could not label /system/bin/.ext/.su with u:object_r:system_file:s0: No

such file or directory

mkdir failed for /tmp-mksh, File exists

chcon: Could not label /tmp-mksh with u:object_r:rootfs:s0: Operation not supp

orted on transport endpoint

chcon: Could not label /tmp-mksh/tmp-mksh with u:object_r:rootfs:s0: Operation

not supported on transport endpoint

this is what i got after the last couple of commands. thanks mate, looking forward to it
[G2 Android Development] hotnikkelz:
I acquired root using some chinese software called vroot

http://lionking853.blogspot.com/2013/10/how-to-root-and-unroot-lg-g2-all.html

follow that guide, easy peasy
[G2 Android Development] mentosone:
. I think I'm gonna use this as well!
[G2 Android Development] mcdonsco:
Forgive my ignorance here, but will this work on the phone after the latest OTA Build VS98012B???

Thanks!
[G2 Android Development] simon_lefisch:
New version of ioroot should work. If not, ioroot16 will root 12B.

Sent from chdhsheh fhhdud
[G2 Android Development] imucarmen:
delete
[G2 Android Development] Adinaky:
Hi!

I just got my D802 and I want to root it, but I have only one question: is it a problem if the phone is blocked on a specific carrier (Orange) or can I just simply root it?

Thank you!
[G2 Android Development] GlitchedSoul:
Do NOT use vroot, it has been discussed already and it has been determined that it is not safe, it has an apk that steals private data off your phone. Please research it if you have any questions.

Sent from my magic box.
[G2 Android Development] iall5tar:
Hi, carrier doesn't matter, so go ahead!

Sent from my G2 POWERED by Dorimanx
[G2 Android Development] Adinaky:
Ok! I can't wait to root it, thanks!
[G2 Android Development] :
answered my post sorry
[G2 Android Development] bradm23:
Once I root and install custom recovery with freegee, how do I reboot to recovery while powered down? In case I soft brick and need to access recovery instead of through a reboot app
[G2 Android Development] shelbyisagirlsname:
Press volume down + power at the same time and once you see the LG logo release the buttons and then immediately press volume down + power at the same time again. You will then see a screen for LG factory reset saying to press power to do a factory reset but if you have a custom recovery installed, pressing power twice will take you to the recovery. Kind of scary at first but it works.
[G2 Android Development] TheGman125:
Thank you so much.
[G2 Android Development] Fastbird:
Just got my G2 today, and just completed root via this process. Many thanks for the quickest and easiest root I've been through. This is on a Verizon VS98012B.
[G2 Android Development] ganggreen30:
Can't get Rsa fingerprint message to appear on girlfriends Verizon g2. I did on mine fine. Any answers guys

Sent from vzwLG G2 bumpn gums
[G2 Android Development] jik saw:
Thanks for this post !! Great now i can calmdown and get the g2 :D

So using this wont install any custem recovery right ? Thats mean u still can get OTA and install them if not mistaken? Right ?
[G2 Android Development] bberryhill0:
Correct. Installing a custom recovery is a separate step but installing anything that modifies system files like Xposed will also keep you from taking an OTA.

Swyped from my Verizon LG G2 using Tapatalk 4.4.4
[G2 Android Development] jik saw:
Thanks mate :)
[G2 Android Development] autoprime:
updated IOroot to v21 - HERE

v21: added support for Sprint LS980ZVA update. Added EFS backup support.

ZVA update removes loki support. It is suggested not to take OTA unless you do not want anything other than a stock rooted phone.

Downgrading bootloader IS possible though if you do take it and still want to install custom recovery/roms.

EFS backup is now added at the end of the root script. After fully rooting the script will backup your EFS partitions to its internal storage and will then be moved into the ioroot folder on your computer. This will hopefully result in fewer issues where EFS corruption has occurred but the user never went out of their way to backup EFS.

*edit*

Some of you may get errors when it tries to backup your EFS... I'm going to make some small changes to the script and update it later today.

If the EFS backup fails no harm will be done.. you simple wont have an efs backup thru ioroot.

LS980 ZVA root will still work.. as well as root for all other supported devices/firmware.
[G2 Android Development] bradm23:
Can someone point me in the direction of the latest twrp that will flash a kit Kat ROM. I used free gee and it flashed an outdated version.
[G2 Android Development] Jo5ton1018:
I'm on 2.6.3.3, and its working good for me.
[G2 Android Development] bradm23:
Can you please point me in the direction of the flashable zip for it? Free gee gave me 2.6.3.0 so I need to update to .3.

Thanks
[G2 Android Development] Jo5ton1018:
http://xdaforums.com/showthread.php?t=2449670

If u follow this correctly it will work. If you need help with this, their is a step by step YouTube tutorial. Its pretty ez to find.

I extracted the zip and flashed the recovery image using flashify, and it worked for me.
[G2 Android Development] autoprime:
freegee's 2.6.3.0 is more a cosmetic issue.. its really 2.6.3.3.. its built from the latest twrp sources. it should be fine/current.
[G2 Android Development] MrFrankfromCM:
I rooted by VZW 98012B with ioroot19 successfully. Had to do it manually though but it worked fine. I was coming from a 11A rooted/HotSpot mod, then had to go back to stock and take the OTA. All is good to go now.
[G2 Android Development] Iczer:
So is it safe to say I shouldn't root if I plan on trading in my phone? I'm on the T-Mobile JUMP program so I can upgrade 2 times a year. I was wanting to root to try out some custom roms, but If I could void my warranty and T-Mobile see I rooted, then that might impact my upgrades.
[G2 Android Development] jesssiii:
You can return to stock almost as easy as rooting, and it will not be detected you rooted. Up to you.

Verizon G2 VS980
[G2 Android Development] Iczer:
But to install custom ROM's and rooted apps don't I need to trip rootchecker? can i reset that when going back to stock?
[G2 Android Development] simon_lefisch:
Restoring to stock will reset root tripper.

Sent from chdhsheh fhhdud
[G2 Android Development] dirty2k9:
I doubt a tmobile rep at the store will know your phone's rooted when you trade it in.
[G2 Android Development] evolishesh:
Is there a guide that shows how to unroot your verizon lg g2 that came or has the 12b update?