yashsingh1/xdaforums huggingface dataset:
[G2 General] thecubed:
Hey guys,

So, I've taken a look at this application, and while it appears to do what it says on the tin, I can't be 100% sure that it doesn't provide some 'value added' services as well. There's code in the app to do automatic updates, collect personal information ( http://pastebin.com/pxtDsGbC ), potentially listen to things like your SMS messages ( http://pastebin.com/yruveH33 ), and even change your wallpaper.

It also injects .so files into system_server and servicemanager, both of which appear at quick glance to possibly persist across reboots.

This is compounded by the fact that this application will have full root permissions after executed. In short, I don't trust it.

I have confirmed that jcase's root for the Moto X ( http://xdaforums.com/showthread.php?p=45598679 ) can be adapted to this device quite easily. (DO NOT ATTEMPT TO USE THE UNMODIFIED MOTO X ROOT ON YOUR G2)

When jcase returns back to IRC I'll detail my observations to him so he can post a new root.

Also, as usual, Team Codefire continues to support this new LG device, and we look forward to having an announcement for an unlock or bypass in the next few weeks.

Thanks y'all for your patience!

EDIT: I've just confirmed there's a no-brainer root in the ATT shipping ROM, which I take no credit for finding. I'm going to run it by jcase tomorrow to ensure that I'm not spoiling anything if I post it.

If you're planning on rooting your phone, just wait until tomorrow (Tuesday afternoon at least!)

EDIT2: There also appears to be a LOT of root checking going on in this phone, the stock recovery binary blows some qfuses if you've rooted your phone, and there's no known way to reset those.

Basically, don't root yet. Please!

EDIT3: My previous statement about qfuses in recovery is incorrect.. it is *READING* them
[G2 General] chrisexv6:
Any idea if this no-brainer exists in the VZW version as well?

(please say yes please say yes please say yes :) )
[G2 General] anuraj1:
Thank R'hllor for edit3.

Out of curiosity, does a factory reset return the device to unrooted status or does that require a flash back to stock?

Sent from my VS980 4G
[G2 General] thecubed:
No, factory reset does not remove the files that rootchecker changes, nor will LGNPST, they live in /persist and a few other random places. It's best not to set off the trap in the first place if possible.
[G2 General] jnclocker:
oooh! Hell no! Just rooted last night(Verizon lg g2) how do we go back to stock then
[G2 General] chrisexv6:
I agree its better not to set off the trap, but I think the bigger question is if the carriers ever even look at these file(s) if you go to return your phone.

Coming from Samsung, it seems LG has a similar utility to recover from a soft brick. Ive had my Samsung phones "bricked" more than a few times but there was never a point where I couldnt fix it. Therefore Ive never needed to return a "broken" phone (nor would I, honestly, its my own damn fault if I mess it up). If LG works the same way, I wouldnt be TOO uncomfortable "setting off the trap", but Ill wait as long as I can to do so.

My VZW G2 is being delivered today, Im not even going to boot it up until cubed reports back findings about the no-brainer root.
[G2 General] anuraj1:
So with a factory rest or flashing back to stock firmware the built-in root checker will continue to say "rooted"?
[G2 General] moosc:
We are screwed n glued

Sent from Bad Azz VZW LG G2 Cyan Tapatalk
[G2 General] chrisexv6:
I thought someone (even in this thread) tried this and it did in fact go back to saying Unrooted.

