FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

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

1,594 posts
Thanks Meter: 2,771
 
By me2151, XDA Ad-Free Senior Member on 14th December 2016, 11:44 PM
Post Reply Email Thread

This method will, when completed, will provide you with root and an unlocked bootloader, with fastboot available. It is a somewhat involved process, but the majority of the process has been simplified as much as possible.

WARNING!!!!This replaces your current bootloader with a debug bootloader. If you attempt to lock this bootloader you may brick your device.
Currently AT&T(H910) and Sprint(LS997) cannot return to stock because no KDZ files are available.

Disclaimer:
Once your phone is unlocked, it will no longer be covered by LG warranty @me2151.
As we cannot guarantee the proper operation of our hardware with custom software, we are not able to maintain the full scope of warranty for your device after you have unlocked the bootloader.
Because of that we have a responsibility to let you know that defects which may result from, or were caused by custom device-software may not be covered by LG warranty @me2151.

LG @me2151 can no longer guarantee the full functionality of your device after you unlock the bootloader. Unlocking your device may cause unexpected side effects that may include but are not limited to the following:
***Your device may stop working.
***Certain features and functionalities may be disabled.*
***Your device may become unsafe to the point of causing you harm.
***Your device becomes physically damaged due to overheating.
***The behavior of your device may be altered.
***Some content on your device may no longer be accessible or playable due to invalid DRM keys.*
***All your user data, settings, and accounts may disappear. (Therefore, we recommend that*you*backup all your data).
** -*Software updates delivered via LG FOTA (Firmware Over the Air) or Web Download services may not work on your device anymore.
LG @me2151 will not be responsible for the damages caused by any*custom software being flashed to your phone.

Known Issues:
AM&FM Radio no longer works
Boot time higher
No way to revert to stock(LS997/H910)
Possible overdose of root awesomeness!
Maybe more. Let us know!

Links:
- v20-root.zip
- TWRP
- Terminal Emulator
- Newest SuperSU(SuperSU v2.78 SR5 or greater is needed)
-Stock LS997 rom. for Sprint users only. (Fix's numerous problems)



Pre-requisites:
- ADB and fastboot setup and Installed
- Terminal Emulator installed onto the phone.
- The above links downloaded and SuperSU placed on the SD Card.

Working Devices:
- Verizon (VS995)
- Sprint (LS997)
- ATT (H910)
- Korean(F800L)
Note: International Variants (E.g.H990DS) May get supported in the future, but are currently being worked on at the moment. If you attempt to use this method on Unsupported Devices(any V20 not listed in working devices) then you are in uncharted territory. It will almost definitely brick your device. YOU HAVE BEEN WARNED!!!!

This will tutorial will be broken up into 2 sections, during the second section the instructions will differ depending on the variant of the phone you are using.


- Unlocking the Bootloader:

1) Copy all the files from inside the "Required Files" (Inside the unzipped "v20-root" folder) and paste it into your active ADB directory. Then copy and paste twrp-3.0.2-1-us996.img to your active ADB directory.

2) If you currently don't have Terminal Emulator then go and download and install now.

3) Plug your device into the computer and verify ADB is working. Then;

On Windows, double-click "RUNMEFIRST.bat, DO NOT CLOSE THE LOG WINDOW THAT OPENS, then double-click "Step1.bat"

