Unbrick Realme 7 PRO UI 1.0 - Android10

Search This thread

rodrigok300

New member
Apr 10, 2022
3
0
Hello, thanks for the tutorial. Could you give me the download link of the OFT? Could you use oppo oft flash tool instead of flashing the .img one by one in recovery?

My problem was that I installed the RUI3.0 beta and I couldn't roll back to 2.0. In the attempt I have flashed the RUI2.0 rom with oppo ofp flash tool but it manages to start even load the system to the realme launcher but seconds after starting it freezes and restarts
 

DerGriechisch

Member
Feb 1, 2021
37
3
Realme 7 Pro
Hello, i used both the python program and the windows MTC OFP Extractor progam
Neither of them gave me a single super file
there are many of them
how do i get single super file?
 

DerGriechisch

Member
Feb 1, 2021
37
3
Realme 7 Pro
[Unbrick Realme 7 PRO RMX2170 128GB with NFC - softbrick - bootloader unlocked UI 1.0 - Android10]

This tutorial works only in soft brick devices, for hardwre bricks only flashing with MSM Download and it I don't know how this works.

I don't know if this tutorial will works with other devices.

Try this if you don't have another way.


------------------------------------------------------------------------------------------------------------------------------------------
- I not responsable for your decision to try. -
- I'm not responsible for your device (hard brick or other things that might happen) -
------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- IMPORTANT NOTE -
- Unlocked Bootloader devices only (It's very important) Only Android 10 -
- If your device have locked bootloader only realme repair shop can help you, or flashing with MSM -
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Let's Start
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Flash the PBRP 3.0
**** Don't change the name this image to recovery using anyway
PBRP-RMX2170-3.0.0-20210113-1340-UNOFFICIAL.img****

Download the ROM (of the official channel, I'm using RMX2170 A.41 PU) ozip format

Download the rom OFP format
Search on google for your ROM, generally this type have 7GB

Put the rom ozip in device (external sdcard) the rom can be send to device for USB conection normally.

In PBRP goes in wipe menu and select Data (It's very important too) change partition Ext2 wait finish and select again to ext4 to remove any block on /Data partition.

Reboot menu and select reboot to recovery.

-----------------------------
Now proceed to PC

Download and opens the MCT ofp extract tool to extract the ofp to files img. (Only works on windows, in Linux use a VM)
The user nirmago alerted me over a virus in this file, thanks nirmago. Proced with caution with file. I used a new way to decrypt the ofp files

oppo_decrypt

Is free and developed in python, works very well in linux and I believe what this not have worms.

Is very simple to use
choose the OFP file
select a ouput folder to extract the files
and click on EXTRACT and wait finish.

*************
Important: After extract you will have 124 files in folder and this folder have 11.8GB.(See in baseboard of window). And the super file have 8GB. like picture below. See in pictures below, the first image to show how many files have in folder and the second picture the size of super file, see too what I have only one Super file.

Image 1 - 124 files extract and the folder with 11.8Gb. See in baseboard of window.
View attachment 5473893
Image 2 - The Super file have 8Gb.
View attachment 5473895

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

Meanwhile remove the sd of your device (you don't need shutdown the device only remove)
Put the sdcard on pc and copy the folder of generate with MCT extract tool folder to root (Not move this folder to device for USB bcz some files not will be copied)

Put the ozip too (download the ozip that you had before RMX2170XX_11_A.XX)

Remove sdcard of your PC and put again on device. (Here I recommend security removal with using windows 10 or 11)

-------------------------------------
Proceed again on device
After you puted the sdcard on device goes to Mount menu in PBRP and select mount your external sd again.*
And the PBRP will reconect the sdcard.
* if you shutdown to remove the sdcard it's not necessary.

Open the folder that you copied (generated by MCT) on sdcard

Open flash menu and seek for img files above:

Boot.img
Super.img (This file is the key to recovery the system)
Recovery.img
Persist.img
Vbmeta.img
Vbmeta_system.img
Vbmeta_vendor.img

Touch on each one at a time, select the respective name on selection box and flash.

Now reboot to system, the system will crash on load, but not have bootloop, don't worry it's normal.

Reboot to bootloader again with procedure above.
*** vol+ + power at device reboot and fastly push vol- right after the device vibrate ***

In bootloader.
Now put de PBRP image again with the command above. Sometimes the device keeps restarting constantly
be quick to put the command.


fastboot flash recovery PBRP-RMX2170-3.0.0-20210113-1340-UNOFFICIAL.img


In PBRP
Wipe data, cache, dalvik
Install the ozip file that you downloaded before
and then the system will goes normal and the device is live again, [in my case the wifi not working after start system]

If you wanna the official recovery again, or have problems like wifi not works.
On PC open a terminal inside the folder created by MCT with the uncompressed OFP rom and use the commands above:

fastboot flash boot boot.img
fastboot flash recovery recovery.img

Press vol- at show up on screen reboot to recovery and will have the official recovery again

*If you have the wifi issue like me put the ozip (the same that you downloaded) on device for USB cable on download folder.
Reboot to official recovery (It not work on custom recovery)
Flash for file, search the ozip file and install normally.
It will solve the problem.

* You will not lose the IMEI

* The fingerprint sensor doesn't works. I will try to solve this issue now.

EDIT:
I used a new software to decrypt the ofp
Works very well in Linux, in Windows I don't know.

Open a terminal in directory os unzip the downloaded code

The command used was (in Linux):

./ofp_qc_decrypt.py <your file.ofp> <place to extract/decrypt>

And now I used OTG USB instead SdCard and works too.

OBS:
For fingerprint issue the only way yet is to restore the Persist partition backup generated by PBRP to but I haven't my persistent partition (original) to try, my realme was bricked before that I make it.


I study for a week to recovery my device, and I appreciate each one here what contribuited of a little tool or with your knowledge of the Android system.

I wish what this tutorial help you.
Good luck for all.
I have the original persist from orange fox backup.
To make fingerprint work again do i need to install orangefox and restore it from there or is there another way?
I want to keep the original recovery to be able to flash ota updates and ozip files
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    [Unbrick Realme 7 PRO RMX2170 128GB with NFC - softbrick - bootloader unlocked UI 1.0 - Android10]

    This tutorial works only in soft brick devices, for hardwre bricks only flashing with MSM Download and it I don't know how this works.

    I don't know if this tutorial will works with other devices.

    Try this if you don't have another way.


    ------------------------------------------------------------------------------------------------------------------------------------------
    - I not responsable for your decision to try. -
    - I'm not responsible for your device (hard brick or other things that might happen) -
    ------------------------------------------------------------------------------------------------------------------------------------------

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    - IMPORTANT NOTE -
    - Unlocked Bootloader devices only (It's very important) Only Android 10 -
    - If your device have locked bootloader only realme repair shop can help you, or flashing with MSM -
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Let's Start
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Flash the PBRP 3.0
    **** Don't change the name this image to recovery using anyway
    PBRP-RMX2170-3.0.0-20210113-1340-UNOFFICIAL.img****

    Download the ROM (of the official channel, I'm using RMX2170 A.41 PU) ozip format

    Download the rom OFP format
    Search on google for your ROM, generally this type have 7GB

    Put the rom ozip in device (external sdcard) the rom can be send to device for USB conection normally.

    In PBRP goes in wipe menu and select Data (It's very important too) change partition Ext2 wait finish and select again to ext4 to remove any block on /Data partition.

    Reboot menu and select reboot to recovery.

    -----------------------------
    Now proceed to PC

    Download and opens the MCT ofp extract tool to extract the ofp to files img. (Only works on windows, in Linux use a VM)
    The user nirmago alerted me over a virus in this file, thanks nirmago. Proced with caution with file. I used a new way to decrypt the ofp files

    oppo_decrypt

    Is free and developed in python, works very well in linux and I believe what this not have worms.

    Is very simple to use
    choose the OFP file
    select a ouput folder to extract the files
    and click on EXTRACT and wait finish.

    *************
    Important: After extract you will have 124 files in folder and this folder have 11.8GB.(See in baseboard of window). And the super file have 8GB. like picture below. See in pictures below, the first image to show how many files have in folder and the second picture the size of super file, see too what I have only one Super file.

    Image 1 - 124 files extract and the folder with 11.8Gb. See in baseboard of window.
    Screenshot_2021-12-03_11_48_46.png

    Image 2 - The Super file have 8Gb.
    Screenshot_2021-12-03_11_53_02.png


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

    Meanwhile remove the sd of your device (you don't need shutdown the device only remove)
    Put the sdcard on pc and copy the folder of generate with MCT extract tool folder to root (Not move this folder to device for USB bcz some files not will be copied)

    Put the ozip too (download the ozip that you had before RMX2170XX_11_A.XX)

    Remove sdcard of your PC and put again on device. (Here I recommend security removal with using windows 10 or 11)

    -------------------------------------
    Proceed again on device
    After you puted the sdcard on device goes to Mount menu in PBRP and select mount your external sd again.*
    And the PBRP will reconect the sdcard.
    * if you shutdown to remove the sdcard it's not necessary.

    Open the folder that you copied (generated by MCT) on sdcard

    Open flash menu and seek for img files above:

    Boot.img
    Super.img (This file is the key to recovery the system)
    Recovery.img
    Persist.img
    Vbmeta.img
    Vbmeta_system.img
    Vbmeta_vendor.img

    Touch on each one at a time, select the respective name on selection box and flash.

    Now reboot to system, the system will crash on load, but not have bootloop, don't worry it's normal.

    Reboot to bootloader again with procedure above.
    *** vol+ + power at device reboot and fastly push vol- right after the device vibrate ***

    In bootloader.
    Now put de PBRP image again with the command above. Sometimes the device keeps restarting constantly
    be quick to put the command.


    fastboot flash recovery PBRP-RMX2170-3.0.0-20210113-1340-UNOFFICIAL.img


    In PBRP
    Wipe data, cache, dalvik
    Install the ozip file that you downloaded before
    and then the system will goes normal and the device is live again, [in my case the wifi not working after start system]

    If you wanna the official recovery again, or have problems like wifi not works.
    On PC open a terminal inside the folder created by MCT with the uncompressed OFP rom and use the commands above:

    fastboot flash boot boot.img
    fastboot flash recovery recovery.img

    Press vol- at show up on screen reboot to recovery and will have the official recovery again

    *If you have the wifi issue like me put the ozip (the same that you downloaded) on device for USB cable on download folder.
    Reboot to official recovery (It not work on custom recovery)
    Flash for file, search the ozip file and install normally.
    It will solve the problem.

    * You will not lose the IMEI

    * The fingerprint sensor doesn't works. I will try to solve this issue now.

    EDIT:
    I used a new software to decrypt the ofp
    Works very well in Linux, in Windows I don't know.

    Open a terminal in directory os unzip the downloaded code

    The command used was (in Linux):

    ./ofp_qc_decrypt.py <your file.ofp> <place to extract/decrypt>

    And now I used OTG USB instead SdCard and works too.

    OBS:
    For fingerprint issue the only way yet is to restore the Persist partition backup generated by PBRP to but I haven't my persistent partition (original) to try, my realme was bricked before that I make it.


    I study for a week to recovery my device, and I appreciate each one here what contribuited of a little tool or with your knowledge of the Android system.

    I wish what this tutorial help you.
    Good luck for all.
    1
    Isn't it easier to flash those extracted IMG files directly from fastboot, rather than flashing PBRP and working with SD card? Wipe and flashing OZIP can be done thru stock recovery too.
    Code:
    fastboot flash vbmeta vbmeta.img
    fastboot flash vbmeta_system vbmeta_system.img
    fastboot flash vbmeta_vendor vbmeta_vendor.img
    fastboot flash super super.img
    fastboot flash boot boot.img
    fastboot flash persist persist.img
    fastboot flash recovery recovery.img
    1
    Press vol- + power at the device turn on in fastboot after flash a good vbmeta.img, and a boot image, I recommend search it in the original rom, and after flash a recovery image (orangefox or PBRP).

    But be quick before the device reboot.

    fastboot flash vbmeta vbmeta.img
    fastboot flash boot boot.img
    fastboot flash recovery recovery.img
    Can u upload for me this file ? Maybe my computer has problem with this.. idk..