[Miscellaneous Android Development] mrmazak:
First version shared was twrp 3.2

New version is 3.3.0

***ORIGINAL TWRP is not my work. Only the porting of it to this device. I take no credit for the source.

*** DISSCLAIMER ALLERT***

I started having issues with encryption coming back to enforcing when using the Ported Team LR TWRP 3.3

Did not have trouble yet with OMFG-Mod version.

Also [MENTION=4945206]ghost45[/MENTION] has made a build of twrp 3.3.1 for F1. It works good as well

https://xdaforums.com/showpost.php?p=79651368&postcount=49

--- all versions give trouble of loosing IMEI when using the remove force encryption patch I suggest below. Left logs with [MENTION=6037748]Zackptg5[/MENTION] .

**May need more testing**

-decryption is broken

-MTP is working

-ADB is working

****--Advanced menu items are not correctly on 3.2 version.

-- Some of the advanced menu was fixed in 3.3.(install root is working)

- Advanced menu has extra features.(all from source twrp)

-- install magisk (currently has V17 on OMFG V19 on LR TEAM)

-- patch dm-verity and force encrypt remove.zip. ( personally I prefer the universal dm-removal patch from xda)

-- Remove system password, (from original dev, I have not tested)

--

--Install (basic directions only)--details may be added later if needed

Open zip and fastboot flash the recovery image if bootloader is unlocked.

or

Open zip , then open scatterfile (scatter file in test 1 has issue, updating it in next test )with sp-flashtool , select download

--First boot into TWRP will give errors for unable to mount /data. This is from the force-encryption.

- When boot into TWRP, select wipe -> format type 'yes' to format data

- When format is done, return to TWRP home page, select reboot -. recovery

--Now Patch device so no longer forces encryption

-- Use built in feature from 'Advanced Menu' or use the following directions--Fails to unpack boot. (current zip used is not compatible with system-as-root boot.img)

-To remove this I use 'Disable_Dm-Verity_ForceEncrypt' from

-- https://github.com/Zackptg5/Disable_Dm-Verity_ForceEncrypt -- currently based on magisk V19.2

-Download from the "Clone or Download" button on the above linked Github Page.

-Unzip the downloaded file. You will have a folder with same name as the zip package. Browse inside this folder, select all files and zip them.

-Put this new zip file onto your phone. ( Hay notice the MTP function on this TWRP works)

- in stall the zip like any normal twrp package.

--Next Install Magisk

--Use Built in Root Option from 'Advanced Menu' to use Magisk V19 or the following direction

- Goto the releases page of magisk github page. ==>LINK

- Download latest Magisk zip , Put file to phone, Install.

-- Download Folder For TWRP Ported from OMFG-Mod

https://www.androidfilehost.com/?w=files&flid=294886

-Screenshots.

- Ported OMFG-MOD gold Button TWRP V3.2

- Ported Team LR TWRP 3.3 standard Button

Attached Below

--Thanks --Mentions

recovery source from [LR TEAM] MIUI

http: //www.miui.com/forum.php?mod=viewthread&tid=19006123&page=1&mobile=2#pid257831639

link is newer version from ported recovery. They updated recently. Next port may use newer base as well.