Official Rom for POCO X3 NFC (Surya)

luminouche

Senior Member
Oct 1, 2007
1,044
115
0
Paris, FR
Hi
Can't flash Fastboot roms. I tried EEA and Global, impossible to flash.
My X3 is unlocked, i waited 168 hours for this.

I downloaded tgz archives, i extracted them (as i always did).
X3 in fastboot mode, recognized by computer.
I ran "Flash_all.bat", the black command window open and instantly close.
Can't understand why.

I opened in notepad the "Flash_all.bat" (changed .bat to .txt), in the 1st lines we can find "Karna" codename and "Surya".
Why "Karna" ?

Are those archives bugged ?
 

Louis235

Senior Member
Jan 14, 2013
643
183
43
Münsterland
Hi
Can't flash Fastboot roms. I tried EEA and Global, impossible to flash.
My X3 is unlocked, i waited 168 hours for this.

I downloaded tgz archives, i extracted them (as i always did).
X3 in fastboot mode, recognized by computer.
I ran "Flash_all.bat", the black command window open and instantly close.
Can't understand why.

I opened in notepad the "Flash_all.bat" (changed .bat to .txt), in the 1st lines we can find "Karna" codename and "Surya".
Why "Karna" ?

Are those archives bugged ?
Did you unzip twice? So that you get the "images" Folder? And I always put that images Folder directly into "c". Whenever I had it in another folder, I had difficulties to flash. Just an idea. Hope you'll be successful [emoji4]

Sent from my [device_name] using XDA-Developers Legacy app
 

luminouche

Senior Member
Oct 1, 2007
1,044
115
0
Paris, FR
Unzipped, the folder is like all other Xiaomi rom folders.



The flash_all file in text :

fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *karna" || fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *surya" || echo Missmatching image and device
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *karna" || fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *surya" || exit /B 1
set CURRENT_ANTI_VER=2
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
if %version% GTR %CURRENT_ANTI_VER% (
echo current device antirollback version is greater than this package
exit /B 1
)

fastboot %* flash xbl %~dp0images\xbl.elf || @ECHO "Flash xbl error" && exit /B 1
fastboot %* flash xblbak %~dp0images\xbl.elf || @ECHO "Flash xblbak error" && exit /B 1
fastboot %* flash xbl_config %~dp0images\xbl_config.elf || @ECHO "Flash xbl_config error" && exit /B 1
fastboot %* flash xbl_configbak %~dp0images\xbl_config.elf || @ECHO "Flash xbl_config error" && exit /B 1
fastboot %* flash imagefv %~dp0images\imagefv.elf || @ECHO "Flash imagefv error" && exit /B 1
fastboot %* flash imagefvbak %~dp0images\imagefv.elf || @ECHO "Flash imagefvbak error" && exit /B 1
fastboot %* flash aop %~dp0images\aop.mbn || @ECHO "Flash aop error" && exit /B 1
fastboot %* flash aopbak %~dp0images\aop.mbn || @ECHO "Flash aopbak error" && exit /B 1

fastboot %* flash uefisecapp %~dp0images\uefi_sec.mbn || @ECHO "Flash uefisecapp error" && exit /B 1
fastboot %* flash uefisecappbak %~dp0images\uefi_sec.mbn || @ECHO "Flash uefisecappbak error" && exit /B 1
fastboot %* flash qupfw %~dp0images\qupv3fw.elf || @ECHO "Flash qupfw error" && exit /B 1

fastboot %* flash metadata %~dp0images\metadata.img || @ECHO "Flash xbl error" && exit /B 1
fastboot %* flash tz %~dp0images\tz.mbn || @ECHO "Flash tz error" && exit /B 1
fastboot %* flash tzbak %~dp0images\tz.mbn || @ECHO "Flash tzbak error" && exit /B 1


fastboot %* flash hyp %~dp0images\hyp.mbn || @ECHO "Flash hyp error" && exit /B 1
fastboot %* flash hypbak %~dp0images\hyp.mbn || @ECHO "Flash hypbak error" && exit /B 1


