Question HELP - Realmeflash.exe "cannot find central directory"

Search This thread

Swd captain

New member
Dec 23, 2022
1
0
use this flash tool. put the ofp file in same folder run exe & select region start flash https://github.com/italorecife/OppoRealme-OFP-Flash
Thanks alot man !
You don't know how much you helped me 😃. This process booted my phone. I was trying to install linege os on my RMX3461 but unluckily I followed wrong procedure. I had to install linege os recovery but I install unstable and incomplete TWRP recovery in which there was no option to wipe partitions then I read the correct process and I install linege os recovery through bat scrip but this process put my phone in don't know what either it was Soft brick or hardbrick or boot loop. Nothing was accessible neither recovery nor phone was booting, It was showing black screen after realme logo. Then I knew that my phone I dead. Then I did some research and I come know that official stock rom can be flashed by realme flash tool. I downloaded my phone's ofp and realme flashed, but it was showing the error mentioned above ,then I saw your post I downloaded this flash tool and started flashing as mentioned. It worked like charm, my phone booted in RUI recovery after holding power button and volume up down button, then I booted in my system. Again thanks alot, you saved my 20k INR and me from being beaten by dad 😁. Jai hind Jai bharat
 

mnzzzzzzzzz

New member
Dec 27, 2022
1
0
I recently unbricked my GT ME using this flash tool only. Realme flash tool doesn't support AB partition & dynamic partition table. It is the only working tool to flash through fastboot. After flashing completion change slot

fastboot getvar current-slot

fastboot --set-active=a or b

fastboot reboot
use this flash tool. put the ofp file in same folder run exe & select region start flash https://github.com/italorecife/OppoRealme-OFP-Flash
thank you so much. it's work for my rmx2101, finally i dont need go to service center for unbrick my phone
 

iSkyFox

New member
Jan 6, 2023
2
0
Hello. Need help. English not my native so sorry for my spelling. I have a rmx 3031 (realme gt neo falsh edition) which I bricked tried to flash global (indian) rom. The bootloader is unlocked. I tried to install the program OppoRealme-OFP-Flash_1.0 on my windows 10 but it gives me an error "struct.error: unpack requires a buffer of 4 bytes". What's wrong? So i tried to write command fastboot getvar current-slot but it aslo gives me an error "getvar:current-slot FAILED (remote: GetVar Variable Not found)". Please help me. I almost lost hope. I have a wrong ofp?
 

Attachments

  • photo_2023-01-07_00-53-14.jpg
    photo_2023-01-07_00-53-14.jpg
    109.2 KB · Views: 50
  • 2.jpg
    2.jpg
    129.5 KB · Views: 52
  • photo_2023-01-07_00-58-35.jpg
    photo_2023-01-07_00-58-35.jpg
    55.7 KB · Views: 51

SMinato27

Member
Aug 31, 2018
16
0
Realme GT 2 Pro
After flashing use this command

fastboot getvar current-slot

fastboot --set-active=a or b (if your current slot is a then change it to b and if current slot is b then change it to a)

fastboot reboot

Hope it will help you
Maybe it would work but the device wasn't turning on, so there's no way to use any command. Unfortunately I had to pay a dude to flash stock rom via EDL.
 

iSkyFox

New member
Jan 6, 2023
2
0
I resolved my problem. I also paid to dude who flash stock with remote access. Can get a contact if you need.
 
Sep 23, 2016
7
2
for any who is bricked use this and u will be good to go
extract all from the DOWNLOADED FIRMWARE using mct_ofp_extractor
copy all adb fastboot and adb files in that folder
open cmd in that folder
paste all given below commands there
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash modem modem.img
fastboot --disable-verity flash vbmeta vbmeta.img
fastboot --disable-verity flash vbmeta_system vbmeta_system.img
fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
fastboot reboot fastboot
fastboot flash abl abl.img
fastboot flash cpucp cpucp.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash devcfg devcfg.img
fastboot flash dsp dsp.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash engineering_cdt engineering_cdt.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img
fastboot flash qupfw qupfw.img
fastboot flash tz tz.img
fastboot flash uefisecapp uefisecapp.img
fastboot flash xbl xbl.img
fastboot flash xbl_config xbl_config.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash my_carrier my_carrier.img
fastboot flash my_company my_company.img
fastboot flash my_engineering my_engineering.img
fastboot flash my_heytap my_heytap.img
fastboot flash my_product my_product.img
fastboot flash my_region my_region.img
fastboot flash my_stock my_stock.img
fastboot flash my_bigball my_bigball.img
fastboot flash oplusstanvbk oplusstanvbk.img
fastboot flash qweslicstore qweslicstore.img
fastboot flash shrm shrm.img
fastboot flash system_ext system_ext.img
fastboot flash vendor_boot vendor_boot.img
fastboot flash vm-bootsys vm-bootsys.img

