yashsingh1/xdaforums huggingface dataset:
[Realme GT 2 Pro] Rapper_skull:
That is the TW (Taiwan) ROM. I suggest migrating to the IN ROM, since it is also the default region. In any case, I updated the first post with instructions on how to get the latest OTA URL by yourself.

Maybe in the future I will write a script to get all the URLs automatically.
[Realme GT 2 Pro] GIutton:
I get 10100110. Does this mean I have the IN version?

when I try realme-ota -r 0 RMX3301 RMX3301_11.A.00_0000_000000000000 3 10100110 it gives me a few lines:

Load payload for RMX3301 (RealmeUI V3)

Wait for the endpoint to reply

Response status mismatch, expected '200' got '500'!

I am trying to get the firmware for my phone because ever since I took the A.18 update my phones Widevine was downgraded to L3. I am hoping A18 just messed something up in update process and flashing the A17 stock rom then rerooting will fix it.
[Realme GT 2 Pro] Quake94:
Widewine degrades to L3 by flashing Global and there is no official fix.

EDIT: Typo, degrades to L3, not L1
[Realme GT 2 Pro] GIutton:
But I have never flashed any roms to the phone. Have rooted with magisk and only ever used the stock OTA updates from "about phone"
[Realme GT 2 Pro] Quake94:
After unlocking bootloader, how did you root your phone? Did you flash a patched boot.img over the stock ROM?
[Realme GT 2 Pro] GIutton:
No I booted the phone with a magisk patched boot.img then did a direct install using the magisk app on stock A.17. I had wideine L1 until I took the A.18 official OTA for my phone then it went to L3. It was an incremental update. To go from A.17 to A.18 I used magisk > uninstall magisk > restore images. Then downloaded and installed the OTA, took a copy of the boot.img from the inactive slot and patched it with magisk and copied to PC. Then I restored root with magisk direct install, turned on airplane mode, rebooted the phone from the System Update Dialog "install" then rebooted to bootloader and used fastboot boot magisk-patched-boot.img and then used magisk to do a direct install to make root permanent.
[Realme GT 2 Pro] GIutton:
I had to unroot the phone and relock the bootloader in order to get back to Widevine L1. Maybe I am just wrong and it went to L3 right after I unlocked the bootloader. Has anyone been able to keep Widevine L1 with an unlocked bootloader and Magisk rooted?
[Realme GT 2 Pro] xtremesystems:
error
[Realme GT 2 Pro] lutherkingmartin:
Thank you very much for the lastest C11 build link. No RUI4 with C11. See you next year...
[Realme GT 2 Pro] themagicalmage22:
Do you have C.11 OTA for Taiwan?
[Realme GT 2 Pro] themagicalmage22:
I can't get the tool to work. I can't get the C.11 A13 for TW RMX3301
[Realme GT 2 Pro] Rapper_skull:
realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 00011010

Anyways, here's the link: https://gauss-componentotacostmanua...22/12/12/3513784041c545d1a704876b2c8dcc64.zip
[Realme GT 2 Pro] themagicalmage22:
I can't get the command to work. Can you help me with the installation of the OTA downloader? I don't know what I'm doing wrong.
[Realme GT 2 Pro] Rapper_skull:
The are instructions for Windows and Linux on the GitHub page: https://github.com/R0rt1z2/realme-ota

Take a look at them.
[Realme GT 2 Pro] themagicalmage22:
I did python main.py then the command but it keeps asking me for the product number and ota version. I input it but it still asks for it.
[Realme GT 2 Pro] Benruz:
Hello! I recently wanted to download an OTA for MEA region on my realme device and read the whole thread through and even made sure I had the right nv_ID and confirmed it via adb. But whenever I run the command realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 10100110 I get the following in red text.

"realme-ota not found!".

I am not going anywhere further from here. Anybody who could please help me out? Even just a link to the OTA C.11 for MEA would be much apprecieted! Thank you!
[Realme GT 2 Pro] crispaf77:
Hi,is it better from C08?

Can you post changelogs?

How about battery life?
[Realme GT 2 Pro] Stano36:
I think the C.11 version is better. the change in the system is negligible.Realme UI 4.0 did not arrive, battery life comparable to C.08. I am satisfied.
[Realme GT 2 Pro] crispaf77:
Thanks I'll give a shot.
[Realme GT 2 Pro] Rapper_skull:
Please post a screenshot

You didn't install the program properly. Please take a look here: https://github.com/R0rt1z2/realme-ota
[Realme GT 2 Pro] crispaf77:
RMX3301_11_C11 Changelogs
[Realme GT 2 Pro] superdigital01:
the battery is worse than the c8, the realme software optimization is terrible
[Realme GT 2 Pro] Rapper_skull:
Added C.12 OTA URLs. This is a very small update with the same changelog as C.11, so probably a small bug fix.
[Realme GT 2 Pro] Quake94:
Updated TW to C.12 with root preserving, now on boot it displays warning message:

And makes you wait the 5 seconds. Is Realme competing for the most annoying company award??

Anyone else has the same issue?
[Realme GT 2 Pro] dick_vigarista:
I have had that, but I don't use root, locked the bottloader and fixed it, for you that have root idk but I have seen a tool on YouTube that has a button especifc to fix that, type the message you get on YouTube that you should find it.
[Realme GT 2 Pro] congnguyen.ss:
bạn có thể giúp tôi tìm c11-c12 của gt2pro khu vực trung đông không (mea)?
[Realme GT 2 Pro] klibisz:
Hi. I have updated my realme gt2 pro to Eu c12. It is only now that the system presents itself as one that is based upon UI 4.0. This has not been the case with c11 that I had installed before. The installation went smooth with use of local install function as it is included in the stock ROM. Regards from Poland. Krzysztof
[Realme GT 2 Pro] Stano36:
Yes, it is as you write, but in the update information there is no mention of Realme UI 4.0 in either C.11 or C.12.
[Realme GT 2 Pro] Rapper_skull:
All the devices have something like that, as it's suggested by Google. Keep in mind that we're advanced users and know what we're doing, but the warning is in place to protect the common user which might not know their device has been tampered with. One thing we can say is that the warning is really ugly, and that Realme should change it with something a little bit nicer.
[Realme GT 2 Pro] Quake94:
The weird thing is that I only got the error now. I was on C.08 before and didn't have it, ever since Android 12 A16. Does your phone show it?

I don't know why the update would touch abl partition in the first place, unless something got screwed by Magisk or patches.
[Realme GT 2 Pro] Rapper_skull:
The warning has been introduced in C.11. Before that the bootloader was detecting the orange status, but wasn't showing any warning.
[Realme GT 2 Pro] congnguyen.ss:
chào ad, ad có thể hướng dẫn lấy link ota từ realmeota kèm video giúp mình đc k ạ??? Mình loay hoay mãi vẫn chưa tìm được cách dùng realmeota(gifhub)
[Realme GT 2 Pro] Rapper_skull:
Please use English.
[Realme GT 2 Pro] congnguyen.ss:
hi admin, can you guide me to use realme-ota with video? I do it many times but can't use realme-ota according to instructions on gifhub
[Realme GT 2 Pro] congnguyen.ss:
bạn có thể chia sẻ liên kết ota với tôi nếu bạn tìm thấy nó. tôi cũng đang tìm c.11&c.12 của MEA. Cảm ơn rât nhiều
[Realme GT 2 Pro] Benruz:
Hello, check your inbox. I have sent you OTA link to C.11 and C.12 in your inbox.
[Realme GT 2 Pro] Benruz:
I haven't figured out how to properly install the realme-ota updater. I have used the installation code where I had to invoke adress request and it confirmed that the realme-ota updater has successfully installed. Yet, it still gives me "realme-ota not found!"

I was provided the links by a fellow member "RX3311" and successfully updated the device.

I will try to dig further and see what I've missed. Would be great if I got a follow up in case I missed something during the installation process.

Thank you once again!
[Realme GT 2 Pro] tin_kevin:
I can't get OTA link, nv_id region MEA. pl? Thanks
[Realme GT 2 Pro] tin_kevin:
you can share the ota link with me if you find it. i am also looking for C.12 of MEA. Thank you very much.
[Realme GT 2 Pro] mickeychen07:
can you help provide C.12 download link？ Very thanks
[Realme GT 2 Pro] zorbakun:
can you share the ota links for C.11 & C.12 MEA region?
[Realme GT 2 Pro] Quake94:
C12 MEA

realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 10100110

https://gauss-componentotacostmanua...22/12/16/00d16af598bd41cb9aad2e9af2d427b4.zip

C12 TW

realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 00011010

https://gauss-componentotacostmanua...22/12/16/0b0710f11e3c4a80872f6016d2a6dd88.zip
[Realme GT 2 Pro] Quake94:
EDIT:

I reworked the realme-ota tool installation script to fix issues and add some improvements. No need for the manual guide steps.

Link to fork:

https://github.com/wjdob/realme-ota

--------------------------------------------------------------------------------------------

Here is a detailed guide. Python version 3.11+ may require extra two optional steps marked with a star *

- Install Python and pip

- Install python module Requests: python -m pip install requests

- * Install python module Pycryptodome: pip install pycryptodome

- * Go to Python install location and folder \Lib\site-packages . Rename "crypto" to "Crypto"

- Extract the realme-ota-master.zip file somewhere. I recommend C:\Python install location\Scripts\ , create there a new folder "realme-ota" and extract contents of archive inside of it.

- Open notepad and paste following. Edit the line with "cd" and put the location where you installed Python. The complete location should be the folder that has "main.py" file in it

@echo off

setlocal
chcp 65001 2>nul >nul

cd "C:\PYTHON INSTALL LOCATION\Scripts\realme_ota\realme_ota" 2>nul >nul

if exist main.py (
python main.py %*
) else (
powershell write-host -fore Red realme-ota not found!
)

pause

- Then Save As - Save as type - select All files. Name the file realme-ota.bat . Save the file in C:\Python install location\Scripts\realme_ota\realme_ota

- Last, click Windows Start, type "Edit environment variables", click "Environment Variables". Under "User variables", double click "Path" list item. Click "New," and paste the location of realme-ota.

C:\Python install location\Scripts\realme_ota\realme_ota

Confirm and close.

- Now open terminal and run the realme-ota command.

For TW region, it would be

realme-ota -r 0 RMX3301 RMX3301_11.A.00_0000_000000000000 3 00011010

Note: If you get "realme-ota not found!", fix it by running command:

where realme-ota

And delete the .bat file that is not in the correct directory.
[Realme GT 2 Pro] Benruz:
Thank you very much! I am really thankful for all the help I get! I have followed everything step by step. Downloaded Python (3.11.1) and pip. Then installed pycryptodome. The file in :\Lib\site\packages already was named "Crypto" instead of "crypto" which I had to edit from. So I did not change the name of the file. I have extracted the "realme-ota-master.zip" into the "Script" folder within the python installation folder.

I have also copied the code which I had to paste into Notepad and edited "cd" line to the C:\Python install location\Scripts\realme-ota\realme-ota-master\realme_ota" where the "main-py" was located. Saved the file as "All text" with the name "realme-ota.bat".

Then I proceeded to add a new environmental user variables under "user variables" into the path folder.

At the end I had gotten the same error message "realme-ota not found!".

I am pretty frustrated as I feel dumb.

In order to make sure I had redone everything multiple times and checked that I had given the correct path in the "cd" line as well as in the "User variables" - with no success. I googled around and found no solution.

I am thankful for all the help I received and all that time you've put into the post once again.
[Realme GT 2 Pro] srlihg:
termux same easy

you can try , l used it
[Realme GT 2 Pro] Quake94:
I replicated this, but only when using CMD. The installation script from Github messes up PATH by creating .bat file in a wrong location.

Try this:

Run in CMD

where realme-ota

