• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [GUIDE] how to root US LG G Stylo on 5.1.1 and unbrick :) updated on 9/2/2015

I'm trying this but I can't push the files to the tmp directory.

Push_File.exe \\.\COM5 lg_root.sh /sdcard/lg_root.sh
Author : blog.lvu.kr
File : lg_root.sh
Path : /sdcard/lg_root.sh

UNLK : FAIL
OPEN : FAIL
TOT FileSize : 9319

SendStart
WRTE : FAIL9319byte sent

This is what I get. I'm also having the issue where while in Download Mode, my device manager tells me that the MTP cannot start.
 
Upvote 0
I'm trying this but I can't push the files to the tmp directory.

Push_File.exe \\.\COM5 lg_root.sh /sdcard/lg_root.sh
Author : blog.lvu.kr
File : lg_root.sh
Path : /sdcard/lg_root.sh

UNLK : FAIL
OPEN : FAIL
TOT FileSize : 9319

SendStart
WRTE : FAIL9319byte sent

This is what I get. I'm also having the issue where while in Download Mode, my device manager tells me that the MTP cannot start.

.....mtp isn't supposed to work while in download mode...what gave you the idea that it would?and are you sure your using the correct com port?
 
Upvote 0
yes, the port is the right one. And it is kinda communicating because when I type LEAVE once in Send_command.exe the phone restarts.

When I get to the "ls tmp" part, I get nothing. When I type just "ls" I get a root of the memory that has a bunch of folders but there is no tmp to be found. That why I tried "sdcard" with the same result.
 
Upvote 0
yes, the port is the right one. And it is kinda communicating because when I type LEAVE once in Send_command.exe the phone restarts.

When I get to the "ls tmp" part, I get nothing. When I type just "ls" I get a root of the memory that has a bunch of folders but there is no tmp to be found. That why I tried "sdcard" with the same result.

Okay so your typing LS TMP lower case right?
 
Upvote 0
here is the full log from a oneclick root script. I also did it manually, step by step and it always hangs there.

---------------------------------
LG Root - One click script
Written by avicohh
---------------------------------

Please make sure that USB debugging is enabled, and LG drivers are installed.

Starting adb server..

Waiting for device..

Device detected!

Pushing files..
4215 KB/s (1048328 bytes in 0.242s)
2944 KB/s (9393 bytes in 0.003s)
6273 KB/s (4017098 bytes in 0.625s)

Rebooting..

Looking for LG serial port..

Phone found at COM5!

Rebooting into Download mode..

Waiting for device..

Phone found at COM5!

Rooting phone..

If you don't see the SuperSu installer script runs within about a minute,
then the root failed.

Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

##
 
Upvote 0
Attention if you try this and end up with a brick or your device transforms and tries to destroy you; it's not my fault you did this not me. So just read all of this thread not just the O.P to get out of a bind if you reply with "the thread is too long i wont read it please help" don't expect anything short of "there's a search bar use it"

Attention
if you bricked via trying to root with the 5.0.2 method on 5.1.1 then just run what is below and you will have a fully working and rooted Stylo ;)


Hello there I and Unjustified Dev have figured out how to root this puppy with the help of a video on YouTube so please read carefully and copy carefully please

Step 1 make sure you have a Windows PC
Step 2 download the LG Drivers from here: http://www.mylgphones.com/lg-android-usb-device-drivers
Step 3 reboot your device into download mode
Step 4 download this folder and unzip it to your desktop: https://www.androidfilehost.com/?fid=24052804347799389
Step 5 now run ports.bat from withing the extracted folder, to find your correct port (use the one with: LGVZANDNETDIAG1)
Step 6 in the LG_Root folder hold shift and right click and choose open command windows here
Step 7 run Push_File.exe \\.\COM11 busybox /tmp/busybox
^^^^^(place correct number after "COM" with no space)^^^^^^
it will then give you a message for example:

C:\Users\juan\Desktop\LG_Root>Push_File.exe \\.\COM11 busybox /tmp/busybox
Author : blog.lvu.kr
File : busybox
Path : /tmp/busybox

