[Xiaomi Mi Note 10 Lite Guides, News, & Discussion] Tjmi3y:
Hi, I was on 12.0.2.0 QFNMIXM and the root worked perfectly, but yesterday the phone update it self to 12.0.3.0 , so what should I do now?

I was thinking to downgrade to 12.0.2.0 but I am afraid to brick my phone.

I did some research and I found out that I must check Anti-Rollback protection on my phone and the ROM that I want to flash, I fallowed this guide here.

So my current rollback index is anti: 2 , but the rollback index of the image is 0 , I download it from here (V12.0.2.0.QFNMIXM Fastboot ROM).

and this is the flash_all.bat script :

if exist %~dp0images\anti_version.txt (for /f "delims==" %%a in (%~dp0images\anti_version.txt) do (set CURRENT_ANTI_VER=%%a))

if [%CURRENT_ANTI_VER%] EQU [] set CURRENT_ANTI_VER=0

for /f "tokens=2 delims=: " %%i in ('fastboot %* getvar anti 2^>^&1 ^| findstr /r /c:"anti:"') do (set version=%%i)

if [%version%] EQU [] set version=0

set anticheck="antirollback check pass"

if %version% GTR %CURRENT_ANTI_VER% set anticheck="Current device antirollback version is greater than this pakcage"

echo %anticheck% | findstr /r /c:"pass" || [MENTION=279333]ECHO[/MENTION] "Antirollback check error" && exit /B 1

fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *toco" || echo Missmatching image and device

fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *toco" || exit /B 1

fastboot %* erase boot || [MENTION=279333]ECHO[/MENTION] "Erase boot error" && exit /B 1

fastboot %* flash crclist %~dp0images\crclist.txt || [MENTION=279333]ECHO[/MENTION] "Flash crclist error" && exit /B 1

fastboot %* flash sparsecrclist %~dp0images\sparsecrclist.txt || [MENTION=279333]ECHO[/MENTION] "Flash sparsecrclist error" && exit /B 1

fastboot %* flash xbl %~dp0images\xbl.elf || [MENTION=279333]ECHO[/MENTION] "Flash xbl error" && exit /B 1

fastboot %* flash xblbak %~dp0images\xbl.elf || [MENTION=279333]ECHO[/MENTION] "Flash xblbak error" && exit /B 1

fastboot %* flash xbl_config %~dp0images\xbl_config.elf || [MENTION=279333]ECHO[/MENTION] "Flash xbl_config error" && exit /B 1

fastboot %* flash xbl_configbak %~dp0images\xbl_config.elf || [MENTION=279333]ECHO[/MENTION] "Flash xbl_configbak error" && exit /B 1

fastboot %* flash abl %~dp0images\abl.elf || [MENTION=279333]ECHO[/MENTION] "Flash abl error" && exit /B 1

fastboot %* flash ablbak %~dp0images\abl.elf || [MENTION=279333]ECHO[/MENTION] "Flash ablbak error" && exit /B 1

fastboot %* flash tz %~dp0images\tz.mbn || [MENTION=279333]ECHO[/MENTION] "Flash tz error" && exit /B 1

fastboot %* flash tzbak %~dp0images\tz.mbn || [MENTION=279333]ECHO[/MENTION] "Flash tzbak error" && exit /B 1

fastboot %* flash hyp %~dp0images\hyp.mbn || [MENTION=279333]ECHO[/MENTION] "Flash hyp error" && exit /B 1

fastboot %* flash hypbak %~dp0images\hyp.mbn || [MENTION=279333]ECHO[/MENTION] "Flash hypbak error" && exit /B 1

fastboot %* flash devcfg %~dp0images\devcfg.mbn || [MENTION=279333]ECHO[/MENTION] "Flash devcfg error" && exit /B 1

fastboot %* flash devcfgbak %~dp0images\devcfg.mbn || [MENTION=279333]ECHO[/MENTION] "Flash devcfgbak error" && exit /B 1

fastboot %* flash storsec %~dp0images\storsec.mbn || [MENTION=279333]ECHO[/MENTION] "Flash storsec error" && exit /B 1

::fastboot %* flash storsecbak %~dp0images\storsec.mbn || [MENTION=279333]ECHO[/MENTION] "Flash storsecbak error" && exit /B 1

fastboot %* flash bluetooth %~dp0images\BTFM.bin || [MENTION=279333]ECHO[/MENTION] "Flash bluetooth error" && exit /B 1

fastboot %* flash cmnlib %~dp0images\cmnlib.mbn || [MENTION=279333]ECHO[/MENTION] "Flash cmnlib error" && exit /B 1

fastboot %* flash cmnlibbak %~dp0images\cmnlib.mbn || [MENTION=279333]ECHO[/MENTION] "Flash cmnlibbak error" && exit /B 1

