[LG G8 ROMs, Kernels, Recoveries, & Other Developme] crazynapkinman:
PS C:\Users\Matt Hinkle\Desktop\adb binaries> cmd

Microsoft Windows [Version 10.0.19041.264]

(c) 2020 Microsoft Corporation. All rights reserved.

C:\Users\Matt Hinkle\Desktop\adb binaries>adb devices

List of devices attached

LMG820UMcd000429 device

C:\Users\Matt Hinkle\Desktop\adb binaries>adb shell

alphalm:/ $ cd data/local/tmp

alphalm:/data/local/tmp $ chmod r77 ./v50g8-root

chmod: bad mode 'r77'

1|alphalm:/data/local/tmp $ chmod 755 ./v50g8-root

alphalm:/data/local/tmp $ ./v50g8-root -t 4

[+] factoryversion = 'LMG820AT-00-V20e-LAO-COM-FEB-05-2020-ARB00+0'

[+] forced use of 'LMG820AT-00-V20b-LAO-COM-FEB-12-2020-ARB00+2' target

[+] Mapped 200000

[+] selinux_enforcing before exploit: 1

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

sched_setafinnity(): Invalid argument

[+] pipe file: 0xffffffe78e7f9700

[*] file epitem at ffffffe7693ca800

[*] Reallocating content of 'write8_inode' with controlled data........[DONE]

[+] Overwriting 0xffffffe78e7f9720 with 0xffffffe7693ca850...[DONE]

[*] Write done, should have arbitrary read now.

[+] file operations: ffffff9698421050

[+] kernel base: ffffff9696e80000

[*] init_cred: ffffff969922e588

[+] memstart_addr: 0xffffffd940000000

[+] First level entry: 14d681003 -> next table at ffffffe80d681000

[+] Second level entry: 1094dd003 -> next table at ffffffe7c94dd000

[+] sysctl_table_root = ffffff969925b098

[*] Reallocating content of 'write8_sysctl' with controlled data..[DONE]

[+] Overwriting 0xffffffe8b534b068 with 0xffffffe7d9b4d000...[DONE]

[+] Injected sysctl node!

[*] Reallocating content of 'write8_selinux' with controlled data.[DONE]

[+] Overwriting 0xffffff96999ceffc with 0x0...[DONE]

[*] Node write8_inode, pid 19750, kaddr ffffffe813909480

[*] Replaced sendmmsg dangling reference

[*] Replaced sendmmsg dangling reference

[*] Node write8_selinux, pid 19833, kaddr ffffffe7f55a9c00

[*] Replaced sendmmsg dangling reference

[*] Replaced sendmmsg dangling reference

[*] Node write8_sysctl, pid 19783, kaddr ffffffe78bac7c80

[*] Replaced sendmmsg dangling reference

[*] Replaced sendmmsg dangling reference

[+] Cleaned up sendmsg threads

[*] epitem.next = ffffffe78e7f9720

[*] epitem.prev = ffffffe78e7f97d0

[*] Launching privileged shell

root_by_cve-2020-0041:/data/local/tmp #

That's what I got on my Sprint G8 February Security patch suing "-t 4". First try.

TEMP ROOOOOT!