Behind the scenes (on the file system) there could still be some evidence, though.
[G2 General] djkinetic:
ATT/VZW i highly doubt will look through those files/qfuses, but LG they just mite...squaretrade warranty anyone lol.
[G2 General] stetsonaw:
Meh, I'm finished with insurance thru Verizon, going thru http://www.ensquared.com/catalog
[G2 General] soapinmouth:
When you say unlock or bypass, are you speaking on the bootloader? Is Codefire going to be supporting the Vzw variant in any way?
[G2 General] djkinetic:
Yes he means bootloader.
[G2 General] Bxrider117:
I have always been good with rooting my devices. I am trying to locate the driver in the zip file, but I can not locate it. Which file is the one that I need to install so that my phone can be recognized?
[G2 General] Ronbo19:
I have been trying to figure out the same thing, coming from a Galaxy Nexus.
[G2 General] lathode:
Welp after reading that the root app may be sketchy I did a factory reset on my AT&T G2. I don't understand what qfuses are. Am I basically back to completely stock or can there be something left behind from the root? Thanks.
[G2 General] mrtheme:
If VZW:

Same prob: I had to go download the driver from LG's site - I can't post links yet so you will have to do the legwork
[G2 General] BlueHarford:
does anyone know how to get to stock recovery? i restored my wifi and mms from ti backup and it bootloops my phone. im freaking first LG phone.

trying to download a firmware reset now
[G2 General] anuraj1:
When you plug in your phone, a virtual CD Drive opens. There is an .msi in that drive that installs the drivers.

Sent from my VS980 4G
[G2 General] EVOme:
This...you install from the Verizon drive from phone.
[G2 General] mastertwiz:
If one has already rooted and uninstalled the Chinese SuperUser App, what do you recommend they do? Un-root and factory reset? Un-root and use the LG Flash Tool/Firmware to return to a stock configuration? ...or simply wait for more info from the dev community?

Plz advise. Thanks in advance and thanks for your hard work thus far.
[G2 General] Ronbo19:
Found them on the LG website. Thanks for the heads up.
[G2 General] pouxonu:
after reading what thecubed found out about the root package I just wanted to confirm that if I switch back to stock software that will remove any changes the root package added.not worried that my phone will show root, but the possible security flaws is my concern.
[G2 General] affenzeit:
I have been using the T-Mobile variant for about a week (LG D801) and I'm itching for root. Is there anything I can provide to assist with this version?
[G2 General] thecubed:
Howdy all!

http://xdaforums.com/showthread.php?p=45692679#post45692679

I've got a root for ATT and VZW, TMO coming soon as I can get someone to join #lg-g2 in freenode that has a TMO G2 and has current root (yeah, I know, chicken and egg problem)

Thanks!
[G2 General] aceofspades626:
Out of sheer curiosity (and impatience), did you get an early model for review purposes? If I understand correctly, the retail T-Mo G2 isn't supposed to be available for another week and a half still.

Getting one sooner would sure be exciting...
[G2 General] mylexon20s:
Can I root my G2 using a MacBook Pro?
[G2 General] canecbr600:
Not as of yet i dont believe....
[G2 General] Cheesejam:
So how serious is this potential flaw in the Chinese method?
[G2 General] djkinetic:
We can't confirm that any data was actually recorded or distributed, we can say that the injected pieces had the ability to do so, as such its recommended to do a factory restore with the available restore images, and re-root with the new method available.
[G2 General] EVOme:
With the texts and pics my GF sends me.....any chance of a breach was a restore must for me. The whole process of unroot, flash and re-root only took about 20 mins. The worst part was getting it back to my liking after it was done.

Doing this made me realize how much I miss SD card. You do backups and place on internal then the drive gets wiped and you lose it all. Sucks!
[G2 General] canecbr600:
otg, otg, otg, otg!!!!! ;) I use the following to use my SD card...

http://www.amazon.com/eForCity-Micr...=1379560410&sr=8-10&keywords=micro+usb+to+usb

http://www.amazon.com/elago-Mobile-...id=1379560505&sr=8-3&keywords=micro+sd+to+usb

Plug my SD into phone that way, and backup whatever I want...
[G2 General] joqsan:
Maybe its just me but I'm not worried about the Chinese root method if there is no other danger besides that I'm just gonna keep my phone rooted this way, I don't have a computer on me so I cant use the new root method :(
[G2 General] Funk2641:
Just to be clear, you must use the re-flash method? Or can you simply use a factory restore and then root using the safe method?
[G2 General] K_Kenneth:
May I ask whether the stock app is running without errors when the DPI is set to 160 or 192??