finally fastboot reboot
i am trying to go back to stock rui on RMX3360 will this work
 
Sep 23, 2016
7
2
i am trying to go back to stock rui on RMX3360 will this work
this might not work as ofp extrcator has different files. as in the guide simply go through steps

1. Download the Desired Stock Firmware file
2. Download OppoRealme Ofp flash tool
3. Copy the downloaded ofp file in Opporealme OFP tool folder
4. Run OppoRealme-OFP-Flash.exe enter 0 then 1
5. Now you might encounter two problems while in Fastboot(bootloader) your device might not be detected or if you enter into Recovery fastbootD tool will exit abruptly without any error.
so now to enter into Fastboot search for "kedacom usb device driver download" and follow the process of installation of Drivers. now fastboot will be detected directly.
6. Once detected in fastboot process will start some flash commands will fail nothing to worry. during the flash of super it might take some time depending on your computer speed (took 5 minutes on macbook).
7. Now open adb console type commands to change active partition

fastboot getvar current-slot

fastboot --set-active=a or b (this is a comment only if current partition from first command is A then --set-active=B and vice versa)

fastboot reboot

you are good to go you just Rebooted to stock RUI.
 

margre94

New member
Feb 15, 2023
4
1
Hi guys, thanks for all your tips, i was trying to give a lineageos to my realme but I have some mistakes...

I'm making all of this because i'm stuck at the fastboot mode and can't do anything. When I install it seems to be good, but when I want to change slot (my current is A, I want to go to B), I'm stuck at setting current slot to 'b' and nothing happens... How can I solve this pls ? I can't install the stock rom without the change...
 
Sep 10, 2017
7
0
I recently unbricked my GT ME using this flash tool only. Realme flash tool doesn't support AB partition & dynamic partition table. It is the only working tool to flash through fastboot. After flashing completion change slot

fastboot getvar current-slot

fastboot --set-active=a or b

fastboot reboot
did all of this and still stuck in a bootloop spiral. Does anyone know what causes the loop by chance?
 

pranav00

New member
Mar 26, 2023
3
0
It's very easy !

1. You download the latest firmware
2. You put your phone in fastboot mode
3. You connect your phone with the original cable to an available port on your motherboard
4. You open the "OppoRealme-OFP-Flash_1.0.exe"
5. You choose the "most logical" options

The files will install one by one and you may get a lot of errors!

Leave it, the program will continue and at some point there will be a "super" file which will take a long time to install (30 minutes), you wait and then you will see your phone restart as if it were brand new ! 😊
bro what do you mean by most logical option in 5th point
please help me
 

pranav00

New member
Mar 26, 2023
3
0
It's very easy !

1. You download the latest firmware
2. You put your phone in fastboot mode
3. You connect your phone with the original cable to an available port on your motherboard
4. You open the "OppoRealme-OFP-Flash_1.0.exe"
5. You choose the "most logical" options

The files will install one by one and you may get a lot of errors!

Leave it, the program will continue and at some point there will be a "super" file which will take a long time to install (30 minutes), you wait and then you will see your phone restart as if it were brand new ! 😊
bro help me please i cannot undestand the 5th point
 

luigiluigi

New member
Sep 16, 2010
1
0
use this flash tool. put the ofp file in same folder run exe & select region start flash https://github.com/italorecife/OppoRealme-OFP-Flash
CIAO. Mi dispiace non ho capito le istruzioni. Ho Realme 9 bloccato in TWRP o bootloader. Ho Windows 10. Ho ofprom nella stessa directory. Ho installato python pip 20.1.1 e pycryptodome 3.17. Se eseguo pyton.exe ottengo >>> Cosa devo fare. Grazie

Mod translation: HI. Sorry I didn't understand the instructions. I have Realme 9 stuck in TWRP or bootloader. I have windows 10. I have ofprom in the same directory. I have installed python pip 20.1.1 and pycryptodome 3.17. If I run pyton.exe I get >>> What should I do. Thank you
 
Last edited by a moderator:

Badger50

Senior Moderator / Moderator Committee
Staff member
Mod translation: HI.

Greetings. As a friendly reminder, we ask all members to please post in English as stipulated by XDA Rule #4:

4. Use the English language.

We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.

Thank you for your cooperation, and have a pleasant day.

-Regards: Badger50
 

