[YotaPhone 3 ROMs, Kernels, Recoveries, & Other Dev] vvinjj:
Yota 3+ Root

Instruction 1: Magisk system-less root (ref: https://www.xda-developers.com/what-is-magisk/), which is less invasive as it doesn't have to remove user data, but more fragile if something goes wrong on your system (e.g you will attempt to modify your storage outside of booted OS), you will have to fully re-install your OS. But is less detectable by apps and playstore that your device is rooted, which is good.

Instruction 2: Full root which includes TWRP, Magisk and disabled storage encryption, meaning you can freely modify your storage outside of booted OS and if something goes wrong your will be able to boot into TWRP and potentially fix the issues / make or restore backups . But this method has to remove and fully re-install your system to work.

Note: leaving your device unencrypted is not secure as if your device is lost then your personal data can be retrieved from it. Hence, once you've done installation of all rooted apps and ensured that everything is working fine in long term (e.g couple of days) it is recommended to do following:

- Encrypt your device (Settings > Security & location > Encryption & credentials > Encrypt phone)

- Lock boootloader (Settings > System > Developer options > OEM unlocking > OFF)

This will make your device secure again, but note that you will not be able to modify / access user data from TWRP anymore. Moreover, you won't be able to successfully modify system partitions unless you re-apply Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip (https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389)

Instruction 1 - System-less root method

Note: this is a system-less root method, meaning that if you attempt to modify your system partition from custom recovery, then it will fail to boot again!

Pre-reqs (important!):

All you personal data is backed up

Developer options is enabled:

[IMG="Developer options enabled"]https://lh4.googleusercontent.com/ab9AAZWUac5oWUQfKOEW62MIsxjnoeYH5YmOtOlxtYiXx4yhyMoYgbMlptGqZMju-iMc8SEUpzOgYA=w2046-h883-rw[/IMG]

USBdebugging is on:

[IMG="USB debigging enabled"]https://lh3.googleusercontent.com/AmnIye94cG09OLsWH7bOHLutJXp5GS9TFsCJpwcb2wsxAoC-6sjdXDVCMV3WgUcUkNYlNtij2EMa8g=w2046-h883-rw[/IMG]

OEM unlocking is on:

[IMG="OEM unlocking enabled"]https://lh5.googleusercontent.com/wbIw8aBsBvji89uQggaI8csX7vXMOrUHKQzwDRoZj_8Vr2TUedxlVtxKjYrCFT7YY64x5cOwMQYBrw=w2046-h883-rw[/IMG]

adb, fastboot tools are installed on PC

Device pin is enabled (Settings > Security & location > Screen lock > PIN)

Steps:

Get new9008-0112.zip from: https://xdaforums.com/yotaphone-3/development/yota-3-firmware-news-t3862999

Extract new9008-0112.zip > copy boot.img to your phone

Boot image is copied to phone:

[IMG="Boot.img is copied to phone"]https://lh4.googleusercontent.com/31aNVZJ__0BjiSNPaWOIwsuWGyveZ9AHmHoXxR5Lyib6mSWhr7pbjIyan-5SjjLNeBL_SIbq3lhNTQ=w2046-h883-rw[/IMG]

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

Open Magisk > Install > Patch Boot Image File > direct to copied boot.img > It will generate a file > Close

[IMG="Click on install button"]https://lh6.googleusercontent.com/uxuMuW067jFbArU4UGBkcPUXLaDkTlExeHpId7Py08TyGrtZJZhqOFBJ4-mGaob8d7SMafiQ0Ud1TQ=w2046-h883[/IMG]

[IMG="Click on install in dialog"]https://lh3.googleusercontent.com/zZyRuPxAOHgZbd4Nt1sw2uXknwuQZLMfPMw-616z3a7RgufAcxr6yqPIRO8RyNodQC_Wf3mUCaD3dg=w2046-h883-rw[/IMG]

[IMG="Select Patch Boot Image File"]https://lh4.googleusercontent.com/UafahxGRRaLB6siu3HJkMqjdm27K3BTrcCP0E0qu5TXTv8DJ5eY1X9zbXq2XxC0VS_7AHZUmi50KWQ=w2046-h883[/IMG]

[IMG="Direct to boot.img"]https://lh4.googleusercontent.com/5roGFeobhaM7_hzrljH02Z_6AZaQ88TaC2LMPnGtSN_O62fN6oFk_WovvgDumWg0Zait3D4tkWeNNA=w2046-h883-rw[/IMG]

Copy created patched_boot.img from device Downloads to your PC:

[IMG="Copy patched_boot.img from phone to pc"]https://lh5.googleusercontent.com/VdjNT5TIJAiRuUPFNKe8XxkbSzhQ6s2cRgUca0KaI3QA5IA_kL8VLV8y1qxke_iXKz3-k8Bs6R99Kg=w2046-h883-rw[/IMG]

Run cmd on pc from place where you copied file > adb reboot bootloader > fastboot boot patched_boot.img

[IMG="adb reboot bootloader"]https://lh6.googleusercontent.com/IHIBpn-H-nX12MykuJi0VStakd0H3pE5W-ZcfJ--HdULf6pRuPQtKaVPi8UXrJ6z2E4TFRDIjkKzuQ=w1923-h1935[/IMG]

[IMG="adb fastboot boot patched_boot.img"]https://lh6.googleusercontent.com/ft2JOVDct7EeMxSh_8JOG2UoHYXRHDB6_6n4LR-ThRyZlPtJOjL4p_81v1HmgfsSk7NZFOU-nargAw=w2046-h883[/IMG]

Device will boot > Open Magisk app > It will ask you to grant root permission > grant it > Click Install button again > Direct Install (Recommended) > Reboot

Grant permissions:

[IMG="Grant root permission"]https://lh5.googleusercontent.com/C5IIz34fQh2M_LqeeBaHSbMNQC8s-EoQahZ_H8IZXvkupCGAFUI-eyvkii_Yf8XOZhoylK8KQaU3cw=w2046-h883-rw[/IMG]

Click on install button:

[IMG="Click on Install button"]https://lh3.googleusercontent.com/EdjBcbJvnxiWfZFnxir7bJQbHyN-AfKGKc3MI8tf4M7JYdeGTszjQvPwqhbHFPtZT2jkepUegaVlLw=w1923-h1935[/IMG]

Click on install in dialog:

[IMG="Click on Install in dialog"]https://lh5.googleusercontent.com/wIUjp1ocjA1CcT8JErTmf6yj0WJCyrF44LT8XlYy0ySlaFO_vlMNfi683uWc0hVawXwogRS4Nkm04g=w2046-h883-rw[/IMG]

Click on direct install in dialog:

[IMG="Click on direct install in dialog"]https://lh6.googleusercontent.com/yUvyh0O-8pCdcX0w4nfCccYIqBVKDmONskBBAN9rK-WVf6kkoaRNuSJhD4QZNv5nILe2gsg7wSe_iQ=w1923-h1935[/IMG]

It will patch your boot partition, click reboot:

[IMG="Click on reboot"]https://lh5.googleusercontent.com/1zx3K47tQJ32DWpkw3w-Bty8J-5oG30ummNa-uhNINwQ0JQFYRY-Nm106KxuYGFKyCMNG9BAzSFPMg=w2046-h883-rw[/IMG]

Observe two green tick boxes are still green after reboot:

[IMG="Observe two green tick boxes are still green after reboot"]https://lh5.googleusercontent.com/bDmtvRS7B2VsrpCrVTc5by_K7q3RbLEnYySshnFg3Fen4cjYCpV3HGt0qaqBGhuY_XKzEMxS24ryeg=w1923-h1935-rw[/IMG]

Congratulations, your device is now rooted!

Instruction 2 - Yota 3+ 8.1 System Root with TWRP recovery, Magisk and storage encryption disabled

I've managed to create a TWRP specific for Y3+ and wrote .bat script which automatically re-installs OS 8.1 with latest ota 54 update, magisk and root and disables storage encryption.

Pre-recs (Important!):

Your phone is charged to at least 50%

adb, fastboot installed on your pc and accessible through home path system environment variable

adb debugging enabled

Developer options > OEM unlocking > ON

backup all your personal data

Steps:

Download: mega.nz/#F!yMBGBYIY!24gGnv0DXNhqBvE7IbrEmA

Double click on install.bat

Follow on-screen instructions

Important! As soon as you are on home screen browse your e-ink screen at least once, otherwise the OS might crash after ~ 5-10 minutes due to inability to properly access its launcher. Once done, Reboot your device.

References:

The work is done based on:

- TWRP repacking using Android.Image.Kitchen.v3.4-Win32.zip from: https://xdaforums.com/showthread.php?t=2073775 thanks to [MENTION=4544860]osm0sis[/MENTION]

- TWRP for Y3 from: https://xdaforums.com/yotaphone-3/development/yota3-firmware-root-magisk-t3830405 thanks to [MENTION=7729628]gor516don[/MENTION]

- new9008-0112.zip from: https://xdaforums.com/yotaphone-3/development/yota-3-firmware-news-t3862999 thanks to [MENTION=1316318]paolinger[/MENTION]

- Disabling storage encryption using Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip from: https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389 thanks to [MENTION=6037748]Zackptg5[/MENTION]