UNLK : FAIL
OPEN : OPEN
TOT FileSize : 1048328

SendStart
WRTE : WRTE1048328byte sent

CLSE: CLSE

Step 8 run Push_File.exe \\.\COM11 lg_root.sh /tmp/lg_root.sh (same deal as before)
Step 9 run Push_File.exe \\.\COM11 UPDATE-SuperSU-v2.46.zip /tmp/UPDATE-SuperSU-v2.46.zip
Step 10 run Send_Command.exe \\.\COM11
Step 11 type the following ls tmp which will result in:
#ls tmp
FAIL
#ls tmp
UPDATE-SuperSU-v2.46.zip
busybox
lg_root.sh
now Step 11 run sh /tmp/lg_root.sh dummy 1 /tmp/UPDATE-SuperSU-v2.46.zip /tmp/busybox

which should give you:
ui_print *****************
ui_print SuperSU installer
ui_print *****************
ui_print - Mounting /system, /data and rootfs
ui_print - Extracting files
Archive: /tmp/UPDATE-SuperSU-v2.46.zip
inflating: META-INF/MANIFEST.MF
inflating: META-INF/CERT.SF
inflating: META-INF/CERT.RSA
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: arm/chattr
inflating: arm/chattr.pie
inflating: arm/libsupol.so
inflating: arm/su
inflating: arm/supolicy
inflating: arm64/libsupol.so
inflating: arm64/su
inflating: arm64/supolicy
inflating: armv7/chattr.pie
inflating: armv7/libsupol.so
inflating: armv7/su
inflating: armv7/supolicy
inflating: common/99SuperSUDaemon
inflating: common/Superuser.apk
inflating: common/install-recovery.sh
inflating: mips/chattr.pie
inflating: mips/libsupol.so
inflating: mips/su
inflating: mips/supolicy
inflating: mips64/libsupol.so
inflating: mips64/su
inflating: mips64/supolicy
inflating: x64/libsupol.so
inflating: x64/su
inflating: x64/supolicy
inflating: x86/chattr
inflating: x86/chattr.pie
inflating: x86/libsupol.so
inflating: x86/su
inflating: x86/supolicy
ui_print - Disabling OTA survival
ui_print - Removing old files
ui_print - Placing files
ui_print - Post-installation script
ui_print - Unmounting /system and /data
ui_print - Done !

Step 12 type LEAVE and press enter and let your device reboot
Step 13 Don't brick your device now that you have root
:)
edit: works on all known US Variants don't know about the Canada or English ones....
Hi all I've had the stylo for a minute already and didn't have a PC, now I do but its on windows 8 which I don't like, will this,method work or run on 8 or does it matter?
do you have usb debugging checked in developer options? what happens when you have the phone booted up normally and you plug it into the pc, does it recognize it?

im not sure what you mean about MTP check i dont remember seeing anything about that

yes the drivers i am using is from above link and I am using the united install.

my problem is every-time i plug the phone to my laptop, windows 7 wants to re-install the drivers.

if i plug the phone after i have booted the phone regularly i get the pc reconizes the phone and i am able to read the phones data.
Driver_Pass.jpg
[/url][/IMG]

View attachment 92901

if i plug the phone in DL mode, the re-install fails
View attachment 92902
 
Upvote 0
I didn't know how to backup. I have root now. Will a backup of this help you out? If yes then just tell me how to do the backup and Ill get you the backup.
Unless I'm mistaken, you should just be able to install Flashify. Once inside the app, you will see options to make a backup of your Kernel and Recovery. Now, I'm hoping, all that need be done, if you to make that backup, then upload it someplace. Of course once you have it uploaded, your be able to share at will. Those of you with more experience, if this is wrong, please correct me. Until then, I think that's all you'd have to do :) and if it works, and you are able and willing to share that, gah, you'd be my hero, m8.
 
  • Like
Reactions: greasemonky
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones