[LG V20 Questions & Answers] dorlow:
I am attempting to follow instructions on page...

https://xdaforums.com/v20/development/ls997vs995h910-dirtysanta-bootloader-t3519410

I am using a Linux host to do this.

If I type adb devices, it returns the device ID so my computer sees the phone.

I then type in one console

david@desktop-pc ~/Downloads/platform-tools - becca $ bash ./RUNMEFIRST.sh

I then open another terminal and type...

bash ./step1.sh

I get this return..

david@desktop-pc ~/Downloads/platform-tools - becca $ bash ./step1.sh
dirtysanta: 1 file pushed. 0.6 MB/s (18760 bytes in 0.030s)
aboot.img: 1 file pushed. 9.4 MB/s (2097152 bytes in 0.213s)
dirtycow: 1 file pushed. 0.6 MB/s (9984 bytes in 0.016s)
my-run-as: 1 file pushed. 1.0 MB/s (13796 bytes in 0.013s)
warning: new file size (13796) and file old size (14360) differ

size 14360

[*] mmap 0x7bd7874000
[*] exploit (patch)
[*] currently 0x7bd7874000=10102464c457f
[*] madvise = 0x7bd7874000 14360
[*] madvise = 0 1048576
[*] /proc/self/mem -2122317824 1048576
[*] exploited 0x7bd7874000=10101464c457f
warning: new file size (9984) and file old size (165144) differ

size 165144

[*] mmap 0x7d83a80000
[*] exploit (patch)
[*] currently 0x7d83a80000=10102464c457f
[*] madvise = 0x7d83a80000 165144
[*] madvise = 0 1048576
[*] /proc/self/mem 1367343104 1048576
[*] exploited 0x7d83a80000=10102464c457f
elsa:/ $

I don't ever receive the error it warns me about... Don't know if that's good or bad.

Then I complete the next steps...

elsa:/ $ run-as con
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 permitted
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 permitted
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:/ $

Right here is where it seems to be going completely wrong. I am not sure how to verify con is a user on the system. I do know unix but there is no /etc/passwd file where I would normally verify a user exists.

If I open the emulator app on the phone, I do get the untrusted error like I'm supposed to.

I get a usage error. I type in

applypatch /system/bin/atd /storage/emulated/0/dirtysanta

I receive the error

usage: appypatch [-b <bonus file>] <src-file> <tgt-file>... (I don't feel like typing the rest. but basically stating I typed it in wrong.)

The step1.sh window never tells me to run step 2. So, I know it's not working right. Any ideas what I'm doing wrong?