yashsingh1/xdaforums huggingface dataset:
[OnePlus 12] snowwolf725:
Could you clarify which 27 partitions you are referring to? To my knowledge, only 25 partitions are required. Regardless of whether it’s 27 or 25 partitions, some partitions (persist, ocdt, modemst1,modemst2) contain important and unique data that should not be flashed.

You need make a backup, before you flashing your phone.

Some partitions (metadata and userdata) will be wiped when you execute “fastboot -w”, so you do not require backup these partitions.

Ref:

How to convert from ColorOS to Global ..US.. India On Chinese Oneplus 12

USE AT YOUR OWN RISK... Do not lock bootloader after Flashing Complete setup first . I edit bat file ..removed fastboot-w in the beginning down in attachments You can get Files from here if IceCloud not working...

xdaforums.com

What to backup on brand new device? and best method?

With my OnePlus 8T, when it was new and before I started messing with it I made copies of the following files as a precaution: boot_a.img boot_b.img (I can't find my instructions for how I got the boot_a & boot_b image files from my 8T, maybe...

xdaforums.com
[OnePlus 12] alejandrobass:
I got your idea, I read through your script.

("boot.img","dtbo.img","engineering_cdt.img","init_boot.img","my_bigball.img","my_engineering.img","my_heytap.img","my_manifest.img","my_preload.img","my_product.img","my_region.img","my_stock.img","odm.img","product.img","recovery.img","splash.img","system.img","system_dlkm.img","system_ext.img","vbmeta.img","vbmeta_system.img","vbmeta_vendor.img","vendor.img","vendor_boot.img","vendor_dlkm.img")

No more confusion, thanks. My machine is brand new, I have no personal data, I only plan to use which after OxygenOS EU conversion.

Is your script meant as an replacement to the first post? Do I still need the 17GB file posted by thread starter?

Edit: tested, your script works, thanks a lot fam
[OnePlus 12] pxrave:
Need Bootloader unlock or work without too?
[OnePlus 12] snowwolf725:
You need unlock bootloader to flash partitions.
[OnePlus 12] alejandrobass:
Bro, thanks again for your script, may be you can add a few disclaimers and description.

Correct if I am wrong, here's a breakdown of what I understand. Prerequisites outlined on this page are still necessary. After completing the prerequisites, then your script will detect which region the provided firmware belongs to automatically and your script will flash these two(metadata.img and my_preload.img) region specific images accordingly.

According to me at least, the link you provided can act as an alternative to thread starter's 17GB file as long as the prerequisites are fulfilled
[OnePlus 12] xtcislove:
Got my op12 from tradingshenzhen today.

I did NOT pay them to convert to OxygenOS but they did.

Anyway i did the process again to make sure everything is fine and the first thing i did was installing orangefox to backup all partitions. I used this tutorial tradingshenzhen.com which is based on @Canuck Knarf work. Thank you for this, everything is working fine.

@All If you follow the tutorial everything will work as expected.
[OnePlus 12] strong8472:
@xtcislove Hi!

Is there any specific reason why did you reflash everything again? Did Tradingshenzen did something wrong?
[OnePlus 12] xtcislove:
I had to unlock the bl again to flash the orangefox recovery and backup some partitions.

I made sure that everything is right prior to relocking the bootloader.

I dont think tradingshenzhen did anything wrong except converting my device without payment :-P
[OnePlus 12] ongkal:
do you happen to know how to undo this if we did exactly just that? right now, no keyboard and stuck in waiting screen. had the same my_bigball error you mentioned and locked the bootloader before this happened so dont know what steps to take next.
[OnePlus 12] Janek89!:
Good morning. today i got op12 with global version. I wanted to change to the EU version via Oxyden updater because there is already an update available for download. Unfortunately, despite downloading files from tradingshenzen to change the software, I receive a message about incorrect verification. what can I do?
[OnePlus 12] builderkage:
The only solution is to flash using the official software frome OnePlus.

A little note on my previous advise if you get an error on any partition is most likely a problem with the driver's, i believe OP added the driver to his first post.
[OnePlus 12] josephgao2008:
Thanks! This is useful. One quick question, if I'm buying a phone in China (the CN version) but flashing it with this US firmware, will I get ESIM? Appreciate any data points!
[OnePlus 12] xtcislove:
No Esim in chinese units.
[OnePlus 12] Janek89!:
is EU software available? Currently I have GLOBAL software that I would like to change.
[OnePlus 12] XDRdaniel:
Did they install glo/row or EU?
[OnePlus 12] xtcislove:
i dont know. It came with oxygen os and first thing i did was doing the tutorial from tradingshenzhen again to backup important partitions first. I used the files and instructions from here:

Oneplus 12 - How To switch from Color OS to Oxygen OS

Flash Oneplus 12 from Color OS to Oxygen OS in 4 easy steps - simple HOW TO INSTRUCTIONS

tradingshenzhen.com
[OnePlus 12] XDRdaniel:
Ah ok so after you done it, you had EU installed?
[OnePlus 12] xtcislove:
im on OxygenOS-CPH2581_14.0.0.604(EX01) A.64 now
[OnePlus 12] smashly:
Thank you Canuck Knarf,

Works a treat and took all the effort out of going from CN to Global.
[OnePlus 12] null0seven:
Mine is chinese phone too with EU OxygenOS & i got eSIM. I did not activated.

My phone come with GLO/ROW OxygenOS. Got eSIM on it.

I can't tell abot NA version.
[OnePlus 12] xtcislove:
If it is a chinese unit, u have the option because you are using oxygen os. But you cant use esim. Try to activate one.
[OnePlus 12] kurtlou:
Thank you for the work. It's much easier to extract the imgs. One question.

You add the metadata.img in the FTH. It's not in the payload of the OTA, but I found it in EDL file. It's not in your previous 25 files list. With it now it's 26 files. metadata.img is also not in Canuck Knarf's 49 files. what does it use for?

copy from script

"copy /b/v/y bin\US\metadata.img FTH\metadata.img >nul 2>&1"
[OnePlus 12] snowwolf725:
This metadata.img is unnecessary.

I accidentally placed the file while testing the script, but I forget to remove.

This partition stores encrypted keys for userdata.

However, when you convert to a new system, you need earse userdata and metadata partitions.

(The "fastboot -w" command)

So the metadata.img is useless in this script.
[OnePlus 12] 3345678:
<Mod Translation>

English:

"When I changed my OnePlus 12 to Oxygen, when the program said it was done, I locked it. However, after rebooting, I couldn't get into the Google system (it kept spinning). I've been trying to fix it for a few days now, But I haven't succeeded yet. Should I unlock it again before flashing oxygen? If so, how do I do that?"

********************

Chinese (Traditional):

「當我將 OnePlus 12 更改為 Oxygen 後，當程式顯示完成時，我將其鎖定。但是，重新啟動後，我無法進入 Google 系統（它一直旋轉）。我一直在嘗試修復它這幾天了，但我還沒有成功。我應該在閃爍氧氣之前再次解鎖嗎？如果是，我該怎麼做？”
[OnePlus 12] flandolf:
Can't you download the full OTA from an app like Oxygen Updater, then extract the payload.bin using Fastboot Enhance and also flash the payload.bin using the same tool?
[OnePlus 12] 3345678:
I followed the guide and changed to OxygenOS, but I'm facing the same problem. After successfully flashing OxygenOS Global and locking the bootloader, I tried to set up the device for the first time. However, the keyboard didn't work when entering the Wi-Fi password (sometimes it showed Google Voice instead). I even tried using an external keyboard, but the setup got stuck on the "Just a sec..." screen, even after disconnecting from Wi-Fi and using offline mode，I used the Flash Tool 5.6.44 provided by you, but it always fails (I have already locked the bootloader). May I ask what else I can do?
[OnePlus 12] flandolf:
Flash tool won't work as you don't have the proper account. Try doing

fastboot -w

. If that doesn't work look around XDA I'm pretty sure others have had this error.
[OnePlus 12] 3345678:
<Mod Translation>

English:

knew. I'll try it right away. Thank you so much.

********************

Chinese (Traditional):

知道了。我馬上就試試。非常感謝。
[OnePlus 12] khusika:
Moderator Announcement​

@3345678

Greetings, and welcome to XDA. As a courtesy, I have translated your recent posts above. As a friendly reminder, we ask all members to please post in English or add at least an English translation to your Chinese(Traditional) posts, as part of XDA Rule No 4.

Spoiler content hidden.

Regards,

Khusika - Moderator.
[OnePlus 12] qubittrends:
can we install cph2583 NA oxygen os rom downloaded from oxygen updater android app on pjd110?
[OnePlus 12] flandolf:
download it, transfer the update file to the PC, and use fastboot enhance to flash it, unlock the bootloader first tho
[OnePlus 12] Oswald Boelcke:
Good morning, @OoZioo

Paid services websites are in violation of rule no. 13 of the XDA Forum Rules and in turn likes or references to or promotion of such websites are not accepted on XDA! I've edited your above quoted posts. In future, please refrain from sharing links or references to such sites. Thanks for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[OnePlus 12] qubittrends:
can you please share the links of both tools here because I don't wana mixed up. fastboot enhancer, and unlock boot loder Thanks
[OnePlus 12] flandolf:
fastboot enhance: https://github.com/libxzr/FastbootEnhance

bootloader unlock steps:

1. go into settings -> about device -> version -> spam version number until developer mode enabled.

2. go into settings -> additional features -> developer options -> USB debugging turn that on and also enable OEM unlocking

3. download adb and fastboot and drivers on a PC

4. run adb reboot bootloader then fastboot flashing unlock (will reset everything on the phone)
[OnePlus 12] flandolf:
I'm going to convert back as a last hope if I don't have another way to region unlock my phone, I have a few questions though, why is it the convert file 17.4GB and 2, does the convert work flawlessly?

Thanks
[OnePlus 12] lpngan:
I am stuck in this step, it looks like the .bat cannot detect my device, may I know what can I do??

thank you !
[OnePlus 12] qubittrends:
Got the fastboot enhacer, need drivers and unlock boot loader? and this is for cph2583 right?
[OnePlus 12] roldev:
Thanks, your post helped me to clarify the workflow.
[OnePlus 12] qubittrends:
This is folder from tradingshenzhen tutorial, everything here is easy 4 steps/ scripts. I was thinking if i can extract downloaded cph2583 NA into that FTH folder and run steps will that work. because their version of oxygen os in it quite old.
[OnePlus 12] roldev:
Where to get the latest one? I need cph2581. Still didn't get the phone but comes with coloros.
[OnePlus 12] yrg41:
Hello, my Oneplus 12 16 1TB device appears as 512 GB after converting it to global, how can I fix it?
[OnePlus 12] Canuck Knarf:
Its china phone to global...do they sell a 1TB global...?
[OnePlus 12] R1skNt:
what's the purpose of rom_proprties.txt? should i write something inside??

what's the difference between (CPH2581GDPR) and (CPH2581)?
[OnePlus 12] Canuck Knarf:
Nothing don't need rom properties or change the name in Bat file...What is important is the img files in the FTH folder
[OnePlus 12] flandolf:
You dont need to write anything in there, it's a useless file.

The diff between CPH2581 GDPR and the normal one is that the first one obviously is created for European users, and follows GDPR and generally has less bloat, CPH2581 is the global one I'm assuming.
[OnePlus 12] flandolf:
You need to install drivers.
[OnePlus 12] HeeySusu:
Hey guys.. Would appreciate your help as i think i f***ed up :(

Went through all the steps until running the Flash_All_SupperZip.bat file, where i got stuck here:

I understood from the thread that i had to update my Android Bootloader Interface in order for it to identify properly. I tried to do that with this guide.

After i did, i ran the bat file again, and now the phone is stuck in an endless reboot cycle on the oneplus logo

I tried putting the phone in recovery mode through the fastboot mode menu, but it still goes back to the reboot cycle..

Anything i can do?
[OnePlus 12] flandolf:
while it's booting, hit power and vol up until the phone turns off completely, then press power + vol down to get into fastboot. Then you can run the script and type

fastboot -ab

to set it to B slot as that's what I'm assuming bricked your phone. If that doesn't work go into the EDL flashing thread and ask mvikrant97 to help you ;p. The convert script worked for me flawlessly multiple times, there's also an easier way to convert, use fastboot enhance with a full OTA from Oxygen Updater or in the OOS Repo on XDA. Good luck!
[OnePlus 12] EdoOp12:
Hi guys, I'm new to this forum so i hope I'm posting this question in the right place.

I bought a OP12 in UAE and they delivered me an Indian version (cph2573) even if there was written international version. I don't know if anyone had my same problem because i see that most of you bought the Chinese version

Since i will be using it in Italy do you guys know if i will have problems with receiving official updates or everyday usage with apps ecc..?? Do you suggest installing a EU or Global rom?!

Thank you
[OnePlus 12] null0seven:
In Italy EU is the best option.

Up to you, of course.
[OnePlus 12] stevo111:
Hi guys, the flashing happened ok, i locked the bootloader (i agree too fast, my bad), but during setup i have no keyboard to setup wifi, and the setup is showing "wait a moment" endlessly, i can't reach homescreen, what can i do ? thanks for the help
[OnePlus 12] Canuck Knarf:
Power plus volume up...reboot ...power plus volume down...get back to fastboot...unlock boot loader...flash again
[OnePlus 12] stevo111:
i can't i locked the bootloader already, so the only way is to go with EDL ?
[OnePlus 12] Canuck Knarf:
try hold all three buttoms plug into computer...look in device manager...should show up edl.... unplug push power plus volume down ...see if it kicks to fastboot....damn i keep forgetting you locked bootloader
[OnePlus 12] alex00006:
Hello friends

I want to return to colorOS again

Is it possible through this training?

Has anyone succeeded?
[OnePlus 12] flandolf:
idk why you'd want to return to colorOS (bloatOS), but just download the ColorOS convert file here:

link (by canuck knarf)

it's 20gb so may take a while.
[OnePlus 12] flandolf:
Can't you just unlock it again? Boot into the bootloader then run fastboot flashing unlock ??
[OnePlus 12] alex00006:
My god

17G size file))))))
[OnePlus 12] cptyzb:
I've converted my OP 7 successfully a few years ago but as I'm not familiar with the most of the steps I had to learn and be really careful.

Now I am trying to convert my OP 12 from ColorOS to OxygenOS.

I've watched the YouTube video by System Hacks, read all the steps in the first message of this thread, and then finally found instructions which refer to Chanuk Knarf on tradingshenzen.

They claim they made it even easier with their instructions. If I follow tradingshenzen, am I missing anything that Chanuk Knarf explained here?

As there are a few different threads and files here, I am being cautious.
[OnePlus 12] flandolf:
The files from Canuck work perfectly and that's what id recommend you use
[OnePlus 12] cptyzb:
Could you help me by confirming the steps?

1. Unlock bootloader

This one is clear and everything I need is here:.

How to Unlock Bootloader

Steps: "what you need to download" 1: adb / fastboot "system wide" https://www.mediafire.com/file/nv1v31x6l5fz6t9/adb-setup-1.3.exe/file 2: SDK Platform tools https://developer.android.com/tools/releases/platform-tools 3: Qualcom drivers...

xdaforums.com

2. Double check these

- Bootloader is unlocked

- Phone is visible on computer's device manager

- Phone is visible on computer's CMD

3. Download the bat file

This is the explanation by Canuck Knarf.

I believe below is the img file, not the bat file, right?

4. Download the rest of the files

- The Bin.zip

- Rom_properties.zip

- Flash_All_SuperZip.rar

