[LG V20 Guides, News, & Discussion] sunnyeveryday:
Trying to get off Google totally. Decided to use LineageOS.

Lineage0s-V20-vs995

Phone.

Model = VS995/V20 (VZW)

Android version 7.0

Build = NRD90M

SOFTWARE VERSION = VS9951BA

Following lineageOS here.

Downloads - Devices - LG - V20 (VZW) - Installation instructions.

1. Make sure your computer has working adb and fastboot. Setup instructions can be found here.

I can test successfully adb devices.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices

List of devices attached

VS995c2add6f3 device

There is no fastboot at the volume down-power boot. All I see is :-

Continue power up

Safe mode

USB debugging mode

Factory data reset

Wipe cache

Power down-power

So I move on to Unlocking the boot loader. Unlock your bootloader by following this guide

[LS997|VS995|H910|F800L] DirtySanta Bootloader unlock and Root guide

After double clicking step1.bat,

C:\Users\carol\Desktop\platform-tools>adb push dirtysanta /storage/emulated/0

dirtysanta: 1 file pushed. 1.1 MB/s (18760 bytes in 0.016s)

C:\Users\carol\Desktop\platform-tools>adb push aboot.img /storage/emulated/0

aboot.img: 1 file pushed. 9.2 MB/s (2097152 bytes in 0.218s)

C:\Users\carol\Desktop\platform-tools>adb push dirtycow /data/local/tmp

dirtycow: 1 file pushed.

C:\Users\carol\Desktop\platform-tools>adb push my-run-as /data/local/tmp

my-run-as: 1 file pushed.

C:\Users\carol\Desktop\platform-tools>adb shell chmod 0777 /data/local/tmp/*

C:\Users\carol\Desktop\platform-tools>adb shell /data/local/tmp/dirtycow /system

/bin/run-as /data/local/tmp/my-run-as

warning: new file size (13796) and file old size (14360) differ

size 14360

[*] mmap 0x7dc01db000

[*] exploit (patch)

[*] currently 0x7dc01db000=10102464c457f

[*] madvise = 0x7dc01db000 14360

[*] madvise = 0 1048576

[*] /proc/self/mem -2122317824 1048576

[*] exploited 0x7dc01db000=10101464c457f

C:\Users\carol\Desktop\platform-tools>adb shell /data/local/tmp/dirtycow /system

/bin/applypatch /data/local/tmp/dirtycow

warning: new file size (9984) and file old size (165144) differ

size 165144

[*] mmap 0x7bb9c56000

[*] exploit (patch)

[*] currently 0x7bb9c56000=10102464c457f

[*] madvise = 0x7bb9c56000 165144

[*] madvise = 0 1048576

[*] /proc/self/mem 1367343104 1048576

[*] exploited 0x7bb9c56000=10102464c457f

I never saw any Permission denied error on 2 files: Flatland and Flatland64 errors.

elsa:/ $ run-as con

777 /storage/emulated/0/*run-as: Package 'con' is unknown

254|elsa:/ $ chmod 0777 /storage/emulated/0/*

chmod: chmod '/storage/emulated/0/Alarms' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/Android' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/DCIM' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/Download' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/LGBackup' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/Movies' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/Music' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/Notifications' to 40777: Operation not permitt

ed

chmod: chmod '/storage/emulated/0/Pictures' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/Podcasts' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/Quickset Setup' to 40777: Operation not permit

ted

chmod: chmod '/storage/emulated/0/Ringtones' to 40777: Operation not permitted

chmod: chmod '/storage/emulated/0/aboot.img' to 100777: Operation not permitted

chmod: chmod '/storage/emulated/0/dirtysanta' to 100777: Operation not permitted

1|elsa:/ $

and after the terminal emulator id command, I see untrusted.

Trying the applypatch attempt, it responds with an options incorrect statement.

Can anyone suggest how to past past these errors.

Thanks