C:\Users\kunal\XiaomiADBFastbootTools>set CURRENT_ANTI_VER=1
C:\Users\kunal\XiaomiADBFastbootTools>for /F "tokens=2 delims=: " %i in ('C:\Users\kunal\XiaomiADBFastbootTools\platform-tools\fastboot getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )
'findstr' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\kunal\XiaomiADBFastbootTools>if [] EQU [] set version=0
C:\Users\kunal\XiaomiADBFastbootTools>set anticheck="antirollback check pass"
C:\Users\kunal\XiaomiADBFastbootTools>if 0 GTR 1 set anticheck="Current device antirollback version is greater than this pakcage"
C:\Users\kunal\XiaomiADBFastbootTools>echo "antirollback check pass" | findstr /r /c:"pass" ||
'findstr' is not recognized as an internal or external command,
operable program or batch file.
Done!
Guyzzzzzzz please help me:crying::crying:
K.V.K said:
C:\Users\kunal\XiaomiADBFastbootTools>set CURRENT_ANTI_VER=1
C:\Users\kunal\XiaomiADBFastbootTools>for /F "tokens=2 delims=: " %i in ('C:\Users\kunal\XiaomiADBFastbootTools\platform-tools\fastboot getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )
'findstr' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\kunal\XiaomiADBFastbootTools>if [] EQU [] set version=0
C:\Users\kunal\XiaomiADBFastbootTools>set anticheck="antirollback check pass"
C:\Users\kunal\XiaomiADBFastbootTools>if 0 GTR 1 set anticheck="Current device antirollback version is greater than this pakcage"
C:\Users\kunal\XiaomiADBFastbootTools>echo "antirollback check pass" | findstr /r /c:"pass" ||
'findstr' is not recognized as an internal or external command,
operable program or batch file.
Done!
Guyzzzzzzz please help me:crying::crying:
Click to expand...
Click to collapse
Are you using Mi Flash Tool or manual flash?
jazz.nikku said:
Are you using Mi Flash Tool or manual flash?
Click to expand...
Click to collapse
Mi Flash Tool
Related
Hi guys,
I had installed few hours ago the LineageOS, but it really didn't fit to me, so I decided to wipe data, cache etc. and install global stable rom.
First of all when I wanted to make the wipe, I got msg like "unable mount internal storage".
Then I downloaded fastboot version of firmware and was going to flash it via XiaoMiFlash tool. I got this:
[20:36:48 d5fafeb0]:MiFlash 2017.4.25.0
[20:36:48 d5fafeb0]:image path:C:\Users\Dżony\Desktop\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global_f413999234\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global
[20:36:48 d5fafeb0]:env android path:"C:\XiaoMi\XiaoMiFlash\Source\ThirdParty\Google\Android"
[20:36:48 d5fafeb0]:script :C:\Users\Dżony\Desktop\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global_f413999234\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global\flash_all.bat
[20:36:48 d5fafeb0]hysical Memory Usage:1777664 Byte
[20:36:48 d5fafeb0]:$fastboot -s d5fafeb0 getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
[20:36:48 d5fafeb0]roduct: MSM8996
[20:36:48 d5fafeb0]:$fastboot -s d5fafeb0 getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || exit /B 1
[20:36:48 d5fafeb0]roduct: MSM8996
[20:36:48 d5fafeb0]:$fastboot -s d5fafeb0 erase bk12 2>&1
[20:36:48 d5fafeb0]:erasing 'bk12'...
[20:36:48 d5fafeb0]KAY [ 0.021s]
[20:36:48 d5fafeb0]:finished. total time: 0.021s
[20:36:48 d5fafeb0]:$if not 0 == 0 exit /B 1
[20:36:48 d5fafeb0]:$rem fastboot -s d5fafeb0 getvar soc_id 2>&1 | findstr /r /c:"^soc_id: *239" || echo Missmatching image and device in soc_id
[20:36:48 d5fafeb0]:$rem fastboot -s d5fafeb0 getvar soc_id 2>&1 | findstr /r /c:"^soc_id: *239" || exit /B 1
[20:36:48 d5fafeb0]:$fastboot -s d5fafeb0 flash xbl C:\Users\Dzony\Desktop\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global_f413999234\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global\images\xbl.elf ||
[20:36:48 d5fafeb0]:error:error: cannot load 'C:\Users\Dzony\Desktop\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global_f413999234\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global\images\xbl.elf': No such file or directory
[20:36:48 d5fafeb0]:"Flash xbl error"
[20:36:48 d5fafeb0]:error:error: cannot load 'C:\Users\Dzony\Desktop\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global_f413999234\gemini_global_images_V9.2.1.0.NAAMIEK_20180117.0000.00_7.0_global\images\xbl.elf': No such file or directory
[20:36:48 d5fafeb0]rocess exit.
[20:36:49 d5fafeb0]:flashSuccess False
[20:36:49 d5fafeb0]:isFactory False CheckCPUID False
[20:36:49 d5fafeb0]:before:flashSuccess is False set IsUpdate:True set IsDone True
[20:36:49 d5fafeb0]:after:flashSuccess is False set IsUpdate:false set IsDone true
I don't know how to fix that. When I boot my mi5 I get stuck boot screen. Help!
Hi, I'm stuck on the following line in Miflash for over an hour now:
[20:58:19 3825d80]:MiFlash 2018.5.28.0
[20:58:19 3825d80]:Thread id:12 Thread name:3825d80
[20:58:19 3825d80]:image path:\Downloads\root20032021\cepheus_eea_global_images_V12.0.4.0.QFAEUXM_20210115.0000.00_10.0_eea
[20:58:19 3825d80]:env android path:"D:\Downloads\root20032021\MiFlash20180528\Source\ThirdParty\Google\Android"
[20:58:19 3825d80]:script :\Downloads\root20032021\cepheus_eea_global_images_V12.0.4.0.QFAEUXM_20210115.0000.00_10.0_eea\flash_all.bat
[20:58:19 3825d80]hysical Memory Usage:3317760 Byte
[20:58:19 3825d80]:start process id 4372 name cmd
[20:58:20 3825d80]:info:$set CURRENT_ANTI_VER=1
[20:58:20 3825d80]:info:$for /F "tokens=2 delims=: " %i in ('fastboot -s 3825d80 getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )
Is it safe to unplug the device and try again?
Well I unlocked my bootloader of my mi 11 ultra Chinese version to try other ROMs other than the stock Chinese ROM. I tried to flash the EEA ROM via fast boot but got two errors. The first one was too many links . The second one mentioned something like versions mismatch between the firmware and the phone. Does this mean that I can not install any stock ROM other than the Chinese version? If I can, then how? or how to fix this error(s)?
I'm currently on the xiaomi.eu latest weekly build . Its good overall but what I do not like is the battery life specially in idle times and most of the themes contain Chinese characters. Will installing either EEA or Global firmwares help in these issues?
Thanks in advance
lordvoldmort said:
Well I unlocked my bootloader of my mi 11 ultra Chinese version to try other ROMs other than the stock Chinese ROM. I tried to flash the EEA ROM via fast boot but got two errors. The first one was too many links . The second one mentioned something like versions mismatch between the firmware and the phone. Does this mean that I can not install any stock ROM other than the Chinese version? If I can, then how? or how to fix this error(s)?
I'm currently on the xiaomi.eu latest weekly build . Its good overall but what I do not like is the battery life specially in idle times and most of the themes contain Chinese characters. Will installing either EEA or Global firmwares help in these issues?
Thanks in advance
Click to expand...
Click to collapse
Did you use this tool?
If not download the rom here.
If yes try to change usb cable and use usb 2 port and check drivers.
Dont relock the bootloader.
And don't go backwards in versions without tweaking the fastboot script.
Sathelp said:
And don't go backwards in versions without tweaking the fastboot script.
Click to expand...
Click to collapse
Thats not true, you can go backwards.. you need to edit the flash_all.bat file and remove these Files:
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *star" /c:"^product: *mars" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *star" /c:"^product: *mars" || exit /B 1
::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
fastboot %* getvar crc 2>&1 | findstr /r /c:"^crc: 1" && if %errorlevel% equ 0 (
fastboot %* flash crclist %~dp0images\crclist.txt || @ECHO "Flash crclist error" && exit /B 1
fastboot %* flash sparsecrclist %~dp0images\sparsecrclist.txt || @ECHO "Flash sparsecrclist error" && exit /B 1
)
you can type in cmd:
fastboot getvar anti.
That needs to be the same as anti_version.txt in Folder Images
you need to check the Anti File in Images.
And if you edit with getvar and setvar then you can downgrade for sure. or simple edit as shown above
012345678 said:
Thats not true, you can go backwards.. you need to edit the flash_all.bat file and remove these Files:
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *star" /c:"^product: *mars" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *star" /c:"^product: *mars" || exit /B 1
::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
fastboot %* getvar crc 2>&1 | findstr /r /c:"^crc: 1" && if %errorlevel% equ 0 (
fastboot %* flash crclist %~dp0images\crclist.txt || @ECHO "Flash crclist error" && exit /B 1
fastboot %* flash sparsecrclist %~dp0images\sparsecrclist.txt || @ECHO "Flash sparsecrclist error" && exit /B 1
)
you can type in cmd:
fastboot getvar anti.
That needs to be the same as anti_version.txt in Folder Images
you need to check the Anti File in Images.
And if you edit with getvar and setvar then you can downgrade for sure. or simple edit as shown above
Click to expand...
Click to collapse
This is what he says"without tweaking the fastboot script"
If the version of Ar is equal or higher this is not necessary.
yeah youre right my fault...
What will happen if you do?
I flashed mine from Xiaomi eu 12.5.7.0 to EEA 12.5.3.0 without editing the script and phone rebooted just fine into new rom even giving me an error at the end (because didn't fix the miflashtool)
xNAPx said:
What will happen if you do?
I flashed mine from Xiaomi eu 12.5.7.0 to EEA 12.5.3.0 without editing the script and phone rebooted just fine into new rom even giving me an error at the end (because didn't fix the miflashtool)
Click to expand...
Click to collapse
If you do not relock the bootloader, there is an error at the end of the flash (without consequence).
lordvoldmort said:
Well I unlocked my bootloader of my mi 11 ultra Chinese version to try other ROMs other than the stock Chinese ROM. I tried to flash the EEA ROM via fast boot but got two errors. The first one was too many links . The second one mentioned something like versions mismatch between the firmware and the phone. Does this mean that I can not install any stock ROM other than the Chinese version? If I can, then how? or how to fix this error(s)?
I'm currently on the xiaomi.eu latest weekly build . Its good overall but what I do not like is the battery life specially in idle times and most of the themes contain Chinese characters. Will installing either EEA or Global firmwares help in these issues?
Thanks in advance
Click to expand...
Click to collapse
Both those errors are easily fixed. If you download Notepad++, you can edit the <Flash all.bat> script. In the script, lines four through eleven, I believe, there is an anti roll back portion of the script. Just delete that entry. The other error is happening in the MiFlash tool. Open the app and go to the upper left hand corner and open the configuration tab. The dropdown will say MIUI configuration. Click on that and scroll down to Checkpoint and delete the entry that is there. With those items deleted, you should be able to flash from CN to EEA or Global without any problem. Just remeber to select the correct radio button in the lower right hand corner. because if you relock your bootloader, you will be unable to flash a rom until you unlock it again.
Hello,
Is any way how to return back from Global Beta Android 13 to any Android 12 ROM? I have tried fastboot flash, but there is error antirollback. Tried to boot twrp but phone boots in to OS.
Thank you
vlubosh said:
Hello,
Is any way how to return back from Global Beta Android 13 to any Android 12 ROM? I have tried fastboot flash, but there is error antirollback. Tried to boot twrp but phone boots in to OS.
Thank you
Click to expand...
Click to collapse
Search is your friend.
What I have found is this post about trying Android 13:
https://forum.xda-developers.com/t/...aomi-12-pro-zeus.4382425/page-5#post-87300939
And this post about rolling back to Android 12:
https://forum.xda-developers.com/t/doubts-about-global-variant.4481367/#post-87321893
Cheers!
donmarkoni said:
Search is your friend.
What I have found is this post about trying Android 13:
https://forum.xda-developers.com/t/...aomi-12-pro-zeus.4382425/page-5#post-87300939
And this post about rolling back to Android 12:
https://forum.xda-developers.com/t/doubts-about-global-variant.4481367/#post-87321893
Cheers!
Click to expand...
Click to collapse
You are Amazing, will try, thank you.
donmarkoni said:
Search is your friend.
What I have found is this post about trying Android 13:
https://forum.xda-developers.com/t/...aomi-12-pro-zeus.4382425/page-5#post-87300939
And this post about rolling back to Android 12:
https://forum.xda-developers.com/t/doubts-about-global-variant.4481367/#post-87321893
Cheers!
Click to expand...
Click to collapse
tried also that way, with error:
PS D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea> .\flash_all.bat
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar product 2>&1 | findstr /r /c:"^product: *zeus" || echo Missmatching image and device
product: zeus
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar product 2>&1 | findstr /r /c:"^product: *zeus" || exit /B 1
product: zeus
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if exist "D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\anti_version.txt" (for /F "usebackq" %a in ("D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\anti_version.txt") do (set CURRENT_ANTI_VER=%a ) )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>(set CURRENT_ANTI_VER=1 )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if [1] EQU [] set CURRENT_ANTI_VER=0
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>for /F "tokens=2 delims=: " %i in ('fastboot getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>(set version=1 )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if [1] EQU [] set version=0
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>set anticheck="antirollback check pass"
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if 1 GTR 1 set anticheck="Current device antirollback version is greater than this pakcage"
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>echo "antirollback check pass" | findstr /r /c:"pass" ||
"antirollback check pass"
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar crc 2>&1 | findstr /r /c:"^crc: 1" && if 0 EQU 0 (
fastboot flash crclist D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\crclist.txt ||
fastboot flash sparsecrclist D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\sparsecrclist.txt ||
)
crc: 1
fastboot: error: cannot load 'D:\xiaomi': No such file or directory
"Flash crclist error"
PS D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>
Tried every FASTBOOT ROM (global, chinese, eea) same result.
vlubosh said:
tried also that way, with error:
PS D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea> .\flash_all.bat
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar product 2>&1 | findstr /r /c:"^product: *zeus" || echo Missmatching image and device
product: zeus
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar product 2>&1 | findstr /r /c:"^product: *zeus" || exit /B 1
product: zeus
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if exist "D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\anti_version.txt" (for /F "usebackq" %a in ("D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\anti_version.txt") do (set CURRENT_ANTI_VER=%a ) )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>(set CURRENT_ANTI_VER=1 )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if [1] EQU [] set CURRENT_ANTI_VER=0
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>for /F "tokens=2 delims=: " %i in ('fastboot getvar anti 2>&1 | findstr /r /c:"anti:"') do (set version=%i )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>(set version=1 )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if [1] EQU [] set version=0
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>set anticheck="antirollback check pass"
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if 1 GTR 1 set anticheck="Current device antirollback version is greater than this pakcage"
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>echo "antirollback check pass" | findstr /r /c:"pass" ||
"antirollback check pass"
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar crc 2>&1 | findstr /r /c:"^crc: 1" && if 0 EQU 0 (
fastboot flash crclist D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\crclist.txt ||
fastboot flash sparsecrclist D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\sparsecrclist.txt ||
)
crc: 1
fastboot: error: cannot load 'D:\xiaomi': No such file or directory
"Flash crclist error"
PS D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>
Tried every FASTBOOT ROM (global, chinese, eea) same result.
Click to expand...
Click to collapse
Your directory name might be the culprit, change it with no space in between.
vlubosh said:
tried also that way, with error:
PS D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea> .\flash_all.bat
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar product 2>&1 | findstr /r /c:"^product: *zeus" || echo Missmatching image and device
product: zeus
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>fastboot getvar product 2>&1 | findstr /r /c:"^product: *zeus" || exit /B 1
product: zeus
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>if exist "D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\anti_version.txt" (for /F "usebackq" %a in ("D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea\images\anti_version.txt") do (set CURRENT_ANTI_VER=%a ) )
D:\xiaomi 12 pro\zeus_eea_global_images_V13.0.19.0.SLBEUXM_20220704.0000.00_12.0_eea>(set CURRENT_ANTI_VER=1 )
Click to expand...
Click to collapse
Check here
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
or
Use the flash_all.bat directly in the zip without going through Miflash
lontu said:
Your directory name might be the culprit, change it with no space in between.
Click to expand...
Click to collapse
cant believe, thanks again, after renaming main folder its now working, i was confused about the antirollback warning and google also gave me tips about antirollback fix
Hello everyone ,
I opened this thread because of the regrets after updating to Miui 14 (same as updating to Miui 13) ,
And i want to downgrade my Miui version.
I have few experiences before with roms etc...
But i want you to explain it to me STEP BY STEP like i am a beginner. (Bcs phones are so expensive here so i don't want to make any mistake )
Details:
Phone: Redmi Note 10S
Fastboot state: Unlocked
PC: Windows 10
Objection: Downgrading Miui SAFELY from Miui 14 to Miui 12.5
Drivers: PC has MTK, ADB and some unnecessary drivers...
(I know that my all data will be gone, so no worries)
(I just want gaming to be good since i play games like Genshin Impact etc... But i don't want to switch to another rom since i need custom recovery etc... )
Hope y'all have a nice day
Thanks to those helping me
you can downgrade using the stock firmware just need to mod the .bat file to bypass the rollback protection:
This is the line to remove in orden to downgrade:
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
after remove that in bat file. just doble click on it and put your device in fastboot mode the plug in to pc and wait
Just flash the miui 12.5 firmware using the mi flash as the anti version is same in both roms. No need to follow @tutibreaker 's method