How To Guide Unbrick all N20 Variants with oppo flash python

Search This thread

bricklife4me

Account currently disabled
Mar 9, 2023
81
15
This guide is only for if your device has fastboot working.
This method requires the extracting of the ofp in order to get the raw img for the fastboot d partition. Then you'll flash the critical partition manually in fastboot D. Youll be using the oppo tool to flash the non critical partition.
Download and install Python Pyton download
Download and install Git git ( During setup i just kept pressing next)
Download and install this Python flash tool Flash tool ( copy paste extracted files into the python folder)

if you don't see the app data folder its cause you have hidden items unchecked. see the attach photo.

hiddenview.png

Download and install oppo-decrypt Oppo decryp ( you can skip this step, these files are in the link at the bottom)

Download adb/platform tools and put in c directory. Platform tools

Download the firmware for your device.
link at the bottom


Put the <firmware.ofp> in the python folder. on my pc its located in C:\Users\Admin\AppData\Local\Programs\Python\Python311

Put the critical files in your platform tools folder

Open a cmd in the python folder
Type python flash.py
Follow the prompt.

Flash will begin this takes time cause the tool unpacks the userdata.img and super.img.

Youll get a success output in the shell.

The 2nd Flash
open a cmd in platform tools
type fastboot reboot fastboot

Use the followinmg commands to flash the files to fastboot d
fastboot flash abl abl.elf

fastboot flash tz tz.mbn
fastboot flash my_product my_product.img
fastboot flash devcfg devcfg.mbn
fastboot flash rpm rpm.mbn
fastboot flash uefisecapp uefisecapp.img
fastboot flash hyp hyp.mbn
fastboot flash xbl_config xbl_config.elf
fastboot flash imagefv imagefv.elf
fastboot flash product product.img
fastboot flash xbl xbl.elf

fastboot flash qupfw qupv3fw.elf


reboot phone Success


Firmware Android 12 GN2200_11_C.11
Put this in your python folder
firmware

flash this in fastboot D critical partition
ADB DRivers

if you have the cph variant,. just swap out the ofp for the ofp for your device

FAQ

My PC doesn't recognsize my device.
Driver issue. on pc go to device manager (right click windows icon)
fix where you see an exclamation mark.

on your phone bring down the notification shade,. look for usb connection, choose file transfer.
 
Last edited:
  • Like
Reactions: mobile_sensei

rodagola

Senior Member
Nov 13, 2019
66
0
Do you think this would allow cross-flashing? To turn the GN2200 (TMO model) into CPH2459 (carrierless firmware/TMOless splash screen) ?

Haven't seen anybody else post about cross-flash..
 

bricklife4me

Account currently disabled
Mar 9, 2023
81
15
Do you think this would allow cross-flashing? To turn the GN2200 (TMO model) into CPH2459 (carrierless firmware/TMOless splash screen) ?

Haven't seen anybody else post about cross-flash..
I tried it and i bootlooped. But for the splash screen it is possible yl change the splash screen
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,224
6
2,883
gitlab.com

Disclaimer​

The information on this site may contain errors or inaccuracies, and we do not make any warranty or guarantee as to the accuracy of the information. Your warranty will be void if you tamper with any part of your device / software. YOU are choosing to make these modifications. XDA is not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.

All the best,
xda-developers
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    This guide is only for if your device has fastboot working.
    This method requires the extracting of the ofp in order to get the raw img for the fastboot d partition. Then you'll flash the critical partition manually in fastboot D. Youll be using the oppo tool to flash the non critical partition.
    Download and install Python Pyton download
    Download and install Git git ( During setup i just kept pressing next)
    Download and install this Python flash tool Flash tool ( copy paste extracted files into the python folder)

    if you don't see the app data folder its cause you have hidden items unchecked. see the attach photo.

    hiddenview.png

    Download and install oppo-decrypt Oppo decryp ( you can skip this step, these files are in the link at the bottom)

    Download adb/platform tools and put in c directory. Platform tools

    Download the firmware for your device.
    link at the bottom


    Put the <firmware.ofp> in the python folder. on my pc its located in C:\Users\Admin\AppData\Local\Programs\Python\Python311

    Put the critical files in your platform tools folder

    Open a cmd in the python folder
    Type python flash.py
    Follow the prompt.

    Flash will begin this takes time cause the tool unpacks the userdata.img and super.img.

    Youll get a success output in the shell.

    The 2nd Flash
    open a cmd in platform tools
    type fastboot reboot fastboot

    Use the followinmg commands to flash the files to fastboot d
    fastboot flash abl abl.elf

    fastboot flash tz tz.mbn
    fastboot flash my_product my_product.img
    fastboot flash devcfg devcfg.mbn
    fastboot flash rpm rpm.mbn
    fastboot flash uefisecapp uefisecapp.img
    fastboot flash hyp hyp.mbn
    fastboot flash xbl_config xbl_config.elf
    fastboot flash imagefv imagefv.elf
    fastboot flash product product.img
    fastboot flash xbl xbl.elf

    fastboot flash qupfw qupv3fw.elf


    reboot phone Success


    Firmware Android 12 GN2200_11_C.11
    Put this in your python folder
    firmware

    flash this in fastboot D critical partition
    ADB DRivers

    if you have the cph variant,. just swap out the ofp for the ofp for your device

    FAQ

    My PC doesn't recognsize my device.
    Driver issue. on pc go to device manager (right click windows icon)
    fix where you see an exclamation mark.

    on your phone bring down the notification shade,. look for usb connection, choose file transfer.
    1
    does anyone have the cph A12 firmware?