Question about the last one: Should I download this one instead of the in the first message of this thread?

5. Create a folder

- Name it OP12_CONVERT_GLOBAL_CPH2583CPH2581GDPR_11_14.0.0.23

- Unzip The Bin.zip, Rom_properties.zip, Flash_All_SuperZip.rar into it

- Create another folder inside and name it FTH

- Copy paste the EU img file into it

6. Run the bat file?

Brings me to my biggest question: What exactly is the bat file? I'm sorry if it's a silly question. I'm trying to learn.

Is it this one? If not, what's this one?

I hope you can help me understand.
[OnePlus 12] flandolf:
The bat file is a script that 1. Reboots to fastbootd 2. Flash all the images in the FTH folder 3. Wipe everything
[OnePlus 12] cptyzb:
Rest of the steps are correct?

Where exactly is the bat file to download?
[OnePlus 12] flandolf:
The rest of steps are correct

Then bat is in the flash all zip
[OnePlus 12] HeeySusu:
Hey guys, would appreciate some help.

Unsuccessfully tried to switch my OP12 from ColorOS to OxygenOS.

I did manage to unlock bootloader and reach the flashing stage. But i ended up bricking the phone.

With the help of mvikrant the phone was restored to ColorOS.

Seems like the bootloader is still unlocked as i still have this message on startup

Also, when entering Developer Options the "OEM Unlocking" option is greyed out and written under it is "Bootloader unlocked"

What should be my next steps here?

Get back into Fastboot mode

Make sure device is in adb devices, fastboot devices and device manager (not as other devices), and run the bat file?

I feel like i'm missing something 😅
[OnePlus 12] cptyzb:
After hours of work, I couldn't completely figure out the work here and decided to go for the version on tradingshenzhen.com that says

I thought I went through all the steps correctly. When I was at the last step...

I clicked lock the bootloader here

Now I can only turn the device on in RECOVERY mode. I select Reboot device, but it goes dark after a few seconds of OnePlus logo.

Does anyone know what it means? Is it what "bricked" means?
[OnePlus 12] flandolf:
if you can get into recovery, run adb reboot bootloader from there then unlock the bootloader
[OnePlus 12] cptyzb:
Didn't work, sadly. Then I got some help from mvikrant97 for flashing:

I realised the phone was stuck in a strange status overnight and when I woke up it was very hot. I hope it didn't damage anything as I feel the phone gets a bit too hot too quickly at the moment while charging.

After it's charged fully, I will try to convert ColorOS to OxygenOS again.

Just a note: After the first unsuccessful attempt, I'd be happy to pay someone a reasonable amount to make this conversion remotely on my computer.