decenakurt

Member
Apr 11, 2023
12
0
Finally, after two weeks of trouble, the problem was solved, thank you very much
hello i have a problem, my realme 5 is stuck at fastboot mode because i try to lock the bootloader now i cant boot in my system and also in recovery mode, i cant just do this because it says you need to unlock bootloaders , however i cant unlock the bootloader because i need to open oem bootloader but i cant boot in my system boot

i will be forever grateful for your help guys.
 

feitlimit

Member
Apr 11, 2023
16
1
use this flash tool. put the ofp file in same folder run exe & select region start flash https://github.com/italorecife/OppoRealme-OFP-Flash

It worked!! Thanks a lot. Now that I'm not being redirected to fastboot every time, I can mess with it more! Thanks :)

Background: Many things failed to flash (including odm, opporeserve2 which also failed to flash on a tutorial though) I don't know why but it worked.
What I did was fastboot erase [all the partitions like system boot recovery etc] then simply used the tool.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I've tried this tool and now my device don't turns on anymore. What should I do?
    After flashing use this command

    fastboot getvar current-slot

    fastboot --set-active=a or b (if your current slot is a then change it to b and if current slot is b then change it to a)

    fastboot reboot

    Hope it will help you
    2
    for any who is bricked use this and u will be good to go
    extract all from the DOWNLOADED FIRMWARE using mct_ofp_extractor
    copy all adb fastboot and adb files in that folder
    open cmd in that folder
    paste all given below commands there
    fastboot flash boot boot.img
    fastboot flash dtbo dtbo.img
    fastboot flash modem modem.img
    fastboot --disable-verity flash vbmeta vbmeta.img
    fastboot --disable-verity flash vbmeta_system vbmeta_system.img
    fastboot --disable-verity flash vbmeta_vendor vbmeta_vendor.img
    fastboot reboot fastboot
    fastboot flash abl abl.img
    fastboot flash cpucp cpucp.img
    fastboot flash aop aop.img
    fastboot flash bluetooth bluetooth.img
    fastboot flash devcfg devcfg.img
    fastboot flash dsp dsp.img
    fastboot flash featenabler featenabler.img
    fastboot flash hyp hyp.img
    fastboot flash engineering_cdt engineering_cdt.img
    fastboot flash imagefv imagefv.img
    fastboot flash keymaster keymaster.img
    fastboot flash multiimgoem multiimgoem.img
    fastboot flash odm odm.img
    fastboot flash qupfw qupfw.img
    fastboot flash tz tz.img
    fastboot flash uefisecapp uefisecapp.img
    fastboot flash xbl xbl.img
    fastboot flash xbl_config xbl_config.img
    fastboot flash system system.img
    fastboot flash vendor vendor.img
    fastboot flash product product.img
    fastboot flash my_carrier my_carrier.img
    fastboot flash my_company my_company.img
    fastboot flash my_engineering my_engineering.img
    fastboot flash my_heytap my_heytap.img
    fastboot flash my_product my_product.img
    fastboot flash my_region my_region.img
    fastboot flash my_stock my_stock.img
    fastboot flash my_bigball my_bigball.img
    fastboot flash oplusstanvbk oplusstanvbk.img
    fastboot flash qweslicstore qweslicstore.img
    fastboot flash shrm shrm.img
    fastboot flash system_ext system_ext.img
    fastboot flash vendor_boot vendor_boot.img
    fastboot flash vm-bootsys vm-bootsys.img

    finally fastboot reboot
    2
    I recently unbricked my GT ME using this flash tool only. Realme flash tool doesn't support AB partition & dynamic partition table. It is the only working tool to flash through fastboot. After flashing completion change slot

    fastboot getvar current-slot

    fastboot --set-active=a or b

    fastboot reboot
    2
    It's very easy !

    1. You download the latest firmware
    2. You put your phone in fastboot mode
    3. You connect your phone with the original cable to an available port on your motherboard
    4. You open the "OppoRealme-OFP-Flash_1.0.exe"
    5. You choose the "most logical" options

    The files will install one by one and you may get a lot of errors!

    Leave it, the program will continue and at some point there will be a "super" file which will take a long time to install (30 minutes), you wait and then you will see your phone restart as if it were brand new ! 😊
    Finally, after two weeks of trouble, the problem was solved, thank you very much
    1
    I had the same problem you gotta get the MCT OFP extractor tool and QFIL, you extract everything with the MCT tool and then use QFIL to flash but the super.img is broken up into multiple files which I Have no clue how to merge so I'm stuck for now but if I get it working I'll be sure to tell you