yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] bberryhill0:
http://xdaforums.com/showthread.php?t=2448960

Swyped from my Verizon LG G2 using Tapatalk 4.4.4
[G2 Android Development] OptimusRs:
Work Great Thanks
[G2 Android Development] simon_lefisch:
I've heard vroot installed stuff to collect personal data. I wouldn't use it.

Sent from chdhsheh fhhdud
[G2 Android Development] OptimusRs:
Delete This
[G2 Android Development] bberryhill0:
It's rather suspicious that people keep posting the Chinese root in a thread that provides a perfectly working root with no issues. It's starting to look like spam.

Swyped from my Verizon LG G2 using Tapatalk 4.4.4
[G2 Android Development] simon_lefisch:
http://xdaforums.com/showthread.php?p=47228566

Granted there have been updates regarding vroot, its still not advised until its been sorted out....however use at your own risk.

Sent from chdhsheh fhhdud
[G2 Android Development] Homero2:
Hello everyone

I've taken the liberty to edit the code and reorganized the working folder

Now it is more clean and everyone is inside the tools folder /

I have also added a routine to detect if the computer is Linux or iOS, so reduce the script to two (Linux/Mac and Windows)

Based on the v21 and I've called it IORoot22

It is compressed in TAR.GZ to execute Unix permissions

I hope it helpful.

DOWNLOAD

IORoot22.tar.gz 2.32 MB
[G2 Android Development] JMM2009:
is there a working root method for F320 running stock 4.4?

Edit: nevermind I was able to root with Kingoroot. Now I need to find out if I can safely install a custom recovery.
[G2 Android Development] autoprime:
Hey.. if you want to use a shady root method that's on you. 4.4 blocks loki.. so unless you downgrade your bootloader first you're out of luck trying to use custom recovery or roms. But this is not the thread to discuss any of that further.

ioroot21 it seems to work for some.. as I've had users confirm it in irc.. tho for many it seems only root over adb shell works.

IOroot will not work on 4.4 properly until someone does the following...

I need someone on stock 4.4 that has NOT run ioroot yet.

I need them to use ioroot21 + the manual steps... but only do steps 1-4 to get root via adb shell only.

I then need them to delete the install-recovery.sh files in the ioroot folder.

I then need them to run the following commands:

adb devices

adb shell "mount -o remount,rw /system"

adb pull /system/etc/install-recovery.sh

adb shell "sync;mount -o remount,ro /system"

