EDIT: Uploaded A.16 Global ROM.
Ok so for anyone struggling, here is what I did to flash 3300 to 3301 Global & root w/safety net. I hope myogui can update original post because many of us are puzzling pieces of information from different sources. Credits to
@myogui,
@hacls and Shato from 4pda.to forum
Myogui Google Drive has A.10 version. As of now, the newest official version is A.17.
EDIT1: A.16 Global ROM with A.16 patched boot.img is available here.
super.img is a compressed 7zip archive, extract to the same directory as other files.
https://drive.google.com/drive/folders/1Y5mZtZchLytYqDqs0sOYTqCmaZeURrJ5?usp=sharing
EDIT2: Magisk A.17 patched boot.img added to Google drive credit @themagicalImage22
https://drive.google.com/file/d/1k6-K8vRlEnZJXPH6z_t5QHy5Kiud2sGX/view?usp=sharing
If you unlock bootloader the Widevine will be L3. Netflix will not stream in HD.
As of now, there is no official method to restore L1
Locking bootloader does not fix it. Root or stock does not fix it.
OTA update does not fix it.
To check Widevine level, you can use app DRMInfo
1. Download platform-tools for fastboot:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
2. Download the Global ROM files (*.img) and put them in the same folder as the platform-tools where your fastboot is. Sometimes the super.img gets renamed to super-001.img, so change name back to super.img
3. Connect phone in fastboot. If drivers are not installed or working, fix it via Windows Update -> Check Updates -> Optional Updates -> Drivers -> Google + FTDI
4. Run the deep testing apk, and after it's approved let it go into bootloader mode.
5. Connect phone to PC. If fastboot shows "waiting for devices", exit, go into Windows Update and check for updates. Then go to Optional Updates and select & install Android Google driver. (Windows 10-11)
6. Complete the unlocking of bootloader with
fastboot flashing unlock
7. Follow flashing like below credit
@hacls
NOTE 1: You can also run
fastboot getvar current-slot to check which partition is active before running
fastboot --set-active=a
NOTE 2: You can flash stock nonroot boot.img first and root later with 1 command. Otherwise, flash a patched boot.img that matches the ROM version.
NOTE 3: When flashing super.img, error message will display "Invalid sparse file format in header", it will look frozen but this is OK, leave it running.
fastboot getvar current-slot
fastboot --set-active=a
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash metadata metadata.img
fastboot flash oplusreserve2 oplusreserve2.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash super super.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash vbmeta_vendor vbmeta_vendor.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash userdata userdata.img
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
fastboot -w
fastboot reboot
Locking bootloader:
If you don't care about root and don't plan to root in future, follow
@sanya_rnd guide:
NOTE: CAREFUL - High risk of hard brick if the data was not wiped in step 4. All partitions must be stock, no root.
For anyone who wants to lock a bootloader and avoid a "bootloop".
- Follow the instruction and migrate your phone to a global ROM, use rootless boot image
- DO NOT LOCK BOOTLOADER
- On the second screen you should have an iconless "Test" app
- Update to A.17 version (5+GB update)
- On the second screen an iconless app is still present
- Do factory reset
- On the second screen an iconless "Test" app should be missing
- Download deeptest APK and press "Exit program". The output will be
Run the bootloader lock command in fastboot mode. After the bootloader is locked, you can exit deep testing.
Proceed with
and
For unlocked bootloader:
Rooting with Magisk:
The newest Global version as of now is A.17.
NOTE: Patched boot.img has to match the version of the ROM.
7. After flashing global rom check what is most up to date version available via the software update.
You will have to disable automatic system updates to keep the root if Realme releases newer ROM.
7a. Reboot back to bootloader (if you have ADB debugging enabled in Developer Options, run
adb reboot bootloader, otherwise you can do the Power + volume down method)
Download appropriate patched boot.img
bootA10magisk.img for A.10
https://drive.google.com/file/d/1hBxqFe7XzO7hub-jgZjsFfAHo4XIdjlm/view?usp=sharing
bootA16magisk.img for A.16
https://drive.google.com/file/d/1pyz7VFkiPjnkzizWfSJjOe836yinQR1w/view?usp=sharing
bootA17magisk.img for A.17
https://drive.google.com/file/d/1k6-K8vRlEnZJXPH6z_t5QHy5Kiud2sGX/view?usp=sharing
7b. Run
fastboot getvar current-slot .
Replace the "bootXXXmagisk" with a correct filename for patched magisk file
- If it shows boot B partition, run
fastboot flash boot_b bootXXXmagisk.img
- If it shows boot A partition, run
fastboot flash boot_a bootXXXmagisk.img
7.c Reboot device with
fastboot reboot
7.d Complete Magisk app install
Install Magisk modules (you have to copy .zip files):
SafetyNetFix :
https://github.com/kdrag0n/safetynet-fix/releases
Shamiko :
https://github.com/LSPosed/LSPosed.github.io/releases
7.e Activate Zygisk in Magisk
7.f Go to configure DenyList and add in any apps you want to hide Magisk from like banking apps.
However -
Don't enable the "Activate DenyList" option! This is required by Shamiko hide Magisk module
Just adjust the DenyList.
7.g Restart phone and enjoy root
Safety Net passes with BASIC evaluation type
Additional notes:
Magisk updates can be installed with "Direct Install (recommended)"
Manual extracting of boot.img and other files from original ROM OFP file:
Flash files can be extracted using Oppo Decrypt from:
https://github.com/bkerler/oppo_decrypt
I advise against using MCT OFP Extractor Tool as it contains a ransomware Trojan:Win32/Trickbot!ml
Untested OTA-update preserving root method (proceed at your own risk!)
- Copy current ROM version stock boot.img to storage
- Open Magisk and select install -> Patch file -> Select the stock boot.img
- Restart phone.
This will generate Magisk "backup image" folder
- Go to Magisk -> Restore Images
- Go to OTA update and select to download update. Once it finishes the "Extracting" process,
do not click "Install" in the updater!
- Go back to Magisk app and select Install -> Install to Inactive Slot (After OTA)
- After Magisk is done, select reboot
The above method is untested, so make sure you have stock and patched boot.img files for the newest ROM version. Theoretically in the worst case scenario if something goes wrong, all that needs to be done is reflash boot.img via fastboot.
A.17 ROM .ofp file:
RMX3301export_11_A.17_2022062222270183:
https://rms01.realme.net/SW/realme service/realme GT2 Pro/216AC/RMX3301export_11_A.17_2022062222270183.7z