Thanks so much.. :laugh:
[G2 General] Zentac:
It is a shame the opening post has been cleansed completely without much explanation.

The newly linked method doesn't support the F320L and F320S variants (yet), so would still be good to have some ref to that fact in the OP
[G2 General] wargreymon89:
Then go on irc and help the developers fix it. The Chinese root possibly installed spyware on your phone, now, you wouldn't want that, would you?
[G2 General] Zentac:
I wouldn't indeed :)

Hence I haven't yet, and good advice. I will
[G2 General] mdroid60:
eek, I almost did that one..
[G2 General] dakunclear:
I did it and no issue at all but they give you the steps of freezing it with titanium back but not sure if there is another app that can do that so I can install my other superuser :D
[G2 General] Addictedtophone:
You can root using your MacBook Pro using thecubed method, but you do it through terminal and you have to command it manually. Or you can install parallels desktop and then install windows xp and do it through there. You can get both those from TPB.
[G2 General] jimmykatokim:
Hi, I am trying to root my phone, but for some reason the debugger icon does not show.

I have already downloaded the drivers, restarted my phone and computer, plugged it into all different usb ports, turned off/on the debugger and tried again. Nothing seems to work.

I have the LG G2, of course, Running windows 8

Please help me, ive gone to the irc channel and asked around but no one knew why it is not showing the debug icon.
[G2 General] popkurn611:
So I am stock rooted, haven't flashed a ROM and don't even think I will. My question is when VZW puts out a ota update, will my g2 automatically reject it?

I know with a ROM installed it will automatically disable updates.
[G2 General] Bkral93:
You need to select "Internet Connection" under your USB Connection method when you plug your phone in. Ethernet or Modem seemed to both let my phone enter debug mode. Hope this helped. (Also... a quick google search would have gotten you the answer instantly.)
[G2 General] nabril15:
hi

new to the lg g2 and ready and eager to root it for ATT. I see that this installs SU and roots the device. But it doesnt install recovery, right? How do we install a recovery, whether CWM or TWRP?

thanks
[G2 General] :
i need help

i just got a verizon lgg2 and when i try to flash a recovery it reboots into a black screen. can someone help
[G2 General] poofyter101:
unable to manually root g2 f320S

i was unable to manually root g2 f320S, followed the step by step guide but still see the $ sign instead of # sign

here are the ADB

LG-F320S

SKT

F320S21D

lge/g2_skt_kr/g2:4.4.2/KOT49I.F320S21d/F320S21d.1390795590:user/release-keys

please help guys!

thanks!
[G2 General] saaad.shah2:
ioroot24 or anyother cant root LG G2 F320L21g, HELP PLEASE

Hello , i have tried to root my LG G2 F320L21g by any means , i am a noob yet ,

PLEASE HELP ME
[G2 General] stormage:
General Rooting Question

Hi Guys

Just wanted your opinion about the rooting procedure of the G2.

Would u consider it to be easier or more difficult comparing to the HTC One M8 and Samsung Galaxy S4?

10x.. :fingers-crossed:
[G2 General] LaEezus:
HELP Needed ASAP

I Have the Verizon LG G2 4.4.2 VS98024A

I've downloaded iroot.v25 and the LG Mobile Drivers

whenever i pull up the iroot and hit a key i get

Waiting for ADB detection....

daemon not running- starting it now on port 5037

daemon started successful..

after that idk what to do plus nothing happens someone plz help me or email me @

sk8terboi0598@gmail.com
[G2 General] escape2dawn:
I've that same issue :(
[G2 General] cherry676:
Go to LG site. Download the USB drivers and install them. Enable developer options and USB debugging. Now connect it to the computer and select the connection method as PTP. It worked for me this way. Adb is now able to detect my phone.

