[SOLVED] Can't get stock ROM back. Bootloop. - Realme X50 Pro Questions & Answers

Hey guys, I bricked my Realme X50 Pro today and I'm a bit stuck trying to boot it again. It's the Spanish version, RMX2071.
I was able to install TWRP and flashed the stock ROM zip from there using adb push (I converted the ozip file to zip using ozipdecrypt). It says "successful" but it still doesn't work: after rebooting, stays stuck in the realme logo and after a few minutes goes into TWRP recovery mode.
I don't know what else to try. I don't care about the data, I just want the phone to work again. I don't know if the zip is the problem, but I can't flash the .ozip file using TWRP and can't find the stock recovery.img anywhere.
Thanks in advance.
*SOLVED:
Hi all! I managed to solve this issue and my X50 Pro is running normally now I'm posting here how I did it, so it can help anyone with the same problem:
1. My phone had TWRP recovery and you can't flash any Realme stock ROM from there, so I flashed the Indian ROM using the Realme Flash Tool. In this link you can find the tool and the .ofp file needed.
2. Now the phone was bootlooping, so we need to get the stock recovery. For that, you need to follow this tutorial (I used the .ozip file of the version I wanted, but I think it works with the .ozip of any version) to get generate the image files needed.
3. As you will see, the recovery.img doesn't exist in the final folders, but you can create it with some files you get in the 01-Project folder. To generate it, follow this. Basically, you need to get the boot.img and the file recovery-from-boot.p (located in /01-Project/vendor), copy them in the same folder, open the Linux shell in that folder and do:
Code:
bspatch boot.img selfmade_stock_recovery.img recovery-from-boot.p
(in case you are using Windows, you can install the Linux shell following this and then install bspatch following this steps).
4. Now that we have our stock recovery (selfmade_stock_recovery.img), we can flash it into our phone while in fastboot mode using the command line:
Code:
fastboot flash recovery selfmade_stock_recovery.img
5. In your mobile, go to stock recovery and Wipe Data and Format. When I did this, the device booted correctly in the Indian version I installed via .ofp file. If your phone doesn't boot correctly, you should be able to put the .ozip of the version you want in a flashdrive and use an OTG cable to flash it directly to the phone via stock recovery (Install via OTG).
6. If your device booted correctly, you can download your stock ROM .ozip file, put it in the internal storage of your phone and install it via stock recovery.
Thanks all, hope it helps

Deesubicado said:
Hey guys, I bricked my Realme X50 Pro today and I'm a bit stuck trying to boot it again. It's the Spanish version, RMX2071.
I was able to install TWRP and flashed the stock ROM zip from there using adb push (I converted the ozip file to zip using ozipdecrypt). It says "successful" but it still doesn't work: after rebooting, stays stuck in the realme logo and after a few minutes goes into TWRP recovery mode.
I don't know what else to try. I don't care about the data, I just want the phone to work again. I don't know if the zip is the problem, but I can't flash the .ozip file using TWRP and can't find the stock recovery.img anywhere.
Thanks in advance.
*UPDATE: I flashed the stock ROM ozip file using TWRP. Now I have a bootloop: it starts with the realme and android white logo, then goes to the realme orange logo, but in the end it restarts again and starts the loop again
Click to expand...
Click to collapse
Take a look what the user "pppwaung" has reported in 15th June 2020, 09:38 AM and confirm if it can help:
https://forum.xda-developers.com/realme-x50-pro/help/stock-recovery-image-t4111477/page4

can you share that stock recovery.img?
i tried to bspatch but get `bspatch: Corrupt patch`

ttongg said:
can you share that stock recovery.img?
i tried to bspatch but get `bspatch: Corrupt patch`
Click to expand...
Click to collapse
Same situation.... Seems my Ubuntu 20.04 has a little problem.
Wish someone could help to upload RMX2071 recovery img~~ will appreciate it so much.
Sincerely,

ttongg said:
can you share that stock recovery.img?
i tried to bspatch but get `bspatch: Corrupt patch`
Click to expand...
Click to collapse
93123211 said:
Same situation.... Seems my Ubuntu 20.04 has a little problem.
Wish someone could help to upload RMX2071 recovery img~~ will appreciate it so much.
Sincerely,
Click to expand...
Click to collapse
Here is the recovery.img I made for the RMX2076EU_11_A.20 version. Hope it helps

Deesubicado said:
Here is the recovery.img I made for the RMX2076EU_11_A.20 version. Hope it helps
Click to expand...
Click to collapse
Hello Mate,
Thanks for your so kindly help.
I figured out what caused the boot loop
After I flashed the EU or India version OZIP via TWRP, the data file became wrong and keep booting loop.
Then I have to flash this stock rom on my RM2071, and going to clear --> format data
After that it goes reboot automatically, than boot up in two minutes, asking me to select language~~
Thanks for your kindly help again~~

