$$ BOUNTY $$ thread for ROOT on LG v20 H990DS (CLAIMED by @emdroidle!)

Search This thread

ThomasKHL

Member
May 11, 2011
41
7
Donation Tally by Contributor / Model (Currency conversion REMOVED):

@malifact / H990DS / $50 AUD
@Artcrime / H990DS / $20 AUD
@dr jakub / H990DS / $50 US
@donkanmcklaus / H990DS / $50 US
@reaktor TuT / H990DS / $20 US
@mix1987 / H990DS / 20 SGD
@andired / H990DS / $20 US
@InsertDumbNick / H990DS / $30 US
@jdmsohc22 / H990DS / $20 US
@MartianNinja / H990DS / $50 AUD
@Singularity_iOS / H990DS / $40 AUD
@invertedskull / H990DS / $50 AUD
@MrMunch / H990DS / $50 AUD
@sallad08 / H990DS / $50 AUD
@hashim17 / H990DS / $30 AUD
@benjpw / H990DS / $50 AUD
@exadeci - H990DS / $50 AUD
@Moordenaar / H990DS / 50 Euro
@norvik61 / H990DS / $50 AUD
@eslonim / H990DS / $20 AUD
@etm500 / H990DS / $50 US
@RdT21 / H990DS / $20 US
@tutux / H990DS / $40 CAD
@Perpatoura / H990DS / $10 Euro *Paid in US*
@umby75 / H990DS / $30 AUD
@coolfire000 / H990DS / $40 AUD
@halfnhalf71 / H990DS / $20 AU
@alandaleb / H990DS / $50 USD
@allyrocky /H990DS / $10 US
@Pierre118 / H990DS / $20 Euro *Paid in US currency*
@dbo989 / H990DS / $100 US
@darkstorm99 / H990DS / $30 AUD
@brunochka / H990DS / 30 Euro
@ghostrider08 / H990DS / 30 US
@mcall_r / H990DS / 10 GBP
@nt02469 / H990DS / 30 Euro
@mekanix / H990DS / $20 US
@rubiicon59 / H990DS / 20 GBP
@speculatrix / H990DS / 20 USD
@faeterov / H990DS / $10 USD
@adriansiv / H990DS / $20 USD
@KOLIOSIS / H990DS / $50 USD
@elric002 / H990DS / 30 Euro

*** There is a USD $20 and $50 unclaimed bounties. If your name isn't struck from this list and you HAVE paid, please send me your transaction number. If I've missed you, let me know.

Whilst I've added pledges from more pages, I've checked ALL posts prior to the crack and its discussion in this thread. If I've missed your post, let me know. Pages up to and including #60 accounted for. IF ANYONE ELSE HAS CONTRIBUTED AFTER THIS PAGE LET ME KNOW OR ALERT ME VIA A MENTION
Hi embroidle,
I've not pledged bounty but I benefited from your wonderful works for my H990N.
I thereby contributed USD30 directly to the developer link above via Paypal.
I couldn't find the transaction nbr for quoting so attached the screenshot.
Million thanks!
 

Attachments

  • Capture.JPG
    Capture.JPG
    57.8 KB · Views: 158
  • Like
Reactions: roosta and gazzacbr

Mikesco3

Member
Mar 8, 2015
7
0
Please note, I'm not on XDA every day, I'll do my best... You also raise a good point. I'll find an older version of the OP, but it basically stated, in different words

To claim the bounty, the developer needs to provide (1) A "viable" root method for the v20 H990DS, (2) Written instructions, as clear as possible, for how to achieve root and (3) Testers/other phone owners with MULTIPLE confirmed success cases of it working without a loss of functionality.

Defining "VIABLE" in my eyes is, a functional method that does not AFFECT common or typical phone functionality. That is, not to affect phone operation, making/receiving calls, sending/receiving texts, using Bluetooth, using your camera for pics/video, using NFC, using the radio, using WIFI or 4G, flashlight (etc). The list can go on - just something that "people don't use every day".


At the moment, as stated in my PM to the bounty pledgers, the only known issue (for any who have root working) is the use of HDMI over USBC. I don't have the phone, I haven't rooted, I'm simply relaying some facts that emdroidle has stated to me, or posted in the thread.



