yashsingh1/xdaforums huggingface dataset:
[Android General] JustAk:
I'm trying this on an arch based linux system right now, but I don't have /dev/ttyUSB. I only have ttyACM0. I'm very noobish with python so I have no idea how to modify your script to use this. Can you help me?

Output of the command:

[root@mobile-arch Newest root method V03]# python qcdlcomm.py
File "qcdlcomm.py", line 24
print "run as root"
^
SyntaxError: Missing parentheses in call to 'print'
[root@mobile-arch Newest root method V03]# ls -al /dev/tty{USB,ACM}*
ls: cannot access '/dev/ttyUSB*': No such file or directory
crw-rw----+ 1 root uucp 166, 0 May 20 00:59 /dev/ttyACM0
[root@mobile-arch Newest root method V03]# python qcdlcomm.py /dev/ttyACM0
File "qcdlcomm.py", line 43
Multiple tty devices may be loaded, try the highest numbered one first.'''
^
SyntaxError: Missing parentheses in call to 'print'

Many thanks
[Android General] jac10000:
See here, it can help you : http://forum.frandroid.com/topic/219747-tuto-root-du-lg-g3-depuis-un-syst%C3%A8me-linux/

I made this tuto to root the G3 with linux
[Android General] Honestly Annoying:
Any chance that this will work on the G5?
[Android General] steadfasterX:
Hi I'm using ARCH, too -> The error you see is because you will use python3 when calling "python" in arch and python3 is more restrictive then v2.

There are several print statements within the python script where the parentheses are missing and other things preventing it to run with python3

Then you need to adapt the script to match arch linux: Go to line 28 and replace "ttyUSB" with "ttyACM"

Before:

#validate port
if not 'ttyUSB in sys.argv[-1] or not os.path.exists(sys.argv[-1]):

After:

#validate port
if not 'ttyACM' in sys.argv[-1] or not os.path.exists(sys.argv[-1]):

Then install python 2.7 (well you should have it already) and make sure to run the command as

sudo python2.7 ./qcdlcomm.py /dev/ttyACM0

(you may also need to install

sudo pacman -S community/python2-pyserial

too)

By the way: I'm not able to root afterwards but I believe that is because my device comes with Android v6 installed.. Still looking for a solution how to root my device without replacing the whole system image..

-
[Android General] docoon:
stuck at last part

everything went smooth but then after i copy and paste the command (in download mode): Send_command.exe .... (etc) it says "Enter, Leave" (just like the Screenshot) but then i copy and paste the final command #sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip and nothing happens!

I tried, change the port, number 3 to number 4, and even tried write Enter

my cmd log

LG-H522f

whats wrong?
[Android General] M4dmann:
I have the exact problem as [MENTION=5983299]docoon[/MENTION], nothing happens after the last command, even if I change the port number.

LG - D337
[Android General] killswitx:
same thing here as [MENTION=5983299]docoon[/MENTION] and [MENTION=7515253]M4dmann[/MENTION] ... lg-h340n on 5.0.1
[Android General] twiler:
Is it supposed to stay at 0% in the firmware update screen indefinitely?
[Android General] brainvision:
to all the guys having the command not working on the command prompt, pretty sure you are doing the same error I did!

when you past the last commend please be sure to add a blank space before it starts, so it SHOULD NOT be something like that:

#sh etcetc

but IT SHOULD BE:

# sh etc etc

I hope it was not a coincidence, but if it was this is what I did, hope it could help:

first I run the command like that #sh etcetc and it did nothing. Then I pressed CTRL + C a few times, then again SendCommand.exe etcetc and finally the # sh etc command with a space.

That's all, the download mode of the phone always stays to 0% but when the Command Prompt finished to work you can reboot by long pressing Power button and once in rom again you should have SuperSu application in your launcher

see you guys! ;)
[Android General] ghnogueira:
Please, I need help. I tried both this method and the one-click method, but none worked.

In both cases everything theoretically goes out smoothly with no errors, but when I power it back up there's no Super SU app installed nor the root access is enabled.

I have a LG G3 (D855P) on stock 5.0 firmware.

Thanks!!!

C:\Users\Gabriel\Desktop\G3\LG One Click Root>adb.exe devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
LGD855e273d28 device

C:\Users\Gabriel\Desktop\G3\LG One Click Root>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
5481 KB/s (1048328 bytes in 0.186s)
3001 KB/s (9226 bytes in 0.003s)
6039 KB/s (4017098 bytes in 0.649s)

C:\Users\Gabriel\Desktop\G3\LG One Click Root>Send_Command.exe \\.\COM3
Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

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

- Mounting /system, /data and rootfs
- Extracting files
- Disabling OTA survival
- Removing old files
- Placing files
- Post-installation script
- Unmounting /system and /data
#
[Android General] jilalf:
download mode on LG G3 hangs

I did follow the steps exactly the way prescribed (each working as expected) until I reach step 7 where the firmware upgrade screen is shown. However the progressbar does not move a bit. Even waiting for 10 minutes does not yield a single % step. How long does this take ? (seconds? minutes?) And what are the assumptions ? Does this step require - for example - internet access to download something ?

And yes: I did switch off my virus-scanner. Just for the record I give you some more data about this environment:

- Win 8.1 with all fixes available

- USB 2.0 connection to the mobile

- I have administrative rights

- The mobile is a D855

- The OS is Android 5.0 with S/W version V21a-EUR-XX

Thanks for any insight and help, A. JILKA
[Android General] brainvision:
Did you read my last post here? It's just 2 posts above.. The progress into your device in Download Mode will not move at all. You just have to be sure that the output in Command Prompt act as stated in OP

Inviato dal mio A0001 utilizzando Tapatalk
[Android General] corwin.amber:
[MENTION=6093796]jacob019[/MENTION] This seems to also work on Mac if you only change some "if" conditions. For once, root does not seem to be needed on Mac. Also, serial ttys take the form /dev/tty.lgusbserial* (in my case the * is some number).
[Android General] vailixi:
I got stuck on part five of the instructions.

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

I'm not sure what push and busybox do.

Is adb.exe pretty much an MTP program for moving the files from Windows to the Android device? Can I just do all of this with GMTP from Linux or is there a little more to this?
[Android General] chimearajd5:
For the first time ever I got malware from a link in xda dev forums. These files are full of malicious viruses and nonmalware pup threats.
[Android General] PiggyFlooper:
What do you mean, from what thread, download?
[Android General] bernardblack76:
LG L90 D405N v10d

Works perfect on my soft
[Android General] duayres:
On the last step, no output is showed, the sh command don't execute.

Notes: LG D337 (L Prime/L Bello) - Stock rom.
[Android General] AlwaysOpening:
MALWARE

I also got malware from the LG Root link provided on page 1 of the thread. When I installed the EXE file, it instantly installed multiple malware programs, triggered popups in Firefox, and each program had uninstallers that try to trick you into installing *more* malware if you don't unclick boxes and press Decline properly. Now to wipe and reinstall Windows. Thanks OP.

---------- Post added at 06:04 PM ---------- Previous post was at 05:55 PM ----------

Oh okay, I see what happened. If you don't disable your ad blocker on the link's download page but clicked Download before it shunts you to the "Please turn off your ad blocker" window, it sends you a malware EXE instead of the proper ZIP file. Real classy. Thanks to that page's owners for hurting my computer because I clicked before their request could load.
[Android General] vailixi:
So the download page is actually a social engineering page. The point of rooting my tablet is install a clean image on it so it's not full of malware. Now I'm having second on doing anything with this.
[Android General] wizzardsk:
Any solution for LG K10 K430 Mediatek version?
[Android General] kahiakpo:
now is there a way to unlock the virgin mobile LG tribute ?
[Android General] spc_hicks09:
So I've done every command correctly and am at the "Send_Command.exe" part. The command prompt is not doing anything. It's just not doing anything at all. Any suggestions?
[Android General] AlwaysOpening:
Update to my post above:

There's a clean install for LG 90 D415 phones at this link, I just got it to root mine with no problems or malware, though you have to visit the actual LG site to get the right drivers:

http://xdaforums.com/lg-l90/general/root-lg-optimus-l90-44-2-5-0-2-android-t3110257
[Android General] Trypax:
I did everything the same like in the description

but at step 10 there is nothing with inflating in my cmd, only the ui_print things at the end

help would be nice !
[Android General] Kraven99:
LG G4 H810 Android 6.0 works with this method??

If not what method can be used to root G4 H810 fw version 6.0?
[Android General] kyedmipy:
WHat about Straight Talk's Stylo 2? I can't get into download mode or recovery mode. Even if I run command "adb reboot download" it just reboots the phone normally.

When I plug in the cable with the device powered off and hold up button it will update my apps like i cleared the dalvik cache (or ART w/e).

Do I need to look more into zeroing out the primary partition so it falls back on fastboot or....?

Thanks in advance.:eek:
[Android General] michalss:
pls help : this method gonna work on 815

v20d-EUR-XX ?
[Android General] uravian:
Not Working

I did every command and step correctly but after it finishes I dont have super user and Im not rooted, I have the LG G3 LGLS990 with android 5.0.1
[Android General] xanscorp:
That explains that

Well, that explains the #FAIL when this method (posted elsewhere) was attempted. Didn't brick, just didn't unlock bootloader. And I see my android version is in fact 5.1.1.

Any way to downgrade; if anyone has found that at all? I recall another LG device (I think the Volt, not Volt 2) where the firmware had to be downgraded to manage the root.
[Android General] c.cocan:
Will this root my lgls740 running 4.4.2
[Android General] PalmCentro:
Should work. You can use the LG one click root linked here in the second post.
[Android General] xantechie:
Does anyone have the LG Tribute 5 ls675 5.0.x firmware as a .dz file? Something that can be used in the LG UP program? My phone runs 5.1.1 currently, so this guide is of no help. I need to downgrade first, but I cannot find the 5.0.x firmware anywhere.
[Android General] Technical:
I can't go further than step 9.

I run ports.bat and got it at port 7

HKEY_LOCAL_MACHINE\hardware\devicemap\SERIALCOMM

\Device\LGANDNETMDM0 REG_SZ COM8

\Device\LGANDNETDIAG1 REG_SZ COM7

I can run Send_Command.exe \\.\COM7 and got the # prompt.

When I add the command bellow, it stays there forever...

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

What can I do to run the special command (step 10)? :crying:
[Android General] noty33:
yeah i also have a problem im getting into the right COM port and put the "sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox" command but it keeps saying "FAIL"

what can i do?

p.s i got lg g4 h815 6.0
[Android General] avare001:
every time I try to run the script it returns Fail, what AM I DOING WRONG
[Android General] xanscorp:
I don't think it works with the V5 firmware. I've been looking for the V3 in a .dz file format, but have not yet found it.
[Android General] sirrahx@gmail.com:
LG Premier LTE Tracfone.....I need this rooted!
[Android General] obscure_313:
Help - Failed :((

help me

why?

failed :((

View attachment 3843267

my mail: Akbari1504@gmail.com

lg h818p
[Android General] bender_007:
Lg g4? You need to seek for official method to unlock the bootloader(lg)? Then it's easy to root / install twrp. At least for h815 (not for h818.)

Poslano sa mog SM-G930F koristeći Tapatalk
[Android General] Yasser Da Silva:
I followed the instructions on my LG K8 (K350) android 6.0

but the last screen didn't show up like this

https://img.xda-cdn.com/rAGgJ-yyebQUwzJ7FbtqZPU60f8=/http://i.imgur.com/VVoIri8.png

after entering the last command nothing was loaded it just showed '#' again

(i used COM3 (DIAG1) and also tried on COM4 and nothing )
[Android General] verirrte:
Help rooting vk815. all things ive read say this method will work, but no luck. follow steps, everything shows good, says done but when reboot, no superuser and root check says no root

verizon lg g pad x8.3 vk815 android version 5.0.2 build lrx22g

shows software status modified but no root

thanks in advance
[Android General] oneappster:
LG Leon TV

It works on LG Leon TV (Android 5.0.1) and its variants? Currently it is kind of hard to root this device. :(
[Android General] ZemoDroid:
Does this method work with LG-K420n? (LG K10 LTE)
[Android General] sabinenishioka:
pls hepl lg g4 h818p

pls help me im stock in method 8.i coudnt connect to com port number..pls help

.(8.) Let's find which COM port our device is connected to.Double click ports.bat (This will give us the COM port in which our device is connected we are looking for the Diag port)

You may exit this command prompt when you have your COM port number, keep the other command prompt open
[Android General] AndroCrux:
f400l fail but done

Starting adb server...

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

* daemon started successfully *

Waiting for device...

Device detected!

Pushing files...

3199 KB/s (1048328 bytes in 0.320s)

9 KB/s (9226 bytes in 1.000s)

3482 KB/s (4017098 bytes in 1.126s)

Rebooting...

Looking for LG serial port...

Phone found at COM16!

Rebooting into Download mode...

Waiting for device...

Phone found at COM16!

Rooting phone...

Author : blog.lvu.kr

SPECIAL COMMAND : ENTER, LEAVE

#FAIL

#

Done!
[Android General] ZemoDroid:
What's your device model?
[Android General] AndroCrux:
I posted

Lg F400L I have posted in the title
[Android General] nyongrand:
Same with me, do you manage to get root somehow?
[Android General] diedmatrix:
Hi, can someone help?

http://xdaforums.com/g4/orig-develo...ts-soon-root-lg-t3164765/page312#post68544204
[Android General] Suiji:
rooting LG H950

Followed all the steps mentioned in the post but at the end when entering sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox nothing happens tried to do the whole thing again but didnt work,:(:(:(
[Android General] toxinburn:
howdy, well I noticed something when trying this script, with the newer lg devices that are on marshmallow for some reason I can push busy box to /data/local/tmp but I am not able to push the script to that directory i get permission denied when doing this manually....also I cannot execute the ls command from there. So is their a way this could be modified to run the script and and zip from an alternate directory and still achieve the same end result?

Also and I do not know if this could maybe help with another type of exploit on marshmallow devices but their is a hidden menu that is making dummy files in the cache, is their possibly a way to push a dummy file in there manually that would help with root? It makes 5x10mb dummy files in this menu. Which is reachable with *#*#7253#*#* then tap make dummy 500m in cache.....so clearly this particular app is allowed to write to cache.
[Android General] tuanhu:
Hi how can I manually put the phone in fastboot mode
[Android General] tuanhu:
Hi I have the G stylo 2 lg-k540. its brick and i cannot use adb please help
[Android General] Masterchief87:
Submerge phone in gasoline and microwave on high for 15 seconds. That should get the circuits warmed up and ready for unbrickification.

If that doesn't fix the issue you can try hitting it with a hammer. Sometime those circuits need a good bash to get them going.
[Android General] Masterchief87:
I'm sorry, I guess that was a bad joke.

To be honest I just wanted to see what your response would be.

Have you tried to find a kdz for your phone? If you can find the kdz file for your phone's firmware you should be able to fix it.
[Android General] tuanhu:
Thats the problem. There is no kdz file for this phone as yet.. its lgk540p i think, Been searching everywhere..
[Android General] KrIs86Bs:
Don't work from my LG ZERO (LG-H650E)

:( Don't work this root method from my LG ZERO (LG-H650E)...HELP ME!

My LG ZERO (LG-H650E) Android 6.0 Marshmallow
[Android General] calebauguess:
HELP!!

im stuck on the firmware update screen
[Android General] YeckeL:
I was doing this, Thank you!
[Android General] Linuxnizer:
LG G4 818, on Marshmallow 6.0

push command worked fine

C:\Users\admin\Desktop\LG G4>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
3463 KB/s (1048328 bytes in 0.295s)
1137 KB/s (9319 bytes in 0.007s)
3210 KB/s (4017098 bytes in 1.221s)

Ports says Diag on COM5

C:\Users\admin\Desktop\LG G4>ports

C:\Users\admin\Desktop\LG G4>reg query HKLM\hardware\devicemap\SERIALCOMM

HKEY_LOCAL_MACHINE\hardware\devicemap\SERIALCOMM
\Device\LGANDNETDIAG1 REG_SZ COM5
\Device\LGANDNETMDM0 REG_SZ COM6

Now, everything else fails!!

C:\Users\admin\Desktop\LG G4>Send_Command.exe \\.\COM5
Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

# sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox
FAIL
[Android General] PalmCentro:
You should be glad that it didn't brick your device, this is just for lollipop, to root MM you'll need a modified boot IMG.
[Android General] Beppemi:
I follow step by step your guide and it works really good (LG G2 D802)! Thanks so much dude :D
[Android General] Linuxnizer:
Wow! So is there root for H818 MM?
[Android General] Linuxnizer:
How do I get a modified boot IMG for H818P on MM?
[Android General] PalmCentro:
You'll need to downgrade to lollipop because you have a locked bootloader, and then use the low effort root to flash a rooted system IMG.
[Android General] Linuxnizer:
So....I did downgrade to LP, went through the steps all over again...Here is what I get with the last step:

Apparently it didn't go well, I feel there are few things not done right.

I verified this with Root Checker and it did confirm that I don't have root

What could be wrong?
[Android General] PalmCentro:
Use the low effort root method...
[Android General] Impact009:
I rooted my LS885 successfully, but when I tried to do a full unroot through SuperSu, it didn't work. The phone doesn't think I'm rooted, but I'm also failing SafetyNet. Factory reset doesn't do anything. What settings need to be changed in order to unroot?
[Android General] mohpower:
work fine for me

work fine for me lg d801 :)
[Android General] gilevan:
Hello

I tried the method above , but the process hangs on the step 7, Firmware Update screen.

I waited for over 10 minutes and nothing happened. Do I have to wait more timer or there is some extra procedure to do.

My phone is an LG Volt (Spirit) H422.

Thanks

Gil
[Android General] brainvision:
As stated in OP once you launched the last command in command prompt and the output there says DONE, YOU are actually done [emoji1] there no available output in the bootloader screen of your LG device, just because LG build it for update and restore, so don't worry about the bootloader but only about the command prompt..

Inviato dal mio LG-V400 utilizzando Tapatalk
[Android General] gilevan:
Hello brainvision

Thank you very much!
[Android General] Europeu46:
Fail in the final step

In the Final step when I type: sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox I get a FAIL return. Before the final step everything goes according to what is shown.

Thanks in advance.

I'm on a LG G4 H815P.
[Android General] PalmCentro:
This won't work on the G4.

Give a look at "low effort root" if you're still on lollipop.
[Android General] multi99:
Lg H340n

Hola, siguiendo tu tutorial, todo funciona bien hasta llegar al ultimo paso. ¿ Que puede ser?

In the Final step when I type: sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox I get a FAIL return. Before the final step everything goes according to what is shown.

Thanks in advance.
[Android General] themaskofwraith:
Hi Any chance that i can use send_command to change build.props in my LG G4. or put it in fastboot mode

Background story: I rooted my Lg G4, and changed model number in build.props. after updating super SU binary , my phone stuck on LG LOGO with blue light. its not able to boot. I cant use LG UP since model name is different in my build.props
[Android General] brainvision:
Did you try to manually download a kdz or tot (don't know exactly G 4) and force an emergency reset with LG Flash Tool?

Inviato dal mio LG-V400 utilizzando Tapatalk
[Android General] porrascarlos80:
Thank you!!!

great guide, the automated one was not working, I did follow this one, step by step and my phone now is rooted.

next step get hotspot enabled.
[Android General] cer0n:
Thank you. It worked on LG Spirit (h420f)
[Android General] Chekm8Qc:
Anyone tried this with the LG K4 ?
[Android General] PalmCentro:
Your device was shipped with 5.1.1....
[Android General] Chekm8Qc:
Oops my bad I went the lazy way , I hope there will be a solution for this soon:)
[Android General] PalmCentro:
People claim that KingRoot worked for them.

You can also try this method which worked for me on a lot devices running 5.1.1
[Android General] Chekm8Qc:
Thanks I'll give it a try !
[Android General] videokid14:
KingRoot didn't work for me so i tried this method.

***HOWEVER***

This should be stated above BEFORE someone tries the rooting process. i was on 5.1.1 and didn't know it was for 5.0.2 until i tried the above rooting method and bricked my phone and started reading posts for answers. i got this warning on the 3rd post after attempting the root process in the 1st post. got it fixed tho. just asking to update the OP with the warning for future rooters that didn't know like myself. Ok, since now I'm rooted, any good ROMS or recoveries?? :)
[Android General] jmo707:
I've tried the latest versions (both via PC and apk) of KingRoot, KingoRoot, and RootGenius, to no avail. I've an LG K5 with Android 5.1.1 too.

I've never been with a non-rooted phone for so long. It's like a drug withdrawal syndrome =P
[Android General] Chekm8Qc:
Yeah I know the feeling lol. I really tried everything too. Once in download mode it seems as if my phone disconnects which prevents me from completing any commands..
[Android General] 13MaxxFill:
Step 1.... @ times!

:) :) :) :confused: :confused::(

Your instructions are good, also vague in the right spots 4 me.

:fingers-crossed: :fingers-crossed:

Could ya give a fella a moment of you time.

Just a little 1 on 1.

I have ?????'s

:good::good::good::good::good:

Love your work otherwise
[Android General] Katutedoki786:
sh command not found

Hi! Great article thank you for the help :D

sh command not found in cmd. not sure what's wrong, thanks :)
[Android General] Meagan..:
When I right click the folder it doesn't give me the "open command prompt here" option

---------- Post added at 11:06 PM ---------- Previous post was at 10:49 PM ----------

I have my phone plugged edit corecctly but the command prompt doesn't recognize my phone
[Android General] galaxyfiveoo:
why when i do step ten i run the command and it says fail?