For now, I will need to figure it out myself.
[OnePlus 12] flandolf:
Good that your phone is back up.

Some tips for your next attempt:

1. Use Canuck Knarf's script and images, they worked for me :)

2. Don't lock the bootloader until you know oxygenOS boots up.

3. You could use fastboot enhance and a full OxygenOS payload.bin file to flash, but I'd recommend Canuck Knarf as I haven't tried converting from ColorOS to OxygenOS with this method, but I have switched from IN to EU.
[OnePlus 12] lukako08:
Can anyone help me? When i enter the command to reboot bootloader, my screen shows fastboot mode for a spilt second then proceeds to boot into system. I cannot get the phone into fastboot at all.

My phone version is PJD110 if that helps
[OnePlus 12] flandolf:
Try entering using the hardware buttons: Power + Vol Down.

So,

1. Power off the phone

2. Hold Power + Vol Down until Oneplus Logo appears (instantly release buttons)

3. Hope it stays :)
[OnePlus 12] Canuck Knarf:
Look rate at beginning...doesn't see your phone
[OnePlus 12] Canuck Knarf:
Have device manager open... CMD...ADB devices..should show up in cmd and look at device manager...Adb reboot bootloader. Needs to come up in cmd..look at device manager...needs to see ...ok
[OnePlus 12] Canuck Knarf:
Plug into computer hold power plus down volume...unplug hold power plus volume down... should get back to fastboot
[OnePlus 12] mystero_n00b:
I get into Fastboot mode and start flashing from there. So all good with getting in to Fastboot.
[OnePlus 12] mystero_n00b:
Device Manager: Kedacom USB Device - Android Bootloader Interface

