yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] autoprime:
its a root exploit.. of course its a false positive. and please edit your post to remove the gigantic quote.

also...

TMO D801 users on KK... there is SOME hope still. I am on ZVA on my Sprint G2(4.2.2) which has no "adb reboot recovery" option... it does tne same thing thats happening to you guys.. quick "system update" msg (or something along those lines) and then reboots phone.

now.. on sprint g2.. vol up + power brings you to the hard reset menu. BUT.. vol down + power brings me to the full STOCK recovery menu.

Now I know your method to get into the hard reboot screen is different.. i believe its vol down + power.. let go at lg screen the press again? well has anyone tried any alternate combos? there may be another button combo to bring you into the full stock recovery menu instead of the hard reset menu. once at the full recovery menu you can use adb sideload to flash to kk_root.zip in ioroot25.

good luck :)
[G2 Android Development] Titchener17:
I haven't tried installing recovery or rom yet for fear of losing root of this here sprint lg g2 (batch style) what up what up - thank you gonna enjoy this for a minute, though anxious to OPtimize ! Hope I sent seventeen to the right place thank you !
[G2 Android Development] shiftnd:
With some googling, i found this: http://wiki.cyanogenmod.org/w/D801_Info

"How to boot into recovery mode

Volume down & Power, when the LG logo appears release and press them again, then press the Power button three times! "

But it doesnt seem to be working. I get lost in the instructions after "press them again".

Anyone has ideas?
[G2 Android Development] gunnyman:
The volume down power only works if you have a custom recovery installed. If you don't all you get is the factory reset menu.
[G2 Android Development] autoprime:
sent 17? donation? i dont care about $$ or w/e but i didnt get any donation for 17.. just wanna make sure you didnt send $$ to the wrong place or something and out $17.

if im not understanding you at all.. my bad lol.

power off completely. remove usb cable. press vol down + power and hold BOTH until you see the LG logo on the screen. then quickly let go of BOTH buttons then immediately repress BOTH buttons and continue to hold them. this should bring you to the hard reset recovery screen.

altho that is NOT the screen we want. all that does is wipe your data. what you want is an alternate button combo to bring you to the full stock recovery screen. at that point you could use my kk_root.zip.

here's a video on how to get to the hard reboot screen... for reference http://youtu.be/ifi-ArGeTzQ

have you tried different button combo? because the stock recovery on Sprints gives BOTH menus using diff combos.. and now im wondering if you guys have that option too. such as vol up + power.. or vol up + power.. .let go..repress... or whatever else u can think of.
[G2 Android Development] gunnyman:
I've tried every combo I can think of, but I'll keep poking at it.
[G2 Android Development] shiftnd:
Right, the Hard Reset mode is relatively easy. Those extra instructions of "press power button three times" must only apply to custom recovery.

If the Stock Recovery mode truly exists then there must be some way to get into it. Seems that the closest that we got to is with "adb reboot recovery". At least there, the green android flashed for a second. Are there any other similar adb commands that can keep us at that green android screen?
[G2 Android Development] gunnyman:
I'm investigating.

ADB reboot bootloader- just reboots

ADB Reboot download - Just reboots

ADB reboot recovery does the android robot for a second then reboots.

I'm wondering if there's a way through adb to trigger the "system update downloaded reboot to install it" notification.

Frankly I'm shocked autoprime's root method works at all since I assume he's using an unsigned zip and it installs it anyway.

Kudos man.

someone found the aosp android recovery is indeed on the LG phone and triggered it by removing the stock recovery.
[G2 Android Development] ChaoticKinesis:
I've spent the last hour trying different button combos and still haven't found anything for recovery. Vol up + power until logo and then again does nothing for me and it boots normally. Vol down + power until the logo and then either vol down + power or vol up + power both lead to reset menu. That's the only meaningful thing I've managed to come up with.
[G2 Android Development] donciclon:
I don't know how but i managed to enter download mode on my 801. Is that what we're looking to get into? or is that something else?
[G2 Android Development] gunnyman:
download mode we got.

recovery mode (with the android on its side) is what we want.

How do we force fastboot mode?

I'm wondering if perhaps a recovery can be rebooted to external to the phone