Sent from my LG-D802
[G2 General] kyfran30:
Thank you very much AC has worked for me ;)
[G2 General] AO4EVER:
Here is a guide. Click on How-to

xdaforums.com/showthread.php?t=2776198

It sounds like you need to run ioroot.bat, ioroot.sh, ioroot.tool at this point of time.
[G2 General] vinay12301:
help

hey
[G2 General] popshovit:
this works up until I uninstall Chinese su. then when I go to install cwm su binarys it say un successful. there was an error. any ideas
[G2 General] Funk2641:
To take screenshots, hold down the power and volume down button for 1-2 seconds
[G2 General] teeg07:
I had that same issue... I installed the Chinese su again, and this time froze it in Titanium backup. Updated english SU, and was able to get it working.

Just try again, make sure you update before and after you freeze the Chinese su.

---------- Post added at 09:49 AM ---------- Previous post was at 09:22 AM ----------

@djkinetic,

Did you freeze the app 'mobile hotspot' by chance? I cant find it in titanium backup and never plan on using it.. Any idea what it's called?

Also, we should make a list of freezable apps. Maybe in another thread? I've always been late to the new phone game and it has already been done. haha.

thanks man.

My frozen apps- No issues:

Amazon Kindle

AT&T address book

code scanner

drive mode

family maps

hot spots

locker

messages

navigator

ready2go

smart wifi

device help

featured apps

games

life square

life square log mgr

mobile print

mobile tv

myatt

the little prince

unused apps

video editor

video trim

vp mobile

and the chinese su app

Note- I uninstalled a bunch of stuff I probably should have frozen first... But so far so good.
[G2 General] popshovit:
this worked. I guess uninstalling it must remove something. I found app quarantine for free to freeze it as well. thanks
[G2 General] dmbfan13:
I agree!! Anyone know if it will be possible on the Verizon variant?
[G2 General] djkinetic:
I froze anything related to att.
[G2 General] chrisexv6:
Thirding this!

My first time buying a phone on day 0 (although mine is getting shipped, 2 day ground). Hoping root is obtained soon so I can freeze the junk and maybe prevent any OTAs (like the Galaxy S4 debacle)
[G2 General] djkinetic:
You can try it.. I rooted the Att version blindly lol lucky enough it worked
[G2 General] emplox:
Anyone on Windows 8 had luck getting adb to recognize the phone? It shows up fine as MTP...but adb doesn't like it for some reason. I'm attempting to root my VZW version to verify it works.
[G2 General] randyspants:
I followed the posted instructions to the letter using windows 8, att g2 however. No issues here.
[G2 General] dmbfan13:
Keep us posted! Going to get my Verizon version in a little bit!
[G2 General] Btwice:
Is anyone getting lag when in the stock messaging app, clicking on a persons name. opening the conversation is where I notice it. Or is it just me?
[G2 General] emplox:
Can anyone on Windows 8 confirm this is what you see in device manager?
[G2 General] Mantan:
That's what I see. I can't get adb to recognize and the app posted by the OP doesn't seem to do anything on my VZ G2
[G2 General] emplox:
That makes two of us...not sure what's wrong.
[G2 General] canecbr600:
If adb doesnt recognize the phone, the app isnt going to do anything...
[G2 General] emplox:
when others enable usb debugging...does it show a notification like most other phones in the notification area? mine does not...but it is checked.
[G2 General] djkinetic:
Adb needs to see the phone..also in the USB section of the settings try charge only or mtp.
[G2 General] Mantan:
I tried MTP and charge only. I don't get a notification that USB debugging is running when I plug it in like any other phone that I've had.

There may be some problem with the USB drivers and the Verizon version or maybe we need some other driver.
[G2 General] djkinetic:
Yes the Verizon model might need an updated driver.. If anyone finds one that works for Verizon I'll update the op.