fastboot devices: fxxxxxxx fastboot

adb devices:

List of devices attached

emulator-5562 offline

So ADG cannot work since no connection. I understand. Let me try to fix it. Previously I installed all required drivers..
[OnePlus 12] flandolf:
It says it failed to boot into

It says failed to boot into userspace fastboot, which is fastbootd. This is probably because you set the slot to a, where there is no boot/init_boot written there. Manually flash boot.img and init_boot.img using

fastboot flash boot path/to/boot.img and fastboot flash init_boot path/to/init_boot.img. Then try again. Or, run fastboot -ab to go back into B slot.

Not sure why the script sets slot to A, kinda dumb :p
[OnePlus 12] mystero_n00b:
But I still have no connection via ADB. That's required as I understood?

I noticed that one of my windows services used the same port as ADB, I killed the process but 'adb devices' keeps on being empty
[OnePlus 12] flandolf:
why are you using adb in fastboot? obviously it won't work. Only fastboot commands work I'm fastboot
[OnePlus 12] mystero_n00b:
So the image should be flashed to slot B? Should I change it in the script accordingly?
[OnePlus 12] mystero_n00b:
from first page:

Those instructions confused me that adb devices should work...
[OnePlus 12] Canuck Knarf:
It flashes to Slot A cause thats where it should be flashed...I haven't seen any oneplus flash their files to Slot B
[OnePlus 12] Canuck Knarf:
First thing you need to do is make sure you have bootloader unlocked...Developer option enabled...USB enabled in developer option... Your computer has to see your phone...in adb / fastboot plain and simple...

If all is good it see your phone in cmd..." adb devices " and next .. "adb reboot bootloader "... fastboot devices... It should show in cmd and in device manager... If all is good

use this command..." fastboot getvar current-slot " . It will tell you what slot you are on.. Ok But it dont matter what Slot you flash to...cause it will automatically boot up on that slot...
[OnePlus 12] flandolf:
you need to boot into fastbootd mode first, also ensure your bootloader is unlocked and if those 2 steps didn't complete the flash, you may have to run fastboot flashing unlock_critical but just try the first 2 suggestions first.
[OnePlus 12] rformiga:
perfect @flandolf, just tried again and everthing fine now... my fault was not enter in fatbootD mode correctly.

...and the adb driver missing o_O

Thanks
[OnePlus 12] farhansaeeddnp3021:
all files has been flash but getting issue on my_bigball file. its getting error. can someone help.
[OnePlus 12] MorphlinG12195:
I've followed all steps Stuck on the last step any advice
[OnePlus 12] null0seven:
Look here:

Oneplus 12 - How To switch from Color OS to Oxygen OS

Flash Oneplus 12 from Color OS to Oxygen OS in 4 easy steps - simple HOW TO INSTRUCTIONS

tradingshenzhen.com

ERROR, WAITING DEVICE does not continue!​

Read and follow exactly the pictures.
[OnePlus 12] flandolf:
create the partition fastboot create-logical-partition my_bigball 0 in fastbootd mode
[OnePlus 12] farhansaeeddnp3021:
it;s work but after process is complete. phone screen blank and devices manager show qualcom usb. when i power devices, its stuck on oneplus boot logo and automatically power off and go to ELD mode and show qualcom usb.
[OnePlus 12] mystero_n00b:
fastboot getvar current-slot

current-slot: a

Finished. Total time: 0.041s

I still have the issue with "fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable."

No idea what's the issue is. Bootloader is unlocked. I tried several scripts and tools for flashing. Nothing works for me :(
[OnePlus 12] Canuck Knarf:
here is what I get
[OnePlus 12] farhansaeeddnp3021:
kindly someone help me. after flashing device is stuck there.