yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] nathandorson:
Root not working

I have gone through the root process on an LG G2 that was originally at&t but am currently using a t-mobile sim card in it. Everything seems to work until the last step of the root process, where I see this:

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

and then superuser is installed. However, I do not think my phone is rooted. Thank you for making this tool, and any help would be appreciated!
[G2 Android Development] Genesis12235:
Thanks for all your help you have helped me through all of this!!!
[G2 Android Development] GrandSchtroumpf:
Hi.

I tried to root a LG K8 (Marshmallow) with ioroot.

Now when the smartphone starts up, it asks me for a password.

I've tried the sim card pin code.

It fails.

Someone can help ?
[G2 Android Development] xSeekTruthx:
With this root work for the D620 - LG G2 Mini?
[G2 Android Development] Exalerion:
Not working for my LG G2 on Android 5.0.2, I constantly get permission denied and read-only file system warnings... Is Android 5.0.2 not supported?
[G2 Android Development] lowellehudson71:
Still need to root my android phone , device
[G2 Android Development] iAmOren:
root su fail

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

mount: Permission denied

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

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

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

mount: Permission denied

Installing superuser

2472 KB/s (1468798 bytes in 0.580s)

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

Success
[G2 Android Development] Urkec:
same here... I guess none of those root apps works for LG G2 D802... :crying:
[G2 Android Development] Drbgirlie82:
:crying:LG K7 need help to root
[G2 Android Development] menachg:
will this work on g2-d801 tmo?

i see it uses download mode but in this phone recovery it only shows an option to factory reset and nothing more

can you confirm if it will/not work on this phone?
[G2 Android Development] ST Dog:
What phone?

Typically you don't get to download mode the same way you get to recovery.

Try starting with power off. Hold vol - and plug in USB cable from PC.
[G2 Android Development] menachg:
Its an lg g2 d801 tmobile

In this version there is no download mode or any functional recovery mode

