Question Stuck trying to flash Global ROM to Poco X4 Pro 5G - Redmi Note 11 Pro+ 5G (peux)/POCO X4 Pro 5G (veux)

Hi all,
I've unlocked my bootloader, installed the EU ROM and found too much missing for my liking. I was unable to load Gapps due to TWRP issues and I'd like to return back to the global ROM but i'm struggling:
1) I'm not 100% sure I've got the global ROM, I've come across 3x separate links (more exist) that have different global ROMS, what is the official ROM link? (there is even multiple global ROM like Taiwan, Indonesia, EEA, Russia, turkey...) Link 1 Link 2 Link 3.
2) When attempting to follow Xiaomi community guide and using their own unique ROM link, MiFlash errors during installation due to error: "Antirollback check error". People discuss editing batch files which aren't there and at this point im too afraid to brick my device.
Please help, i'd like to reflash the global ROM in a safe manner and i'm not sure how best to go about doing this

1) I recommend stock rom, not custom rom.
The link is a custom rom.
I use the normal global rom version, not for a specific country.
2) I write directly in fastboot mode, not using the miflash tool.
Extract the ROM file and run the flash_all.bat file.
https://c.mi.com/oc/miuidownload/detail?guide=2

Thanks, i'm assuming the stock ROM is from the same link?
I've tried using flash_all.bat however the command prompt that runs immediately shuts after executing. I assume its again due to the anti roll back checks. How can i stop this and more importantly is there a risk of bricking if messed with?
Edit: Got it working eventually. For anyone else in the same position don't use Powershell. Use Windows command prompt, "cd" to the directory of the extracted Zip. Just run "flash_all.bat" from command prompt and let it run.
Thanks osebee

Related

Fix miui can't be installed on this device, also anti 4 ubl and downgrade possibility

Hi, I just found a thread on MIUI forum which inspire me
http://en.miui.com/thread-3450268-1-1.html
Kudos to the OP in that thread
I tried the tutorial to one of my friend's Note 5, the tutorial works, so now we know that DOWNGRADING FROM 8.82 GLOBAL TO 8.7.26 GLOBAL IS POSSIBLE
Now I need someone with bricked devices because of downgrading to try it, you must download fastboot room first and sideload it to your redmi note 5
Here is the summary and the short version of the already short tutorial (lol), also some fixes needed, for those stuck in "MIUI CANT BE INSTALLED ON THIS DEVICE" error AND NEED AUTHORIZATION CODE TO FLASH
ALSO FOR THOSE IN ANTI 4 WITH FAKE UBL (MAINLY DEVICES SOLD IN INDONESIA), WHO WANT TO FLASH CHINA ROM AND BIND THE MI ACCOUNT TO THE DEVICE TO LATER REQUESTING UNLOCK TO XIAOMI
FOR THOSE WHOSE DEVICES ARE BRICKED BECAUSE OF DOWNGRADING, YOU CAN TRY TO DOWNLOAD THE FASTBOOT ROM AND FLASH IT WITH THE SAME STEP, NEVER TESTED IT WITH EDL MODE, SO ANYONE?
1. Xiaomi Tool
2. XiaomiTool ADB
3. MI FLASH PRO
4. ROM GLOBAL 9.5.19
5. ROM GLOBAL 8.7.26
6. ROM GLOBAL 8.8.2
7. ROM CHINA 8.7.26
8. DRIVER2 QUALCOM, ADB DLL YG BISA DICARI DI POST LAIN
THE STEPS :
1. FLASH YOUR NOTE 5 TO 8.8.2 GLOBAL ROM USING MI FLASH PRO
2. OPEN CMD AND SIDE LOAD USING XIAOMITOOL ADB, COMMAND IS xiaomiadb sideload_miui<spasi>namafile.zip. WHICH IS miui_HMNote5HMNote5ProGlobal_8.7.26_d7fb438aef_8.1.zip. YOUR DEVICE WILL BE DOWNGRADED TO 8.7.2.6 GLOBAL ROM
3. NOW FLASH YOUR PHONE USING ANY TOOL LIKE XIAOMITOOL TO 8.7.2.6 CHINA
4. VOILA, IT WORKS NOW
don't know when Xiaomi will close this bug hole, so try it while you can
Tried to downgrade from 8.82 Global Rom to 8.726 Rom Global, later flashed the China 8.726 rom and it worked
It means we still can downgrade, I think this is a bug in xiaomi server, can anyone use this bug for our advantage?
Thanks
codearm2 said:
FOR THOSE WHOSE DEVICES ARE BRICKED BECAUSE OF DOWNGRADING, YOU CAN TRY TO DOWNLOAD THE FASTBOOT ROM AND FLASH IT WITH THE SAME STEP, NEVER TESTED IT WITH EDL MODE, SO ANYONE?
Click to expand...
Click to collapse
1. if your device was on china rom from the very begining. you flashed global rom over china rom without unlocking BL, and phone got bricked (This MIUI version can not be installed on this device)
Click to expand...
Click to collapse
There should have been note posted about that guide: -
NOT FOR DEVICES HARD BRICKED BY DOWNGRADING ON ARP!
You still need access to recovery/fastboot for that tutorial to work.