If you have two entries, remove the file that is not located in your added PATH. So the one that is not C:\Python install location\Scripts\realme_ota\realme_ota.

In my case, I had to remove "realme-ota.bat" file in my C:\Users\username\ directory.

After removing it, realme-ota command starts in the correct directory.
[Realme GT 2 Pro] Benruz:
Upon requesting in cmd "where realme-ota" I got these locations.

C:\Windows\System32>where realme-ota

C:\Windows\System32\realme-ota.bat

C:\Users\Username\AppData\Local\Programs\Python\Python311\Scripts\realme-ota\realme-ota-master\realme-ota-master\realme-ota

C:\Users\Username\AppData\Local\Programs\Python\Python311\Scripts\realme-ota\realme-ota-master\realme-ota-master\realme-ota.bat

I removed the realme-ota.bat from system32.

Then went ahead and requested the code

"realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 101001100" into the terminal and instead was met by this message.

Traceback (most recent call last):

File "C:\Users\Username\AppData\Local\Programs\Python\Python311\Scripts\realme-ota\realme-ota-master\realme-ota-master\realme_ota\main.py", line 22, in <module>

import requests

ModuleNotFoundError: No module named 'requests'

Press any key to continue . . .
[Realme GT 2 Pro] Quake94:
Install Python requests module:

python -m pip install requests
[Realme GT 2 Pro] Benruz:
Oh my lord! It finally worked! Thank you so much!!! I am really so grateful! Without you or this thread I would have a veeery hard time. Thank you a ton!

And also, sorry! I have missed that step completely focusing on the error... Good thing I missed the module and not something else. Thank you again!
[Realme GT 2 Pro] tin_kevin:
how do you do it?
[Realme GT 2 Pro] zenixtempur:
can you share the ota links for C.11 & C.12 INDONESIA Region please?

i try to use cmd but i cant find them or maybe i'm wrong with code
[Realme GT 2 Pro] limkuanpow:
C12 ID

realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 00110011

https://gauss-componentotacostmanua...22/12/16/68bc97cf816d4762bc86c24276140a92.zip
[Realme GT 2 Pro] themagicalmage22:
Works great! Finally got it to work. But why is it that my phone doesn't get automatic updates anymore in Android 13? I seem to have to keep manually updating it. I have bootloader fully locked and everything as well.
[Realme GT 2 Pro] Rapper_skull:
You just have to wait a little bit more. The update is still in the rollout phase and not everyone got it yet.
[Realme GT 2 Pro] BOLEK_PL:
It seems that C.12 is UI 4.0 update, icons are different and in info there is UI 4.0 and 12GB RAM extra option (it was on C.11 too), previously 7GB.￼
[Realme GT 2 Pro] ti_petro:
Can share link ota C.12 for BRAZIL region, please?
[Realme GT 2 Pro] Benruz:
realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 10011110

BR

https://gauss-componentotacostmanual-sg.allawnofs.com/remove-b9bf657e28b36243b3467e63cfa2bd54/component-ota/22/12/16/760d3e366bb248d688dc209ad31b5a9d.zip
[Realme GT 2 Pro] GIutton:
Once your phone alerts you that you have an update just connect your phone to a PC and open adb and run

dd if=/data/data/com.oplus.ota/databases/ota.db of=/sdcard/ota.db

this will save a copy of the ota.db file you need to your phone storage. Open it up and you will find the URL inside. You can also run this same command in Termux right from your phone but you need to have root access for either method to work.

Honestly tho it is probably better to use the realme-ota way posted in the OP because you can do it right from your phone and you don't have to wait for the update to be sent to you first. Just download F-Droid open it up and then download Termux. Open Termux then run each of these commands one by one to add the necessary packages:

termux-setup-storage

pkg upgrade

pkg update

pkg install python2

pkg install python

pkg install git

pkg install tsu

pip install wheel

pip install pycryptodome

pip3 install --upgrade requests pycryptodome git+https://github.com/R0rt1z2/realme-ota

Once all of these packages have been installed you can now use the URL locator command right from Termux on your phone:

realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 <nv_ID>
[Realme GT 2 Pro] anatoly1983:
Hello, friends. Can you tell me, please, can I use IN or EU rollback firmware to rollback to android 12, if I have Chinese version phone, unlocked bootloader, converted to Global and updated to C08 (region MEA)? Thanks for your answers.
[Realme GT 2 Pro] srlihg:
termux, my phone ,i used it
[Realme GT 2 Pro] zenixtempur:
Hi sir, sorry to bothering you i just run termux in my phone and got this. Can you help me sir. Thx before
[Realme GT 2 Pro] GIutton:
Looks like it might be a repo issue. Try changing your repo by using <termux-change-repo> then select "single mirror" then select the default option. After you change the repo go through all the pkg install commands once more because most of them did not install.
[Realme GT 2 Pro] zenixtempur:
I tried other repo but found this. And the error start in "pip install wheel"
[Realme GT 2 Pro] GIutton:
Sry I'm not very good with this troubleshooting stuff. It took me a long time to get it working for me but looks like you are missing something in python. Try uninstalling them and then reinstalling them using pkg uninstall python2 and pkg uninstall python, then reinstall them.

Your termux-change-repo screenshots look different from what I see on mine but should still work the same.

If that doesn't work the only other thing I did different on my Termux was installing a few other packages so maybe one of those had something necessary:

pkg install android-tools

pkg install root-repo

pkg install x11-repo

I also granted root permissions using the <su> command.
[Realme GT 2 Pro] zenixtempur:
Does it have to be root first? Because my phone is not rooted before.
[Realme GT 2 Pro] GIutton:
No it shouldn't need root permissions at least I don't see why it would. I just mentioned that because it was something I did different.
[Realme GT 2 Pro] zenixtempur:
thanks sir. now its worked
[Realme GT 2 Pro] GIutton:
Did reinstalling python work or did you have to install the android-tools, root-repo and x11-repo packages to get it working?
[Realme GT 2 Pro] zenixtempur:
No sir i just reinstalling termux and python and i follow your first step and worked.
[Realme GT 2 Pro] Quake94:
Reworked the realme-ota tool installation script to fix issues and add some improvements.

Link to fork:

https://github.com/wjdob/realme-ota

Installation issues corrected:

Automatic cleanup of obsolete/mislocated .bat wrapper.

Automatic cleanup of PATH.

Fixed adding realme-ota to PATH, previously Add-Path function was not called resulting in installation failure.

Fixed handling of Python/Pip locations - previously the script assumed Python is installed in Program Files.

Added dependencies install for Requests and Pycryptodome Python modules.

Added hotfix for Lib\site-packages\crypto -> Lib\site-packages\Crypto folder naming.

Added .bat wrapper as part of package and automatic adjustment of "cd" command.

The tool is compatible with master release and will fix "botched" installs.

If you already have realme-ota and it works fine - no need to install. There is no new functionality added to realme-tool itself in my fork.
[Realme GT 2 Pro] srlihg:
Don't need what you did

not need root

Just a few commands

But you didn't do that
[Realme GT 2 Pro] srlihg:
termux-setup-storage

pkg update

pkg upgrade

apt install -y git

apt install git python

python3 -m pip install --upgrade pip

pip3 install --upgrade requests pycryptodome git+https://github.com/R0rt1z2/realme-ota

only this
[Realme GT 2 Pro] TorstenH:
Not working for me:

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
[Realme GT 2 Pro] TorstenH:
It works, now. What I've done:

1. Installed Termux from F-Droid:

Termux | F-Droid - Free and Open Source Android App Repository

Terminal emulator with packages

f-droid.org

2. Switched to alternative repository with command:

termux-change-repo

3. Executed the commands:

https://xdaforums.com/t/global-eu-collection-of-firmware-files.4478153/post-87886751

termux-setup-storage

pkg upgrade

pkg update

pkg install python2

pkg install python

pkg install git

pkg install tsu

pip install wheel

pip install pycryptodome