I finally got it all figured out and flashed twrp from there it was smooth sailing
[G2 Android Development] MajinBoo17:
Succesfully rooted KitKat 4.4.2 with ioroot25 and cloudyfa`'s AutoRec.apk

https://androidfilehost.com/?fid=23329332407588149

https://androidfilehost.com/?w=files&flid=13763
[G2 Android Development] redbone4x:
VS980 LG G2 back to stock

I would like to take a Verizon VS980 LG G2 back to stock.

I have the modemst1.img and modemst2.img files from 2014.

Will these get me there?

If so, how?

Thanks,

Old Noob
[G2 Android Development] omnia38:
After you delete your device from the device manager, the next time you hook your phone up to the computer, does it ask you to decide what to do every time you connect the device? One of my options was to install a upgrade software. After I choose that everything worked for me.
[G2 Android Development] lexdad86:
That was it, after installing that software that popped up adb was able to recognize the phone. Thank you Omnia!!
[G2 Android Development] omnia38:
No problem man. Just paying it forward.
[G2 Android Development] josuetenista:
I just got the Rogers version of the g2. Can I root it with this method?
[G2 Android Development] custo:
I've tried. Ran the program, it recognizes the phone fine. Tries to do its thing but it just says failed. Then it pushes the superuser app. If you do figure out a way let me know
[G2 Android Development] Damasterjj:
question

1. take VZW OTA or don't take OTA?

2. use guide on this thread to root

3. instal TWRP

does that sounds right? what is the benefit of custom recovery? once I root and instal custom recovery can I can take new OTA?
[G2 Android Development] farzin_silver:
Any chance to work with international D802 version?
[G2 Android Development] bos1:
No you cannot take the OTA after installing TWRP. If you want the OTA take it first.
[G2 Android Development] Damasterjj:
If I want to get root access and future OTA what is the best option?
[G2 Android Development] same240:
Hi, can this support F320S?

This is Korean set but now using in Malaysia.

I have problem when using USSD code to check my "Telco Menu" (*100#) and when I call "122" go to Emergency call, 122 suppose is my own Telco Customer service Hotline.

Anyone know how to fix this issue if without root?
[G2 Android Development] Heatshiver:
I can confirm this works for the D802 Indonesian (B) version. There seems to be different D802 [A or B] versions for several countries according to this page. Only the Korean versions have completely different names.

Followed the video's command line prompts to check root, as well as checking with the Root Checker app.
[G2 Android Development] same240:
Yeah, I agree that. I'm holding one Korea set now, which is F320S... :(
[G2 Android Development] powerwagon:
Reaaaallly stupid question, but what's the button combination on this phone to enter recovery?
[G2 Android Development] JasonBourne.Qc:
Anyone try this root with the Canadian D803 version? :confused:
[G2 Android Development] justbenice:
I'v tried all the way but couldn't download the file ioroot6.zip . Can anyone help me ?
[G2 Android Development] spinedoc:
Hey guys, any links to ADB and/or the LG drivers? I'm finding lots of different versions from a google search and I'm not sure which is the latest, or if we need a specific version. Also can someone post up a quick guide to ADB? I've rooted a couple of different devices over the years, but never needed ADB so am not sure how to use it.

Also can someone please clarify the whole root/SU thing with the LG phones? If we root LG has a root checker that will let them know you rooted, and invalidate your warranty. If I'm reading the install guide correctly we can still root, but not have it IDed as rooted, which means we still can't run root apps. To fix this we simply have to install superuser, is that correct? Doing it that way will keep it hidden from LG if we go back to stock? I don't care much about the warranty as I just paid $400 for this phone off of craigslist, but having it is better than not having it.

Thanks for all the hard work!!
[G2 Android Development] josuetenista:
Not working at the moment
[G2 Android Development] powerwagon:
Use Flashify from the play store...takes about 1 min and bypasses any adb commands
[G2 Android Development] spinedoc:
I figured it all out, it's really extremely simple, but I just never worked with ADB before. The tutorial should mention that the Root kit brings a self contained adb inside of it, so you don't have to download or install it, all you need are the LG drivers and the root kit. I also uninstalled the SU on here since others said it was allowing programs root access without prompting and installed clockworks SU app, which has very high ratings.

With hindsight this method should take all of 2 minutes to install, very nice, THANKS for the hard work.
[G2 Android Development] mdroid60:
I'm getting this error.... does anyone have any ideas?

EDIT - The problem is fixed, however I'll leave this here in case anyone else was dumb like I was. This was the wrong version of IORoot.
[G2 Android Development] thecubed:
Howdy All!

Just updated with IORoot7.

We now support the Rogers D803!
[G2 Android Development] thecubed:
Bell D803 supported too now!
[G2 Android Development] flindil:
Excellent! any chance you'll be able to support Telus as well?
[G2 Android Development] thecubed:
I can if you run this command:

adb shell getprop ro.build.target_operator

and let me know what you get.

It should take any of the standard D803 root files.
[G2 Android Development] flindil:
tls
[G2 Android Development] thecubed:
Try this, and let me know if it works:

[removed old link]

If it does, I'll edit the main post and include ioroot9 :)
[G2 Android Development] flindil:
Worked like a charm! thanks :D
[G2 Android Development] thecubed:
Sweet! IORoot9 is now live with Telus support!
[G2 Android Development] Sepulture:
Just wanted to extend my appreciation and thanks to thecubed for this extremely easy to use root!! You might wish to add the International LG-D802 model to the supported list, since I did it on mine without a hitch! :)

Thanks again!
[G2 Android Development] ajaxchen:
Is there any chance to support LG F320S which the operator is SKT ? Thanks to advise .
[G2 Android Development] kennytung:
My phone is D802 bought in Vietnam, I tried adb shell getprop ro.build.target_operator and it say OPEN, what can I do? modify the root.bat file but I don't know which root method to select?

---------- Post added at 05:26 PM ---------- Previous post was at 04:44 PM ----------

I tried the standard 803 and this return out, not sure if the root process is completed successfully?

https://www.dropbox.com/s/d00j8omln8emik1/Untitled.png
[G2 Android Development] thecubed:
Here's a test IORoot10 with both D802 (OPEN) and F320S (SKT) support : <url removed>

I've downloaded both of the boot.img files and it looks like they both can use the AT&T and T-Mobile g2_security files. Strange, but it apparently should work just fine.

Let me know (both of you) if this works and I'll update the thread :D
[G2 Android Development] kennytung:
I confirm it work with my LG-D802 in Vietnam.
[G2 Android Development] mimi2:
Not working on my F320S - error as follows

failed to copy 'su' to '/system/xbin/su': read-only file system
Unable to chown ....
Unable to chmod ....
mount operation not permitted
[G2 Android Development] ajaxchen:
Same here , what a pity .
[G2 Android Development] luudo:
same for me not work on F320S 10m SK telecom
[G2 Android Development] mdfritz:
What's the easiest way to flash TWRP? Goo manager says no recoveries found for your device.

Did you adb push a twrp img file?

EDIT: NVM, was was easy, downloaded twrp for my phone here

used flashify (from play store) to flash it. Easy as pie.
[G2 Android Development] thecubed:
Ok, so F320S may need some work then. I need to confirm that the boot.img file I downloaded was indeed from the F320S ;)

What software version is your F320S running?
[G2 Android Development] luudo:
i have the same for me it's

Build - JDQ39B

sofware - F320S10m

4.2.2

kernel 3.4.0
[G2 Android Development] thecubed:
D802 compatible IORoot10 is now up!
[G2 Android Development] playya:
LOL glad you got it I was just about to tell you there is a thread with all the info right in it.
[G2 Android Development] ajaxchen:
My F320S is 10P
[G2 Android Development] same240:
oh, my is 10e

Really hopefully can root my F320S as I have problem on USSD code.

Thanks.
[G2 Android Development] Sepulture:
If I had previously successfully rooted my D802 using ioroot9, would ioroot10 bring anything different to the table? :)
[G2 Android Development] mimi2:
Build - JDQ39B

sofware - F320S10m

4.2.2

kernel 3.4.0
[G2 Android Development] thecubed:
Oh dear, lots of different software versions for F320S. Me and [MENTION=2684188]autoprime[/MENTION] must conversate before I'll be able to support those.

With regards to D802, how'd you root before ioroot10 if your carrier wasn't in the list?
[G2 Android Development] wargreymon89:
The bat file didn't exit if it didn't find your phone, just said it didn't find it, then used ATTTMo one (which by luck worked).
[G2 Android Development] android404:
I read this whole thread and still don't know how (or if) its possible to give root access to apps as well without voiding my guarantee.

I'll get my international 802 in a few days and want to be prepared to not fcuk it up...
[G2 Android Development] Light_Addict:
Worked really well on LG-D802 :) thanks a lot

Btw I didn't have trip rootchecker poping up, is it normal?
[G2 Android Development] mimi2:
LG pushed an update to the F320S last night/this morning - software version now stands at 11C
[G2 Android Development] jasonsf:
I believe the answer to that is no. But restoring back to stock via the LG Flash Tool DOES remove the ROOTED flag so you can still use your warranty.
[G2 Android Development] ethanhunt123:
... LG Flash Tool ?
[G2 Android Development] jasonsf:
http://xdaforums.com/showthread.php?t=2432476
[G2 Android Development] carakamuda:
I rooted my D802 with iO10. it worked beautifully. Now that I got auto hide soft key installed, I'm now even happier. Can't seem to find the rooted flag, though? Maybe it's different for the D802?
[G2 Android Development] Droc1983:
I cannot get usb debugging to show up on my device. I activated developers options and turned on usb debugging and plugged it into my computer and nothing happens. I uninstalled and reinstalled the usb drivers several times and no change. Does anybody have any suggestions?
[G2 Android Development] carakamuda:
does your computer connect to the internet? windows may need to update the drivers.
[G2 Android Development] Droc1983:
I tried that and still nothing. Do i need to install anything besides the lg drivers?
[G2 Android Development] carakamuda:
have you got adb drivers installed?
[G2 Android Development] Droc1983:
I thought so but I will have to double check. Where can I get the adb drivers if I dont have them?
[G2 Android Development] carakamuda:
this link might help you out...
[G2 Android Development] wsw1640:
I did the root process last night with ioroot on my G2 that's already received the ota. It says it rooted the phone but super su says the binary is not installed and immediately closes. I'm lost. What should I do? I think I rooted with an older ioroot. Maybe ioroot2. I did the one from the first post but I've seen its up to ioroot10 now.
[G2 Android Development] Millinium:
I cannot get my computer to recognize my phone. I have LG drivers installed and I have debugging on. What am I doing wrong? I'm on a Windows 8 computer
[G2 Android Development] gappank:
working on 802 indonesia

hi dev, confirmed working on D802 indonesia, but when i try to update it, while testing the new version of superuser, it says fail.

anyone having the same problem?

anyway thanks to ioroot dev!!:good:
[G2 Android Development] juanaraya92679:
Go to your phone connection settings on your phone, select the ethernet setting under mtp connectiin. This is stated in the guide but I totally missed it. I had similar problem. So make sure your phone is connected and now you will see the usb debugging icon
[G2 Android Development] Millinium:
I've done that.. It still not recognized... When I type adb devices in the command prompt in the root folder.. No devices are listed...

---------- Post added at 12:41 PM ---------- Previous post was at 12:39 PM ----------

I'm getting the debugging icon at the top... So that's not the problem... It's that my phone is not showing up under adb devices
[G2 Android Development] redduc900:
After plugging your phone into a PC, you ran the VerizonSWUpgradeAssistantLauncher executable to install the drivers included w/ your phone?
[G2 Android Development] Droc1983:
I'm having the same issue. I am also on Windows 8 and it won't see my device through adb. I have tried installing uninstalling drivers and installing new ones. Has anyone got this to work on Windows 8?
[G2 Android Development] wicked_beav:
Do we also have an unlocked bootloader as well? Are custom roms possible without an unlocked bootloader?
[G2 Android Development] juanaraya92679:
Does mtp mode work?
[G2 Android Development] Millinium:
Yes it does
[G2 Android Development] wy2sl0:
Had the same issues as the guys above on Windows 8, and *fixed* it (for me at least).

1) Install LG drivers from here

http://www.lg.com/ca_en/support-mobile/lg-LGD803#software

2) Plug into the computer and watch for the window to come up with your Device code, and hit ALWAYS ALLOW then OK (If you do not do this, it will never show up in ADB)

3) Continue with the normal root process, went fine for me after this.
[G2 Android Development] Millinium:
My computer won't let me install VerizonSWUpgradeAssistantLauncher......it pops up too..however when I click it nothing happens...ughhh

---------- Post added at 05:39 PM ---------- Previous post was at 04:50 PM ----------

All that happens when I click it to install is it acts like it disconnects, then goes to windows media player...really could use some help here!

---------- Post added at 06:34 PM ---------- Previous post was at 05:39 PM ----------

This is what it says....

C:\Users\Brandon\Desktop\Root>adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

C:\Users\Brandon\Desktop\Root>

---------- Post added at 06:54 PM ---------- Previous post was at 06:34 PM ----------

Got it...finally!
[G2 Android Development] Rockliveson123:
Will this root method work on a mac?
[G2 Android Development] MarkAtHome:
Great work - - thank you!

I do have a question, though. IORoot has already worked for me. Is there any reason for me to make use of newer versions as they are released?

Sent from my LG-G2 D801 with XDA Premium​
[G2 Android Development] patrickoneal:
How? You could probably save other people the same frustration if you don't keep the solution a secret :)
[G2 Android Development] Droc1983:
I got mine to work on Windows 8. I had to go into device manager and go to other devices where my LG device was at and right click into properties and update driver manually pick from list on computer and then click adb interface and then it worked. Windows 8 sucks!
[G2 Android Development] bos1:
Not sure about win8 but on win7 I had better luck not installing Verizon's crappy upgrade software, which installs like a virus that doesn't play nice with windows and has no simple uninstall option that windows recognizes. What worked for me is purging all of Verizon's junk from my system, installing the drivers from here:

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

and then ignoring the prompt to install Verizon software when you plug the phone into usb.

After a minute or two the prompt to install software upgrade assistant goes away and adb starts working.
[G2 Android Development] TechSavvy2:
Plug your phone into usb drive, don't select anything at all. Phone will mount as virtual drive - you will see "CD Drive D: Verizon Mobile" pop up in your explorer - select it, double click tools, then the LG VZW_United_WHQL install file on top. This will install the proper USB driver for it to work......

and you'll know it worked correctly when you see the popup on your phone prompting to trust usb adb computer device or whatever it is

......at least this is how I was finally able to get it to show up. Then make sure to go to settings - PC Connection - Select USB connection method - Internet Connection - and choose Ethernet. Any other connection type will NOT register USB debugging.

---------- Post added at 01:37 AM ---------- Previous post was at 01:31 AM ----------

No, we do not have unlocked bootloader. Loki is a "bootloader hijack" that is a bootloader workaround. This DOES however give us the ability to install custom roms/kernels.
[G2 Android Development] carakamuda:
I use parallels with windows 7, it didnt work. Rooted mine with win 7 pc and it worked.
[G2 Android Development] mdroid60:
Method 2 worked great! FYI the loki zip changed a bit, update your paths accordingly
[G2 Android Development] Crashspeeder:
You can read the batch file (root.bat) and follow along the steps it performs. It's relatively simple. The first thing you'll need is a version of ADB that works on a mac.

Enable USB debugging, then do the following:

$ ./adb-mac push g2_security /sdcard/

At this point, disconnect your phone, disable and re-enable USB debugging, and reconnect.

$ ./adb-mac shell
# mount -o remount,rw /system
# exit
$ ./adb-mac push su /system/xbin/
$ ./adb-mac shell
# ./adb-mac install Superuser.apk

---------- Post added at 11:20 AM ---------- Previous post was at 11:18 AM ----------

Can anyone explain to me what the file g2_security does? I see it pushed to the sdcard in the batch file but it's not used at all in the rest of the script.

EDIT: I see why it's necessary now. When you enable adb debugging it seems to use the file. The script doesn't need to execute it directly.
[G2 Android Development] Stigy:
Anyone have an issue with the Superuser app not asking apps for root permissions?

I downloaded a Terminal Emulator from the Play Store and issued the su command and it was just given root rights without prompting me. Also ES File Explorer, didn't ask for Superuser rights when I turned on Root Explorer, but it seems they were never given.

I installed Koush's Superuser app from the Market and it seems to be working.

Is it safe to uninstall the original Superuser app then?
[G2 Android Development] AmbroseAI:
Yes, there have been a few posts about this problem. Most are now using SuperSU, and once it is installed it is safe to uninstall the original app.
[G2 Android Development] Stigy:
Oops sorry - did skip a few pages, but good to know.

Thank you!
[G2 Android Development] htcm7:
Hi guys, what happen when something goes wrong, will this process brick the phone?
[G2 Android Development] JasonBourne.Qc:
Confirmed working like a charm on the Canadian D803 :D
[G2 Android Development] room511:
Worked like a charm on my T-Mobile 80110c!

Thank you!!
[G2 Android Development] android404:
Norway checking in. Thanks man!
[G2 Android Development] solrac.dc:
Perhaps one of the quickest ROOT I have ever done. Thanks for this!!!!!!

T-MO G2 is my new toy :cyclops:
[G2 Android Development] DaveHTC200:
This didn't work on 3's D802 sadly :(
[G2 Android Development] Tickox:
Hi!

Just got the LG G2 here in Sweden and Root works great thanks to you. So thanks! :good:
[G2 Android Development] poonmh:
I have upgraded my f320k to 11c and cannot root with your tool. Thanks
[G2 Android Development] gotwillk:
so i did the root on my vzw g2 before i accepted the ota. now i tried to do the ota and it says install unsuccessful. can i not install the ota anymore after i root? if thats the case, how do i revert it back so i can do the ota first?
[G2 Android Development] mky4b11:
Successfully rooted my phone. Easiest root ever
[G2 Android Development] Kas206:
Worked fine on mine. Give it another go. Even though you get a message saying "3 network not recognised" click any key to continue, it should work fine.
[G2 Android Development] :
Doesnt work on my open D802, click it and it does nothing.

Kind of annoying me as the notification light doesnt work on every app without root. Just lazy from LG on that.

*edit*

Working now.

So if I reinstall stock ROM will root be gone and warranty back to normal?
[G2 Android Development] Damented:
Where is the download link
[G2 Android Development] android404:
In the first post. Good luck.
[G2 Android Development] Damented:
Got it , Thanks and root worked with ease..
[G2 Android Development] hpsauce37:
I have used this method to root my phone and all appears to be OK however I am trying to use the viper sound mod and this root does not seem to work with it. I know the phone is defo rooted as root checker says so however I don't get asked by superuser for permission when trying to run viper and it won't work

Any ideas?
[G2 Android Development] wicked_beav:
Deleted previous comment.
[G2 Android Development] Rayan:
I will try this on my new G2 tonight! :laugh::highfive:

THANKS!!! :good:
[G2 Android Development] same240:
The F320K, still don't have solution to root?

Wonder when I can fix my USSD issue, sigh ... :crying:
[G2 Android Development] instigator008:
Try SuperSu from the play store.
[G2 Android Development] Filgaliel:
Do I need to have the LG PC suite installed or just the drivers that are installed when I plug in my phone ?