Going from 11.0.15.0 to Poco X2 11.0.7.0

Could anybody share how can I move from MiUI EU ROM for K30 11.0.15.0 to Poco X2 official build 11.0.7.0?
I installed EU ROM as I found flashing ROM with TWRP was easier than using Mi Flash tool, in case we want to switch between ROM's. But, after I installed 11.0.15.0 I figured lot of the custom ROM's do not boot after flashing them and phone boots into fastboot mode (except couple of ROM's). So, I have been looking at how switch back EU MiUI ROM from 11.0.15.0 to Poco X2 11.0.7.0. The issue am facing while flashing using Mi Flash tool is that it gives error of ARB (Anti rollback error: 2, also I checked the same by issuing fastboot getvar anti, it says 2), and I am not sure how to get past this.
Could someone please help me with this?
I think your device is triggered with anti-rollback. So you cannot install any rom with build less than 11.0.15.0 that is poco x2 11.0.7.0 cant be flashed. So, you have to wait until new poco build greater than 11.0.15.0 and then flash it. Until then, flash your existing rom or some custom rom. Do it carefully and dont ever flash older roms from now, if something goes wrong, your device will hardbrick and you will have to go to service center where they have authorized EDL access to your device to flash things. Best of Luck.
You can use full recovery rom zip 11.0.7 and flash it via twrp. In 11.0.7 zip make sure you change the devicename in script from phoenixin to phoenix as twrp is pheonix.
After flashing you will be on stock 11.0.7 and stock recovery.
If you want to try custom roms , you can just flash the stock vedor zip of 11.0.07 and then flash any aosp custom rom.(you can find this zip in telegram channel/github)
eagle06 said:
You can use full recovery rom zip 11.0.7 and flash it via twrp. In 11.0.7 zip make sure you change the devicename in script from phoenixin to phoenix as twrp is pheonix.
After flashing you will be on stock 11.0.7 and stock recovery.
If you want to try custom roms , you can just flash the stock vedor zip of 11.0.07 and then flash any aosp custom rom.(you can find this zip in telegram channel/github)
Click to expand...
Click to collapse
Bro, but what about anti-rollback hardbrick?.. new miui wont allow downgrade right? he has very newer build than 11.0.7.
eagle06 said:
You can use full recovery rom zip 11.0.7 and flash it via twrp. In 11.0.7 zip make sure you change the devicename in script from phoenixin to phoenix as twrp is pheonix.
After flashing you will be on stock 11.0.7 and stock recovery.
If you want to try custom roms , you can just flash the stock vedor zip of 11.0.07 and then flash any aosp custom rom.(you can find this zip in telegram channel/github)
Click to expand...
Click to collapse
vivek12341 said:
Bro, but what about anti-rollback hardbrick?.. new miui wont allow downgrade right? he has very newer build than 11.0.7.
Click to expand...
Click to collapse
@eagle06 am worried about 11.0.15.0 > 11.0.7.0 which will trigger ARB as @vivek12341 has pointed out and it will hard brick the device, from what I have read around, hence this post if anybody knows a way out. There seemed to be workarounds initially when Xiaomi introduced ARB, I have not seen anybody mentioning such things in recent times especially for MiUI 11.
The reason why I moved to 11.0.15.0 is was, as it has no bloatware etc, and I did NOT know about ARB, now that I have 11.0.15.0 most of the custom ROMs are based on Poco X2 11.0.7.0 and I am facing issues flashing ROMs based on 11.0.7.0, as the format data from TWRP does not wipe properly + I see 98% of the time device goes to fastboot mode even if I flash Poco stock recovery and clear the data, seems like 11.0.15.0 is also an issue
May be I will have to wait till Poco releases updates > 11.0.15.0 or for MiUI 12. Actually I still dont know, not many know much on this subject.
crDroid works without any issues (which is what my current daily driver, its a very stable ROM), flashing on 11.0.15.0 after clearing data, also any ROM whose dev releases fastboot ROM's those also I can flash and boot without issues, rest all ROM's dont and end up back in fastboot mode
coolcorner said:
Could anybody share how can I move from MiUI EU ROM for K30 11.0.15.0 to Poco X2 official build 11.0.7.0?
I installed EU ROM as I found flashing ROM with TWRP was easier than using Mi Flash tool, in case we want to switch between ROM's. But, after I installed 11.0.15.0 I figured lot of the custom ROM's do not boot after flashing them and phone boots into fastboot mode (except couple of ROM's). So, I have been looking at how switch back EU MiUI ROM from 11.0.15.0 to Poco X2 11.0.7.0. The issue am facing while flashing using Mi Flash tool is that it gives error of ARB (Anti rollback error: 2, also I checked the same by issuing fastboot getvar anti, it says 2), and I am not sure how to get past this.
Could someone please help me with this?
Click to expand...
Click to collapse
You should flash back to China rom (V11.0.15.0.QGHCNXM) using miflash and install TWRP-3.4.1B-0322 using fastboot. After that you can flash all custom roms as normal. I have tried almost all the custom roms and they all work without any problem.
Lol.. Bro i am on miui 12 beta and went back to 11.0.0.7 via twrp flash...
Just download this http://bigota.d.miui.com/V11.0.7.0....NGlobal_V11.0.7.0.QGHINXM_9c232b802a_10.0.zip
Open that in pc, modify the script and rename device name to phoenix from phoenixin.
On twrp format data.. Then reboot to twrp again, tranfer that zip file and just flash. You will be back on stock global 11.0.0.7
Also crdroid as you mentioned has custom vendor which is different from china eu or global one.
If you want to use fastboot zip then you need to use https://www.xiaomitool.com/V2/ to overcome antirollback error.
eagle06 said:
Lol.. Bro i am on miui 12 beta and went back to 11.0.0.7 via twrp flash...
Just download this http://bigota.d.miui.com/V11.0.7.0....NGlobal_V11.0.7.0.QGHINXM_9c232b802a_10.0.zip
Open that in pc, modify the script and rename device name to phoenix from phonenixin.
On twrp format data.. Then reboot to twrp again, tranfer that zip file and just flash. You will be back on stock global 11.0.0.7
Also crdroid as you mentioned has custom vendor which is different from china eu or global one. e
If you want to use fastboot zip then you need to use https://www.xiaomitool.com/V2/ to overcome antirollback error.
Click to expand...
Click to collapse
1. Which script are you talking about? I could not find any script. check attached snapshot.
2. And to do this step from TWRP to flash 11.0.7.0, do I need to be on MIUI EU ROM or I can flash from any custom ROM too?
3. You were on MIUI 12 beta (official global) and changed devicename from phoenixin to phoenix and flashed using TWRP after formatting data, without hitting ARB issue? Wow!
4. You mentioned https://forum.xda-developers.com/showpost.php?p=82502389&postcount=3 Telegram/Github where we can get official vendor zip which we can flash from TWRP, any links to that?
5. Is there a Redmi K30 global ROM which I can use instead of Poco X2, they should be same right?
eagle06 said:
You can use full recovery rom zip 11.0.7 and flash it via twrp. In 11.0.7 zip make sure you change the devicename in script from phoenixin to phoenix as twrp is pheonix.
After flashing you will be on stock 11.0.7 and stock recovery.
If you want to try custom roms , you can just flash the stock vedor zip of 11.0.07 and then flash any aosp custom rom.(you can find this zip in telegram channel/github)
Click to expand...
Click to collapse
Please share telegram or github link for vendor.zip which I can flash using TWRP. As crDroid has custom vendor may be that is why it works for me on EU ROM and I see other custom ROMs do not have vendor installed while flashing using TWRP.
jngiag said:
You should flash back to China rom (V11.0.15.0.QGHCNXM) using miflash and install TWRP-3.4.1B-0322 using fastboot. After that you can flash all custom roms as normal. I have tried almost all the custom roms and they all work without any problem.
Click to expand...
Click to collapse
As a final resort will go to China ROM V11.0.15.0.QGHCNXM (this will be chinese right?) or this itself is global K30 ROM? Any links to global official MIUI K30 ROM, all I get is K30 chinese ROM
Sorry, I am asking too many questions, I do not want to brick phone in these times and go stand in queue at Mi service center during these times, when the servicing engineer will touch my phone all over
coolcorner said:
1. Which script are you talking about? I could not find any script. check attached snapshot.
Its in META-INF/com/google/android/ file name updater-script. Change getprop("ro.product.device") == "phoenixin" || this to getprop("ro.product.device") == "phoenix" || . Why we are doing this? because we are using k30 twrp.. there is no special twrp for poco x2. phoenix = k30, phoenixin=poco x2
2. And to do this step from TWRP to flash 11.0.7.0, do I need to be on MIUI EU ROM or I can flash from any custom ROM too? Any rom
3. You were on MIUI 12 beta (official global) and changed devicename from phoenixin to phoenix and flashed using TWRP after formatting data, without hitting ARB issue? Wow! Yes with twrp. When you flashed twrp recovery , your device is now treated as K30 in twrp space
4. You mentioned https://forum.xda-developers.com/showpost.php?p=82502389&postcount=3 Telegram/Github where we can get official vendor zip which we can flash from TWRP, any links to that?check Pm , cant post telegram links here
5. Is there a Redmi K30 global ROM which I can use instead of Poco X2, they should be same right?Theres no K30 global.., poco x2 rom is global, k30 roms is china and there is eu custom rom based on chinese roms
Please share telegram or github link for vendor.zip which I can flash using TWRP. As crDroid has custom vendor may be that is why it works for me on EU ROM and I see other custom ROMs do not have vendor installed while flashing using TWRP.
Whenever you want to use custom rom without vendor , you need to flash either 11.0.0.7 zip or 11.0.0.7 vendor zip before flashing that custom rom
As a final resort will go to China ROM V11.0.15.0.QGHCNXM (this will be chinese right?) or this itself is global K30 ROM? Any links to global official MIUI K30 ROM, all I get is K30 chinese ROM
Sorry, I am asking too many questions, I do not want to brick phone in these times and go stand in queue at Mi service center during these times, when the servicing engineer will touch my phone all over
Click to expand...
Click to collapse
Check my replies in blue
coolcorner said:
As a final resort will go to China ROM V11.0.15.0.QGHCNXM (this will be chinese right?) or this itself is global K30 ROM? Any links to global official MIUI K30 ROM, all I get is K30 chinese ROM
Sorry, I am asking too many questions, I do not want to brick phone in these times and go stand in queue at Mi service center during these times, when the servicing engineer will touch my phone all over
Click to expand...
Click to collapse
It is a chinese rom. You can select english as your default language. It really doesn't matter as you are going to wipe it anyway if your purpose is to use it for flashing custom roms.
[Deleted]
coolcorner said:
Just now I tried flashing V11.0.15.0.QGHCNXM using Mi Flash tool, and I hit Anti Roll back error again. Not sure what I am missing here I am on same version 11.0.15.0 EU ROM which has same Anti 2, not sure why the error this time?
Click to expand...
Click to collapse
Bro If you want to use fastboot zip then you need to use https://www.xiaomitool.com/V2/ to overcome antirollback error. Connect device and enable usb debugging and proceed.
Mi flash tool doesnt work for poco.....you always get that rollback error.
For fastboot zips use above tool.
For recovery zips use twrp.
Both methods flash the same thing and twrp will be replaced with stock recovery.
---------- Post added at 08:36 AM ---------- Previous post was at 08:20 AM ----------
Vendor only zip.
[ fw_vendor_phoenixin_miui_PHOENIXININGlobal_V11_0_7_0_QGHINXM_9c232b802a.zip
Size : 1.12 GiB
Download : fw_vendor_phoenixin_miui_PHOENIXININGlobal_V11_0_7_0_QGHINXM_9c232b802a.zip
https://drive.google.com/uc?id=1-mIvf3EhtZwLl_rg1cFgZIp5Zz4QlQZu&export=download
Flash via twrp. If you get error 7/wrong device check updater script and change name
eagle06 said:
Bro If you want to use fastboot zip then you need to use https://www.xiaomitool.com/V2/ to overcome antirollback error. Connect device and enable usb debugging and proceed.
Mi flash tool doesnt work for poco.....you always get that rollback error.
For fastboot zips use above tool.
For recovery zips use twrp.
Both methods flash the same thing and twrp will be replaced with stock recovery.
Click to expand...
Click to collapse
Thanks, really appreciate your quick revert. I am trying out with xiaomitool now. I know TWRP method is simple, just edit/change the devicename. But, I am **** scared after seeing ARB error so many times. So using xiaomitool as you mentioned use it to overcome ARB error. I will update how it goes.
I thought Xiaomi is dev/custom dev friendly, seeing all these errors, no wonder why people resent MiUI so much, of course the hardware + price is good. From my search even Google on their devices is not this harsh about ARB blocking after unlocking bootloader.
eagle06 said:
Bro If you want to use fastboot zip then you need to use https://www.xiaomitool.com/V2/ to overcome antirollback error. Connect device and enable usb debugging and proceed.
Mi flash tool doesnt work for poco.....you always get that rollback error.
For fastboot zips use above tool.
For recovery zips use twrp.
Both methods flash the same thing and twrp will be replaced with stock recovery.
---------- Post added at 08:36 AM ---------- Previous post was at 08:20 AM ----------
Vendor only zip.
[ fw_vendor_phoenixin_miui_PHOENIXININGlobal_V11_0_7_0_QGHINXM_9c232b802a.zip
Size : 1.12 GiB
Download : fw_vendor_phoenixin_miui_PHOENIXININGlobal_V11_0_7_0_QGHINXM_9c232b802a.zip
https://drive.google.com/uc?id=1-mIvf3EhtZwLl_rg1cFgZIp5Zz4QlQZu&export=download
Flash via twrp. If you get error 7/wrong device check updater script and change name
Click to expand...
Click to collapse
Thanks for the vendor image link.
Oh! yeah I am back in Poco 11.0.7.0 image, xiaomitool worked without issues. Thanks to you!!
@eagle06 do you know in this entire image (attached file) list (from tgz file) which is fastboot file? The reason I ask is, in Poco X2 in fastboot mode I see a single deadpixel, whereas when I was in EU MIUI I never saw that dead pixel. I plan to replace that file with EU MIUI fastboot image file, so when am in fastboot, it is clean without any dead pixels.
That small white pixel in fastboot is normal. All users have it including me.
Pic
eagle06 said:
Pic
Click to expand...
Click to collapse
Yep right that is the one. When I was on EU Miui, that one did not have, hence asked which is the image file for fastboot, thought I would flash that or replace next time I flash Poco stock when I am installing new custom ROM.
Yes, its a trivial thing can be ignored, does not really bother or harm.
BTW, so now that I am back in Poco X2 stock (On top of that I have installed BlissROM), next time I have to flash I can use either TWRP or Xiaomitool/V2.
1. For TWRP, I need to rename devicename to phoenix from phoenixin in updater-script and flash it using TWRP after clearing data
OR
2. I can use Xiaomitool/V2 with ADB debugging on (same step as last time)
Just check fastboot getvar anti for my phone, it also says 2. There is no problem for me flashing china rom with miflash. I have successfully flashed it 4 times before.
Good to have another way of flashing - will try the xiaomitool next time. :good:
jngiag said:
Just check fastboot getvar anti for my phone, it also says 2. There is no problem for me flashing china rom with miflash. I have successfully flashed it 4 times before.
Good to have another way of flashing - will try the xiaomitool next time. :good:
Click to expand...
Click to collapse
Woah! Miflash tool kept throwing errors at me and you are saying it worked for you? Phew!!
If I had flashed using TWRP, I might have been holding a 200gm brick in my hands LOL. Got lucky by using Xiaomitool/v2 then Thanks to you. I will stick to Xiaomitool for flashing stock ROMs hence forth.

Cc9pro to global rom

I have a xiaomi cc9 pro Chinese that is on 12.0.2 and want to convert it to global note 10.
I'm waiting for the bootloader to be unlocked until the waiting hours finish.
I'm not sure what steps to follow, kindly help.
I've also downloaded the latest global rom form miui.com but its a zip file and I can't figure out how to install this.
Tried updating through settings but it won't accept the package.
Attachment are the screenshots of the file I've downloaded.
BN37 said:
I have a xiaomi cc9 pro Chinese that is on 12.0.2 and want to convert it to global note 10.
I'm waiting for the bootloader to be unlocked until the waiting hours finish.
I'm not sure what steps to follow, kindly help.
I've also downloaded the latest global rom form miui.com but its a zip file and I can't figure out how to install this.
Tried updating through settings but it won't accept the package.
Attachment are the screenshots of the file I've downloaded.
Click to expand...
Click to collapse
HI there..
You have to download the fastboot ROM and extract it. After that you can boot your phone in fastboot mode, and just run the flash_all.bat file from the extracted ROM. That's everything what you have to do, but just keep it in mind, don't relock the bootloader otherwise you'll brick the phone.
Best
Adnan
m_adnan said:
HI there..
You have to download the fastboot ROM and extract it. After that you can boot your phone in fastboot mode, and just run the flash_all.bat file from the extracted ROM. That's everything what you have to do, but just keep it in mind, don't relock the bootloader otherwise you'll brick the phone.
Best
Adnan
Click to expand...
Click to collapse
Can you share the link for fastboot rom which is global and on latest version. I'm only able to find this room that I've attached.

Question How to get back to Tmobile rom

I converted my tmobile one plus 9 to a global version. When I first tried i ended up with a brick, none of the msm tools worked all giving me the sahara connection error. I ended up being able to use a msm for the one plus 9 pro and then using twrp to flash a none pro rom to get me to a global rom.
I want to go back for a few reasons but whenever i run any tmobile msm tools i get an error say "unsupported target EU". I've tried different drivers with no luck.
Restore OnePlus 9 to Stock via Fastboot Commands
This guide assumes you have the SDK Platform Tools installed and working, along with USB drivers for your device (if needed), and have your full update zip which you've already extracted the payload.bin from, and then dumped the images using...
forum.xda-developers.com
Is the likely answer. Not 100% on that as i haven't tried it. But since msm not working would seem this only option
I looked at that thread, though it seems to need a stock rom or flashable update which I don't believe we have for the TMobile varient
Deadrider2 said:
I looked at that thread, though it seems to need a stock rom or flashable update which I don't believe we have for the TMobile varient
Click to expand...
Click to collapse
I'm sorry i didn't think to mention, you could try to use the rom included in the t-mobile msm and run it thru payload dumper. Then follow steps in that thread

Question I launched wrong bat file, bootloop

Hello, so I launched windows_fastboot_first_install_with_data_format instead of only the update.bat while already on latest stock ROM with Android 12 when installing Xiaomi EU rom. There were some write errors, cmd window just closed. Now I can't install anything. I am in bootloop, I can get into fastboot. But I can't even flash official stock rom using flash_all bat, it always ends up in writing error. What do I do? Thanks!
Code:
https://ctrlv.link/Rlbv
Edit: Fixed, XiaoMiTool V2 by Francesco saved me, I used it's unbrick device option, flashing went through and now I am back on stock android 12. But where did I go wrong? I watched youtube video and guy launched first_install bat file and it went through, but mine did not? Is it because version are slightly different? My stock rom is V13.0.1.0.SJUEUXM and Xiaomi EU is V13.0.3.0.SJUMIXM, is this a problem? Thanks!
"My stock rom is V13.0.1.0.SJUEUXM and Xiaomi EU is V13.0.3.0.SJUMIXM, is this a problem? Thanks! "
Global EEA ( europe ) : SJUEUXM
Global : SJUMIXM
I think because the bootloader was not unlocked before trying to change the firmware to another region

Categories

Resources