yashsingh1/xdaforums huggingface dataset:
[Android General] Xenzo33:
please help me the script isnt running on the 10th step i rooted before using this method but its not working now ;(
[Android General] Tomo123:
Does this method work on LG Spirit H440N v10f-EUR-xx 5.0.1 firmware? Anyone tried it?
[Android General] sd_N:
Sprint g3 on ZVA when i push the first set of files ... they transfer, however I GET CANNOT START 'LG_ROOT.SH': NO SUCH FILE OR DIRECTORY. Sorry for caps, didnt even notice... here's a copy and paste from that step...

C:\Users\007\Downloads\Android\Sprint LG G3\New_LG_Root_v0.1_by_dig\New ROOT\New_LG_Root_v0.1_by_dig\New_LG_Root_v0.1_by_dig>adb.exe push busybox /data/local/tmp/ && adb.exe push lg_root.sh /data/local/tmp && adb.exe push UPDATE-SuperSU-v2.46.zip /data/local/tmp

2941 KB/s (1048328 bytes in 0.348s)

cannot stat 'lg_root.sh': No such file or directory
[Android General] Tomo123:
Tried both GUI and script methods on my LG Spirit H440N v10f, and they both failed.

http://xdaforums.com/android/development/root-v10f-eur-xx-h440n-lg-spirit-t3202017#post62849044
[Android General] classic757:
[MENTION=4911249]Unjustified Dev[/MENTION], how can I check if my bootloader is locked or unlocked after rooting my LG Transpyre on KitKat 4.4.2?
[Android General] DoubleDeuce22:
Did you ever resolve this I am having the exact same problem. Verizon G2 on 39a firmware. Tried both Vista and xp operating systems. Download mode shows modified....
[Android General] Xenzo33:
someone said its drivers problem you need to get the right adb ones in order for the device to show up on download mode!

i got root via kingroot :)
[Android General] kamil79123:
Same problem here guys, in download mode adb devices doesnt show my device and sh command doesnt work. Please, any advice? Someone said its because of driver, im using the United driver from OP. Can you give me drivers what are working? Please..

Wysłane z mojego LG-H440n przy użyciu Tapatalka
[Android General] fearhq:
Hey Kamil! Are you able to run other commands, such as "ls"? I'm in a similar position with my LG Stylo, and my theory is that "sh" is locked down in download mode. I also can't seem to flash system images from download mode, but can read/copy them
[Android General] kamil79123:
I can not run any command, adb doesnt See device, sh doesnt do anything, ls too

Wysłane z mojego LG-H440n przy użyciu Tapatalka
[Android General] classic757:
Are you on Lollipop 5.1.1? And did Kingroot root your phone permanently or is root lost at reboot?
[Android General] Hnk1:
try pressing Clt+C and re-enter the last command if stuck for you

I had the same issue. I resolved by doing the above

good luck
[Android General] Xenzo33:
I have rooted via kingroot on my lg h340n leon on 5.0.1 and root isnt getting lost ! sometimes it doesnt work so it needs reboot also you can remove kingroot and use superSU from here

http://xdaforums.com/fire-phone/general/root-fire-phone-supersu-t3105546

so you have SuperSu root in your phone :D and you can remove it if you want :)
[Android General] classic757:
Oh okay thanks, but will it root 5.1.1 I wonder?

Yes, Kingroot is more hit or miss on some phones.

Not as reliable as other root methods.
[Android General] Xenzo33:
Use kingroot for your phone it would propably root it if you arent on the latest version of it ! if you updated 5 months ago then there should be a root method for it by now!

Kingroot isnt good so better change it with superSU ! if you cant root 5.1.1 you can also go back to older version by flashing an older kdz file :) or w8 kingroot until they make a root method possible :)
[Android General] mohayta:
im having this error "ERROR: The system was unable to find the specified registry key or value." any help ?
[Android General] Desertio:
THE lg ROOT LINK ONLY DOWNLOADES AN .ACE FILE. nOT A ZIP
[Android General] Mervingio:
what browser you are using?
[Android General] Desertio:
Chrome
[Android General] classic757:
[MENTION=4254532]Desertio[/MENTION], no offense but please do not post the entire OP when you post.
[Android General] ZackMorris:
Hey all,

I'm having difficulty rooting an AT&T LG G3 running software version D85021r; i'm hoping for some help. I just pulled this phone from the box and here's what it has on it:

Android Version: 5.0.1