One other thing is to make sure USB debugging is checked in development settings as its not on by default.
[G2 General] Mantan:
Great! I'll post if I can find anything that works.
[G2 General] emplox:
There is some pre installed MTP driver on Windows 8 that takes over and doesn't allow me to choose/use another driver. Even after i uninstall the driver, and do the below steps to make windows stop using it's own drivers....it still shows up and works. I haven't found a way around this yet.

1. Go to Start, type change device installation settings in the Start Search box and then press ENTER.

2. In the Device Installation Settings window, select No, let's me choose what to do.

3. Select Never install driver software from Windows Update.

4. Click Save Changes
[G2 General] Darkestred:
Not found under adb devices. Windows 7.
[G2 General] djkinetic:
Did any of you verizon users try searching the LG website for the verizon model G2 to see if they've been posted?
[G2 General] sgtmedeiros:
The drivers don't work on windows 7 either. Lg website doesn't have it, lgvs980
[G2 General] synplex:
Is this what your looking for? Verizon VS980 USB drivers

View attachment 2253438
[G2 General] djkinetic:
Verizon users try that driver and report back please
[G2 General] drathian1:
If nobody has tried it in a few hours, I'll drunkenly experiment when I'm back from the bar.
[G2 General] Han Solo 1:
Any Verizon users try the drivers and root?

I'm five minutes from my store and itching to buy!!!
[G2 General] Mantan:
If you can tell me how to get to this I'll try it. I couldn't figure out how to actually download it on on the LG site. It just tells you to download it from some LG mobile support tool that's nowhere to be found.
[G2 General] Han Solo 1:
http://www.lg.com/us/support-mobile/lg-VS980

Go ahead and report back please.
[G2 General] Namtaru:
I also couldn't find it.

I don't know if anyone else is seeing what I see when I plug my phone in, but for about 15 seconds I see an LG virtual CD drive with drivers on it.

I believe this is the driver that you guys are looking for.

I have uploaded it to my website and will keep it there for a bit today, if that is sthe correct one, I can, or someone else can, upload it to a site that can handle more bandwidth.

http://www.namtaru.com/uploads/2013/LG_VZW_United_WHQL_v2.11.1.zip
[G2 General] Mantan:
No I got to that page, but try to actually download it.

I couldn't get it to do anything. If I'm just being an idiot let me know, but I tried and couldn't download it from that page.
[G2 General] Han Solo 1:
Yes I see what you mean. I don't know what the "step 2" deal is.

How about this? http://www.mylgphones.com/lg-android-usb-device-drivers

There is something for Verizon in that page.

Or the post above yours....

EDIT:

It looks like on the LG website, you need to download an LG Mobile Support Tool first, and then the drivers install from that.

You can find the tool here:

http://www.mylgphones.com/lg-software-tools-download
[G2 General] Namtaru:
It looks like the version on that page is LG_VZW_United_WHQL_v2.7.1