Deesubicado said:
Hey guys, I bricked my Realme X50 Pro today and I'm a bit stuck trying to boot it again. It's the Spanish version, RMX2071.
I was able to install TWRP and flashed the stock ROM zip from there using adb push (I converted the ozip file to zip using ozipdecrypt). It says "successful" but it still doesn't work: after rebooting, stays stuck in the realme logo and after a few minutes goes into TWRP recovery mode.
I don't know what else to try. I don't care about the data, I just want the phone to work again. I don't know if the zip is the problem, but I can't flash the .ozip file using TWRP and can't find the stock recovery.img anywhere.
Thanks in advance.
*SOLVED:
Hi all! I managed to solve this issue and my X50 Pro is running normally now I'm posting here how I did it, so it can help anyone with the same problem:
1. My phone had TWRP recovery and you can't flash any Realme stock ROM from there, so I flashed the Indian ROM using the Realme Flash Tool. In this link you can find the tool and the .ofp file needed.
2. Now the phone was bootlooping, so we need to get the stock recovery. For that, you need to follow this tutorial (I used the .ozip file of the version I wanted, but I think it works with the .ozip of any version) to get generate the image files needed.
3. As you will see, the recovery.img doesn't exist in the final folders, but you can create it with some files you get in the 01-Project folder. To generate it, follow this. Basically, you need to get the boot.img and the file recovery-from-boot.p (located in /01-Project/vendor), copy them in the same folder, open the Linux shell in that folder and do:
Code:
bspatch boot.img selfmade_stock_recovery.img recovery-from-boot.p
(in case you are using Windows, you can install the Linux shell following this and then install bspatch following this steps).
4. Now that we have our stock recovery (selfmade_stock_recovery.img), we can flash it into our phone while in fastboot mode using the command line:
Code:
fastboot flash recovery selfmade_stock_recovery.img
5. In your mobile, go to stock recovery and Wipe Data and Format. When I did this, the device booted correctly in the Indian version I installed via .ofp file. If your phone doesn't boot correctly, you should be able to put the .ozip of the version you want in a flashdrive and use an OTG cable to flash it directly to the phone via stock recovery (Install via OTG).
6. If your device booted correctly, you can download your stock ROM .ozip file, put it in the internal storage of your phone and install it via stock recovery.
Thanks all, hope it helps
Click to expand...
Click to collapse
Disculpa despues de lo que hiciste en que version se quedo cn o pu

RMX2071 is a CN version. So from CN version to Indian successful?

ENJOY
Just flash this boot.img and will work. Its extracted by me, i dont want other to struggle like i did.
I am new user, i cant post links, but PM me and maybe I can.

Deesubicado said:
Hey guys, I bricked my Realme X50 Pro today and I'm a bit stuck trying to boot it again. It's the Spanish version, RMX2071.
I was able to install TWRP and flashed the stock ROM zip from there using adb push (I converted the ozip file to zip using ozipdecrypt). It says "successful" but it still doesn't work: after rebooting, stays stuck in the realme logo and after a few minutes goes into TWRP recovery mode.
I don't know what else to try. I don't care about the data, I just want the phone to work again. I don't know if the zip is the problem, but I can't flash the .ozip file using TWRP and can't find the stock recovery.img anywhere.
Thanks in advance.
*SOLVED:
Hi all! I managed to solve this issue and my X50 Pro is running normally now I'm posting here how I did it, so it can help anyone with the same problem:
1. My phone had TWRP recovery and you can't flash any Realme stock ROM from there, so I flashed the Indian ROM using the Realme Flash Tool. In this link you can find the tool and the .ofp file needed.
2. Now the phone was bootlooping, so we need to get the stock recovery. For that, you need to follow this tutorial (I used the .ozip file of the version I wanted, but I think it works with the .ozip of any version) to get generate the image files needed.
3. As you will see, the recovery.img doesn't exist in the final folders, but you can create it with some files you get in the 01-Project folder. To generate it, follow this. Basically, you need to get the boot.img and the file recovery-from-boot.p (located in /01-Project/vendor), copy them in the same folder, open the Linux shell in that folder and do:
Code:
bspatch boot.img selfmade_stock_recovery.img recovery-from-boot.p
(in case you are using Windows, you can install the Linux shell following this and then install bspatch following this steps).
4. Now that we have our stock recovery (selfmade_stock_recovery.img), we can flash it into our phone while in fastboot mode using the command line:
Code:
fastboot flash recovery selfmade_stock_recovery.img
5. In your mobile, go to stock recovery and Wipe Data and Format. When I did this, the device booted correctly in the Indian version I installed via .ofp file. If your phone doesn't boot correctly, you should be able to put the .ozip of the version you want in a flashdrive and use an OTG cable to flash it directly to the phone via stock recovery (Install via OTG).
6. If your device booted correctly, you can download your stock ROM .ozip file, put it in the internal storage of your phone and install it via stock recovery.
Thanks all, hope it helps
Click to expand...
Click to collapse
Nothing different happened, the same things continue Fastboot stuck