Baseband Version: MPSS.DI.2.0.1.c1.13-00058-M8974AAAAANPZM-1

Kernel Version: 3.4.0

Build Number: LRX21Y

Software Version: D85021r

Security Software Version: MDF v1.1 Release 3

LG RCT Root Results:

Modified

Rooting related file had been installed

>superuser

>busybox

Detection time

>2015-09-26

[g3:LGD85052b1a4c7:6.01]

-------------------------------------------------------------------------------------------------

Besides following the instruction in this thread i've also used the following methods to try and gain root:

http://highonandroid.com/android-smartphones/how-to-root-lg-g-flex-2-g2-g3-on-lollipop/

https://www.reddit.com/r/LGG3/comments/2ydptk/workinghow_to_lollipop_root/

http://xdaforums.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951 (both the GUI and script iterations)

These are all obviously intended to be the same method, but I used only the files included and the exact methods outlined. Every single one of them go through without a hitch; by that I mean, there are no problems connecting, no issues with file transfers, no errors- everything goes very smoothly and yet after every single method I have the same result.

Reboot. Open SuperSU:

"There is no SU binary installed, and SuperSU cannot install it. This is a problem!

If you just upgraded to Android 5.0, you need to manually re-root - consult the relevant forums for your device!"

Open Root Checker; Not rooted.

Open LG "Secret Menu." LG RCT: "Modified" (and all the text from above under "LG RCT Root Results.")

Before moving forward I would like to state that my intentions with root are simply to remove all the carrier bloat. I enjoy stock!

So, am I missing something? Is it not currently possible to root D85021r? Is my only option to downgrade to a different software iteration?

Any help is greatly appreciated, and Thank You in advance for any response at all.
[Android General] mrhaley30705:
Tried this method?

http://xdaforums.com/showthread.php?t=3129197
[Android General] ZackMorris:
mrhaley30705 YOU ARE AN ABSOLUTE ****ING LEGEND!

I don't know how in my hours of forum trawling I missed this post but YOU DIDNT! I'm rooted and my G3 is SO LEAN.

I am ecstatic. You, sir, are a living paragon.
[Android General] Corbald:
If you inadvertently bricked your Tribute 2 (LS665) using the method here, follow http://xdaforums.com/android/development/guide-how-to-root-lgls770-5-1-1-t3184649 to both unbrick AND root.
[Android General] evilboygenius:
Hi guys, can this root Sprint G3 ZV6 without downgrade or upgrade?
[Android General] leandeganis:
I'm a little bit confused..

Should this method work for an LG LEON LTE (H340AR) running stock 5.0.1 ? I see some other methods linked in this same thread, so I'm confused. :eek:
[Android General] leandeganis:
Well I've tried this, but nothing happened after trying to issue the last command

sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox

(see attached image).
[Android General] webmastir:
Are you seeing your device listed in "show adb devices" before running that command?

---------- Post added at 09:44 AM ---------- Previous post was at 09:44 AM ----------

OP *should* work but you never know. Worth a try :highfive:
[Android General] leandeganis:
It does show perfectly before rebooting. Once I'm on Firmware Update mode, it does not show running adb devices. But I see the device running ports.exe in COM8 and some LG Flash apps detect it well. So the computer is seeing the phone correctly. But i cannot issue the command "sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox". It just do nothing. What another HARMLESS command can I try in that # line to see if the device is answering?
[Android General] webmastir:
try a pull command (adb pull <remote location> <local location>)

Assuming you're on Windows: "adb pull /storage/sdcard0/Downloads/whatever.jpg c:\temp"

Make sure you're running a command prompt As Administrator, before launching the adb utility.
[Android General] leandeganis:
The adb command is working well.

But now I'm afraid of something: I can't get a kdz file for my mobile yet. Look at this image:

[IMG="no kdz"]http://i58.tinypic.com/spjfya.jpg[/IMG]

So, if something go wrong, I may have a bricked phone for a lot of time! Should I wait? Or is there any way to recover from brick without a kdz?
[Android General] webmastir:
Prob best to wait, since I'm not sure. Up to you man :confused:
[Android General] leandeganis:
Yeah, I'll better wait. Hope I can find a kdz soon. I thought kdz were ALWAYS available on that site. But seems it may not be the case. Thanks, tho!
[Android General] dcm1200:
Will it work on 5.0.1 attt lg 850?

Will this work on at t it g3 850?
[Android General] Mazupicua:
any help?

