• 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

Was it the zv4 that was posted? Did any body ever get any ware with the dirty cow exploit?

No, I was on ZV4 out of the box (pretty sure), so it was ZV5....
that xploit was obviously patched already on this device, but I'm doing a final load on my Lenovo tablet (rooted+custome recovery...), which is where I stay when online, F**K LG, F**K this phone..............
will never purchase anything from LG a-g-a-i-n!
By the way, I'm still banned from LG's website! Ever since getting customer support in a conversation and stating they were breaking the "open" part of the FCC ruling where devices had to be unlockable so as to choose a carrier (instead of being locked into where you bought phone), and their locking of the bootloaders and such violates this.......... my (static) IP has been banned, go figure!
Later......
 
  • Like
Reactions: roadkill42
Upvote 0
I got the 7.0 update too. I just bought the phone today. Boost Mobile here.


Screenshot_2017-02-24-15-42-33.png
 
Upvote 0
To change the APN on your Boost Mobile LG Stylo 2 LS775, first make sure you have all
drivers and binaries to communicate with the device properly installed.

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

Open the settings app (gray gear with background icon) in the home launcher.
Tap general then scroll to about phone and tap it.
Tap on software info, then tap the build number section 7 times.
Tap the back arrow two times then tap developer options.
Scroll down to USB debugging and tap it so it says on.

Download the file MAINROOT.zip: https://www.sendspace.com/file/qxf0m0

Extract and copy the MAINROOT folder from the MAINROOT.zip to your desktop.
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)
Type in step1.bat in command prompt or ./step1.bat in powershell and hit enter.
You should now be in an adb shell prompt, type in run-as con and hit enter.
You now have shell system 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.

Enter below command in the adb shell prompt:
am start -n com.lge.SprintHiddenMenu/.iot.IotHiddenMenuMain

Tap LTE setting then tap APN setting.
Tap the APN you wish to change then you will be presented with settings you can tap to change.
After you've made your changes, tap the three dot menu button at the top right corner and tap save.
You can also tap the three dot menu button in the top right corner at the APN list to create a new APN
or reset APNs to default.

run-as con does not work on ZV9 ffs :/

C:\Users\wew\Desktop\MAINROOT>step1

C:\Users\wew\Desktop\MAINROOT>adb push dirtycow /data/local/tmp
[100%] /data/local/tmp/dirtycow

C:\Users\wew\Desktop\MAINROOT>adb push my-run-as /data/local/tmp
[100%] /data/local/tmp/my-run-as

C:\Users\wew\Desktop\MAINROOT>adb shell chmod 0777 /data/local/tmp/*

C:\Users\wew\Desktop\MAINROOT>adb shell /data/local/tmp/dirtycow /system/bin/run-as /data/local/tmp/my-run-as
cowing. Start: 0, size: 13796

C:\Users\wew\Desktop\MAINROOT>adb shell /data/local/tmp/dirtycow /system/bin/applypatch /data/local/tmp/dirtycow
cowing. Start: 0, size: 13784

C:\Users\wew\Desktop\MAINROOT>adb shell
ph1:/ $ run-as con
run-as: Package 'con' is unknown
 
Last edited:
  • Like
Reactions: Brazen_
Upvote 0
run-as con does not work on ZV9 ffs :/

C:\Users\wadew\Desktop\MAINROOT>step1

C:\Users\wew\Desktop\MAINROOT>adb push dirtycow /data/local/tmp
[100%] /data/local/tmp/dirtycow

C:\Users\wew\Desktop\MAINROOT>adb push my-run-as /data/local/tmp
[100%] /data/local/tmp/my-run-as

C:\Users\wew\Desktop\MAINROOT>adb shell chmod 0777 /data/local/tmp/*

C:\Users\wew\Desktop\MAINROOT>adb shell /data/local/tmp/dirtycow /system/bin/run-as /data/local/tmp/my-run-as
cowing. Start: 0, size: 13796

C:\Users\wew\Desktop\MAINROOT>adb shell /data/local/tmp/dirtycow /system/bin/applypatch /data/local/tmp/dirtycow
cowing. Start: 0, size: 13784

C:\Users\wew\Desktop\MAINROOT>adb shell
ph1:/ $ run-as con
run-as: Package 'con' is unknown

The dirtycow method has sadly been patched out by the vendor pushing out this update with the recent android security patch level implemented. Another exploit in the wild would be required to achieve getting the correct permissions again for our purposes.
 
  • Like
Reactions: Brazen_
Upvote 0
I cant it wants to charge me. I just found the korean stylo 2 kdz has all the same specs downloading now

So you never got the phone to cooperate with dirty cow with zv3 or 4? I finally activated my new phone which came with MM zv6 dated 10-01-2016 and set my APN for the WiFi hotspot to work w/o root. And I too have the $60.00/month unlimited, no-throttle plan, which would bark at me w/o this mod. (tried sending me to Boost for $$$) Which is bullsh!t BTW... they are throttling me... I can tell! Typical! ;)
 
  • Like
Reactions: roadkill42
Upvote 0
I found an way i think getting root by downgrading to another device kdz has the same specs as ours in every way using a diferent flash tool for lg i keep u posted if this works then we can get costom roms this will only work for people with pc though for now too get root im hoping
 
Last edited:
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