smhzhl said:
Nothing different happened, the same things continue Fastboot stuck
Click to expand...
Click to collapse
same

Deesubicado said:
Hey guys, I bricked my Realme X50 Pro today and I'm a bit stuck trying to boot it again. It's the Spanish version, RMX2071.
I was able to install TWRP and flashed the stock ROM zip from there using adb push (I converted the ozip file to zip using ozipdecrypt). It says "successful" but it still doesn't work: after rebooting, stays stuck in the realme logo and after a few minutes goes into TWRP recovery mode.
I don't know what else to try. I don't care about the data, I just want the phone to work again. I don't know if the zip is the problem, but I can't flash the .ozip file using TWRP and can't find the stock recovery.img anywhere.
Thanks in advance.
*SOLVED:
Hi all! I managed to solve this issue and my X50 Pro is running normally now I'm posting here how I did it, so it can help anyone with the same problem:
1. My phone had TWRP recovery and you can't flash any Realme stock ROM from there, so I flashed the Indian ROM using the Realme Flash Tool. In this link you can find the tool and the .ofp file needed.
2. Now the phone was bootlooping, so we need to get the stock recovery. For that, you need to follow this tutorial (I used the .ozip file of the version I wanted, but I think it works with the .ozip of any version) to get generate the image files needed.
3. As you will see, the recovery.img doesn't exist in the final folders, but you can create it with some files you get in the 01-Project folder. To generate it, follow this. Basically, you need to get the boot.img and the file recovery-from-boot.p (located in /01-Project/vendor), copy them in the same folder, open the Linux shell in that folder and do:
Code:
bspatch boot.img selfmade_stock_recovery.img recovery-from-boot.p
(in case you are using Windows, you can install the Linux shell following this and then install bspatch following this steps).
4. Now that we have our stock recovery (selfmade_stock_recovery.img), we can flash it into our phone while in fastboot mode using the command line:
Code:
fastboot flash recovery selfmade_stock_recovery.img
5. In your mobile, go to stock recovery and Wipe Data and Format. When I did this, the device booted correctly in the Indian version I installed via .ofp file. If your phone doesn't boot correctly, you should be able to put the .ozip of the version you want in a flashdrive and use an OTG cable to flash it directly to the phone via stock recovery (Install via OTG).
6. If your device booted correctly, you can download your stock ROM .ozip file, put it in the internal storage of your phone and install it via stock recovery.
Thanks all, hope it helps
Click to expand...
Click to collapse
Brilliant mate, you are a lifesaver. thanks a ton!

Related

