[Magisk] Ortem1UP:
UPDATED AND EDITED

Hello everyone. I decided to edit my first post on this thread to make finding the instructions on how to Root & Install TWRP along with Magisk on the LG ARISTO or LV3 for T-Mobile/Metro PCS

WARNING:

I AM NOT RESPONSIBLE IF YOU BRICK YOUR PHONE, DAMAGE IT, GET IT STUCK ON BOOTLOOP, MAKE YOUR DEVICE CAUSE A NUCLEAR EXPLOSIVE, OR HAVE IT CAUSE A ZOMBIE APOCALYPSE. TRY AT YOUR OWN RISK.

But if you follow Messi's instructions down to a tee. You shouldn't have any problem

The stock boot image has dm-verity, which prevents you from booting if you swipe to enable system modifications after flashing twrp!

SOLUTION:

Flash a root such as SuperSU or Magisk V13.3 You should also flash no-verity-opt-encrypt.zip. (although I was informed you might not need to with Magisk, again try at your own risk)

Prerequisites :

Enable OEM Unlocking and usb debugging in developer options!

Go to settings

About Phone

Software Info

And press on Build Number about 9 times

You will see a pop up notifying you that you have unlocked Developer Options

Go Back and you should see the new settings option

Enter Developer Options

Enable it, select ok

Enable OEM unlock

And finally disable Automatic System Updates

UNLOCKING BOOTLOADER

(You must be familiar with Command Prompt on Windows)

• YOUR BOOTLOADER MUST BE UNLOCKED

- reboot into fastboot [ adb reboot bootloader ]

- fastboot oem unlock [ this is going to wipe your data ]

If you have problems with the device drivers installed , you will need to install lg bridge app from lg that contains the device driver

http://tool.lime.gdms.lge.com/dn/downloader.dev?fileKey=PWZO7A26B9UW

How to flash the recovery:

• BOOT INTO FASTBOOT MODE:

With your phone off, connect your usb cable to your phone while holding VOLUME DOWN to boot into fastboot mode or just type [adb reboot bootloader] in the adb terminal

• ONCE YOU ARE IN FASTBOOT MODE:

Open a command prompt and type "fastboot flash recovery <path_to_recovery.img>” without the quotation marks.

Example: fastboot flash recovery C:/Users/John/Desktop/recovery.img

[don't forget to extract the downloaded recovery zip to get the recovery.img]

• WHEN THE FLASH COMPLETES: (Takes about 2 seconds)

On your phone, unplug the usb cable and power it off by taking out the battery and putting it back in.

• BOOT INTO RECOVERY MODE FOR THE FIRST TIME

HOLD VOLUME DOWN + POWER until you see the LG logo and then temporarily release the POWER button, immediately pressing and holding it back down until you see the white prompt [factory reset] screen. You will NEVER release the volume down button in this process!

Use the hard keys to select "YES" and then "YES" again to boot into TWRP!

How to Disable encryption & flash super su

1. In TWRP, go to Wipe > Format Data. Enter the keyword ‘yes‘, in the provided space and enter. This will wipe the automatically encrypted filesystem, and decrypt it.

2. Once the wiping is done, reboot back into recovery. Go to Reboot > Recovery.

3. When the recovery boots again, connect your phone to the PC and Enable MTP under the Mount section.

4. Transfer the downloaded ‘no-verity-opt-encrypt-5.1.zip’ and ‘UPDATE-SuperSU-v2.82-20170528234214.zip or if you wants MAGISK then the MagiskV13.zip to your internal storage or EXTSD

5. Disconnect the device now.

6. Tap on Install. Now, navigate your phone’s storage and select ‘no-verity-opt-encrypt-5.1.zip’. Finally swipe the ‘Swipe to confirm Flash’ button on the bottom of the screen.

7. The flashing process will merely take a few seconds. And when it’s done, follow the same method to flash the root package – UPDATE-SuperSU-v2.82-20170528234214.zip or you can flash the MAGISKV13.zip

Wait 1 or 2 minutes after the zip files are done flashing then reboot system and PROFIT! Your phone may take 3-5 minutes to boot the first time and it might boot-loop once or twice at the Metro PCS splash screen but don’t worry this is expected.

DOWNLOADS

All required files [supersu+dm-verify disable] can be found in this thread :

https://xdaforums.com/lg-g5/development/recovery-team-win-recovery-project-lg-g5-t3363047

MAGISK V13.3 by topjohnwu

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

#2 build [stable]

http://www.mediafire.com/file/x1bo7scmrga40q5/lg_aristo_twrp_v3_stable_build_by_messi2050.zip

#2 build Changelog:

-fixed device gets wiped everytime you use the hardware buttons to boot into twrp.

-fixed flashing boot/recovery images through twrp

-built using latest twrp source.

[do not mirror the downloads]

Notice: After the TWRP splash screen you will see the option to type in the password to decrypt the filesystem. just ignore it and hit the cancel button.

--------------------------------------------------------------------------------------------------------

Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from So Please Consider donating using the link below if you appreciate my work.

https://www.paypal.me/messi2050

THANKS AND CREDIT

I do not take any credit for this. All the thanks and credit go to:
[MENTION=1160975]Messi[/MENTION]:

https://androidforums.com/members/messi2050.1983077/

For taking time to build a TWRP Recovery for us without actually owning the device. Much credit and a million thanks.

[MENTION=4470081]topjohnwu[/MENTION]

https://xdaforums.com/member.php?u=4470081

For their hard work on the Magisk systemless interface software and dedication to keep on developing the software especially for a lot of us Nougat phone owners. Thanks thanks thanks

Special Thanks
[MENTION=1915408]phhusson[/MENTION] for his advice with sepolicy and his sepolicy injection tool, boot image tools, hide su tools, superuser

@Chainfire for many bits of shell script code, his supolicy in older versions, and the complete documentation How-To SU
[MENTION=2605798]nkk71[/MENTION] for his original resetprop
[MENTION=4544860]osm0sis[/MENTION] for his shell script for image/zip size detection, unSU, addon.d, also providing numerous support for all kinds of boot image unpacking knowledge

@digitalhigh and @DVDandroid for massive contributions to Magisk Manager

@Captain_Throwback for being the No.1 supporter, testing and finding bugs all the time