Thanks RDT21. It's not my money, but yours and others contributions means a lot to the XDA development community and in particular emdroidle who's spent so much time to get to where we're at with this phone.

I also understand people who want to wait for a safer method...which is why I've PM'd people and suggesting holding off if they don't read carefully, or haven't had experience using linux. However, the bottom line is (a) root is now available and (b) it's determined to be working almost completely bug free - with those "current bugs" not taking away from any standard/regular phone functionality in day to day use (as stated above). That means, even if you're not using it yet, you should still consider honouring your pledge.

Cheers
RoOSTA
I've been successfully using the LGV20 H990DS rooted by this site for the last 2-3 months.
The two main issues are:
  • Video doesn't work. Camera takes pictures but when taking video it freezes on the first frame and then you can only hear the audio and the first frame of the video is stuck there on the screen. Ironically video calling works fine.
  • Any OTG cable crashes the phone. It's not just HDMI OTG, it's OTG storage, OTG hardware wallets, etc.
I did send some cash to @embroidle in appreciation, the phone works fine, but I'm about to flash back to original stock and sell it over the video issue. (missed a few precious moments with my kid)
 

chame93

Senior Member
Apr 27, 2011
61
28
LAUSANNE
Samsung Galaxy S21 Ultra
Hi embroidle,
I've not pledged bounty but I benefited from your wonderful works for my H990N.
I thereby contributed USD30 directly to the developer link above via Paypal.
I couldn't find the transaction nbr for quoting so attached the screenshot.
Million thanks!
Hello. I have also 990n with parasit in sreen middle and no titanuim backup. You have those probls too.

Sent from my LG-H990 using XDA-Developers Legacy app
 

ThomasKHL

Member
May 11, 2011
41
7
Hello. I have also 990n with parasit in sreen middle and no titanuim backup. You have those probls too.

Sent from my LG-H990 using XDA-Developers Legacy app
Hi,
Sorry, I am not a native English man.
1. What did u mean by parasit or parasite in screen middle?
2. I have Titanuim Backup installed but I haven't used it to backup.
I use it only to detach some apps from Google Market....
I backup my system with TWRP.
 
Last edited:
  • Like
Reactions: chame93

roosta

Senior Member
Oct 26, 2010
682
583
Melbourne
I've been successfully using the LGV20 H990DS rooted by this site for the last 2-3 months.
The two main issues are:
  • Video doesn't work. Camera takes pictures but when taking video it freezes on the first frame and then you can only hear the audio and the first frame of the video is stuck there on the screen. Ironically video calling works fine.
  • Any OTG cable crashes the phone. It's not just HDMI OTG, it's OTG storage, OTG hardware wallets, etc.
I did send some cash to @embroidle in appreciation, the phone works fine, but I'm about to flash back to original stock and sell it over the video issue. (missed a few precious moments with my kid)

You didn't tag @emdroidle correctly, so I've done that for you. Please communicate directly, as that is best.

I've removed TWO people from the bounty list. I've also received an update from the developer:

emdroidle said:
Apparently LG is doing a GPL violation by not releasing their latest kernel source. This could merely be an oversight, but this is still Not Good(tm). This appears to be the cause of the camera issues. :mad:

For those names on the list who have not paid anything yet, what;s your reasoning? Have you communicated with the developer?

ROOSTA
 
Last edited:

chame93

Senior Member
Apr 27, 2011
61
28
LAUSANNE
Samsung Galaxy S21 Ultra
Hi,
Sorry, I am not a native English man.
1. What did u mean by parasit or parasite in screen middle?
2. I have Titanuim Backup installed but I haven't used it to backup.
I use it only to detach some apps from Google Market....
I backup my system with TWRP.
Me too. For me root with dirtysanta screen freeze and titannuim no way force close

Sent from my LG-H990 using XDA-Developers Legacy app
 

speculatrix

Senior Member
Mar 7, 2006
708
136
Cambridge
My 990DS has been very solid. I haven't used the kdz tool to install any updates *yet*, but I will. I did apply the thermal config hack for better performance:
https://www.xda-developers.com/lg-v20-mod-stops-slowdown-charging/