fastboot %* flash cmnlib64 %~dp0images\cmnlib64.mbn || [MENTION=279333]ECHO[/MENTION] "Flash cmnlib64 error" && exit /B 1

fastboot %* flash cmnlib64bak %~dp0images\cmnlib64.mbn || [MENTION=279333]ECHO[/MENTION] "Flash cmnlib64bak error" && exit /B 1

fastboot %* flash modem %~dp0images\NON-HLOS.bin || [MENTION=279333]ECHO[/MENTION] "Flash modem error" && exit /B 1

fastboot %* flash dsp %~dp0images\dspso.bin || [MENTION=279333]ECHO[/MENTION] "Flash dsp error" && exit /B 1

fastboot %* flash metadata %~dp0images\metadata.img || [MENTION=279333]ECHO[/MENTION] "Flash metadata error" && exit /B 1

fastboot %* flash keymaster %~dp0images\km4.mbn || [MENTION=279333]ECHO[/MENTION] "Flash keymaster error" && exit /B 1

fastboot %* flash keymasterbak %~dp0images\km4.mbn || [MENTION=279333]ECHO[/MENTION] "Flash keymasterbak error" && exit /B 1

fastboot %* flash logo %~dp0images\logo.img || [MENTION=279333]ECHO[/MENTION] "Flash logo error" && exit /B 1

::fastboot %* flash splash %~dp0images\splash.img || [MENTION=279333]ECHO[/MENTION] "Flash splash error" && exit /B 1

fastboot %* flash misc %~dp0images\misc.img || [MENTION=279333]ECHO[/MENTION] "Flash misc error" && exit /B 1

fastboot %* flash aop %~dp0images\aop.mbn || [MENTION=279333]ECHO[/MENTION] "Flash aop error" && exit /B 1

fastboot %* flash aopbak %~dp0images\aop.mbn || [MENTION=279333]ECHO[/MENTION] "Flash aopbak error" && exit /B 1

fastboot %* flash qupfw %~dp0images\qupv3fw.elf || [MENTION=279333]ECHO[/MENTION] "Flash qupfw error" && exit /B 1

fastboot %* flash qupfwbak %~dp0images\qupv3fw.elf || [MENTION=279333]ECHO[/MENTION] "Flash qupfwbak error" && exit /B 1

fastboot %* flash imagefv %~dp0images\imagefv.elf || [MENTION=279333]ECHO[/MENTION] "Flash imagefv error" && exit /B 1

fastboot %* flash uefisecapp %~dp0images\uefi_sec.mbn || [MENTION=279333]ECHO[/MENTION] "Flash uefisecapp error" && exit /B 1

fastboot %* flash uefisecappbak %~dp0images\uefi_sec.mbn || [MENTION=279333]ECHO[/MENTION] "Flash uefisecappbak error" && exit /B 1

fastboot %* flash multiimgoem %~dp0images\multi_image.mbn || [MENTION=279333]ECHO[/MENTION] "Flash multiimgoem error" && exit /B 1

fastboot %* flash vbmeta %~dp0images\vbmeta.img || [MENTION=279333]ECHO[/MENTION] "Flash vbmeta error" && exit /B 1

fastboot %* flash dtbo %~dp0images\dtbo.img || [MENTION=279333]ECHO[/MENTION] "Flash dtbo error" && exit /B 1

fastboot %* flash super %~dp0images\super.img || [MENTION=279333]ECHO[/MENTION] "Flash super error" && exit /B 1

fastboot %* flash vbmeta_system %~dp0images\vbmeta_system.img || [MENTION=279333]ECHO[/MENTION] "Flash vbmeta_system error" && exit /B 1

fastboot %* flash cache %~dp0images\cache.img || [MENTION=279333]ECHO[/MENTION] "Flash cache error" && exit /B 1

fastboot %* flash userdata %~dp0images\userdata.img || [MENTION=279333]ECHO[/MENTION] "Flash userdata error" && exit /B 1

fastboot %* flash recovery %~dp0images\recovery.img || [MENTION=279333]ECHO[/MENTION] "Flash recovery error" && exit /B 1

fastboot %* erase secdata || [MENTION=279333]ECHO[/MENTION] "Erase secdata error" && exit /B 1

fastboot %* flash cust %~dp0images\cust.img || [MENTION=279333]ECHO[/MENTION] "Flash cust error" && exit /B 1

fastboot %* flash boot %~dp0images\boot.img || [MENTION=279333]ECHO[/MENTION] "Flash boot error" && exit /B 1

fastboot %* reboot || [MENTION=279333]ECHO[/MENTION] "Reboot error" && exit /B 1

Any ideas or an easy way to root without downgrade? thanks all.

Solved:

I flashed boot.img, reboot the phone, flashed patched_boot.img and root is working now. no need to downgrade.​