Hey guys, sorry for bothering. I rooted my phone and i tried installing twrp but when i reset in recovery mode it tells me error 1002. I'm assuming that's because i didnt unlock the bootloader, so i went to lg and followed all the instructions but im stuck in step 9 of this guide: http://developer.lge.com/resource/mobile/RetrieveBootloader.dev?categoryTypeCode=ANRS# because my device just doesnt do anything. i reinstalled the drivers and changed cables, prayed and nothing. anyone has any tips? Thanks in advance.
[Android General] mrhaley30705:
Flash back to stock and start over.
[Android General] Mazupicua:
I managed to fix it with this so if anyone is having an issue like that good luck!
[Android General] supermauro:
Yes it is:) I have done it twice, since the first time I uninstalled bloatware and got a the "Security Error PITA", I had to restore it and do it again...
[Android General] tronoftroy:
LGVS880 G Vista

once Send_command is run. i see the prompt # but anything that i input is followed by FAIL. running 5.1.1
[Android General] Sbubba:
I'm confused. I would buy the F60 but I am not convinced.

Is there a custom recovery? If the flash of any rom goes wrong, the phone will brick??
[Android General] Ardion:
I have a problem with this program since the last LG Firmware Update for the Stagerfight bug.

I updated my phone ( LG D722 / LG 3Gs) with the LG mobile support tool.

But now I cant root it again.

When I enter the code: sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox

nothing happens.

Does someone else have this problem, or does someone know how to fix this?
[Android General] mrhaley30705:
Try this method instead. It seems to work on the stafefright updated firmware.

http://xdaforums.com/showthread.php?t=3129197
[Android General] Ardion:
This method also does not work.

There is no SuperSU installation and rootchecker also says that there is no root.
[Android General] desilynn79:
i noticed you have the lg ls660 as do i. i must be doing something wrong. i follow the steps. download mode says im rooted but root checker says im not.

i do have the v6 update as well just so you know.

i could use some help or a little bit easier way to unlock bootloader, root and install cwm or twrp

i am not familiair with trwp tho.

i would like the easiest way to do all this unless someone can walk me through and figure out what i am doing wrong...

thank you

at this moment i would like to have recovery and debloat this booger

i was able to get root and verified with root checker with the stagefright exploit, now working on the recovery...

as i have already updated to zv6... however i used flashify to make a backup of the current stock recovery and saved to dropbox.

wondering if i download and save the zv5 recovery will it matter later?

---------- Post added at 07:51 AM ---------- Previous post was at 07:50 AM ----------

yes i have the same problem
[Android General] Ainz_Ooal_Gown:
Use my manual method.....works on 5.1.1 it's in my signature of you're on a computer you can see it
[Android General] Ardion:
Thanks for the answer but your method also does not work.

Everything is fine until the step where you have to enter "ls tmp" this command does not work.

There is just a new line with a hash.
[Android General] leandeganis:
I could finally root my LG H340AR v10a with the last KingRoot apk from their site. This method didn't work, sadly (I wanted a clean root). But at least it worked. I couldn't get to try the "newest" method for stragefight updated ROMs, but I guess that's not the case for these Leon's.

Can't flash TWRP, tho. But that's offtopic here.
[Android General] Ainz_Ooal_Gown:
Hmmm....strange you did use the correct comport right?
[Android General] fenstre:
Not compatible with LG G4 H815-v10C-TWN

I just want to report that this script isn't compatible with the G4 H815-TWN (Taiwan), version 10C. I did some debugging, and the remount commands fail to remount /system as rw. It just doesn't work--it's mounted as ro both before and after the mount commands. I doubt there is any workaround.

It is still possible to modify the storage device directly, so other root methods will work. (Root injection works, and the "low effort" root should also work).
[Android General] player911:
The G4 has its own root method. Basically the same way, but instead of pushing root INTO the SYSTEM image, we basically have to backup the system image, inject root manually on a PC, and copy the whole system image back.

On another note, I have the LG G Tab x8.3 (the new one from Verizon). I rooted with this method, but I am unable to update an OTA because of the root. Is there a way to REVERSE the root or does the SuperUser apk "remove root" method typically work? Any suggestions?
[Android General] fenstre:
How are your command line skills? If you first back up your system, you can look through the lg root script and for each line, undo it.. Most if not all are reversible. It would mean deleting a lot of files and moving a lot of backups to their original location. Also, you must do it all at once or you may lose root and be unable to finish the change. (Having a system.img file on sdcard would be wise.)
[Android General] Ardion:
Yes, the files are pushed without problems.
[Android General] Ainz_Ooal_Gown:
the files get pushed no matter the com port it's the LS TMP command that shows you if they made it to the temp area.....