fastboot %* flash keymaster %~dp0images\km4.mbn || @ECHO "Flash keymaster error" && exit /B 1
fastboot %* flash keymasterbak %~dp0images\km4.mbn || @ECHO "Flash keymasterbak error" && exit /B 1
fastboot %* flash cmnlib %~dp0images\cmnlib.mbn || @ECHO "Flash cmnlib error" && exit /B 1
fastboot %* flash cmnlibbak %~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 cmnlib64bak %~dp0images\cmnlib64.mbn || @ECHO "Flash cmnlib64 error" && exit /B 1


fastboot %* flash modem %~dp0images\NON-HLOS.bin || @ECHO "Flash modem error" && exit /B 1
fastboot %* flash dsp %~dp0images\dspso.bin || @ECHO "Flash dsp error" && exit /B 1

fastboot %* flash bluetooth %~dp0images\BTFM.bin || @ECHO "Flash bluetooth error" && exit /B 1

fastboot %* flash storsec %~dp0images\storsec.mbn || @ECHO "Flash storsec error" && exit /B 1

fastboot %* flash devcfg %~dp0images\devcfg.mbn || @ECHO "Flash devcfg error" && exit /B 1

fastboot %* flash abl %~dp0images\abl.elf || @ECHO "Flash abl error" && exit /B 1
fastboot %* flash ablbak %~dp0images\abl.elf || @ECHO "Flash ablbak error" && exit /B 1

fastboot %* flash dtbo %~dp0images\dtbo.img || @ECHO "Flash dtbo error" && exit /B 1

fastboot %* flash vbmeta %~dp0images\vbmeta.img || @ECHO "Flash vbmeta error" && exit /B 1

fastboot %* flash boot %~dp0images\boot.img || @ECHO "Flash boot error" && exit /B 1
fastboot %* flash recovery %~dp0images\recovery.img || @ECHO "Flash recovery error" && exit /B 1

fastboot %* flash super %~dp0images\super.img || @ECHO "Flash super error" && exit /B 1
fastboot %* flash userdata %~dp0images\userdata.img || @ECHO "Flash userdata error" && exit /B 1
fastboot %* flash vbmeta_system %~dp0images\vbmeta_system.img || @ECHO "Flash vbmeta_system error" && exit /B 1
fastboot %* flash cust %~dp0images\cust.img || @ECHO "Flash cust error" && exit /B 1

fastboot %* flash ffu %~dp0images\ffu.img || @ECHO "Flash ffu error" && exit /B 1

fastboot %* flash cache %~dp0images\cache.img || @ECHO "Flash cache error" && exit /B 1

fastboot %* erase misc
fastboot %* erase apdp
fastboot %* erase multiimgoem

fastboot %* reboot
 

Feeleepino

Member
Sep 25, 2020
6
0
1
I unlocked yesterday updated to miui 12.0.2 global and spent some time with magisk today. safety net OK but cts profile not.

POCO/surya_global/surya:10/QKQ1.200512.002/V12.0.2.0.QJGMIXM:user/release-keys

This is the prop I get
 

jeryll

Senior Member
Dec 23, 2010
366
168
73
This is really good tool.
What apps have you uninstalled? here's my list for now:

i'm gonna make a thread
well since my device is finally unlocked for a few hours, I'm going to "play" with it a little, and since unlocking is like factory reset, right now nothing is uninstalled, I am going to flash probably twrp or orange box, definitely root it, maybe flash european version of miui by ingbrzy, and will see if there is need for this tool after rooting, because well - with root you have absolute power over the device, IMHO this tool is most usable for people without root...
when I had locked device I "uninstalled" everything google related that can be re-installed from playstore, and ofcourse miui garbage that can be replaced with apps that I am used to work with...
good thing is this is a very few click tool so you can uninstall, reinstall, enable, disable really quick and comfortable
 
Last edited:

zazou99

New member
Jun 16, 2015
4
2
0
Android 11

I've heard before that EU roms have less bloatware, is the POCO X3 NFC EEA rom the EU rom in this case? (Sorry, not very knowledgeable on Miui as I usually boot custom roms on my older devices)
There is still no xiaomi.eu ROM, but I have read that they are already testing android 11 for Poco X3 :D
 

Botandroid

Senior Member
Dec 14, 2013
370
63
58
I have this version Version: V12.0.3.0.QJGEUXM (MIUI11) and have a problem that is: the battery stats only show results of 24 hours.
There is a fix for this problem?