pip3 install --upgrade requests pycryptodome git+https://github.com/R0rt1z2/realme-ota

4. Executed command to get download URL (replace last number block by nv_ID):

realme-ota -r 0 RMX3301 RMX3301_11.C.00_0000_000000000000 3 01000100

This post doesn't contain any new information and all credits goes to the authors posted the relevant information in this thread initially!
[Realme GT 2 Pro] Benruz:
I'd post a new thread regarding your question to have it answered
[Realme GT 2 Pro] aaronisaacm:
can someone share the full rom links for C.12 & C.12 Taiwan Region please?
[Realme GT 2 Pro] tin_kevin:
Thank you, following this guide I succeeded.
[Realme GT 2 Pro] Stano36:
RMX3301_11.C.12_TW
[Realme GT 2 Pro] srlihg:
6. i'm ok
[Realme GT 2 Pro] rainbow99:
hi can any bro share for Singapore's C12? Thanks.
[Realme GT 2 Pro] Effizio01:
Firmware c.12, when i decide to condividere a photo WhatsApp its the last
[Realme GT 2 Pro] criszz:
You can long press on WhatsApp and pin it in front.
[Realme GT 2 Pro] Effizio01:
Don't work 😔
[Realme GT 2 Pro] criszz:
C12 and working for me
[Realme GT 2 Pro] Effizio01:
yeeeah super
[Realme GT 2 Pro] miguefenix7:
I had the Chinese version converted to Global (TW). Downloaded this OTA update file, copy to source folder in phone, but when trying to local update received the error "verification failed"
[Realme GT 2 Pro] Quake94:
Try C.08 first then update do C.12. Suggestion, not sure if it will fix it, but I went from A.21 TW to C.08 TW no problem, on chinese.
[Realme GT 2 Pro] Stano36:
Súbor by mal byť v poriadku. RMX3301_11.C.12_TW

TW nie je globálna verzia.
[Realme GT 2 Pro] miguefenix7:
By any chance do you have the C.08 OTA update file for Global (TW)? If so, can you share it with me, please?
[Realme GT 2 Pro] Quake94:
It was already shared here and asked million times

https://xdaforums.com/t/global-eu-collection-of-firmware-files.4478153/post-87640469

This thread is slowly turning into a mess with requests. People need to start searching first or use tools, can't expect to handhold everyone
[Realme GT 2 Pro] miguefenix7:
Thanks a lot for the link.

I downloaded every single OTA update file from the list, copied to the phone but when trying to local update, I kept receiving the "verification failed" error.

I also tried the A13 export firmware (17GB) and GDPR firmware (50GB) OTA files, located in the first page of this thread, but with those, I kept in a loop of "verifying" and nothing happened after some minutes.
[Realme GT 2 Pro] Quake94:
You shouldn't be forcing wrong regions if you don't want to brick your phone. Only do same region. Double check your nv_id with getprop command.

Make sure you are not using any download accelerator software when downloading the update.

If all fails, I'd try resetting to factory with data wipe, followed by update. As an alternative, you could fastboot flash C.12 ROM files but be careful to only flash correct partitions. Make backup of persist.img at minimum.
[Realme GT 2 Pro] mickeychen07:
Can I search rollback firmware with the realme-ota command?
[Realme GT 2 Pro] Rapper_skull:
No. Rollback OTAs are special packages provided by Realme. They're not on the update server.
[Realme GT 2 Pro] tin_kevin:
You can share OTA RMX3301_11.C.12 RU thanks.
[Realme GT 2 Pro] zenixtempur:
"https://gauss-componentotacostmanua...22/10/24/c3d6a801a82b4f2893373633fd580075.zip
[Realme GT 2 Pro] Stano36:
To je OTA RMX3301_11.C.08 .

The server does not yet offer C.12.
[Realme GT 2 Pro] Rapper_skull:
Added C.12 export EDL URL.
[Realme GT 2 Pro] Terrorigel97:
c.12 update when i boot i get a splash screen whit a warning msg and that the device boots in 5sec can we remove this?