FROM stock Global EU to stock Global ID


superdare

Members
May 24, 2021
1
3
Hello,

I have bought a Xiaomi Mi 10T Pro, "apollo" code name, with MIUI Global 12.0.10.0 (QJDEEUXM) and I want to flash Miui Global 12.0.4.0.QJDIDXM - Indonesia rom (for miui dialer).
On my current ROM after running "fastboot getvar anti" returns 1.
Well, the .bat files from the fastboot 12.0.4.0.QJDIDXM, are a little bit different from other fastboot phones roms versions (see below).
Anyway, the question is more than clear:
Is it safe to flash this rom?
---
::check anti_version
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" || @ECHO "Antirollback check error" && exit /B 1
---

Thank you in advance!