Related
I flashed an Mi3 using the MiFlash Tool and now i can't get it to boot. It gets stuck on the Mi logo screen.
When i tried flashing it again i get the error Unspecified error(0xffffffff)
This is the log i get when i try to flash:
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00000948]GetSearchPath(1512): The specified service does not exist.(0x800704db)
[00000948]StartFlash(13): The parameter is incorrect.(0x80070057)
[000017FC]0d180686 0.00 execute D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\flash_all.bat
[000017FC]0d180686 0.03
[000017FC]0d180686 0.03 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
[000017FC]0d180686 0.05 Missmatching image and device
[000017FC]0d180686 0.05
[000017FC]0d180686 0.05 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
[000017FC]0d180686 0.06
[000017FC]CScriptReport:oWork(433): Unspecified error(0xffffffff)
[000017FC]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[000017FC]SaveFlashResult(1478): The specified service does not exist.(0x800704db)
I would really apreciate if someone can help me with this.
- Move the fastboot and adb (?) files in the images folder.
- Move the flash script ( the one you need)
- Execute the Script.
Check if this command returns any device as a result.
Code:
fastboot devices
If not, install drivers in device manager.
grecko987 said:
I flashed an Mi3 using the MiFlash Tool and now i can't get it to boot. It gets stuck on the Mi logo screen.
When i tried flashing it again i get the error Unspecified error(0xffffffff)
This is the log i get when i try to flash:
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00000948]GetSearchPath(1512): The specified service does not exist.(0x800704db)
[00000948]StartFlash(13): The parameter is incorrect.(0x80070057)
[000017FC]0d180686 0.00 execute D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\flash_all.bat
[000017FC]0d180686 0.03
[000017FC]0d180686 0.03 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
[000017FC]0d180686 0.05 Missmatching image and device
[000017FC]0d180686 0.05
[000017FC]0d180686 0.05 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
[000017FC]0d180686 0.06
[000017FC]CScriptReport:oWork(433): Unspecified error(0xffffffff)
[000017FC]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[000017FC]SaveFlashResult(1478): The specified service does not exist.(0x800704db)
I would really apreciate if someone can help me with this.
Click to expand...
Click to collapse
The easiest way to solve this problem is by downloading a Chinese Developer Fastboot package .. I recently had this problem and just download it and then flash it using Mi flash .. It will solve the problem, feel free to ask me if needed .. If i helped do leave a Thanks
Thank you for the help
The devices is connected.
I tried flashing the files on the phone one by one using fastboot but i can't flash anything else except recovery, system, userdata, cache, boot. The other files i can't, i get this error:
D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\images>fastboot flash tz tz.mbn
target reported max download size of 713031680 bytes
sending 'tz' (325 KB)...
OKAY [ 0.013s]
writing 'tz'...
FAILED (remote: Invalid Partition Name.)
finished. total time: 0.017s
I tried formating all the partitions and than flashing only the files i could flash on the device but nothing changes.
I flashed both CWM and TWRP recovery but i can't go into recovery. When i press volume up and power a red LED starts blinking but the screen stays black. Adb doesn't see the device so i can reboot in recovery using that and i don't know if fastboot can do that. I understand ADB won't see the devices if it's android isn't booted so i stopped trying that...
I can't even enter fastboot easy. It won't power on without the cable connected. I think the battery is dead cause i haven't used the devices for about 8-9 months but i just want to see it boot.
I tried the chineese version of the ROM, i tried global, developer, standard, still the same error.
Also when i start MiPCSuite i get an option to flash update and when i hit flash i get "Couldn't flash device".
I tried selecting both beta and stable versions but it won't flash.
If i close the flash window, MiPcSuite shows me the devices is disconnected and i can press the "Connect to device" button but still nothing.
Another thing i saw on the forums is that if i used the wrong ROM when flashing 1st time you can make the device think he is something else...
I tried flash_all.bat:
D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\images>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
Missmatching image and device
D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\images>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
If it matters in any way, i am using windows 10 but i got this error Unspecified error(0xffffffff) before and i was using win 7.
Edit: Still haven't fixed the problem. If there's anyone else expiriencing the same thing please post here.
fix
ultimate solution for all problems of mi flash
http://en.miui.com/thread-243483-1-1.html
grecko987 said:
The devices is connected.
I tried flashing the files on the phone one by one using fastboot but i can't flash anything else except recovery, system, userdata, cache, boot. The other files i can't, i get this error:
D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\images>fastboot flash tz tz.mbn
target reported max download size of 713031680 bytes
sending 'tz' (325 KB)...
OKAY [ 0.013s]
writing 'tz'...
FAILED (remote: Invalid Partition Name.)
finished. total time: 0.017s
I tried formating all the partitions and than flashing only the files i could flash on the device but nothing changes.
I flashed both CWM and TWRP recovery but i can't go into recovery. When i press volume up and power a red LED starts blinking but the screen stays black. Adb doesn't see the device so i can reboot in recovery using that and i don't know if fastboot can do that. I understand ADB won't see the devices if it's android isn't booted so i stopped trying that...
I can't even enter fastboot easy. It won't power on without the cable connected. I think the battery is dead cause i haven't used the devices for about 8-9 months but i just want to see it boot.
I tried the chineese version of the ROM, i tried global, developer, standard, still the same error.
Also when i start MiPCSuite i get an option to flash update and when i hit flash i get "Couldn't flash device".
I tried selecting both beta and stable versions but it won't flash.
If i close the flash window, MiPcSuite shows me the devices is disconnected and i can press the "Connect to device" button but still nothing.
Another thing i saw on the forums is that if i used the wrong ROM when flashing 1st time you can make the device think he is something else...
I tried flash_all.bat:
D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\images>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
Missmatching image and device
D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\images>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
If it matters in any way, i am using windows 10 but i got this error Unspecified error(0xffffffff) before and i was using win 7.
Edit: Still haven't fixed the problem. If there's anyone else expiriencing the same thing please post here.
Click to expand...
Click to collapse
Any luck in resolving this? I have the exact same problem as yours. Tried both Windows 7 and Windows 10.
I flashed an Mi3 using the MiFlash Tool and now i can't get it to boot. It gets stuck on the Mi logo screen.
When i tried flashing it again i get the error Unspecified error(0xffffffff)
I have a new(5 days) Xiaomi Mi Max Prime (India), and I'm not computer sauvy. Upon starting phone, I'm unable to get past Start Up Splash Screen. I might have put a password (shape) on it for protection, but can not remember it. Each time I try the pswrd, it says not correct, and locks the screen for 15 mins. If I try again, before 15 mins, it adds anothet 15 mins (now 30 mins locked!).
How do I get past this problem and screen?
grecko987 said:
I flashed an Mi3 using the MiFlash Tool and now i can't get it to boot. It gets stuck on the Mi logo screen.
When i tried flashing it again i get the error Unspecified error(0xffffffff)
This is the log i get when i try to flash:
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00000948]GetSearchPath(1512): The specified service does not exist.(0x800704db)
[00000948]StartFlash(13): The parameter is incorrect.(0x80070057)
[000017FC]0d180686 0.00 execute D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\flash_all.bat
[000017FC]0d180686 0.03
[000017FC]0d180686 0.03 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
[000017FC]0d180686 0.05 Missmatching image and device
[000017FC]0d180686 0.05
[000017FC]0d180686 0.05 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
[000017FC]0d180686 0.06
[000017FC]CScriptReport:oWork(433): Unspecified error(0xffffffff)
[000017FC]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[000017FC]SaveFlashResult(1478): The specified service does not exist.(0x800704db)
I would really apreciate if someone can help me with this.
Click to expand...
Click to collapse
Just create a bat file (.bat extension) and place it to the folder just above the downloaded directory with following commands
echo "land Fastboot Tool Ver 8.0"
@Echo off
set p="landx"
@Echo off
for /f "delims=" %%i in ("%cd%") do set folder=%%~nxi
@Echo off
echo %folder% 2>&1 | findstr /r /c:"china" || set p="land"
echo "^ These images are only used for device %p%"
fastboot %* getvar product 2>&1 | findstr /r /x /c:"product: *%p%$" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /x /c:"product: *%p%$" || exit /B 1
fastboot %* flash partition %~dp0images\gpt_both0.bin || @ECHO "Flash tz error" && exit /B 1
fastboot %* flash tz %~dp0images\tz.mbn || @ECHO "Flash tz error" && exit /B 1
fastboot %* flash sbl1 %~dp0images\sbl1.mbn || @ECHO "Flash sbl1 error" && exit /B 1
fastboot %* flash rpm %~dp0images\rpm.mbn || @ECHO "Flash rpm error" && exit /B 1
fastboot %* flash aboot %~dp0images\emmc_appsboot.mbn || @ECHO "Flash emmc_appsboot error" && exit /B 1
fastboot %* flash tzbak %~dp0images\tz.mbn || @ECHO "Flash tzbak error" && exit /B 1
fastboot %* flash sbl1bak %~dp0images\sbl1.mbn || @ECHO "Flash sbl1bak error" && exit /B 1
fastboot %* flash rpmbak %~dp0images\rpm.mbn || @ECHO "Flash uboot rpmbak" && exit /B 1
fastboot %* flash abootbak %~dp0images\emmc_appsboot.mbn || @ECHO "Flash abootbak error" && exit /B 1
fastboot %* flash devcfg %~dp0images\devcfg.mbn || @ECHO "Flash devcfg error" && exit /B 1
fastboot %* flash lksecapp %~dp0images\lksecapp.mbn || @ECHO "Flash lksecapp error" && exit /B 1
fastboot %* flash cmnlib %~dp0images\cmnlib.mbn || @ECHO "Flash cmnlib error" && exit /B 1
fastboot %* flash cmnlib64 %~dp0images\cmnlib64.mbn || @ECHO "Flash cmnlib64 error" && exit /B 1
fastboot %* flash keymaster %~dp0images\keymaster.mbn || @ECHO "Flash keymaster error" && exit /B 1
fastboot %* flash devcfgbak %~dp0images\devcfg.mbn || @ECHO "Flash devcfgbak error" && exit /B 1
fastboot %* flash lksecappbak %~dp0images\lksecapp.mbn || @ECHO "Flash lksecappbak error" && exit /B 1
fastboot %* flash cmnlibbak %~dp0images\cmnlib.mbn || @ECHO "Flash cmnlibbak error" && exit /B 1
fastboot %* flash cmnlib64bak %~dp0images\cmnlib64.mbn || @ECHO "Flash cmnlib64bak error" && exit /B 1
fastboot %* flash keymasterbak %~dp0images\keymaster.mbn || @ECHO "Flash keymasterbak error" && exit /B 1
fastboot %* flash dsp %~dp0images\adspso.bin || @ECHO "Flash dsp error" && exit /B 1
fastboot %* erase boot
fastboot %* erase mdtp
fastboot %* flash modem %~dp0images\NON-HLOS.bin || @ECHO "Flash modem error" && exit /B 1
fastboot %* flash system %~dp0images\system.img || @ECHO "Flash system error" && exit /B 1
fastboot %* flash cache %~dp0images\cache.img || @ECHO "Flash cache error" && exit /B 1
fastboot %* flash userdata %~dp0images\userdata.img || @ECHO "Flash userdata error" && exit /B 1
fastboot %* flash recovery %~dp0images\recovery.img || @ECHO "Flash recovery error" && exit /B 1
fastboot %* flash boot %~dp0images\boot.img || @ECHO "Flash boot error" && exit /B 1
fastboot %* flash misc %~dp0images\misc.img || @ECHO "Flash misc error" && exit /B 1
fastboot %* flash splash %~dp0images\splash.img || @ECHO "Flash splash error" && exit /B 1
fastboot %* flash cust %~dp0images\cust.img || @ECHO "Flash cust error" && exit /B 1
fastboot %* erase config
fastboot %* reboot
pause
Just run that .bat file and you are done, no need for MI-FLASH-TOOL
could u please give the procedure in detail by video or by step by step instructions?.
Fix Unspecified Error 0xffffffff:
grecko987 said:
I flashed an Mi3 using the MiFlash Tool and now i can't get it to boot. It gets stuck on the Mi logo screen.
When i tried flashing it again i get the error Unspecified error(0xffffffff)
This is the log i get when i try to flash:
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]CreateManagedObject(1392): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1436): Unspecified error(0x80131604)
[00000948]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[00000948]GetSearchPath(1512): The specified service does not exist.(0x800704db)
[00000948]StartFlash(13): The parameter is incorrect.(0x80070057)
[000017FC]0d180686 0.00 execute D:\Xiaomi\cancro_images_6.4.21_20160412.0000.18_6.0_cn\flash_all.bat
[000017FC]0d180686 0.03
[000017FC]0d180686 0.03 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || echo Missmatching image and device
[000017FC]0d180686 0.05 Missmatching image and device
[000017FC]0d180686 0.05
[000017FC]0d180686 0.05 $fastboot -s 0d180686 getvar product 2>&1 | findstr /r /c:"^product: *MSM8974" || exit /B 1
[000017FC]0d180686 0.06
[000017FC]CScriptReport:oWork(433): Unspecified error(0xffffffff)
[000017FC]GetFactoryObject(1457): The specified service does not exist.(0x800704db)
[000017FC]SaveFlashResult(1478): The specified service does not exist.(0x800704db)
I would really apreciate if someone can help me with this.
Click to expand...
Click to collapse
fix done mi 4 lte ct by www .ifilevn. xyz/2019/04/fix-loi-unspecified-error-0xffffffff .html
0966326631 said:
fix done mi 4 lte ct by www .ifilevn. xyz/2019/04/fix-loi-unspecified-error-0xffffffff .html
Click to expand...
Click to collapse
It says mismatching image and device, check if you want to flash the right thing.
Hello,
I bought Mi5 - 3/64GB phone from Aliexpress. When I got it, I didn't tried to connect it to internet or insert SIM card. I just took Mi Pc suite, and updated it to MIUI 8 version. After that everythink looked OK. Then I inserted SIM card with data enabled, my phone suddenly connected to internet and blocked up. Now I only see the picture I attached.
This is not my Mi account, I can't use phone at all. Can't access menu, turn on developer options or even use updater.
Phone is locked.
Recovery (Sound up+power) doesn't enter anywhere, only black screen with phone.
Bootloader works ok.
When pluged to pc, can't send any files to phone through USB cable.
I tried unbick methods (can't post link as a new member), with all ROM versions. It only updates to Xiaomi Mi5 Global stable. Other versions doesn't update, only gives me some kind of chinese error.
Maby someone had this issue ?
Attached photo
It looks like you got a Mi5 with a unofficial Rom and lots of bloatware.
With the guide in miui forum i tried to load a official rom, but it didn't work.
Instead my Mi5 is bricked now. Unable to get in the recovery mode, only into fastboot. I even got the unlock code
easily but couldn't my PC won't connect to the Mi5.
use this method to flash MIUI 8 Global version
skip the miflash tool,... extract everything using 7zip,... move files to root directory example C:\miui8
connect phone into fastboot mode and run flash_all.bat
First boot takes a lot of time...
chiragkrishna said:
use method to flash MIUI 8 Global version
skip the miflash tool,... extract everything using 7zip,... move files to root directory example C:\miui8
connect phone into fastboot mode and run flash_all.bat
First boot takes a lot of time...
Click to expand...
Click to collapse
This method doesn't work. When I press flash_all.bat CMD window appears for half a second and then disappears with no reaction. (Tried run as administrator also)
rokasb said:
This method doesn't work. When I press flash_all.bat CMD window appears for half a second and then disappears with no reaction. (Tried run as administrator also)
Click to expand...
Click to collapse
There shouldn't be any spaces in the path...
Best place is extract in C:/miui8
chiragkrishna said:
There shouldn't be any spaces in the path...
Best place is extract in C:/miui8
Click to expand...
Click to collapse
I extracted to C:\MIUI8
rokasb said:
I extracted to C:\MIUI8
Click to expand...
Click to collapse
Is there any service center near your place? They ca help you unlock in couple of minutes
rokasb said:
I extracted to C:\MIUI8
Click to expand...
Click to collapse
Okay go to the folder, Hold down shift and right click(mouse) and select open command prompt here.... Now type flash_all.bat n hit enter and tell me what u get!!
chiragkrishna said:
Okay go to the folder, Hold down shift and right click(mouse) and select open command prompt here.... Now type flash_all.bat n hit enter and tell me what u get!!
Click to expand...
Click to collapse
Here it is what I get:
C:\miui>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
rokasb said:
Here it is what I get:
C:\miui>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
Click to expand...
Click to collapse
which rom did you download?
correct one is Xiaomi Mi 5 Latest Global Stable Version Fastboot File Download
chiragkrishna said:
which rom did you download?
correct one is Xiaomi Mi 5 Latest Global Stable Version Fastboot File Download
Click to expand...
Click to collapse
Yes, I downlaoded exacly this
rokasb said:
Yes, I downlaoded exacly this
Click to expand...
Click to collapse
okay right click on flash_all.bat and open in word editor
remove this line
Code:
fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
save it and run
chiragkrishna said:
okay right click on flash_all.bat and open in word editor
remove this line
Code:
fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
save it and run
Click to expand...
Click to collapse
So I copied ADB files to my c:/miui folder where is ROM files to acces adb.
And it cannot be flashed because device is locked, here is the text I get:
Code:
C:\MIUI8>flash_all.bat
C:\MIUI8>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
product: MSM8996
C:\MIUI8>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || exit /B 1
product: MSM8996
C:\MIUI8>fastboot erase bk12 2>&1
erasing 'bk12'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.022s
C:\MIUI8>if not 1 == 0 exit /B 1
C:\MIUI8>
rokasb said:
So I copied ADB files to my c:/miui folder where is ROM files to acces adb.
And it cannot be flashed because device is locked, here is the text I get:
Code:
C:\MIUI8>flash_all.bat
C:\MIUI8>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || echo Missmatching image and device
product: MSM8996
C:\MIUI8>fastboot getvar product 2>&1 | findstr /r /c:"^product: *MSM8996" || exit /B 1
product: MSM8996
C:\MIUI8>fastboot erase bk12 2>&1
erasing 'bk12'...
FAILED (remote: device is locked. Cannot erase)
finished. total time: 0.022s
C:\MIUI8>if not 1 == 0 exit /B 1
C:\MIUI8>
Click to expand...
Click to collapse
try using MIFlash tool, if that fails then you can either give it service center or unlock your device
chiragkrishna said:
try using MIFlash tool, if that fails then you can either give it service center or unlock your device
Click to expand...
Click to collapse
I already tried flash with MiFlash tool. In my country there is no service center. Maby there is another way without service center, something like teardown method for bricked devices... Anything would help
rokasb said:
I already tried flash with MiFlash tool. In my country there is no service center. Maby there is another way without service center, something like teardown method for bricked devices... Anything would help
Click to expand...
Click to collapse
download MI PC suite install it and run it
enter recovery mode (hold VolUp+Power) and connect to PC
hopefully MI PC suite should update your phone!!
chiragkrishna said:
download MI PC suite install it and run it
enter recovery mode (hold VolUp+Power) and connect to PC
hopefully MI PC suite should update your phone!!
Click to expand...
Click to collapse
Yes, only china newest Mi Pc Suite does something. It allows me to choose global stable rom to write, but after that my problem repeats...
rokasb said:
Yes, only china newest Mi Pc Suite does something. It allows me to choose global stable rom to write, but after that my problem repeats...
Click to expand...
Click to collapse
unlock your device
chiragkrishna said:
unlock your device
Click to expand...
Click to collapse
Problem is that it writes me, that device is locked to another device... anad I can't unlock it
rokasb said:
Problem is that it writes me, that device is locked to another device... anad I can't unlock it
Click to expand...
Click to collapse
did you try manual way
Code:
fastboot flash boot boot.img
try it
if possible send me the flash_all.bat
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.
How to get back on Stock ROM V12.0.3.0.RKFEUXM
1. First of all, you need to download the Firmware,Flash Tool & Minimal ADB & Fastboot (Everything u need is in the .rar File)
2. After the Download is finished, unpack the Zip Folder
3. Put the Firmware Folder directly in the C:\ Folder to avoid the "Anti Rollback Check Error"
4. Install Minimal ADB & Fastboot & the Drivers
5. Put your phone into fastboot mode and plug it into your PC
6. Open Mi Flash Tool (And Install the Drivers)
7. Click "select" then navigate to your C:\ Drive and select the Firmware Folder
8. Choose either you want to clean and lock the bootloader or just clean and keep the bootloader.
9. Click flash and wait until the flashing is done, after the flashing process a "Error" Message shows up but don't worry
10. Now you're on the Stock Rom Version "V12.0.3.0" but after the Setup, a V12.5.4.0 will pop up
Download- Mega (3,79GB)
Hello,
Im trying to use your guide but I keep getting the antirollback error. I''ve put all the folders innto C: and it keeps coming up. Is it something on my end im not doing correctly? Should all the files be in one specific folder re MIUI Rollback or does that not matter?
Thank you
p0werbag said:
Hello,
Im trying to use your guide but I keep getting the antirollback error. I''ve put all the folders innto C: and it keeps coming up. Is it something on my end im not doing correctly? Should all the files be in one specific folder re MIUI Rollback or does that not matter?
Thank you
Click to expand...
Click to collapse
Whats your problem? Maybe someone could help. Why dont you want to install the latest MIUI provided by Xiaomi? If you want to use the latest MIUI rom you could use https://www.xiaomitool.com/V2/ this tool.
Always helped me without problems. Or do you need a specific solution?
p0werbag said:
Hello,
Im trying to use your guide but I keep getting the antirollback error. I''ve put all the folders innto C: and it keeps coming up. Is it something on my end im not doing correctly? Should all the files be in one specific folder re MIUI Rollback or does that not matter?
Thank you
Click to expand...
Click to collapse
I know I'm a little late for the party, but here's for future refference;
you can right-click the flash_all.bat file and remove the following lines:
Code:
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 product 2>&1 | findstr /r /c:"^product: *agate" /c:"^product: *amber"|| @echo "Missmatching image and device" && exit /B 1
@echo "Now Check Finished ......"
save file and flash!
I downloaded the fastboot ROM here https://xiaomirom.com/en/download/redmi-note-10-pro-sweet-stable-V13.0.13.0.SKFEUXM/
and the Miflash here https://xiaomirom.com/en/download-xiaomi-flash-tool-miflash/
Then edited the "flash_all_lock" bat file like above. I put the ROM folder in "C" drive to avoid getting the "can't find folder" error I was getting.
stonebear said:
I downloaded the fastboot ROM here https://xiaomirom.com/en/download/redmi-note-10-pro-sweet-stable-V13.0.13.0.SKFEUXM/
and the Miflash here https://xiaomirom.com/en/download-xiaomi-flash-tool-miflash/
Then edited the "flash_all_lock" bat file like above. I put the ROM folder in "C" drive to avoid getting the "can't find folder" error I was getting.
Click to expand...
Click to collapse
and did it work? also, the flash_all_lock also locks the device again
RadixMalum said:
and did it work? also, the flash_all_lock also locks the device again
Click to expand...
Click to collapse
Yes, it worked. I wanted the bootloader locked again.
stonebear said:
Yes, it worked. I wanted the bootloader locked again.
Click to expand...
Click to collapse
ah, perfect!