---------- Post added at 10:28 AM ---------- Previous post was at 10:26 AM ----------

you should have made a copy of that system.img then you cold push that and do the OTA...
[Android General] Ardion:
Hm okay than i dont why it does not work.

Maby there is something wrong with my drivers?

I have istalled the latest driver from the LG Mobile Support Tool, but there is a yellow triangle in the device manager, but only when the phone is in download mode, with error code 10. ( Win 10 64bit )

But the Mobile Support Tool can restore the firmware without problems even if my phone is in download mode and there is the yellow triangle.
[Android General] Realistpm:
everything was fine up to the last line of code and then I got this.

sh is not recognized as an internal or external command lg root

vs980
[Android General] kamil79123:
Hi guys! Can anyone help me? Everything goes good till last command, sh (...). This does not do anything, on the window appears just new hash. As many commands i enter that many hashes appears. Please, help me.

Wysłane z telefonu.
[Android General] ra1n25:
Is there a way to root LG WINE SMART? I've been looking everywhere. running 5.1.1 kernel 3.10.49
[Android General] doctazz:
Have you given this method a try? It's worked so far for some newer LG devices running Lollipop.

avicohh has the semi-automated version of this here @ xda: http://xdaforums.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
[Android General] ra1n25:
Thanks. Will try it

Nope. nothing works. Tried MTP,PTP oem unlock on-off. sad :(
[Android General] striker59:
Make sure you have the correct drivers, while plugged in in download mode check device manager, if anything related to your LG has a yellow exclamation symbol you need to get the correct driver package. I had trouble until I checked and got the right package.
[Android General] rovar:
Confirmed working on Telcel LG-H221G running 4.4.2.
[Android General] android_vincit_omnia:
Perfect!

I used this method on the SPRINT LG Tribute Duo (LS665), running 5.1.1 and it worked perfectly!!! Follow the steps and you should have no issues with the Duo!
[Android General] madtork:
I can't get cmd to find a LG G4. I have tried both PTP and MTP modes with usb debugging on and the proper drivers loaded.

Any advice is appreciated.
[Android General] ra1n25:
Everything is fine...i'm giving up. Thank you for the feedback though.
[Android General] Superfebs:
Thank you for this.

I finally managed to get a stable /dev/ttyUSB* device (I had to remove any udev rules related to the device for this to happen, for the sake of others). But now I get this.

File "./qcdlcomm.py", line 97, in <module>
cmd(input)
File "./qcdlcomm.py", line 89, in cmd
print output.split('\xba\xa7\xba\xbc')[1][:-1]
IndexError: list index out of range

Any help would be much appreciated.

Thank you very much.
[Android General] Baccer:
i used this method several times before to root my G3 but today I updated to V21A and I'm not able to root my device anymore.

any ideas?

thx
[Android General] jacob019:
It sounds like you're using the wrong serial driver, you're getting unexpected output from the serial device. You shouldn't have to do anything to the udev rules. Did you follow the instructions:

rmmod usbserial

modprobe usbserial vendor=0x1004 product=0x61f9 (replacing the product id with yours?)

You could also be on the wrong serial device. Sometimes multiple ones register, use the highest numbered one.

What phone do you have?
[Android General] Superfebs:
Hi,

I tried with and without modifying any udev rules so I also tested the stuff as it came out of the box.

Yes, I did follow the instructions, replacing the product ID with mine - that's an LG Flex 2. Without that, there was no way to have the /dev/ttyUSB* device created at all.

Thank you very much
[Android General] jacob019:
I did all of the testing on Ubuntu 14.04. What distro are you on? I haven't personally tried it with the Flex 2, but I wouldn't expect it to fail like that. Make sure that cdc_acm and qcserial modules are not loaded.
[Android General] Superfebs:
I am on 15.10. I also tried on CentOS 7, but on that I wasn't even able to get a ttyUSB device at all.

I just checked and nope, the modules you specified aren't loaded.

Thanks for your help,
[Android General] jacob019:
1. The first thing you do when you connect should be typing the command "ENTER". I just tried skipping that step and I get the same error as you.

2. There may be multiple ttyUSB devices. Make sure you are using the highest numbered one.

3. Finally, try changing line 89 to just "print output". If it works you'll see some garbage prepended to the output, but that won't hurt anything.
[Android General] :
does this root method work with LG G4 H818n? Also, I think i'll update it to Marshmallow and then might wanna root it.
[Android General] bender_007:
Stay with g4 thread area if you are into rooting:)