Personally, the lack of video recording is an annoyance, a small price to pay for the freedom to use Titanium Backup, the above thermal hack, full linux image install into a memory card partition and other things.
 

chame93

Senior Member
Apr 27, 2011
61
28
LAUSANNE
Samsung Galaxy S21 Ultra
Are yours H990N?
If it is, is it 10c?
It needs to be 10c or lower in order for dirtysanta to work...
10c i do not find it

Sent from my LG-H990 using XDA-Developers Legacy app

---------- Post added at 10:18 PM ---------- Previous post was at 10:05 PM ----------

Are yours H990N?
If it is, is it 10c?
It needs to be 10c or lower in order for dirtysanta to work...
10c i do not find it

Sent from my LG-H990 using XDA-Developers Legacy app
 

ThomasKHL

Member
May 11, 2011
41
7
Its ok me with 10b
My bootloader is lock, i think this is why. yours how it is. And when rooting you have sim card removed or not

Sent from my LG-H990 using XDA-Developers Legacy app
Hi,
Mine was bootloader-locked as well before TWRP & Rooting.
But there's way to unlock it as taught by the tutorial on the 1st page of this forum.
Steps must be carefully & strictly followed even a miss of space would make you fail....
I didn't have SIM card inserted during the process but I don't think it's a concern.
 
  • Like
Reactions: chame93

chame93

Senior Member
Apr 27, 2011
61
28
LAUSANNE
Samsung Galaxy S21 Ultra
Hi,
Mine was bootloader-locked as well before TWRP & Rooting.
But there's way to unlock it as taught by the tutorial on the 1st page of this forum.
Steps must be carefully & strictly followed even a miss of space would make you fail....
I didn't have SIM card inserted during the process but I don't think it's a concern.

ok wich kernel do you use ?
 

emdroidle

Senior Member
Oct 6, 2015
413
711
I flashed the h990-kernel.zip as per attached.
After TWRP & Root, I flashed h990-kernel-v0.2d-fix-jahlex.zip to fix my camera focus issue.
This shouldn't be necessary. Simply flashing @jahlex's kernel and never bothering with mine should work perfectly. The reason for replacing the kernel is the updated ones have a better display driver which fixes the static issue (which is otherwise much worse than other V20s).
 
  • Like
Reactions: pbedard

dcd1997

Member
Jan 23, 2017
14
0
I have successfully root H990DS with the following steps. I try to make it as detail as possible.

(A) Check model and version
- Make sure your phone model is H990DS. If model is different this rooting procedure is not for your v20.
Settings > General > About phone > Common > Hardware Info > Model Number = LG-H990ds
- Make sure your v20 security patch level is before 2017. If patch level is not before 2017, perform step (E)1.
Settings > General > About phone > Common > Software Info > Android security patch level

(B) As this root method will format data, make sure you have backup your phone data onto a desktop/laptop computer. If you backup to SD card, the SD card must not be encrypted! (failures will destroy the key and the data)

(C) Ensure you have ADB/Fastboot files installed and working: https://forum.xda-developers.com/sho....php?t=2588979

(D) Make sure adb working with the following steps
- Unplug sync cable
- Enable developer mode in setting menu (click "Build Number" 7 times)
- Set USB debugging -> On
- Plug your device into the computer again and verify ADB is working by typing in adb folder "adb devices" (should show LGH990?????? Device)

