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

Root Help Rooting LG Stylo 2

1 - Extract and copy the MAINROOT folder from the MAINROOT.zip to your desktop.
2 - Open Powershell or Command Prompt as administrator and change directory (cd)
to the MAINROOT folder.
EX: cd C:\Users\Owner\Desktop\MAINROOT (Instead of Owner it'd be your username)
3 - Type in step1.bat in command prompt or ./step1.bat in powershell and hit enter.
4 - You should now be in an adb shell prompt, type in run-as con and hit enter.
5 - You now have shell access and you can tweak the android system with these permissions but
tweaking the barebones of the linux kernel will be impossible without a full root. Selinux is the culprit.
6 - You can use the package manager (pm) to block apps and settings command (settings) in
this adb shell prompt to tweak the workings of android or use the activity manager to access
the hidden sprint and lg menus to change APNs and tweak CDMA radio control.
7 - In the adb shell prompt type in pm list packages and hit enter.
8 - From the list of packages find one that has system activities we'd be looking to access and
tweak such as com.lge.hiddenmenu.
9 - Type in dumpsys package com.lge.hiddenmenu and hit enter and in the list you will see activities which can be started, such as com.lge.hiddenmenu/.Power.TherDaeMitigation.
10 - Type in am start -n com.lge.hiddenmenu/.Power.TherDaeMitigation to start the activity.
11 - You'll want to disable thermal mitigation to boost the raw performance of the phone.
12 - Repeat steps 7 -10 to access any activity you find interesting and wish to tweak.
13 - Hint : am start -n com.lge.SprintHiddenMenu/.iot.IotHiddenMenuMain is a good one many people were hoping to access.
 

Attachments

Last edited:
1 - Extract and copy the MAINROOT folder from the MAINROOT.zip to your desktop.
2 - Open Powershell or Command Prompt as administrator and change directory (cd)
to the MAINROOT folder.
EX: cd C:\Users\Owner\Desktop\MAINROOT (Instead of Owner it'd be your username)
3 - Type in step1.bat in command prompt or ./step1.bat in powershell and hit enter.
4 - You should now be in an adb shell prompt, type in run-as con and hit enter.
5 - You now have shell access and you can tweak the android system with these permissions but
tweaking the barebones of the linux kernel will be impossible without a full root. Selinux is the culprit.
6 - You can use the package manager (pm) to block apps and settings command (settings) in
this adb shell prompt to tweak the workings of android or use the activity manager to access
the hidden sprint and lg menus to change APNs and tweak CDMA radio control.
7 - In the adb shell prompt type in pm list packages and hit enter.
8 - From the list of packages find one that has system activities we'd be looking to access nad
tweak such as com.lge.hiddenmenu.
9 - Type in dumpsys package com.lge.hiddenmenu and hit enter and in the list you will activities which can be started, such as com.lge.hiddenmenu/.Power.TherDaeMitigation.
10 - Type in am start -n com.lge.hiddenmenu/.Power.TherDaeMitigation to start the activity.
11 - You'll want to disable thermal mitigation to boost the raw performance of the phone.
12 - Repeat steps 7 -10 to access any activity you find interesting and wish to tweak.
13 - Hint : am start -n com.lge.SprintHiddenMenu/.iot.IotHiddenMenuMain is a good one many people were hoping to access.
Omg. I think I just got a woody!
 
Screenshot_2016-11-08-10-05-40.png
 
So how do I get root?
Did the steps work for you? Hook up the phone to a usb port on your pc.

Install LG drivers from:
http://lgusbdriver.com/windows/lg-usb-driver-v4-1-1-0

Install minimal adb and fastboot:
https://www.androidfilehost.com/?fid=385035244224386526

Copy the four files adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll, fastboot.exe from:
C:\Program Files (x86)\Minimal ADB and Fastboot OR
C:\Program Files\Minimal ADB and Fastboot TO
C:\Windows\System32 and C:\Windows\SysWOW64

Then run everything as I said in my first post.
 
Last edited:
Haven't tried yet, just walked in the bar, but you making me wanna go home. Be back soon. Will be watching progress. Hit my man, roadkill, he needs to see dis!
 
This is not a full root it's just shell access to the android system components. We can not tweak the linux kernel or mess with any partitions yet but there's plenty we can do as I described in my post.
Have u tried to use flash fire to flash the twrp after doing these commands or use kingroot
 
This is not a full root it's just shell access to the android system components. We can not tweak the linux kernel or mess with any partitions yet but there's plenty we can do as I described in my post.
Got the # but still could not get root so can put twrp on:(
 
Back
Top Bottom