as long as you had root(#) over adb shell the above commands should work.

I need to know if..

A. there is a file named install-recovery.sh on STOCK 4.4.. and if so..

B. I need you to post the install-recovery.sh file itself... or at least all the text from within the file.
[G2 Android Development] jooker583:
EFS Backup Inside of Script Failed

I have no experience with efs before buying this phone. It seems very important to back these up. I used ioroot21 to root my vzw VS980 12B phone. The script failed to backup the efs modemst1.img or modemst2.img.

Is it possible to run the commands you have in the script with adb shell and extract from the phone. I have browsed down inside root explorer and found the files but I was afraid to copy and move them to the sdcard or computer. Or possibly could you extract just this part of your batch script and offer it to us who the batch script failed to backup the efs images? I would feel much safer if someone familiar with this process would write the script. I understand that I can use TWRP, CWM, Etc.. but I haven't installed either. I'm fine with the stock rom with root and was only needing root for a couple apps.

$ADB shell "dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst1 of=/sdcard/modemst1.img"
$ADB shell "dd if=/dev/block/platform/msm_sdcc.1/by-name/modemst2 of=/sdcard/modemst2.img"
$ADB pull /sdcard/modemst1.img
$ADB pull /sdcard/modemst2.img

Thanks for your hard work and helping a noob is aggravating I know. So Thanks Again.
[G2 Android Development] autoprime:
I still need to adjust the script so that efs backup happens sooner.. then it shouldn't ever fail. I'll probably wait until ioroot22 to make the changes tho.

as for the manual commands.. yes you can use the commands u listed above... tho remove the $

to make sure there are 0 errors I suppose you could do the following... first put phone in airplane mode....

adb shell

su (confirm you get #)

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

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

exit (you may have to type exit twice to get out of adb shell)

adb pull /sdcard/modemst1.img

adb pull /sdcard/modemst2.img
[G2 Android Development] jooker583:
Thanks AutoPrime that did the trick I hope. I got a copy of each and backed them up to the cloud, PC, and Phone. Unable to verify that there correct being encrypted is kinda of scary but at least I have something to go on. No Errors and both were 3,072 KB in size.

Thanks for the quick response.
[G2 Android Development] DrugsBunny:
everything worked for me phone is rooted but the cmd said wait for phone to reboot so it can back up efs and i never seen it back up anything is there something im missing? did the files back up and if not should i back them up?
[G2 Android Development] Tinchoska:
Same here... is it like Samsung? Should I back efs up?

Enviado desde mi LG-D806 mediante Tapatalk
[G2 Android Development] jooker583:
EFS Backup

I just happened to notice that it had an error on the lines showing cannot open for read: Permission denied. If it worked correctly when you rooted your phone with ioroot you should have a copy of the efs files in your ioroot folder on your pc to the best of my knowledge.

This is what showed up at the end of running ioroot.

You can search xda forums and find lots of others post on how to back them up if it did not successfully back them up for you.

Here is AutoPrime's post on how to to do it.

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

or search for http://xdaforums.com/sitesearch.php?q=LG G2 EFS Backup

Admin feel free to delete this post if it's wrong for me to answer.
[G2 Android Development] ahmed534:
rooting the phone will cause problems when OTA update starts rolling out ?
[G2 Android Development] trunks527:
No. Unless you install a custom recovery. Updating will break root though
[G2 Android Development] InfinitiGuy:
You should not take OTA updates if there have been changes to your /system folder as it will possibly bootloop your phone.
[G2 Android Development] DrugsBunny:
Yeah i backed them up through custom bootloader they didnt get backed up after rooting got stuck on this part

Wait for your device to reboot and continue

with ioroot script to backup EFS...
[G2 Android Development] blaccdayz:
I traded in my note 2 when I switch to T-Mobile, rooted as can be. They never turned it on. I would imagine it would work something like that on the jump program.
[G2 Android Development] RiffyDivine:
With the rootchecker being tripped, couldn't you just return the phone to stock and have it go back to 0 or does it see root on the phone once and stay tripped?
[G2 Android Development] Bowmanspeer:
I had the G 2 for a week. First thing I did was root it. Tmo announced the flex so I unrooted the g 2 and sent it back. I checked the root counter after flashing stock and it said unrooted. That's my experience.
[G2 Android Development] Rockman27:
iosroot v21

G2 F320K 4.4 (20a)

I have been trying to root on Stock 4.4... everything goes well for root.bat;

But no luck, when I tried to launch super su - installation fails.

Any further help available? Thanks.
[G2 Android Development] bberryhill0:
Look at posts 1138-1139.

Swyped from my Verizon LG G2 using Tapatalk 4.4.4
[G2 Android Development] autoprime:
Updated IOroot

Changelog:

v22: added support for TMO D959 G Flex. Tweaked scripts EFS backup... hopefully no more errors.
[G2 Android Development] NCU1980:
Hey Guys,

I have recently moved to South America and acquired a LG G2 of the following model: LG-D805

Is there a way for me to root this phone? I do not see anywhere info stating the root method supports this version.

Thank you!

NC
[G2 Android Development] bberryhill0:
Click the link in the post before yours. D805 is supported.

Swyped from my Verizon LG G2 using Tapatalk 4.4.5
[G2 Android Development] Bowmanspeer:
Just used this to root D959. First attempt was version 20 since i had it on my computer already. Updated to latest vesion and it worked.
[G2 Android Development] manager77:
Hi! first of all sorry for my poor english.l have an lg g2 korean version f320l model....4 days ago l flashed stock android 4.4 ,but form f320S model...it goes good...because l had problems with signal drop l decided to go back to stock 4.4 for my model(f320l).when i tried with lg flash tool to go back,l've got an error(such not the right model)....so i edited build.prop and changed from 320s to 320l....all this time l was rooted with your ioroot....when l tried to flash a custom recovery,my phone not booted anymore...only LG logo,no recovery,no download mode,no fastboot mode....l can use only adb command with my laptop...BUT...I CANT USE ADB SHELL...only $ no #....all this because my phone seems to be rooted no more..l tried to root it again manualy, fallow your instructions..but no luck...it seems dont want to get root...please help! Thank you!
[G2 Android Development] Dragg3r:
I am unable to download IORoot through that link, can anyone please mirror it for me? or provide me another link? Thank you!
[G2 Android Development] eikcihc:
Same here, anyone got other links?
[G2 Android Development] stout0_0:
cant find any links for love nor money on google... anybody had any luck?
[G2 Android Development] autoprime:
servers are being moved today. please be patient.
[G2 Android Development] stout0_0:
Fantastic thank you. ?
[G2 Android Development] justin860:
Lol of course right when I got my new phone
[G2 Android Development] CTF:
Someone posted am alternate link here:

http://xdaforums.com/showpost.php?p=49926924&postcount=1137

He mentions that he re-arranged a few things for clarity.

I cannot root however, after replugging my phone it states that it cannot stat (spelling mistake?) busybox and fails more after that...

Upon reboot, the phone is not rooted.

I did get the OTA update, but it is my understanding that v22 is fine with it..

Not sure if the link he posted has some issues, or of this is on my side...

---------- Post added at 09:34 AM ---------- Previous post was at 09:33 AM ----------

EDIT: Actually it appears that it may the official version 21 that he renamed v22.

---------- Post added at 10:24 AM ---------- Previous post was at 09:34 AM ----------

Link to the latest version is back up!

Just got it.

---------- Post added at 10:30 AM ---------- Previous post was at 10:24 AM ----------

I confirm that the last version v22 works flawlessly on an AT&T that received the OTA.

Took less than 1 minute.

I had to restart the procedure however because my phone was not detected.

Worked as expected on the second run.
[G2 Android Development] nednerbish:
Does this work for d80010o?
[G2 Android Development] NaughtyDescent:
does it support g2 F320L and S versions too???
[G2 Android Development] shelbyisagirlsname:
Sure does. You might want to revert back to d80010d if you plan on flashing roms as there is a problem with flashing via custom recovery on D80010o. However, backup and restore work fine with custom recovery on D80010o.
[G2 Android Development] nednerbish:
Thank you, Yea I read about that but seem confusing. I'd like to flash rooms so I might have to anyway.
[G2 Android Development] autoprime:
what exactly is the issue with recovery on 10o? im not sure how it could be any diff. Perhaps the issue is in the loki patch in the tmo roms.. not being properly updated to support 10o? Freegee has an option in the app to properly loki patch rom zips prior to flashing them.. have you tried this?
[G2 Android Development] clotai:
Root not work on F320K after upgrade to 4.4.2. Though I know it is not said that it is supported, hope that it will be suportrd soon.
[G2 Android Development] autoprime:
if u use the manual steps.. do u at least get root(#) thru ADB Shell?

Last I checked... adb shell was rooted but full root did not work. And if thats the case.. we just need to figure out how to use su and daemonsu binaries correctly on 4.4 devices.

Also.. I am pretty sure loki exploit is blocked on 4.4... so no twrp/cwm or custom roms.. unless you downgrade.
[G2 Android Development] clotai:
What I did is to flash kdz back to 20a and then ota to right now 21d which is 4.4.2.

And no, I can't get # in adb shell.

I am pretty sure I am doing right 'coz in 20f. It is work to get at least # in adb shell.
[G2 Android Development] autoprime:
ok.. so 21d changed something then. what i need from users who are taking OTAs and still want root... I need them to save the update.zip before flashing the ota and send me the update.zip.

so in your case specifically... if you were on 20a.. get # in adb shell.. then when the OTA notifies you of being ready... use rooted adb shell to pull the update zip from your phone. upload the update.zip somewhere then PM me the download URL. then i can see what has changed and update ioroot accordingly.

Users on ALL G2/G Flex models need to do this in the future if you keep wanting to take OTA as well as continue to have root. Help me help you :highfive:
[G2 Android Development] clotai:
If I take OTA, I should click intstall later ?

where did I find the update.zip ??

I can do that 'coz I have antoher LG G2 rooted in 20f.
[G2 Android Development] autoprime:
yes you could just click "install later"

I believe the update zip would be in the Cache folder. it may not be called update.zip either.. might have longer name like.. update_F32020f_21d.zip or something along those lines. the file will be there once you get the notification that OTA is downloaded and ready to install.
[G2 Android Development] clotai:
Here is the OTA file.

It is from F320S.

Box: https://app.box.com/s/u6f6l8y0gmyvqr921jj4
[G2 Android Development] autoprime:
thanks for the file. i thought it would be a zip but it seems this file is compressed differently. Now I need to figure out how to extract that file :confused:
[G2 Android Development] trunks527:
What's the format?
[G2 Android Development] autoprime:
if i knew that i could extract it ;)

its just a file without an extension. i've tried adding zip/rar/7z to the extensions... tried a few different unarchive tools inclucing 7zip on windows and a few diff apps on OSX... and nothing. It's quite possible I'm missing something.. but I'm stumped.
[G2 Android Development] cheami:
****, I wish I read this 10 minutes ago. Back to stock > root > ota > twrp... I hope that's the right order.
[G2 Android Development] jaben2:
Hold on he has an update going to be out that will allow you to root the ota. They changed some files around, but the root procedure still works. Just watch for the update.
[G2 Android Development] thecubed:
Alright, I've updated the OP with a new version of IORoot that will let you root your VZW OTA'd G2.

LG is using the F320k-style naming of the unlock file now, so this should do it.

The script now is intelligent enough to know what OTA version you're running and act accordingly.

It should be forwards compatile with new VZW OTAs too, since I've arranged the batch file to fall through the check and just continue on with the VZW OTA root if it's newer than the current OTA, but doesn't match the stock OS version.

If you find that this just doesn't work, let me know.

The old ioroot4 is still available if this causes issues, just change the download link name.

Thanks!
[G2 Android Development] erraggy:
I get a 404 with the new ioroot5.zip link in the OP. It redirects from the link you have to "http://downloads.codefi.re/d/51z7rbuDgYgBNRS5n6tSDA/1379655741/thecubed/lg_g2/root/ioroot5.zip" and that 404s.
[G2 Android Development] autoprime:
temp link is HERE until OP is fixed.

Link will self destruct 24hrs from now.
[G2 Android Development] thecubed:
Hay guys! I'm a moron! I fixed the download link :)

Sorry 'bout that!
[G2 Android Development] thecubed:
Whoops! Uploaded ioroot6 as well, noticed a lovely syntax error that breaks ioroot5, so naturally, I've uploaded a fixed version (with a working link this time!)

Give it a try!
[G2 Android Development] puothy:
worked flawlessly!

thank you for your work sir
[G2 Android Development] dmbfan13:
Is there by chance something I could flash that would give me the OTA? Currently I'm rooted and have TWRP installed. I've frozen the software update app because I didnt think I could update with TWRP installed. So is there anything I could flash in TWRP that would give me the OTA?
[G2 Android Development] ErisDev:
After I press enter to continue with the script it is stuck at

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

2685 KB/s

Any ideas.

EDIT: Fixed
[G2 Android Development] rkrishnamurthy:
Patiently waiting for a root method for Asian International Version (D-802)
[G2 Android Development] erraggy:
Can't believe it was that easy! So just having this stuff copied into /sdcard/g2_security allows for remounting the /system partition as rw? Amazing.
[G2 Android Development] wargreymon89:
You tried out the different g2_security files? If not do that and report back, if it doesnt work, jump in on IRC and help fix one that does.
[G2 Android Development] cc1995:
Does anyone have a tool or guide to accomplish rooting my LG G2 on a Mac. It seems this tool can only be used with Windows machines if I'm correct? I have no access to a Windows machine at home and would like to Root my G2 before any more updates prevent it.
[G2 Android Development] gotwillk:
so this latest version can be used even after the phone has installed the OTA update? i haven't updated yet and i haven't rooted yet. is it safe for me to apply the OTA then do the root?
[G2 Android Development] stetsonaw:
Yes
[G2 Android Development] MarkAtHome:
I had the same experience and did the same as you. It made good sense at the time, and it is reassuring to see someone else thinking along the same lines. ;)
[G2 Android Development] norbarb:
Can someone repost file again. OP is not working.
[G2 Android Development] thecubed:
Works fine for me... are you getting a 500 internal server error or just a 404?
[G2 Android Development] Walter21026:
Can somebody please tell me the method to boot into recovery? I just crashed my system ui and need to restore and I cant get into goo manager

edit: I got it..whew
[G2 Android Development] MikeyFid:
Thanks, worked great.

T-Mobile variant. Windows 8.1
[G2 Android Development] clotai:
I don't think it is a zip file.

and I think lge_fota.zip might be the tool LG used to extract the file.

file lge_fota

lge_fota: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped
[G2 Android Development] trunks527:
Heading home I'll give it a peak
[G2 Android Development] abdel12345:
Thanks a lot for this. I successfully rooted my verizon g2 yeasterday. It made things easy. I thoguht it would be hard coming from a nexus 5 which took a second to do it but following these directions made it easy and now I'm rooted. Thanks!
[G2 Android Development] gtung3388:
does it work with f320k, 21d as well?

g

---------- Post added at 01:48 PM ---------- Previous post was at 01:46 PM ----------

it works with f320k/21d as well ?
[G2 Android Development] clotai:
Did you read the topic ? It is not working.
[G2 Android Development] Cannon20:
Thanks for this just got my G2 on Friday and rooted it last night my past 3 devices have been nexus so I was hesitant but this made it a piece of cake
[G2 Android Development] babygetoboy:
Thank you for this! Couple of questions.

How do you install the verizon drivers? I've tried clicking all of the files and I can't get any of them to install.

Also, I noticed on the main page it doesn't mention that this works on VS98012B on verizon. Any word if it works? Sorry if this has been asked before.
[G2 Android Development] trunks527:
It works on 12B. Also I don't think you need the Verizon drivers unless you plan on reverting back to stock
[G2 Android Development] djtronmix:
root F320K21d

Hi Autoprime, any update on the f320k21d? Thanks.
[G2 Android Development] 2ksilverbullet:
Definitely works on 12B, just did my vzw phone 2 days ago. Extremely easy, just read and follow the directions.
[G2 Android Development] moro30:
Please work on the F320K21D???
[G2 Android Development] xbxjunkie:
i was able to use version 11 on my 10g t-mobile. for some reason i was having an issue using version 22
[G2 Android Development] Snuzzo:
Which version did you use if you don't mind me asking? :)
[G2 Android Development] 2ksilverbullet:
V22. I wanted to make sure the EFS issue was corrected.
[G2 Android Development] rizzomach:
Can i use this root after i did the new spark update i have lg g2 sprint

---------- Post added at 01:39 PM ---------- Previous post was at 01:35 PM ----------

I have version lg ls980zva can i root.?
[G2 Android Development] Herby6262:
Edit: Found the answer within the thread, thanks!
[G2 Android Development] autoprime:
Anyone get this yet?

Someone that gets the update notification AND is rooted.. can you pull the update zip and send it to me?

This needs to be done BEFORE you run the update.

File should be in the /cache partition.

Need to know if root changed.. also wanna see if they blocked the loki exploit. Thx :good:

I started a thread here if people wanna discuss it or w/e.. as this thread isnt the place for that: http://xdaforums.com/showthread.php?t=2647612
[G2 Android Development] EuroSpeed:
I'm having trouble getting my device to show up as adb online on my Mac. I've tried restarting my phone and computer, and I've tried switching usb debugging on and off. Any ideas?
[G2 Android Development] citytrader:
I have found that developers update their loki script frequently and after this update I cannot install the zip anymore because I need the last loki, I have IOROOT 22 and this is the last, where can I find the last loki support or what is the way to deal with this issue.
[G2 Android Development] simon_lefisch:
You're not the only one. I can't get my phone to show up on adb on my Mac either, however it does show up on my windows VM. Kinda strange....

Sent from my gxidjeb on planet vakcovuhf
[G2 Android Development] trunks527:
In going to try adb on my mac vm tomorrow and see what happens.
[G2 Android Development] simon_lefisch:
If you run a windows VM on Mac it should pick up your device in adb. At one point my Mac used to read my device in adb but then all of a sudden it stopped. Made sure I was using an updated version of adb but still no go :confused: at least it works on my VM :D

Sent from my gxidjeb on planet vakcovuhf
[G2 Android Development] EuroSpeed:
Thanks guys. I ended up using on Windows on my Mac which I had installed with bootcamp. Had my phone rooted in less than 5 minutes. Haha.
[G2 Android Development] simon_lefisch:
If you don't want to have it dual booted, download virtual box. Its free and allows you to run windows inside the Mac OS.

Sent from my gxidjeb on planet vakcovuhf
[G2 Android Development] nghiadhd:
Would you please support new version to root F320S21d (SK Telecom)?

Thanks a lot
[G2 Android Development] Phoost:
root f320k21d

I have a second F320K which is unused yet. I'll send the update. Hopefully on Wednesday.
[G2 Android Development] Phoost:
Where I can find the update.zip ?

( Can't find it with Root explorer)

There are at least two new versions after 20A. Do you need all or only the last one (21d) ?

P.S.

Found it. There are three files in /cache (dlpkgfile, fota_script.txt and lge_foza)
[G2 Android Development] Phoost:
I have a download link for "update.zip" of V21d (F320K).

It would be wonderful if we can have root for this version.

https://www.hidrive.strato.com/lnk/uQTIJQJw
[G2 Android Development] hdjx20:
anyone know how to root with the latest update d800 10q?
[G2 Android Development] autoprime:
use the manual method for 10o. 10q should be same.
[G2 Android Development] hdjx20:
would i enter 10o in adb or 10q?
[G2 Android Development] autoprime:
10o isnt part of any command. commands begin with adb.