• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Move from Global 12.0.10.0(QJDEEUXM) to Global 12.0.4.0(QJDIDXM)

Search This thread

superdare

New member
May 24, 2021
2
0
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!