Read more about the rooting on g4. For now it'a the only one you can use
[Android General] overclockxp:
This thread got mentioned in an interesting presentation on secure storage on mobile devices:

https://www.blackhat.com/eu-15/brie...realities-of-secure-storage-on-mobile-devices
[Android General] boxes:
I ran into a problem on my lg risio - I ran the script and it executed without showing any extracting, see attached pic. Now my phone is bricked. Boots up and freezes at the cricket screen. This phone is running 5.1.1 build LMY47V

Just tried a factory reset and now it's stuck at the LG logo.

I followed these instructions and it fixed my phone and rooted it-

http://xdaforums.com/android/development/guide-how-to-root-lgls770-5-1-1-t3184649
[Android General] bestnugnification:
While I enter the last command while in download mode on LG Leon 4G, nothing happens... The hashtag reappears below the command and it's free to type as if it expects a new command... And the LGANDNETDIAG1 over at my side is at COM3, unlike at yours, but tried with COM4 as well and the same thing happens and the download mode on the phone does not move at all... It stays at 0%... Please help me....
[Android General] Texas_T-Bolt:
dose the one click root work for LG G4 Verizon?
[Android General] admee2k13:
What about lg g flex 2 ls996
[Android General] wfg97079:
Any hope for Transpyre phones running lollipop?
[Android General] nohbdyshero:
The LG_Root.zip linked here wants to install an amazing amount of malware can we get a different link?
[Android General] vijer:
Anyway you can link to the files without using Dev-Host? Dev-Host is trying to inject SPAM and MALWARE on my system. Any site that needs to install a DOWNLOADER just to send a file is bad news.
[Android General] Unjustified Dev:
Your clicking the wrong button.
[Android General] vijer:
CRAZY - When I use the link in Chrome it does all the following things (in Opera it actually gives me the correct file)

There is a grey Download button, it opens a window that downloads Archive.ace which contains LG Root.exe which when run wants to install a downloader and set your home page to something and add some other **** too.

There is a blue Download Now button it downloads the same file.

There are three other links

LG_Root.zip - [FAST Download] same file is downloaded

LG_Root.zip - [Full Download] same file is downloaded

LG_Root.zip - [Verified Download] same file is downloaded

---------- Post added at 05:08 AM ---------- Previous post was at 05:06 AM ----------

I had the same problem when I opened the link in Chrome, but when I opened the link in Opera it gave me only a simple zip file.

Try another browser, Chrome is becoming a bad browser.
[Android General] Unjustified Dev:
[MENTION=468468]vijer[/MENTION] please stop quoting the main post I'm trying to sleep . Have you tried enabling ptp? Have you checked device manager to ensure all drivers are correctly installed? There is also a one click package linked on the first page.
[Android General] vijer:
Sorry mate.

Apparently the driver was taking a looooong time to install in the background.

Also, seems SuperSU isn't ready for Android 6; I am stuck at the CM boot animation.
[Android General] Unjustified Dev:
Why would you try this method on Android M yet alone cm? Not to mean any harm, but if you have cm doesn't it already have root built in under developer options.
[Android General] vijer:
Well, long story, but ultimately I was hoping it would cure a problem. Also, I like the way it handles root access better.

I appreciate your feedback and assistance.
[Android General] carmalius:
I'm encountering the same issue with line 89 (

print output.split('\xba\xa7\xba\xbc')[1][:-1]

)

- i'm on Ubuntu 14.04

- tested on 2 different computers

- made sure that cdc_acm, qserial are unloaded

- made modprobe usbserial...

- left just print output (without splitting) on line 89

- used ENTER as a first command

Cannot use the tool. It returns just a strange symbols instead of real output.

Any chance to find the cause?
[Android General] csrow:
Is there a way to copy a file from top directory into /system directory when in 'send_command' prompt?

The permission seems to be okay for /system directory but I can not make any changes to that folder.

TIA
[Android General] endomatic:
[MENTION=4911249]Unjustified Dev[/MENTION] I want to root my wife's phone but it is on the latest T-Mobile lollipop build and I have failed at all attempts. My question is, if I go back to an earlier stock version (kit kat) and root it then will I be able to maintain root and update it to lollipop and then MM on a custom rom?

TIA