[Q] Stuck in bootloader( have no boot or recovery img

Please can someone help me, im stuck in the bootloader cant use recovery or anything. Dont have adb , lost it i guess. My phone is stuck. Is it bricked, if so can someone at least tell me
whitetiger2429 said:
Please can someone help me, im stuck in the bootloader cant use recovery or anything. Dont have adb , lost it i guess. My phone is stuck. Is it bricked, if so can someone at least tell me
Click to expand...
Click to collapse
Grab the stock update (Full ~90mb) or full stock ROM from the dev forum for your specific device. Extract it and use fastboot to flash the .img files
fastboot flash boot boot.img
fastboot flash recovery recovery.img
ok a lil confused. Im currently stuck in the bootloader(at the top its says fastboot mode- no boot or recovery img) Im unable to do anything with phone trying usin adb it doest give ne a serial number It just say devices attached and it shows nothing. so how do i get the files i need on the phone. You said fastboot not sure how to start that. Do i just download the zip and extract it and hit shift-right click in the folder to bring up command. If so how do start the command line.
the only stock rom im finding that the links work for is only 77mb will that work
You need to use fastboot, not adb.
Grab the appropriate full rom here (i9020, i9023) for your phone: http://forum.xda-developers.com/showthread.php?t=1056062
Extract that.
Take boot.img and recovery.img and put them into tools\ folder of the SDK (where fastboot is located) unless you've added it to your path.
fastboot devices should show your device (serial) much like adb devices
Flash boot:
fastboot flash boot boot.img
Alternatively, you could flash CWM (using fastboot, just grab the .img for CWM) - flash the entire update package and then reboot - it will install the stock recovery.
krohnjw said:
Grab the stock update (Full ~90mb) or full stock ROM from the dev forum for your specific device. Extract it and use fastboot to flash the .img files
fastboot flash boot boot.img
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Ok i did that but when i tried flashing the recovery img it said error: cannot load ' recovery.img.
the link for my version is broken or something
whitetiger2429 said:
Ok i did that but when i tried flashing the recovery img it said error: cannot load ' recovery.img.
Click to expand...
Click to collapse
The full recovery isn't in the package. You could flash cwm manually via fastboot and then install the full OTA package through cwm. A subsequent reboot will then install the stock recovery.
Sent from my Nexus S using XDA Premium App
ok the rom i had downloaded didnt have a revovery img in it, still trying to find a rom with both boot and recovery. If i cant how do i a flash cwm manually, where do i get the files from.
whitetiger2429 said:
ok the rom i had downloaded didnt have a revovery img in it, still trying to find a rom with both boot and recovery. If i cant how do i a flash cwm manually, where do i get the files from.
Click to expand...
Click to collapse
okay
- download this file: http://hotfile.com/dl/119279955/e2325da/Tool.rar.html
- extract it in anywhere (could be in desktop)
- open the file named "Start Here"
- type: fastboot flash recovery recoverycwm.img
so i download the file and extract it. Do i hit shift - right click to bring up the command line or what. im really confused on this. I have never had this many problems with a phone. I guess i need step by step steps
whitetiger2429 said:
so i download the file and extract it. Do i hit shift - right click to bring up the command line or what. im really confused on this. I have never had this many problems with a phone. I guess i need step by step steps
Click to expand...
Click to collapse
i can't see how i could make it easier.
- extract the file, and make DOUBLE CLICK in the file named "Start Here.exe" to open it
- plug your phone in bootloader screen
- type fastboot flash recovery recoverycwm.img
- hit ENTER
theres no start here file it only shows tool rar
whitetiger2429 said:
theres no start here file it only shows tool rar
Click to expand...
Click to collapse
extract it? ^^
i did using and theres no exe file only a rar thing i used the stock extract program to do it did i do something wrong
"start here.bat"
can't you see it either?!
there is no start here.bat
dude, it's a .rar file. it's compressed. Inside it has several files.
donwload winrar (if you are running windows) http://www.rarlab.com/rar/wrar401.exe
install it and extract the content of the tool.rar file!
ok i install win rar extracted but still no start here.bat. I sthere a certain way of doing this i know nothing about rar files
ok i found that file

HELP "Your system has been destroyed"!!!

So I was trying to install a custom ROM (first time ) did unlock my bootloader and when wiped using twrp and then rebooted to twrp for flashing the ROM it said that system has been destroyed when I tried to reboot to recovery then also it was of no use.I tried to flash fastboot roms via miflash tool. The new versions couldnt find scripts o don't know why so I tried the old ones but the flash got completed in 1 second so it was useless.further more I think that I have anti rollback v2 in my phone and that's why I'm not able to go anywhere..
Is there any fix please help
Try to manual flash using fastboot
Fastboot flash system system.img
Fastboot flash recovery recovery.img
Then flash EU rom
LovingDracula04 said:
So I was trying to install a custom ROM (first time ) did unlock my bootloader and when wiped using twrp and then rebooted to twrp for flashing the ROM it said that system has been destroyed when I tried to reboot to recovery then also it was of no use.I tried to flash fastboot roms via miflash tool. The new versions couldnt find scripts o don't know why so I tried the old ones but the flash got completed in 1 second so it was useless.further more I think that I have anti rollback v2 in my phone and that's why I'm not able to go anywhere..
Is there any fix please help
Click to expand...
Click to collapse
The same thing happened to me when I tried to install and use TWRP.
To fix this, I used the MiFlash tool and flashed the fastboot ROM which you can download from here.
LovingDracula04 said:
So I was trying to install a custom ROM (first time ) did unlock my bootloader and when wiped using twrp and then rebooted to twrp for flashing the ROM it said that system has been destroyed when I tried to reboot to recovery then also it was of no use.I tried to flash fastboot roms via miflash tool. The new versions couldnt find scripts o don't know why so I tried the old ones but the flash got completed in 1 second so it was useless.further more I think that I have anti rollback v2 in my phone and that's why I'm not able to go anywhere..
Is there any fix please help
Click to expand...
Click to collapse
I had the same issue, but my phone went to fastboot from there I flashed it, the process was simple :
1. Download the fastboot rom and extract it (I guess two times, the first extraction extracts a file, open that with some extraction tool and uzip again, there you will see the fw with certain folders and images etc ).
2. Download the adb/fastboot zip file I"ll attach that here, extract it to the same folder where your fw files are. (fw = firmware).
3. You will find 3 bat files, flash all, flash all and lock, flash except storage, choose flash all (execute it).
4. Once done, reboot to recovery (stock), do a data wipe again.
This worked for me, hope it does for you too.
try unlock bootloader via internet
format data once via twrp

Badly f*d Op7Pro. Need help to revert to stock

Hi,
First of all, yes, I have checked the other threads that talk about reverting to stock and I am still stuck.
So I installed Kang OS which is Android 11, and now I want to revert to stock. I have tried downloading multiple different versions of the fastboot ROM from the page https://androidfilehost.com/?w=files&flid=294300 and run the flash all batch file and every time I am either getting stuck in a boot loop or getting the Verity Crash Dump Screen. I have managed to reach the fastboot screen, and I am waiting on the fastboot screen, for someone to show me some way.
Thanks in Advance.
If you used a pin then your storage is encrypted and the rom you are trying to flash can't use it, that's why you're most likely stuck at boot.
I ran into the same issue and posted about it in the same thread. I think we will need a new version of TWRP as 3.4.0-0 would not accept my pin which had not changed.
To fix your issue, sadly, you'll need to wipe your storage:
Boot the phone into fastboot mode
Attach your USB cable to the phone/PC
Download and unzip the file I've attached (ADB/Fastboot)
Launch an elevated command window in the folder you extracted the attached zip to
Try the command fastboot devices and ensure that it reports the device correctly, if not then you need to install the latest OnePlus drivers
Type the following in the command window : fastboot -w (This will wipe the storage)
Try your rom again (TWRP should remain as the recovery if you had flashed it already, if not then copy the latest TWRP img file to the same folder as the ADB/Fastboot tools, use fastboot and type boot twrpfilename.img this will make the phone boot into TWRP recovery, you can then copy over the TWRP zip and flash it to recovery using the booted version of TWRP)
Once you've done the above you shouldn't really need to use the fastboot scripts as the latest rom should just flash from TWRP.
Get msm download tool for guacamole which is the codename of the op7p. I know the shorts with the global version I am unsure if this works with T-Mobile or others?
MSM is a bit of a severe fix when they've already confirmed they can still get fastboot, MSM is for completely bricked phones that can't access anything. Wiping the storage and going to fastboot will allow them to just flash recovery then flash the stock rom. Way easier.
Boot into twrp. Then format data. Phone will boot then.

TWRP unable to mount storage

I think I've accidentaly fastboot flashed TWRP the wrong way. I can reboot to TWRP or fastboot; can flash other TWRP versions; however, TWRP doesn't seem to recognize internal storage and is unable to wipe/mount anything. And with this problem, I can't adb load other firmware.
What should I try researching to unbrick this phone?
Re-flash device's Stock ROM.
Re-flash device's Stock ROM.
jwoegerbauer said:
Re-flash device's Stock ROM.
Click to expand...
Click to collapse
Thank you. Based on your answer, I tried to flash the ROM again.
Turns out the file ASUS provide is a .payload. I couldn't flash the ZIP with TWRP because it returned an error; I couldn't use the .payload to do anything.
I used payload dumber tool, a python script, to extract the images from the stock firmware (https://www.thecustomdroid.com/how-to-extract-android-payload-bin-file/)
It extracted several .img files. Flashed the boot.img using fastboot and it worked!
Unfortunately I already bought a new phone after days trying to recover, I hope this answer helps people who might have the same problem in the future

stuck on bootloader?

hello friends,
i have recently unlocked bootloader, and tried to root and install twrp custom recovory.
but as usual i got stuck with the bootloop of recovory mode.
i was using realme 5 android 10 with realme ui.
today iam going to share the files ive used init.
note: please dont ask me if something happens to your device, this worked for me that doesnt mean they will work for you to.
what you need to have? : twrp Recovery, custom rom -> custom rom is really important.
note twrp works for both colouros and realme os
twrp:twrp file download
adb and fastboot: adb and fast boot files, extract it
the above adb file contains recovory.img, dont use it. use twrp
follow these steps:
1) move twrp file into the adb folder.
2) boot into fastboot and follow the commands from commands.txt
boot into twrp Recovery
3) install the custom rom you have downloaded.
---------
after installing dont just boot into system format it and then boot into it.
______
i hope this will work for you.
---- i have found all these files in the 'xda form' thanks to all the people who shared these files

Categories

Resources