(E) Download the required files
1. if your security patch version is after 2016, get kdz for 10c and LGUP for "UPGRADE" the firmware
2. Downloaded dirtysanta's files (https://forum.xda-developers.com/v20/development/ls997vs995h910-dirtysanta-bootloader-t3519410) and copied them to ADB directory. (can delete boot1.img and boot2.img, Step3.bat and Step3.sh)
3. Downloaded h990 TWRP (https://build.nethunter.com/test-builds/twrp/lge/twrp-3.0.2-1-h990.img) and copied them to ADB directory
4. Downloaded emdroidle's h990ds-kernel.zip (https://forum.xda-developers.com/attachment.php?attachmentid=4182101&d=1497478605) into SD card; (emdroidle's step3_h990.bat is not required)
5. Downloaded SuperSU (https://forum.xda-developers.com/apps/supersu) zip into SD card
6. put SD card into the device
7. Installed Terminal Emulator App (https://play.google.com/store/apps/details?id=jackpal.androidterm) on device.

(F) Disable antivirus (if necessary)

(G) Using dirtysanta's steps: Run
Code:
RUNMEFIRST.bat
<-- Do not close the command window as we will need it in later step.

(H) Run command prompt, change folder to adb folder and type
Code:
step1.bat
<-- Wait until you can type something again.

(I) In the "Step 1" command prompt, type
Code:
run-as con
<-- If you get unknown package error, means your latest security patch patched it out (can be avoided if you have performed step (A)), boohoo no root. If you can find an earlier firmware KDZ for your device, LGUP should be able to install it and you'll be able to root.

(J) In the "Step 1" command prompt, Type
Code:
chmod 0777 /storage/emulated/0/*

(K) Start Terminal Emulator App at the device and type
Code:
id

(L) At Terminal Emulator App, look for something containing "untrusted_app". If not found, Start all over again. If found, continue next step.

(M) At Terminal Emulator App, type
Code:
applypatch /system/bin/atd /storage/emulated/0/dirtysanta

(N) Wait for RUNMEFIRST.bat console to prompt you to run step2.bat.

(O) Run command prompt, change folder to adb folder and type
Code:
step2.bat
and wait it to finish

(P) Run command prompt, change folder to adb folder and type
Code:
fastboot flash recovery twrp-3.0.2-1-h990.img
and wait it to finish, then wait further 30 seconds and run the same command again and then wait for another 30 seconds to enable the command to execute completely.

(Q) unplug sync cable, pull out battery wait 5 seconds and put back afterward

(R) boot in to TWRP.
Press and hold volume DOWN; press and hold power until the LG logo comes up, then briefly release power (0.5-1.0sec) and then hold power again.
You will then be prompted "Delete all user data and reset all settings?"
Select ""Yes"" twice, and as long as TWRP installation was successful you'll get into TWRP and NO RESET will be done.

(S) 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.

(T) After the backup is complete, return to the main menu
- hit "Wipe"
- Swipe to Factory Reset
- click Format Data and type "Yes" to start format
- Install Kernel.zip
- Install SuperSU.zip
- Reboot

(U) 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!

(V) Check if SuperSU App is installed. If yes then your v20 H990DS is rooted!

(W) enable antivirus if your disabled at the beginning

Hope this will help for rooting the H990DS. If there is any step missing please let me know.

Hi, can you tell me if there are any apps that do not work like FM or irblaster?
 

AVIMPEG

Senior Member
May 1, 2009
379
169
My device is V20 H990 international model
I have a problem in step 9-10
Need Help
Everything works fine until you get there
What should I do
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    THE BOUNTY IS BEING CLAIMED! CONGRATULATIONS @emdroidle!

    YES YOU READ CORRECTLY. ROOT ON V20 H990DS is NOW AVAILABLE!


    NEW USERS: Read from approx pages 45-60, where MOST users have learned of the root process, CAREFULLY implemented it following steps with caution and ROOTED their H990DS with success! A NEW THREAD has been created by the ROOT PROCESS owner, @emdroidle, here:

    https://forum.xda-developers.com/v20/development/dirtysanta-h990-t3624296/

    The method is viable and working for at LEAST 15 different people. So, rest assured this is not a "flash in the pan" or fluke, its legit and working! This thread is as good as closed. Here's some HIGHLIGHTS from the dev:

    emdroidle said:
    roosta said:
    Can you check with the success stories if camera focus has been affected? Are there any current issues worth mentioning?

    The only problem I am currently aware of is USB-C to HDMI isn't working, my adapter was outputting a bad frequency my display couldn't handle [i doubt many people need/use this]

    I've got some hopes of making the whole root process simpler, but that may be quite a bit of work. Problem is we're constrained by what SE Linux allows. Working around SE Linux makes things really complicated. :( I've also got the tasks of needing security updates and getting lined up with the tip of LineageOS's tree.

    I can only know the number of people who report success, there could be many more who never report. I think we've got more than 15 reports [as of 2 weeks ago], so seems pretty functional within the limitations (several of the steps being kind of complicated).

    NOTE: Unless you plan to contribute some dollars via Paypal to the developer (who put countless weeks, arguably months) into trialing and testing his process, then there really is NO OTHER REASON TO REPLY TO THIS THREAD. If you'd like to contribute, then by all means, you can do so DIRECTLY to the developer via Paypal by clicking here.

    CONTRIBUTION PLEDGES ARE LISTED BELOW! Even further below, I will post those who are confirmed to have **PAID** their bounties.

    SIDE NOTE FROM THE OP: Sorry LG, you've lost me as a customer. You don't "randomly" unlock SOME bootloaders of V20 and leave the H990DS model customers hanging. I won't be returning to your brand of smartphones in the future, either. Great job on customer/developer support in your OWN community you pack of knobs!
    36
    I have successfully root H990DS with the following steps. I try to make it as detail as possible.

    (A) Check model and version
    - Make sure your phone model is H990DS. If model is different this rooting procedure is not for your v20.
    Settings > General > About phone > Common > Hardware Info > Model Number = LG-H990ds
    - Make sure your v20 security patch level is before 2017. If patch level is not before 2017, perform step (E)1.
    Settings > General > About phone > Common > Software Info > Android security patch level

    (B) As this root method will format data, make sure you have backup your phone data onto a desktop/laptop computer. If you backup to SD card, the SD card must not be encrypted! (failures will destroy the key and the data)

    (C) Ensure you have ADB/Fastboot files installed and working: https://forum.xda-developers.com/sho....php?t=2588979

    (D) Make sure adb working with the following steps
    - Unplug sync cable
    - Enable developer mode in setting menu (click "Build Number" 7 times)
    - Set USB debugging -> On
    - Plug your device into the computer again and verify ADB is working by typing in adb folder "adb devices" (should show LGH990?????? Device)

    (E) Download the required files
    1. if your security patch version is after 2016, get kdz for 10c and LGUP for "UPGRADE" the firmware
    2. Downloaded dirtysanta's files (https://forum.xda-developers.com/v20/development/ls997vs995h910-dirtysanta-bootloader-t3519410) and copied them to ADB directory. (can delete boot1.img and boot2.img, Step3.bat and Step3.sh)
    3. Downloaded h990 TWRP (https://build.nethunter.com/test-builds/twrp/lge/twrp-3.0.2-1-h990.img) and copied them to ADB directory
    4. Choose and downloaded one of the emdroidle's kernel zip file from this post (https://forum.xda-developers.com/v20/development/dirtysanta-h990-t3624296) into SD card; (emdroidle's step3_h990.bat is not required)
    5. Downloaded SuperSU (https://forum.xda-developers.com/apps/supersu) zip into SD card
    6. put SD card into the device
    7. Installed Terminal Emulator App (https://play.google.com/store/apps/details?id=jackpal.androidterm) on device.

    (F) Disable antivirus (if necessary)

    (G) Using dirtysanta's steps: Run
    Code:
    RUNMEFIRST.bat
    <-- Do not close the command window as we will need it in later step.

    (H) Run command prompt, change folder to adb folder and type
    Code:
    step1.bat
    <-- Wait until you can type something again.

    (I) In the "Step 1" command prompt, type
    Code:
    run-as con
    <-- If you get unknown package error, means your latest security patch patched it out (can be avoided if you have performed step (A)), boohoo no root. If you can find an earlier firmware KDZ for your device, LGUP should be able to install it and you'll be able to root.

    (J) In the "Step 1" command prompt, Type
    Code:
    chmod 0777 /storage/emulated/0/*

    (K) Start Terminal Emulator App at the device and type
    Code:
    id

    (L) At Terminal Emulator App, look for something containing "untrusted_app". If not found, Start all over again. If found, continue next step.

    (M) At Terminal Emulator App, type
    Code:
    applypatch /system/bin/atd /storage/emulated/0/dirtysanta

    (N) Wait for RUNMEFIRST.bat console to prompt you to run step2.bat.

    (O) Run command prompt, change folder to adb folder and type
    Code:
    step2.bat
    and wait it to finish

    (P) Run command prompt, change folder to adb folder and type
    Code:
    fastboot flash recovery twrp-3.0.2-1-h990.img
    and wait it to finish, then wait further 30 seconds and run the same command again and then wait for another 30 seconds to enable the command to execute completely.

    (Q) unplug sync cable, pull out battery wait 5 seconds and put back afterward

    (R) boot in to TWRP.
    Press and hold volume DOWN; press and hold power until the LG logo comes up, then briefly release power (0.5-1.0sec) and then hold power again.
    You will then be prompted "Delete all user data and reset all settings?"
    Select ""Yes"" twice, and as long as TWRP installation was successful you'll get into TWRP and NO RESET will be done.

    (S) 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.

    (T) After the backup is complete, return to the main menu
    - hit "Wipe"
    - Swipe to Factory Reset
    - click Format Data and type "Yes" to start format
    - Install Kernel.zip
    - Install SuperSU.zip
    - Reboot

    (U) During reboot you will get a Red Triangle with a "!" inside, this is normal (The first boot after flashing SuperSu will even show the Red triangle two times before system completely boot (this will take awhile)). It may appear like the system has frozen but it has not. JUST WAIT!

    (V) Check if SuperSU App is installed. If yes then your v20 H990DS is rooted!

    (W) enable antivirus if your disabled at the beginning

    Hope this will help for rooting the H990DS. If there is any step missing please let me know.
    20
    This posting is nominally retired. Please go to the "official" thread here for potentially updated instructions and more kernel builds.


    Beware! This is currently at beta status and only a few people have successfully tried this so far.

    While I have tried to ensure this works for anyone, this may fail. The result of a failure could include voiding of warranty and hardware damage. This is also one of the most complicated rooting procedures due to SE Linux, sorry about this, but we've been unable to simplify things.


    As preparation, I would like folks to be familiar with LGUP/LGBridge and how to use them. Using LGUP is also how to get back to stock. On the H990DS Bluetooth is implemented via kernel module and the kernel module has to be loaded off /system, therefore there is no choice but to write to /system.



    Step 2 of DirtySanta retrieves the files "abootbackup.img", "bootbackup.img" and "recoverybackup.img". Save these files! I'm not 100% certain, but I suspect "abootbackup.img" may need to be restored before doing full LGUP.


    For the most part the steps are identical to the classic DirtySanta, but a few of the files are different.

    Once you get to step 3, the procedure is different.
    First, the TWRP image is different, use this one instead, which targets the H990. Instead of running step3.sh/step3.bat; instead run the command `fastboot flash recovery twrp-3.0.2-1-h990.img`,
    then repeat this command (apparently the debug bootloader is unreliable with this command). After this run the command `fastboot reboot`, then follow the directions for getting into TWRP.
    Instead of running step3.sh/step3.bat, unpack the attached step3_h990.zip and run step3_h900.sh if on OSX/Linux/FreeBSD/Unix or click on step3_h990.bat if on Windows.

    After step 3, do not do the `fastboot flash boot bootbackup.img` step. Instead flash the attached zip (a specially modified kernel targeting the H990DS) during the same step as flashing SuperSU.

    Likewise "boot1.img" and "boot2.img" should also be ignored. Those are for DirtySanta with the US V20 models, and not the H990DS.

    After step 3, boot in to TWRP. Press and hold volume DOWN; press and hold power until the LG logo comes up, then briefly release power (0.5-1.0sec) and then hold power again. You will then be prompted "Delete all user data (including LG and carrier apps) and reset all settings?", select "Yes" twice and as long as TWRP installation was successful you'll get into TWRP and no reset will be done.
    Inside TWRP flash the attached h990ds-kernel.zip and then flash SuperSU.zip. At this point the process should be complete. There won't be static on boot, you'll have root and nothing else should have changed.


    1. Ensure you have a backup plan: https://forum.xda-developers.com/v20/how-to/restore-v20-to-100-stock-bricked-devices-t3524903
    2. Backup your phone data. LG Bridge/LG Backup is pretty reliable, but I strongly advise backing up everything onto a desktop/laptop computer. If you backup to SD card, the SD card must not be encrypted! (failures will destroy the key and the data)
    3. Go to Settings -> General -> About phone -> Software info -> Android security patch level; if your phone is on an update after December 31, use LGUP to "refurbish" to an earlier firmware release (this will do a factory reset).
    4. Ensure you have ADB/Fastboot files installed and working: https://forum.xda-developers.com/showthread.php?t=2588979
    5. Ensure you have all relevant files prepared:
      Installed backup plan.
      Installed Terminal Emulator on device.
      Downloaded dirtysanta's files and copied them to ADB directory.
      Downloaded files, Put kernel and SuperSU zip into SD card; and TWRP into ADB directory.
      Note: It may be necessary to download anti-virus/anti-malware programs when unpacking the original DirtySanta. At least one has detected `dirtycow`/CVE-2016-5195 as malware (it can in fact act in that role).

      [*]Using dirtysanta's steps: Run "RUNMEFIRST.bat" <-- Do not close.

      [*]Run "step1.bat" <-- Wait until you can type something again.

      [*]Type "run-as con" <-- If you get unknown package error, means your latest security patch patched it out; go back to step 3. LGUP should be able to downgrade you to an earlier firmware update.

      [*]Type "chmod 0777 /storage/emulated/0/*"

      [*]Open Terminal Emulator, Type "id"

      [*]Look for something containing "untrusted_app". If not found, Start all over again. If found, continue.

      [*]Type "applypatch /system/bin/atd /storage/emulated/0/dirtysanta" into Terminal Emulator

      [*]Wait for RUNMEFIRST.bat console to prompt you to run step2.bat.

      [*]Run "step2.bat"

      [*]Save copies of the files "abootbackup.img" and "bootbackup.img" produced in the previous step (will be in the same directory as "step2.bat"), the latter is crucial in returning to stock.

      [*]At a command prompt run the following commands, but make sure to wait at least 30 seconds between each. Do not skimp on that delay as otherwise the likelihood is this will fail (this is the most unreliable step in this process); waiting longer than 30 seconds is fine.
      Code:
      fastboot flash recovery twrp-3.0.2-1-h990.img
      
      fastboot flash recovery twrp-3.0.2-1-h990.img
      
      fastboot reboot

      [*]Step 17: Boot in to TWRP.
      Press and hold volume DOWN; press and hold power until the LG logo comes up, then briefly release power (0.5-1.0sec) and then hold power again.
      You will then be prompted "Delete all user data (including LG and carrier apps) and reset all settings?"
      Select "Yes" twice, and as long as TWRP installation was successful you'll get into TWRP and NO RESET will be done.
      Inside TWRP flash "h990ds-kernel.zip" and then flash SuperSU.zip. At this point the process should be complete. There won't be static on boot, you'll have root and nothing else should have changed.



    Going back to stock:
    As with those whole rooting procedure, this is hazardous. Be careful, go slow and don't rush things.

    Method 1: (TWRP, strongly preferred!)
    1. Boot into TWRP (DOWN + Power with a brief release during LG logo).
    2. Copy the file "abootbackup.img" from your archive to your phone (adb push abootbackup.img /).
    3. Run `adb shell` and type (or copy&paste) the following commands:
      Code:
      dd if=abootbackup.img of=/dev/block/bootdevice/by-name/aboot
      sync
      sleep 30
      sync
    4. Get into Download mode. Power off phone from TWRP. Press and hold UP, then power phone on (no need to hold power).
    5. Load the appropriate KDZ file onto your phone via LGUP.

    Method 2: (fastboot)
    1. Boot into fastboot mode. Any of these methods should work:
      • (if Android running normally) Run `adb reboot bootloader`
      • (from a powered down state) Press and hold DOWN, then plug in USB cable.
      • (powered down, USB plugged in) Press and hold DOWN, then power on.
    2. With "abootbackup.img" in the current directory run the following commands, while waiting at least 30 seconds between them:
      Code:
      fastboot flash aboot abootbackup.img
      (wait >30s)
      fastboot flash aboot abootbackup.img
      (wait >30s)
      fastboot reboot
    3. Get into Download mode. Press and hold UP. If the phone has already started to load Android, pull the battery, reinstall battery; then press and hold UP and power on.
    4. Load the appropriate KDZ file onto your phone via LGUP.



    Warning: This is at beta testing state and could well brick your device. No warranty is provided, use at your own risk (though I certainly hope nothing will go wrong).

    These directions are likely very poor quality, if you're not well experienced with shell prompts and all the tricks that can be done, please wait. This kernel is also exclusively for the H990DS, if you've got any other model, stay away. The H990 (single-SIM) will not work, though you could have an interesting experiment.

    Folks who haven't done a lot of experimentation, please hold off until experienced people have confirmed this works. There is a lot that could go wrong.

    I believe I have fulfilled the condition for the bounty.

    Thanks to:
    @me2151 the original DirtySanta bootloader, crucial for this to work
    @thubble for figuring out the last bit of the modem and (successful) guinea pig #2
    @USA-RedDragon for making everyone aware of LineageOS's source tree
    @exadeci (successful) guinea pig #1
    @Xenogenics helping others, posting some reasonable instructions

    MD5: 5182bc528db03c2848c591f809a65564
    SHA160: 14bd8f2714fd652b259b6a60407d071dbf672809
    SHA512: dc049ab1e83a51a40e59d7871e1b122559836c1df13b2f7104f13d2cf82d3eb7ca767def108d267d56ae90e7ee58c5f3fc95d60af638a492cb113a982bf64315
    11
    Donation Tally by Contributor / Model (Currency conversion REMOVED):

    @malifact / H990DS / $50 AUD
    @Artcrime / H990DS / $20 AUD
    @dr jakub / H990DS / $50 US
    @donkanmcklaus / H990DS / $50 US
    @reaktor TuT / H990DS / $20 US
    @mix1987 / H990DS / 20 SGD
    @andired / H990DS / $20 US
    @InsertDumbNick / H990DS / $30 US
    @jdmsohc22 / H990DS / $20 US
    @MartianNinja / H990DS / $50 AUD
    @Singularity_iOS / H990DS / $40 AUD
    @invertedskull / H990DS / $50 AUD
    @MrMunch / H990DS / $50 AUD
    @sallad08 / H990DS / $50 AUD
    @hashim17 / H990DS / $30 AUD
    @benjpw / H990DS / $50 AUD
    @exadeci - H990DS / $50 AUD
    @Moordenaar / H990DS / 50 Euro
    @norvik61 / H990DS / $50 AUD
    @eslonim / H990DS / $20 AUD
    @etm500 / H990DS / $50 US
    @RdT21 / H990DS / $20 US
    @tutux / H990DS / $40 CAD
    @Perpatoura / H990DS / $10 Euro *Paid in US*
    @umby75 / H990DS / $30 AUD
    @coolfire000 / H990DS / $40 AUD
    @halfnhalf71 / H990DS / $20 AU
    @alandaleb / H990DS / $50 USD
    @allyrocky /H990DS / $10 US
    @Pierre118 / H990DS / $20 Euro *Paid in US currency*
    @dbo989 / H990DS / $100 US
    @darkstorm99 / H990DS / $30 AUD
    @brunochka / H990DS / 30 Euro
    @ghostrider08 / H990DS / 30 US
    @mcall_r / H990DS / 10 GBP
    @nt02469 / H990DS / 30 Euro
    @mekanix / H990DS / $20 US
    @rubiicon59 / H990DS / 20 GBP
    @speculatrix / H990DS / 20 USD
    @faeterov / H990DS / $10 USD
    @adriansiv / H990DS / $20 USD
    @KOLIOSIS / H990DS / $50 USD
    @elric002 / H990DS / 30 Euro

    THANK YOU is extended to other contributors:
    Chan Vicki SG$10
    Joel James AU$20
    Zhady030 CA$20

    @ThomasKHLUS$30


    *** There is a USD $20 and $50 unclaimed bounties. If your name isn't struck from this list and you HAVE paid, please send me your transaction number. If I've missed you, let me know.

    Whilst I've added pledges from more pages, I've checked ALL posts prior to the crack and its discussion in this thread. If I've missed your post, let me know. Pages up to and including #60 accounted for. IF ANYONE ELSE HAS CONTRIBUTED AFTER THIS PAGE LET ME KNOW OR ALERT ME VIA A MENTION
    11
    I'm still slogging along. I'm feeling a bit like Han Solo trying to get into the bunker in "Return of the Jedi": "I think I've got it!" (then we see another portion of the hatch closes)

    Still managing to come up with new ideas, but no dice yet.