On Linux/MacOS ("#" Signifies a comment below)
Code:
./RUNMEFIRST.sh
# OR
bash ./RUNMEFIRST.sh
Open a Separate Terminal next to the RUNMEFIRST terminal, then type:
Code:
./Step1.sh
# OR
bash ./Step1.sh
When you run The sh or Bat files there will be a Permission denied error on 2 files: Flatland and Flatland64. This is normal and nothing to worry about.
3.5) Wait for a shell prompt, then type (or copy):
Code:
run-as con
chmod 0777 /storage/emulated/0/*
4) Open Up Terminal Emulator
Type:
Code:
id
Check if context is "Untrusted_app"

If "Untrusted_app" is displayed, Continue:
Type into Terminal Emulator:
Code:
applypatch /system/bin/atd /storage/emulated/0/dirtysanta
If it doesn't show up as "Untrusted_app", repeat the above steps from Number 1

5) Watch the RUNMEFIRST dialog for when it tells you to run Step2. Then;

On Windows, double-click "Step2.bat"

On Linux/MacOS, type:
Code:
./Step2.sh
# OR
Bash ./Step2.sh
Once step 2 is completed, you'll be in bootloader, procced to "Flashing TWRP" section to continue.

Note/Warning: Verizon Users Vibrator will be constantly going off, until the whole process is complete (Past Android Setup Wizard).


- Flashing TWRP and Fixing Varient Issues:
1) Run Step3, so TWRP can be flashed and a working boot.img flashed (Fix's screen problem) by;

On Windows, double-click "Step3.bat"

On Linux/MacOS, type:
Code:
./Step3.sh
# OR
Bash ./Step3.sh
******Sidenote******
If you get message saying <waiting for device> on Step3.bat then you do not have the fastboot drivers installed(you may have the program but not the drivers).
To fix: Go to your device manager while the device is connected in fasboot and right click the item that says Android and select update drivers. Then select from internet. and let it install the drivers then try step3.bat again.
*************
2) After you're rebooted, and back at the main lockscreen, type;
Code:
adb reboot recovery
Your device will reboot to an LG screen. Keep checking adb devices for your device.
Then type:
Code:
adb reboot recovery
***********
Device should display a red triangle and say corrupt, then it will boot into TWRP.

3)Once in TWRP, Press Cancel on the password prompt and then swipe to allow system modifications.
Note:If you wish to make a back up now, you MUST save it to your SD card, and you cannot backup the data partition.
After the backup is complete, return to the main menu and hit wipe then select ?Format Data?, and follow the instructions there.

4) Steps below will differ, depending on what model you have, choose the correct model and follow its method.

- Verizon(VS995) and ATT(H910):
4.1) Flash SuperSU.zip
4.2) Go back to Main-menu > Wipe > [Format Data] > Type ?Yes?
4.3) Go back to Wipe > Advanced > Check Dalvik, Data and Cache > Slide to wipe
4.4) Go back to Main-menu > Reboot > System

- Sprint(LS997):
4.1) Go to Wipe > Advanced > Check Dalvik, System, Data and Cache > Slide to wipe
4.2) Go back to Wipe > [Format Data] > Type ?Yes?
4.3) Go back to Main menu > Install > LS997 Stock Rom then Flash SuperSU.zip
4.4) Go back to Main-menu > Reboot > System(you will get static on boot. this is normal)
4.5) Sprint users are Done at this point. You do not need anything else. Everything will work except static on boot.
Note:Any following Instructions are for all devices again.

5) During reboot you will get a Red Triangle with a "!" inside, this is normal (First boot after flashing SuperSu will show the Red triangle twice.Wait for system to boot (this will take awhile). It may appear like the system has frozen but it has not. JUST WAIT!
*****VERIZON USERS******
It has come to my attention that some users have encountered abnormally long first boot time(over 20 minutes before first time setup)
To resolve this issue:
Boot into bootloader by pulling the battery and reinserting it and holding VOL- and phugging in the phone. then typing:
Code:
fastboot flash boot bootbackup.img
fastboot reboot
**************
*****ALL USERS*****
If you encounter a "Secure Boot" Password then booting the first time you did not Format data properly.
To reiterate: To properly decrypt the device you need to boot into TWRP and go to WIPE->FORMAT DATA and you will be prompted to type "yes" to format and decrypt.
**************
Once you are booted and have proceeded through the setup wizard, re-enable Android Debugging (ADB) if not already enabled.
Type:
Code:
adb reboot bootloader
6) Once inside bootloader, Type:
Code:
fastboot flash boot bootbackup.img
When it says finished, Type:
Code:
fastboot reboot
The device will boot back into system.

WARNING:This is a required step for non sprint users, it prevents background crashes and fix's battery drain. If you do NOT follow this then the device will have bad battery life, be laggy and crashes will occur regularly.

7) Once full booted back into android, Type;
Code:
adb reboot recovery
8) Once TWRP loads, Then;
- Flash SuperSU.zip
- Go back to Wipe > Advanced > Check Dalvik and Cache > Slide to wipe
- Go back to Main-menu > Reboot > System

You now should have a rooted LG v20, download your favorite root checker app and verify root.
Note:For a root app to work, it will have to support Systemless root.


Contributers/Developers:
@me2151(General)
@glitschi667(General)
@EMSpilot(Debug device) #3
@elliwigy(Ideas and testing) #5
@Matt07211(Formatting this awesome guide and helping out with general stuffs)#4
@1619415(Awesome Santa Pic at the top!)#8
The Following 148 Users Say Thank You to me2151 For This Useful Post: [ View ] Gift me2151 Ad-Free
 
 
14th December 2016, 11:45 PM |#2  
OP Senior Member
Flag Jacksonville, FL
Thanks Meter: 2,771
 
Donate to Me
More
Alright guys. Its time for some fixes!!!
For our known issues:
Comfort view, youtube, boot time and possibly radio.
All fixed by flashing the AT&T H918 Konverged Kernel.

Keep in mind this is a temporary fix until I get a full custom kernel made for our devices(or at least a way to make the screen work out of box that we can use on other kernel sources).

To use this kernel on our phones you need to download the zip, Place on sd card, reboot to twrp, install the zip, wipe dalvik/cache then reboot.
You WILL GET STATIC ON EVERY REBOOT!
After the phone is booted put the screen to sleep by pressing the power button and cover your proximity sensor(so your 2nd screen turns off) then turn your screen back on. Your screen will work until reboot. If you reboot you will have the static again. Just follow the steps I just listed above to get the screen working again.
--------
Other Updates.
I believe I have finally found a way to revert sprint devices sprint devices to unrooted stock. I will be testing the method on my phone in the next couple days.

WooHoo!!!! I bricked attempting to revert!

So heres an update for you guys. Reverting has been confirmed possible using KDZ files for your specific models. Confirmed working for KDZs are H915, VS995 and some others. I do Have a new v20. I am going to pull the stock sprint files tomorrow and see what I can do about making that work.
The Following 57 Users Say Thank You to me2151 For This Useful Post: [ View ] Gift me2151 Ad-Free
14th December 2016, 11:45 PM |#3  
EMSpilot's Avatar
Recognized Themer
Flag Havasu
Thanks Meter: 2,029
 
Donate to Me
More
Nicely done Guys.

@me2151(General)
@glitschi667(General)
@elliwigy(Ideas and testing)
@Matt07211(Formatting this awesome guide and helping out with general stuffs)
@1619415(Awesome Santa Pic at the top!)

I am extremely happy that the V20 User Debug I invested in worked out!

Enjoy everyone!!

Cheers
The Following 36 Users Say Thank You to EMSpilot For This Useful Post: [ View ] Gift EMSpilot Ad-Free
14th December 2016, 11:45 PM |#4  
Matt07211's Avatar
Senior Member
Thanks Meter: 289
 
More
Reserved
The Following 3 Users Say Thank You to Matt07211 For This Useful Post: [ View ] Gift Matt07211 Ad-Free
14th December 2016, 11:48 PM |#5  
elliwigy's Avatar
Recognized Contributor
Flag Phoenix
Thanks Meter: 6,774
 
Donate to Me
More
Reserved lol
The Following 4 Users Say Thank You to elliwigy For This Useful Post: [ View ] Gift elliwigy Ad-Free
14th December 2016, 11:50 PM |#6  
pdaddy's Avatar
Senior Member
Flag Texas
Thanks Meter: 102
 
More
Awesome work guys!

Sent from my LG-LS997 using Tapatalk
The Following User Says Thank You to pdaddy For This Useful Post: [ View ] Gift pdaddy Ad-Free
14th December 2016, 11:51 PM |#7  
Senior Member
Flag Kansas City
Thanks Meter: 827
 
Donate to Me
More
reserved

---------- Post added at 04:51 PM ---------- Previous post was at 04:51 PM ----------

Quote:
Originally Posted by pdaddy

Awesome work guys!

Sent from my LG-LS997 using Tapatalk

****
The Following User Says Thank You to pro_granade For This Useful Post: [ View ] Gift pro_granade Ad-Free
15th December 2016, 12:04 AM |#8  
1619415's Avatar
Senior Member
Thanks Meter: 1,271
 
Donate to Me
More
Good job @me2151 !!!
The Following 4 Users Say Thank You to 1619415 For This Useful Post: [ View ] Gift 1619415 Ad-Free
15th December 2016, 12:06 AM |#9  
Chaz187's Avatar
Recognized Themer
Flag Orange city
Thanks Meter: 4,796
 
Donate to Me
More
Awesome! Now all the fun can begin!

Thanks for all your hard wprk on getting us root!

Thanks,
Chaz187

Sent from my LG-LS997 using Tapatalk
The Following 4 Users Say Thank You to Chaz187 For This Useful Post: [ View ] Gift Chaz187 Ad-Free
15th December 2016, 12:13 AM |#10  
Junior Member
Flag Toronto
Thanks Meter: 5
 
More
So awesome to hear, you guys are amazing. Its possible the dev with the h915 is waiting for the firmware update (we're told in time for the holidays?!) that would enable LTE on wind to see if this still applies. Nevertheless, thanks, i dont remember the last time i read so much. Lol

Sent from my LG-H915 using Tapatalk
The Following 2 Users Say Thank You to SHABBA JOTS For This Useful Post: [ View ] Gift SHABBA JOTS Ad-Free
15th December 2016, 12:17 AM |#11  
mrtruckincowboy's Avatar
Senior Member
Thanks Meter: 208
 
Donate to Me
More
Ooo Santa you so dirty.. Can't wait to do this

Sent from my VS995 using Tapatalk
The Following User Says Thank You to mrtruckincowboy For This Useful Post: [ View ] Gift mrtruckincowboy Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes