[Xiaomi Mi A2 Lite Guides, News, & Discussion] 1347kittens:
you have to be very careful. and be prepared for data loss. you yourself can download 10.0.17.0 and patch it into magisk

Unlock, enable cam2api, vowifi. Device lock Subsequent receipt of OTA.

The method is not for beginners.

You can lose all your data!

Prepare a backup

Actions

Phone:

-Remove the screen lock, prints !!! Very important !!!

-In settings / about phone - click Build number 7 times

-In tinctures / menu for the developer / enable "Factory unlock"

-In the settings / menu for the developer / enable "USB debugging"

-Allow USB debugging - ok

-Connect smartphone to PC

- USB debugging, always enable debugging from this PC - ok

PC:

1) In Explorer, in the tool folder in the address bar, write cmd

Enter:

adb reboot bootloader

We are waiting for a hare with a robot.

2) We type and DO NOT PRESS ENTER !!! We take the phone and hold VOL-, after ENTER

fastboot oem unlock

We automatically get into the boot menu again, with the PC we enter and hold VOL-:

fastboot reboot

Once again, we get into the boot menu and type:

fastboot reboot

3) We drop apk from driverstool on the phone and install the magisk manager.

4) With pc enter:

fastboot reboot bootloader

We get into the boot menu, type and hold VOL-:

fastboot boot magisk_patched.img

Hold VOL- and type:

fastboot reboot

We release VOL- after the start of loading, a white screen with a strip of pixel.

After loading into the magisk manager, we refuse to install additional files, give su permission.

5) Activation cam2api, vowifi, volte

We drive one line, in a list of 21 lines! When the phone booted into the OS.

On PC:

adb shell

su

Confirm su on the phone, pop-up.

21 line:

setprop persist.camera.HAL3.enabled 1
setprop persist.camera.stats.test 5
setprop persist.camera.eis.enabled 1
setprop persist.vendor.camera.HAL3.enabled 1
setprop persist.vendor.camera.stats.test 5
setprop persist.vendor.camera.eis.enabled 1
setprop persist.sys.cust.lte_config true
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.ims_volte_enable 1
setprop persist.radio.volte.dan_support true
setprop persist.data.iwlan 1
setprop persist.data.iwlan.enable true
setprop persist.data.iwlan.ipsec.ap 1
setprop persist.radio.calls.on.ims 1
setprop persist.radio.data_con_rprt 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.dbg.wfc_avail_ovr 1
setprop persist.radio.rat_on combine
setprop persist.radio.data_ltd_sys_ind 1
setprop persist.radio.VT_ENABLE 1
setprop persist.rcs.supported 1

exit
exit
adb reboot bootloader

6) We type and DO NOT PRESS ENTER !!! We take the phone and hold VOL-, after ENTER.

The code:

fastboot oem lock

We introduce and clamp VOL-:

fastboot reboot

Enter:

fastboot reboot

Entering VOL+ & POWER recovery mode will erase all your data.

never enter recovery mode

7) We treat backup, on the PC we type:

adb shell bmgr backupnow --all

We wait until the end and type again

We go to the security menu and change the pin code to password or password to the pin code and check the backup button.

In the menu for developers, we remove the factory unlock, debugging via USB and revoke access for usb debugging, turn off the menu for developers.

Delete magisk

If you try to enter recovery mode, all data will be deleted.

from 4PDA