[Realme GT 2] smashda:
Hi, i have the RMX3311 EUX Device.

A PixelOS Flash resulted in lost IMEI, not recognizing Sim-cards.

After a try with the Oppo/Realme OFP-Flash Tool it still only booted into fastboot mode, so here's how i rectified it, if you are having similar problems:

! This requires you to have already enabled all the standard needed things like USB-Debugging etc. !

Here's how i got it back to working, thanks to @Lightning- :

1. Download the following Files to your PC:

- Payload Dumper to extract modem.img from latest OTA Package:

GitHub - ssut/payload-dumper-go: an android OTA payload dumper written in Go

an android OTA payload dumper written in Go. Contribute to ssut/payload-dumper-go development by creating an account on GitHub.

github.com

- OppoRealme-OFP-Flash to Flash the .ofp File and get back to RealmeUI, thanks to @Efigeah :

Release Compiled Version 1.0 · italorecife/OppoRealme-OFP-Flash

Compiled with Nuitka for Windows, Linux and macOS Linux (in the example below I will use ubuntu) Install adb & fastboot and simg2img sudo apt-get install android-tools-adb android-tools-fastboot s...

github.com

- Latest OTA Package for your Device, thanks to @Stano36 's OTA-Thread:

https://xdaforums.com/t/collection-of-ota-packages.4542941/

- And the .OFP Package to Rollback, thanks to @b0nb0n3v

https://xdaforums.com/t/collection-of-ota-packages.4542941/post-88558929

- The Latest ADB Platform Tools:

SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com

It is best to have an organized and short path, where everything you need is gathered e.g. make a Folder in C:\ADB where you put in the Platform Tools, and the Files you want to flash, into that Folder.

2. Extract and Flash modem.img, to regain Radios:

Extract the latest OTA-Package, you should get a payload.bin out of that Archive.

Now you take that payload.bin and use Payload Dumper to extract all the files of that .bin.

We only need the extracted modem.img out of that extracted Payload and use it to flash it to your device.

Open up CMD, and go into your ADB Folder e.g. "cd c:\adb"

Reboot your Device into fastboot mode with "adb reboot fastboot"

Check if it's working by typing "fastboot devices" and if your device will come up. (If your Device is not getting recognized try the trouble-shooting at bottom. )

Put the modem.img into that same Folder.

When your Device comes up after that command your device is ready to flash.

Then you type in: "fastboot flash modem modem.img"

If the Modem flash was a success, you can go on and reboot your device into fastbootD mode.

This is different because in normal fastboot mode not all Files can be flashed, fastbootD has deeper privileges.

3. Reboot to fastbootD mode:

Boot into fastbootD mode by typing: "fastboot reboot fastboot"

Your device will tell you at the top if it is in the correct mode, it should read "fastbootd".

4. Flash the .ofp File with OppoRealme-OFP-Flash:

Place the .ofp File in the same Folder where you have extracted OppoRealme-OFP-Flash:

Start the OppoRealme-OFP-Flash_1.0.exe and it should tell you, when everything is correct at the top:

"Searching for .ofp files

File found: RMX3311.ofp

OK: Ofp Compatible"

Choose your Region, in my Case it is the EU Version and the Version is EUEX.

What region is my device using.

A simple way to find out the region of your device and does not need a computer, just use your smartphone. Just enter *#6776# (*#899#) in the phone app and you will get the Software Version.Scroll down and there you will find Manifest:Image. From...

xdaforums.com

Click the region number, then that you want to flash all new 0, and start flash.

That will take a while and should give you Success at the end.

If all that is done, you can reboot your device either with a command or by just clicking Start, wait for a bit and the A.12 Version should boot.

5. Update to the latest RealmeUI Version by using local update:

Copy the latest OTA Package that you have downloaded for your device onto your Phone.

Enable Developer Settings again.

Go into Settings -> About Device -> Click on RealmeUI on top and the three dots "..." on the top right.

There you choose the OTA Package that you have downloaded and flash it from there.

6. You are done:

You have successfully reflashed to the latest RealmeUI, your IMEI etc. should be back in Settings -> About Phone -> Status, and now you can f**k up your Device again. :)

7. Disable unsigned driver mode:

The unsigned drivers will stop working after this, so only use this if everything is done, to go back to signed Driver mode.

- Start CMD as Administrator

- Type:

bcdedit /set testsigning off

- Restart the PC.

// Troubleshooting - Fastboot not recognizing the Device:

There are two Steps you can try.

First deactivate Windows Driver signature, so you can install unsigned Oneplus USB Drivers:

Go to Windows Settings -> Windows Update -> Change advanced startup settings ->

Restart now under the Advanced startup -> Troubleshoot -> Advanced Options ->

Startup Options -> Restart -> And then you can press 7, to choose Disable driver signing enforcement.

Then Windows will reboot and you can open your Device-Manager to check if your Phone is being recognized, sometimes it's recommended to use a USB-2 Port, rather than a USB-3 one.

If the Device is unrecognized and needs a driver update, you right-click it, and choose "update driver", choose search for drivers on your computer and choose the path where you have extracted the OnePlus Drivers, make sure to tick that it includes all sub-folders when searching.

If it still doesn't install it regardless you can, on the Window where it tells you to choose a Path to find the Drivers on your PC, choose the Option below that, where it tells you to "Choose from a list of Drivers on your Computer" click on that.

In the following list, choose Android Phone, click on the "Manufacturer" List on OnePlus, and in the right Panel of "Model" choose "Oneplus Android Bootloader Interface".

Install it and it should show up.