fastboot boot /some/recovery/image.img
[G2 Android Development] Titchener17:
Well hooked somebody TM I think, but thanks want to make sure to - you understood correctly. Pardon lack of quotes was overdoing (trying to learn the courtesy round here). Am stoked/semi-scared about the next step but gonna try to next flash twrp(have philz but seems like Optimus de is twrp compatible?), then flash Optimus DE (maybe thats where sent that will send try again) , then flash the zva radio ( eventhough already have the radio) - but not twice bc am freshly rooted 4.22 stock sprint? Am re-re-reading, but also confirming that ioroot 25 brought me this far/giving thanks again ! If I hammer down any new hardware button info will relay. Thank y'all am supersu-stoked !
[G2 Android Development] the_gunners:
Download link for ioroot25 does not working ?
[G2 Android Development] walidhiphop:
The download link works like a charm.
[G2 Android Development] danaconda_:
Manual method worked perfectly on my D800. Thanks!
[G2 Android Development] sanke1:
Anyone managed to go UNROOTED from ROOTED?
[G2 Android Development] Drachenminister:
Try going back to stock 4.2.2 using method 2 of http://xdaforums.com/showthread.php?t=2432476
[G2 Android Development] oosacker:
hmm Freegee doesnt work for me, I have D80220a
[G2 Android Development] arithon.kelis:
(My apologies in advance -- I'm fairly new to this device; picked it up from T-Mobile a few days ago; still learning.)

Vol up + power == download mode

Vol down + power == hard reset mode

I'm not convinced it's material -- but the hard reset screen has changed with one of the OTA updates (not sure if it was the 10g or the 4.4.2 -- didn't try to get into recovery in between). It now presents visible yes/no options that you select via up/down and execute via power button.

I'm hoping that it's just a key sequence change, but experiments to date haven't yielded anything interesting, much less usable. :/

My severely uneducated guess is that recovery needs some sort of argument to do anything more than automatic checks & updates.

That is another venue worth investigating -- what path is it searching for updates? I'm kinda tempted to go searching for strings and see if anything interesting turns up.

And just 'cause it hasn't been said enough -- thanks, autoprime. I really appreciate the work you've done, even if I am a total n00b to the scene. :)
[G2 Android Development] ghedoicy:
I have tried every button combo as well for the T-Mobile D-801... Nothing working. Is it possible we say yes to hard reset and get more options... Similar to how if you had a custom recovery it would take you to that?

-Matt
[G2 Android Development] mor_1228:
we dont get busybox with rooting files ? because 1 app in my device saying no proper busybox found :(
[G2 Android Development] Drachenminister:
I'm confused - did the manual rooting for 4.4.2 and it works fine, I can use root explorer remount /system rw and delete apps from /system/app and stuff.

[MENTION=2684188]autoprime[/MENTION]

What confuses me is that though the updater-script tries to set suid and gid bits (mode 06755) on su and daemonsu they are not set in the end.

Then I thought suid and gid are just not shown in the output but changing them in the shell proofed they would be shown if they are set.

Root rights do work though - how is this possible?

Here is a sample adb session:

C:\Users\mschneider\Desktop\Handy\ioroot25>adb shell
shell@g2:/ $ id
id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009(mount),1011(adb),1015(sdcard_rw),1028(s
dcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats) context=u:r:shell:s0
shell@g2:/ $ su
su
root@g2:/ # id
id
uid=0(root) gid=0(root) context=u:r:init:s0
root@g2:/ # cd /system/xbin
cd /system/xbin
root@g2:/system/xbin # ls -l
ls -l
-rwxr-xr-x root shell 9432 2014-03-06 18:40 antradio_app
-rwxr-xr-x root shell 5364 2014-03-06 18:40 bttest
-rwxr-xr-x root root 113036 2008-08-01 14:00 daemonsu
-rwxr-xr-x root shell 67940 2014-03-06 18:40 dexdump
-rwxr-xr-x root root 113036 2008-08-01 14:00 su
-rwxr-xr-x root shell 37120 2014-03-06 18:40 traceroute
root@g2:/system/xbin # chmod 06755 su
chmod 06755 su
root@g2:/system/xbin # ls -l
ls -l
-rwxr-xr-x root shell 9432 2014-03-06 18:40 antradio_app
-rwxr-xr-x root shell 5364 2014-03-06 18:40 bttest
-rwxr-xr-x root root 113036 2008-08-01 14:00 daemonsu
-rwxr-xr-x root shell 67940 2014-03-06 18:40 dexdump
-rwsr-sr-x root root 113036 2008-08-01 14:00 su
-rwxr-xr-x root shell 37120 2014-03-06 18:40 traceroute
root@g2:/system/xbin #
[G2 Android Development] mor_1228:
auto root worked for me did u try ?
[G2 Android Development] Drachenminister:
It's not that root doesn't work - it indeed does - the thing is it works without beeing suid and I don't get how that is possible
[G2 Android Development] felystar:
So root on 4.4.2 works? What did you use to install it? I can't find autoroot
[G2 Android Development] mor_1228:
its working use auto method by clicking root.bat file

http://xdaforums.com/showpost.php?p=48709232&postcount=869
[G2 Android Development] nickytun:
F320L works like a charm!! Thanks man!!
[G2 Android Development] Brutos08:
So just rooted with manual method works great, on UK unbranded G2 16GB got my update yesterday
[G2 Android Development] gorillajuice:
Flawless install on At&t 80020c, root confirmed and TB working also, thanks.
[G2 Android Development] mik.y:
Sticky

This should be sticky for god's sake!
[G2 Android Development] AnteusFogg:
It's fairly easy: you install SuperSU and use its functionality to remove root.

Used to do the trick for my SGS4
[G2 Android Development] lostangelintx:
Can anyone tell me which files to freeze in titanium backup to stop future ota?
[G2 Android Development] edmundasl:
Rooted with ioroot2.5, but i dont see efs backup. How to back up efs ?
[G2 Android Development] jonstrong:
The latest ioroot (25 I believe) will back up your EFS partition in a couple of files that it deposits on your PC, in the ioroot folder, when you run the script. The files will be named "modemst1.img" and "modemst2.img". This happens automatically when you run the root script.
[G2 Android Development] tawheed12:
So, if I'm reading all of this correctly, if I have a Canadian D803, I can get root but there are no recoveries for me to install. Can I still flash mods etc without having a custom recovery? Can I keep the stock kernel? Thanks guys.
[G2 Android Development] sanke1:
I already know that. But I am talking about getting download mode to show status as UNROOTED. Currently on 4.4.2 ROMs once rooted, it's a bi*** to get back UNROOTED mode even after multiple factory resets.

The only way I got it to UNROOTED was by flashing back 4.2.2 and then factory reset then installing 4.4.2 update via OTA.
[G2 Android Development] ghedoicy:
What are the plans for the D801?

-Matt
[G2 Android Development] edmundasl:
Nope. I dont see these files.
[G2 Android Development] jesssiii:
They were created for me when I used version 24. At the time it was the newest and I then forced the OTA leak for Verizon.

VZW LG G2 VS98024A
[G2 Android Development] robogo1982:
25 does not back EFS up yet, I believe.
[G2 Android Development] Titchener17:
I think I got into fastboot mode by vol down + power then let go at lg then power 3x. Was black screen and said fastboot mode? Or is this already known? Mea culpa if so.
[G2 Android Development] 18.4009:
I am unable to produce this on the D801

Something with our 4.4.2 change this?

http://wiki.cyanogenmod.org/w/D801_Info
[G2 Android Development] Titchener17:
I had installed or tried to through flashify a lokid philz or actually twrp-not sure if that matters. Still don't know a lot /at work - wasn't sure of next step if any. Def didn't look like fastboot mode on my nex7flo?

---------- Post added at 03:09 PM ---------- Previous post was at 03:05 PM ----------

Am SUper-stoked to be rooted finally thank you Autoprime and contributors. Hey AP were is yer Pp link ?
[G2 Android Development] ghedoicy:
No go for me either...

-Matt
[G2 Android Development] WasifSal:
Can somebody post a mirror for the Drivers for LG G2 (Non VZW devices) e.g D802 etc? Thanks!

---------- Post added at 12:22 AM ---------- Previous post was at 12:20 AM ----------

Also if anyone has a workaroud for EFS Backup incase of trouble that will be fantastic!:)
[G2 Android Development] Drachenminister:
You should read this http://xdaforums.com/showthread.php?t=2700992

My guess is the OTA keeps those two files from 4.2.2 whereas flashing the kdz erases them.
[G2 Android Development] edmundasl:
Where can i get 2.4 version ?
[G2 Android Development] mor_1228:
i have 4.4.2 and it shows rooted in download mode

i used kdz file method

i dont care if it shows rooted or not because i know if i flash kdz file again without root then it will show unrooted.

we purchased this mobile and now its our, so dont want to cry over these stupid things when we can claim back warranty
[G2 Android Development] jesssiii:
I found it with googling "IOROOT 24" but I'm not on the computer or free to find it for you now.

VZW LG G2 VS98024A
[G2 Android Development] Drachenminister:
To backup your EFS once you're rooted open up a root shell in adb and then do

dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.ing
dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.ing

And then copy them off your sdcard somewhere safe (use adb pull)
[G2 Android Development] jonstrong:
Like jesssiii, I used ioroot 24 to root my vs980, and it created the files on my PC in the ioroot folder, backing up my efs partition. It was stated (and apparently intended) that ioroot 25 also do this -- I can't attest to it doing that, though, since the most recent I've used so far is 24.

If v25 is not creating the efs backup, let's try to let autoprime and thecubed know -- if this is the case, I'll bet it was an oversight.
[G2 Android Development] demoncamber:
So does the D801 G2 root correctly now with this update, while on kitkat?
[G2 Android Development] jonstrong:
autoprime's post that you included in your own post has that answer (follow his link!):

Device Model and Firmware Supported:

LG G2:

D800 - All

D801 - TMO, CLR, WND, VTR [All]

D802 - All

D803 - All

D805 - All

D806 - All

F320K (Shipping ROM)

F320K - All 4.4.2

F320L (Shipping ROM)

F320L - All 4.4.2

F320S (Shipping ROM)

F320S - All 4.4.2

Sprint LS980 - All

Verizon VS980 - All

Looks to me like the answer is "yes"
[G2 Android Development] ghedoicy:
But it's a no.

-Matt
[G2 Android Development] jonstrong:
That would be good to know for D801 users then! Perhaps a D801 user to ask autoprime to update that post (if it hasn't been done already)...
[G2 Android Development] ghedoicy:
As far as I know autoprime knows of the current issue and hopefully is looking for/working on a fix.

-Matt
[G2 Android Development] jonstrong:
Thanks. I was just doing a bit of googling to see if I could learn anything new about this, and I don't see anyone stating that they were able to root kitkat on that phone just yet. Hopefully it will yield to autoprime's ministrations soon...
[G2 Android Development] demoncamber:
^ which is why I was confused, because I read a thread saying it didn't work, then came here to see that it says it does work :P
[G2 Android Development] faithraze:
Root works in d80220A UAE

​

Running perfect!
[G2 Android Development] combat2k:
OK on SEA 220A KK. Automatic mode.

Thanks!
[G2 Android Development] zork99:
Works with D80220A-CIS

Thanks!
[G2 Android Development] wcterp:
Just to be clear, being a user with a D801. If I "adb reboot recovery", will that immediately start wiping my device? Or will that just bring me to the page where it asks if I'm sure I want to reboot?
[G2 Android Development] ghedoicy:
It will reboot... You will see the Android logo for a second and then it will boot back into the OS.

-Matt
[G2 Android Development] wcterp:
No wipe then?
[G2 Android Development] ghedoicy:
Nope. Fastboot doesn't wipe.

-Matt
[G2 Android Development] freebee269:
That is the only way to reset the root flag in download mode. If you have the kitkat kdz/tot you don't have to go back to 4.2.2 and do the ota's.
[G2 Android Development] wahbob:
Works for ATT 4.4.2 d800.

Thanks
[G2 Android Development] timm2007:
tmobile d801 kitkat will not work with ioroot10 or ioroot25 and trying manaully since it dont boot into recovery sadly so im not sure hot to hack or what ever you call it into root
[G2 Android Development] LOBBS:
Hello all, I'm new to the G2 after spending my entire Android "career" on HTC. Unfortunately, the T-Mo G2 that I have was my wife's for a few days and she took the Kit Kat update before I got my hands on the device. I don't know if this article that I wrote when I was with Android Dissected could shine any light on the troubles that we are having getting root on Kit Kat. There were a handful of not-so-publicized security enhancements made in this latest version of Android.

http://androiddissected.com/trick-kitkat-treat/
[G2 Android Development] sanke1:
I don't understand. You contradicted yourself there.

If we have KitKat kdz, we cannot UNROOT by flashing kdz file and doing factory reset. Period.

Look here
[G2 Android Development] mor_1228:
to reset root simply flash kdz file
[G2 Android Development] sanke1:
I am yelling from my balcony :p

It doesn't work on KitKat kdz.
[G2 Android Development] freebee269:
it works when i flash at&t tot kitkat 20c firmware with lg flashtools. the download mode no longer says rooted. dont know what you're doing wrong.
[G2 Android Development] Drachenminister:
It might not be the same for all variants
[G2 Android Development] 4shin:
Can it work SPRINT 4.4.2 ?
[G2 Android Development] oosacker:
How can I install custom recovery on d80220a? Freegee doesnt work on my version.
[G2 Android Development] ghedoicy:
Yes.

-Matt
[G2 Android Development] jasonsf:
I installed ClockworkMod's superuser from the market and uninstalled the one that came with this package.
[G2 Android Development] anuraj1:
I used Windows 8 and didn't have any trouble.
[G2 Android Development] Z51:
adb recognized it fine. it just wouldnt do the 1st step when clicking root.bat
[G2 Android Development] alex72:
I had a lot of trouble with adb today. I lost several hours (and a lot of nerves) figuring out what's wrong with it and finally I found a culprit. Droid Explorer. So, if you have Droid Explorer installed, it won't play nice with adb (SDK). You can uninstall it, transfer its sdk folders into android SDK folders or stop the process in task manager. I chose to uninstall. It didn't deserve any better.;)

This is a topic about it;

http://xdaforums.com/showthread.php?t=567955&page=3

BTW, root was painless.:victory:

P.S. Windows 7 Pro 64-bit
[G2 Android Development] thestrangebrew:
Awesome thanks!

Worked like a charm and super easy! no problems on w8 for me.
[G2 Android Development] amilio:
does not work for me, I have all drives and ADB, in "adb devices" is the G2, but when running the root.bat does nothing
[G2 Android Development] Kilch:
Trying to root my new LG G2, sadly I updated when I powered it up and now I see that I cannot Root. Is there a way to revert back or is it too late and am I stuck with a ROOTLESS cell?

I have Java toolkit and drivers installed and not getting a Debugging notice. Is the Update the reason why? Please HELP, I so need to be rooted...
[G2 Android Development] patrickoneal:
You can root just fine with the update.

You do have USB debugging enabled? (Settings:About Phone:Software Information, tap the build number a bunch of times until "you're a developer appears", back to settings, then "Developer Options" to enable USB debugging)

In addition to enabling USB debugging, when you plug in the phone and the "Select USB connection method" screen appears, you have to select "Internet connection", then ethernet. The debug notice will appear at that point and you'll get a popup on the phone to verify that you trust the computer.
[G2 Android Development] Kilch:
Yes, that I have all set.

This part I was not aware of, in the past, it's been in "Charging Mode".

Ok, so I got all that, but no popup on the phone to verify... am I missing something?

Thanks Patrick
[G2 Android Development] patrickoneal:
That may pop up when you initiate the first ADB connection(the bat file will take care of that), I can't remember. You'll see it eventually, if you have the drivers installed.
[G2 Android Development] Kilch:
I do believe I have the drivers installed.... I haven't done this in a couple of years now, so I have to relearn all this all over. lmao.

I'll keep playing with it. Sooner or later I'll get it. :)
[G2 Android Development] patrickoneal:
And after you get it rooted, immediately install another superuser app. The apk included is not secure. I installed SuperSU from the play store, and it uninstalled the original superuser for me when I ran it the first time.. The included superuser is not secure in the least. It will silently grant superuser to any app requesting it.
[G2 Android Development] Kilch:
Thanks for that. I am still not having luck with this rooting... I have a ways to go... :(
[G2 Android Development] patrickoneal:
You can open a command prompt, navigate to the directory where you unzipped the root package, and type:

adb devices

You may get the security prompt on your phone, and it should list your phone if everything is set up correctly. If it doesn't see your phone at this point, something is wrong.
[G2 Android Development] Kilch:
Did that and I got this:

E:\LG G2\Rooting\ioroot6>adb devices
List of devices attached
VS980_4G-00310a6c90cea3ff offline

E:\LG G2\Rooting\ioroot6

Offline???

Then I run the Root and it hangs at trying to find device...

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

EDITED: I just noticed the pop-up, now I'm rooted. YEAHHHHH

Thank you so much Patrick, so much appreciated...
[G2 Android Development] patrickoneal:
Great, I was about to reply that you have to give permission on the popup, otherwise it's offline. Glad to have helped.
[G2 Android Development] Kilch:
Thank you. :)
[G2 Android Development] cmbtswmr:
I haven't taken the VZN OTA yet. Does it make any difference to install the OTA or just run the root without taking it at all?

TIA

Also, has anyone come up with a way to restore the root checker in the case of not voiding the warranty?
[G2 Android Development] Bxrider117:
I have taken the VZW OTA update and I ran this successfully were I have the su files, but it says I am not rooted. There are no su binaries. What step did I miss?

I see what I did wrong. I installed an old package and not it is telling me that install fails because it is already installed. I guess I am going to have to revert to stock rom and re do.