The one that is on our phones already, I posted above, is LG VZW_United_WHQL_v2.11.1
[G2 General] Han Solo 1:
Ok. Hopefully Mantan or someone else will try it, or the Support Tool.
[G2 General] Mantan:
No luck for me with any of those drivers
[G2 General] Han Solo 1:
Did you try the Mobile Support Tool? When you run it, there is a step 2 or 3 that will automatically download the needed drivers, apparently.
[G2 General] bose301s:
so it seems Verizon locked it down tighter, what a shock :(
[G2 General] Mantan:
I couldn't find any mobile support tool that looked like it wasn't a legitimate program. There aren't any on LG's site. Maybe we just have to wait a few days for drivers, although it's odd since ATT already has a working driver.
[G2 General] Han Solo 1:
Not necessarily; we may just need the right drivers.
[G2 General] heffzilla:
Me either:crying:
[G2 General] Han Solo 1:
Someone try the support tool!

http://lgmobile-support-tool.soft32download.com/
[G2 General] heffzilla:
Doesn't recognize phone and model number isn't listed
[G2 General] Han Solo 1:
Hmm. Last resort would be to call support and have them send you a link to the drivers.

800-243-0000
[G2 General] emplox:
Yea...someone should do that. I've tried it all as well and nothing works for me either. Stupid VZW....
[G2 General] Han Solo 1:
http://csmgtesta.lgmobile.com/swdat...leDriver_S50MAN310AP22_ML_WHQL_Ver_3.10.1.exe

???
[G2 General] Darkestred:
Nope. No devices found.
[G2 General] chrisexv6:
I find it interesting that a version of driver that came out in May at the latest contains the definitions (AT&T version, anyway) for the G2 which was just released.

Makes me wonder if the AT&T version is closer to the Korean version than VZW.
[G2 General] heffzilla:
They directed me to the 2.7.1 drivers, which do not work
[G2 General] djkinetic:
That sucks no drivers are working with the vzw model... =/ they really don't make it easy on you guys lol.
[G2 General] Namtaru:
2 questions.

In which mode are you connecting to ADB? Charge or MTP?

Second... while in that mode, can you please post a screenshot of device manager and the driver properties window?

Thanks
[G2 General] asialove2013:
try this?

h t tp://csmgtesta.lgmobile. com/swdata/USBSW/CDMA/EG/LGUnitedMobileDriver_S4981MAN37AP22_ML_WHQL_Ver_3.8.1.zip
[G2 General] Namtaru:
Perfect, thank you.

As was posted before, I am also experiencing that when I plug into either a win7 or win8 machine, the debug icon is NOT showing up at the top, I am assuming this is having something to do with the issue.

I am still messing with it (and have been for a few hours, lol)

---------- Post added at 12:26 AM ---------- Previous post was at 12:25 AM ----------

OK, of note....

My Developer options/USB debugging don't seem to want to turn off. If I turn them off, then reboot the phone, they are automatically back on again.

Seems like some sort of issue with the debugger as to why we cannot ADB

---------- Post added at 12:30 AM ---------- Previous post was at 12:26 AM ----------

As a clarification to the above, from memory i believe that if you turn off dev options completely and reboot, they will turn back on, however i am referring to just the usb debugging feature.

My Gnex setting stays after a reboot, my G2 is not

---------- Post added at 01:07 AM ---------- Previous post was at 12:30 AM ----------

Still haven't really gotten anywhere, but in case it helps anyone else...

Below is what I get in dev manager when I plug the phone in with debugging on and off using MTP connection.

Debugging off is the left, and debugging on is the right
[G2 General] bose301s:
Honestly seems like Verizon disabled USB debugging.
[G2 General] chrisexv6:
Have you checked to make sure you are using the most updated version of adb?

It seems debugging changed in 4.2.2 where the phone and PC talk more securely and the phone needs to allow the PC on first connect. Only newer versions of adb support that and if you are out of date you will see issues like this when trying to debug
[G2 General] Janax99:
I'd definitely expect this to be the case - AT&T is GSM and VZW is CDMA. Especially with the changes to the rear buttons and case/speaker grill and the visual and layout changes to the Settings menu...
[G2 General] chrisexv6:
<closes ears> LA LA LA LA LA LA LA I CANT HEAR YOU SAY THAT LA LA LA LA LA LA </closes ears>
[G2 General] Darkestred:
Does the verizon version have anything to do with the debug app radio box being defaulted to none? My gs3 didn't have that as an option.
[G2 General] emplox:
It sounds like everyone needs to start calling Verizon. It seems like USB debugging is not properly working. I do not ever get a notification in my notification bar stating that it's on/enabled like the AT&T version does.
[G2 General] stetsonaw:
Maybe make sure MTP is unchecked, like on the GNex. Picking mine up during lunch, i'll see what I can get figured out. VZW version.