yashsingh1/xdaforums huggingface dataset:
[ASUS ROG Phone 5 / 5s] jerryhou85:
Moderator Information

Dear all, I read all 11 pages from OP to last post in this wonderful Sunday evening... and I am sorry to say that there are too many off topic posts in this thread.

First, this thread is a howto on fixing a bricked phone and trust me, I can feel your frustration when bricked phone did not revive successfully. I have been there as well. From what I read, there is no 100% working solution right now for this issue and flashing "factory" files does not help much either. Hope you all find a good solution eventually.

Second, during this journey to "the fix", usually we need to interact with others to discuss and find a way. When I say "discuss", I mean we talk like a normal person in real life scenario to collarbrate to solve an issue, not finger pointing saying "you! do this! you! do that! and you bad!". It is not helping to solve the issue at all and it is not a good/civil way to treat a fellow member on XDA in such harsh words.

Last, 99.99% users on XDA are not paid and spend their own time to help each other. Some users may have years of knowledge and some may be rather new, but we need to respect all users' contributions because we are not born with Android knowledge but learn it step by step along the journey. No matter what answers you got, appreicate it and learn from it. "If the cap fits, wear it."

Sorry for wall of text and you may see some posts disappear from this thread. Do not worry, that's my magic. :D

Hope this is my last moderation post on this thread. After this, I may delete off topic posts without notice. :P

Regards

Jerry

Forum Moderator
[ASUS ROG Phone 5 / 5s] Jamshid66:
Dont use full flash because Imei has null

im tested
[ASUS ROG Phone 5 / 5s] twistedumbrella:
The IMEI is part of the qcn file. You need to hex edit the file with your specific IMEI in two places. A guide should have been included in the previous post about IMEI repair, but it appears that link was not the one originally removed alongside the encrypted firehose. The guide below is actually much better.

[GUIDE] Backup, edit and restore QCN. Fixing lost IMEI.

Introduction This is a guide to backup and restore the QCN, and to edit other's QCN in case you lost your IMEI and you don't have a backup of your QCN. There are other ways to do some steps (the most popular is via Fastboot) but I'm gonna...

xdaforums.com

Now that there is a method to use the files, here is everything that has been collected from this and other threads. All credit goes to Qualcomm and the original people responsible for posting the individual files. I claim no ownership or responsibility.

Downloads for : ASUS ROG Phone 5 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[ASUS ROG Phone 5 / 5s] 3rehaan:
(Sorry For My English Is Not Good !)

I Try It Method 1 : But Super.img Can't flash other Partitions will be flash and When i Finish With All Partition Complete Flash (Not Super.img)

My Device Reboot into fast boot & Stuck In Fastboot And There is No Way To Go EdL Then I'll Go EdL Manually With ( Green + Black Cabel To Hold 25 Sec )

And Then I'll Try ( 2 Method ) Flashing Complete But I Cant Flash Raw Firmware It Says : () Mapping Wrong Xrom : I Try All Raw File CN & WW And My Device Boot In This Stage
[ASUS ROG Phone 5 / 5s] twistedumbrella:
When you get to fastboot, did you try the raw firmware?

It sounds like if you can get all the way to booting into system, you ARE restoring the phone. Did you forgot the step to modify the files for your own IMEI?
[ASUS ROG Phone 5 / 5s] 3rehaan:
I Try All Raw Firmware In Fast It Says () Mapping Wrong Xrom
[ASUS ROG Phone 5 / 5s] twistedumbrella:
And "fastboot reboot bootloader" doesn't work?
[ASUS ROG Phone 5 / 5s] 3rehaan:
Yes It Doesn't Work This Command
[ASUS ROG Phone 5 / 5s] twistedumbrella:
Can you boot to the bootloader after flashing the raw firmware?
[ASUS ROG Phone 5 / 5s] 3rehaan:
Raw Firmware Can't Flash It Says () Mapping wrong Xrom

I Flash @Jamshid66 factory image then I Try To Flash Raw Firmware But Its Not Working ..

I try All Raw Firmware ww or cn both says ()mapping wrong xrom
[ASUS ROG Phone 5 / 5s] twistedumbrella:
You're using the side port?
[ASUS ROG Phone 5 / 5s] 3rehaan:
Yes Im Using Side Port ..!
[ASUS ROG Phone 5 / 5s] twistedumbrella:
I give up. Unless it's an S firmware on the standard or vice-versa, bad drivers, or a faulty USB port, I am out of ideas.
[ASUS ROG Phone 5 / 5s] 3rehaan:
I Can Understand I Think I have To Wait For Perfect EdL Firmware !

Right ..??
[ASUS ROG Phone 5 / 5s] twistedumbrella:
That didn't work. The right one is here. You tried it.
[ASUS ROG Phone 5 / 5s] 3rehaan:
Where is It ..???
[ASUS ROG Phone 5 / 5s] twistedumbrella:
The one you used here.
[ASUS ROG Phone 5 / 5s] tgxspk:
Hey @twistedumbrella i am able to flash my device successfully but i got to know that my battery is not charging and is at 0% so will i have to open my phone and charge it manually or is there something else i can do? I tried leaving it connected to my pc for hours it’s not charging and when after flashing in edl i try to use vol up + vol down + power key it disappears from device manager for a second and then reappears again but it flashes successfully as confirmed by @Jamshid66.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
There is a thread here somewhere about the same issue or one very similar. I forget if it was fixed with firmware or ended up being sent back, but the thread should tell you.

The one with the title saying it died was a fairly obvious hardware issue. There was another, though, that I believe was a bootloader problem.
[ASUS ROG Phone 5 / 5s] tgxspk:
I guess edl restore should’ve fixed if it was related to bootloader as i downloaded the latest firmware from asus site, dumped the images from it and replaced with the files @Jamshid66 gave. It’s a shame from asus if it’s hardware related as for a 2 months old device.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
The number of hardware problems is somewhat alarming.
[ASUS ROG Phone 5 / 5s] megamanzxc:
I was able to get my phone like this. What I should do next? My phone is asus_I500DA
[ASUS ROG Phone 5 / 5s] twistedumbrella:
https://xdaforums.com/t/occasionally-crash-to-waiting-to-flash-full-ramdump.4347247/

Force a reboot with volume + and power
[ASUS ROG Phone 5 / 5s] megamanzxc:
I tried it but it just go back to the selection screen
[ASUS ROG Phone 5 / 5s] Andrologic:
You're device may be stuck in Diag mode. You can confirm if it's showing as 900E (insted of 9008) when plugged in.

If that's the case, try to push Vol UP+Down while plugging it in and let go. Trying a deep flash cable or dis/re-connecting the battery pack are other options if you know what you're doing. JTAG is the only other option if you know the location of the points (I have an idea where the JTAG points are but can't confirm). And you need to reverse whatever you did to the device to get it to this state of course.

If none of that works or if it's a hardware issue sending it to ASUS or throwing it out are the only options.
[ASUS ROG Phone 5 / 5s] bigbang1108:
please share your way of fixing baseband and IMEI problems without unlocking bootloader
[ASUS ROG Phone 5 / 5s] twistedumbrella:
https://xdaforums.com/t/repair-your-asus-rog-phone-5-with-edl-mode.4271121/post-85756049
[ASUS ROG Phone 5 / 5s] bigbang1108:
Well my bootloader can't be unlocked (therefore no root), so I can't get to DIAG mode with setprop command.

The only time I can connect the phone to my computer under Diag Mode is just after flashing the Factory/OPEN/UserDebug firmware (by Jamshid66). But Using QCN file provided (edited with IMEIRebuilder of course) would get my device straight to error and go to "Waiting to flash full rampdump" (force reboot.

From what I read from this thread, Jamshid66 also faced similar problems (lost Baseband/IMEI as well as locked bootloader that can't be unlocked), so I've been waiting for him to share his experience.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
As have we. Good luck.

Edit:

https://xdaforums.com/t/repair-rog-...ootloader-to-modify-country-cn-to-ww.4353865/
[ASUS ROG Phone 5 / 5s] bigbang1108:
Update: I was able to get mobile signal back on (tested LTE, call, sms). I don't have access to 5G, but I assume that'll work as well. The final problem for me now is that IMEIs now are 0s.
[ASUS ROG Phone 5 / 5s] HunterTik:
all link updated. Thanks twistedumbrella
[ASUS ROG Phone 5 / 5s] ps000000:
@twistedumbrella May I ask, now we can use this edl tool to unlock bootloader of ROG Phone 5 Tencent version converted to WW and locked bootloader?
[ASUS ROG Phone 5 / 5s] twistedumbrella:
No. It repairs the software, but does not hack into Asus and remove your device from the list of previously unlocked devices.
[ASUS ROG Phone 5 / 5s] Mr.PvT:
how much does it cost to fix it please help me
[ASUS ROG Phone 5 / 5s] twistedumbrella:
Remember how you tried to post paid solutions and your posts kept getting removed? That's because we don't charge people for that sort of thing here. The expectation is also that you won't take what we provide you and go to some other site trying to sell it. Keep that in mind.

https://xdaforums.com/t/repair-rog-...ootloader-to-modify-country-cn-to-ww.4353865/

https://xdaforums.com/t/repair-rog-...odify-country-cn-to-ww.4353339/#post-85870507
[ASUS ROG Phone 5 / 5s] tania9423:
Help help

——

There is no FASTBOOT program for the 5S blocks on hand

Plug in the side USB monitor

( hs-usb diagnosis 9008 )

——

Try to enter EDL 9008 Qualcomm through the power supply, the volume +- cannot be entered effectively

——

Okay, my bootloader is unlocked

Unable to start phone
[ASUS ROG Phone 5 / 5s] tania9423:
123
[ASUS ROG Phone 5 / 5s] tania9423:
Where is the JTAG point?

thanks
[ASUS ROG Phone 5 / 5s] yousef_syr:
my phone only boot into the 900e port can't enter edl mode 9008 and the screen showing watting for flashing full ramdump please anyone help to get out from 900e to 9008

edit edit i fix it by open the back cover and then test point to enter 9008 after stuck on 900e lock at the photo be carefully
[ASUS ROG Phone 5 / 5s] yousef_syr:
lock at the photo i found by my self test point to conect 9008
[ASUS ROG Phone 5 / 5s] yousef_syr:
i found the test point for the rog phone 5 bye myself after deep search on the internet

for people who stuck on the 900e lock at the photo above and do i test point thene your pc can detect the phone on 9008 and happy flashing 😁
[ASUS ROG Phone 5 / 5s] yousef_syr:
https://xdaforums.com/t/repair-your-asus-rog-phone-5-with-edl-mode.4271121/post-86179961

look at there 👌
[ASUS ROG Phone 5 / 5s] yousef_syr:
https://xdaforums.com/t/repair-your-asus-rog-phone-5-with-edl-mode.4271121/post-86179961

look at there 🙂
[ASUS ROG Phone 5 / 5s] chiposh:
How did you get the signal back?
[ASUS ROG Phone 5 / 5s] Jamshid66:
Share (johnny & Hunter)

You forgot I sent the file. Thanks for the quote
[ASUS ROG Phone 5 / 5s] twistedumbrella:
This is NOT a fully working solution. Use the one posted by johnny886
[ASUS ROG Phone 5 / 5s] Valkar07:
What should I do if my bootloader does not work, What should I do if my bootloader is not working? What should I do in this case, the phone does not turn on, does not respond to the buttons, does not respond to the charger either, and the PC does not see that the phone connects at all.
[ASUS ROG Phone 5 / 5s] Valkar07:
Друг ты мой бFriend you are my god and savior, God bless you and your family.Friend you are my god and savior, May God grant you and your family health
[ASUS ROG Phone 5 / 5s] dokvader114:
Where cam o find their solution? i lost signal too
[ASUS ROG Phone 5 / 5s] twistedumbrella:
Go back to the main device section and look for the thread that has 'johnny886' as the author.
[ASUS ROG Phone 5 / 5s] gALDINO1991:
bueno yo revivo el tema de el rog phone 5 muerto solo conecta por edl mode ,intente todos lo metodos para revivir el telefono tenia mas de 4 meses parado como piza papeles , intente con chimera , con el metodo de el companiero por xiaomiflahs, intente por qcfile , intente por sigma box , para no hacerla larga todos los prosesos me mandaba error o no reconocia el archivo pero use una herramient particular llamada UMT QCfire modulo quallcom v8.0 bueno empesemos abrimos umt , modulo flasher seleccionamos automatic escogemos multiprogram mode hay escogemos el archivo ENG que les pasare selecionamos todos los RAWPROGRAM0.XL TODOS SOLO DEJAMOS LA CASILLA RESET DEVICE. le damos flash una ves que termine el proceso prendera el foco rojo esperamos o forzamos el reinicio con volumen arriba y te mandara a modo fasboot te dira que flasheas el sotfware adecuado ROG 5 bueno ahora abrimos CMD escribimos fastboot devices para que nos abra el puerto despues solo flasheamos el sotfware adecuado al modelo por cmd prendera en japones por que se reprogramo ya despues solo abrimos bootloader y flasehamos una rom global .
[ASUS ROG Phone 5 / 5s] gALDINO1991:
mi solucion
[ASUS ROG Phone 5 / 5s] 0v3rkill:
Can you guys help me? I have an ROG Phone 5s 16gb 512. after EDL flash it wont boot up any more. its just detected under 9008. badly need help for those with generous hearts
[ASUS ROG Phone 5 / 5s] Tushar_Saxena:
I am getting error. Write time out maybe devuce was disconnected
[ASUS ROG Phone 5 / 5s] raj4________:
does it workes for realme devices??

where can i get this 'Phone-user.raw' file??
[ASUS ROG Phone 5 / 5s] twistedumbrella:
https://xdaforums.com/t/raw-firmware-collection-and-guide.4287497/
[ASUS ROG Phone 5 / 5s] MrRepo:
Hello I'm newbie here, I was finding solution to my bootlooping ROG phone 5 issue after multiple factory reset.

restoring the phone now back to its working state is not easy like before. (i.e. iphone have itunes, samsung have kies which have rescue option).

I can't enter to the OS my bootloader is locked and debug is off, I tried flashing img using fastboot it was from payload.bin extracted from user.zip firmware using python downloaded from official asus site, but it doesn't let me restore that easily, the adb says device unauthorized even fastbootd doesn't accept advanced commands.

so I further my search and google bumped me to this post which I find possible. but my problem is EDL, I can't get in to EDL mode with button combination even the fastboot method, so I dig further I found the shorting green and black wires from USB-C forcing phone to EDL mode. It worked.

I downloaded all attached resources, and tried the method 1, using QFIL, I flashed all imgs from payload.bin but I didn't touched partition_b and only those with imgs I erased.

after all steps done, I closed the QFIL and unplugged my phone then turned it on. Now the problem is I am stuck in boot menu. (This where I need your advice or thoughts please.)

- start, restart boot loader, recovery mode - these boot options goes back to these options screen

- power off - power off

- I tried forced EDL using the green black shorting method but it only opens boot options screen.

- I tried connecting the phone to pc on boot option, unknown android appeared in device manager, google says its ASUS Android Bootloader Interface drivers, but I cant find compatible driver without downloading malware.

I haven't slept trying to exhaust all doable options, my last option maybe surrendering this to service center but I don't want because they mostly charge almost the or half price of the phone.
[ASUS ROG Phone 5 / 5s] MrRepo:
I was about to give up but

Update: I found this video about how to deal with unknown android driver

which give me idea and opportunity to flash the raw using flash_raw/all from @twistedumbrella

finally the phone is alive but died right after 5 minute into language screen. I dont know maybe Angel and Devil fighting in the background or a greater force doesn't want my phone get restored. It doesn't charge.

I'm going to sleep. for now.

thank you all who made this How to Guide!.
[ASUS ROG Phone 5 / 5s] JayÜ1996:
Hello guyz

Still facing the issue.
[ASUS ROG Phone 5 / 5s] JayÜ1996:
Can you guyz please provide me latest files? It will very helpful for me.
[ASUS ROG Phone 5 / 5s] Rasalghoulll:
can i get the file please

prog_firehose_ddr.elf​
[ASUS ROG Phone 5 / 5s] Rasalghoulll:
hi i am getting these partitions as shown in the picture below

but i cant find the corrsponding images to flash them

for example ssd persist misc keystore

where do i get the img files from ?

help please
[ASUS ROG Phone 5 / 5s] Andrologic:
Have yoou tried doing a payload dump of the firmware you need the files from? I would think they should be there
[ASUS ROG Phone 5 / 5s] Rasalghoulll:
yes i have tried it but still not all the imgs can be found
[ASUS ROG Phone 5 / 5s] nasch007:
Question for you, do you still need the files, and OP, what actually is prog_firehose? Is it compatible between devices by the same manufacturer? I have these files for firmware for the ZenFone 8 (stumbled upon this thread researching EDL mode). I can link you to the ASUS site where you can get such file (for my device, Asus offered an update to Android 13 which includes these two prog_ files and from what I understand raw firmware).
[ASUS ROG Phone 5 / 5s] AMAN SHARMA0:
I am trying to fix it from months my phone stuck on diag mode and only goes in edl by edl cable

Download fail sahara fail

please someone help me 😭😭
[ASUS ROG Phone 5 / 5s] DEMON1968:
Good afternoon, where can I download "firehose" for redmi note 13 pro 5g snapdragon 7s gen 2 I need the "firehose" file for redmi note 13 pro 5g processor, regards
[ASUS ROG Phone 5 / 5s] asim KHadka:
Does it need Edl cable or USB cable will work?
[ASUS ROG Phone 5 / 5s] Bastik:
Same issue
[ASUS ROG Phone 5 / 5s] Jafarraad:
object reference not set to an instance of an object error
[ASUS ROG Phone 5 / 5s] Jafarraad:
Finlly i unlock bootloader

Some one help me
[ASUS ROG Phone 5 / 5s] HunterTik:
PM me.
[ASUS ROG Phone 5 / 5s] yau026:
I have the same problem as you! Can you tell me how to solve it?
[ASUS ROG Phone 5 / 5s] Oswald Boelcke:
I'd appreciate if you provide your support publicly to allow all users to benefit from your knowledge, expertise and experience. Thanks for your cooperation!

Stay safe and stay healthy!

Regards

Oswald Boelcke

Senior Moderator
[ASUS ROG Phone 5 / 5s] twistedumbrella:
The purpose of the EDL cable is when the phone is more or less bricked. As long as your phone is still booting to something (bootloader, recovery, etc), you should be able to connect to it without any special cables.
[ASUS ROG Phone 5 / 5s] ltth:
I have used EDL for my Red Macig 5G wich working perfect, so no I have to know if EDL is complete working for Rog 5 and finish/reboot correct or not?

I have now tested the EDL process with no succes.
[ASUS ROG Phone 5 / 5s] Janat16:
A similar problem. I ordered from aliexpress - Rog Phone 5 tencent with GLOBAL firmware. The phone doesn't turn on. Help please

Blinks when connected to charging
[ASUS ROG Phone 5 / 5s] twistedumbrella:
Might be better off demanding a refund over trying to fix it. If it didn't boot on arrival, then they need to take responsibility for selling defective hardware.

You could also try leaving it on the charger for a while to make sure it didn't arrive completely dead, but that is about the only semi-acceptable issue.
[ASUS ROG Phone 5 / 5s] Janat16:
I can't return it.

I played for 7-10 hours. I put it on the charger and left. the smartphone no longer responds to the buttons. I charge the blinking logo.

I understand no one will give the missing file ?
[ASUS ROG Phone 5 / 5s] Aussieboi9:
I keep getting errors when trying to flash your image files with EDL

I'm assuming you also had these problems.

so, why not assist us with a clearer guide? Firehose files are necessary, and sadly, I've not been able to find any
[ASUS ROG Phone 5 / 5s] HunterTik:
Some developer are sell it .
[ASUS ROG Phone 5 / 5s] Aussieboi9:
I'll happily pay
[ASUS ROG Phone 5 / 5s] Janat16:
For the idea in any way?)
[ASUS ROG Phone 5 / 5s] Aussieboi9:
I'll happily pay or donate to a developers work. I just want a way to unlock my bootloader offline, without the tool.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
That's a HORRIBLE idea. The developers selling it are doing so illegally. Give it a little time. After all, being impatient seems to be what got you into this situation.
[ASUS ROG Phone 5 / 5s] Aussieboi9:
Ahh fair point you've made

Not impatience, otherwise I wouldn't of brought the device. I hope someone does release a workaround for the bootloader
[ASUS ROG Phone 5 / 5s] Aussieboi9:
It's missing deliberately.

Seems he wants to keep it to himself.. Hence It only worked for him in the video
[ASUS ROG Phone 5 / 5s] twistedumbrella:
Exploiting Qualcomm EDL Programmers (1): Gaining Access & PBL Internals

Research & Exploitation of Qualcomm EDL Firehose Programmers: From PBL (Boot ROM) Extraction, Research & Analysis to Secure Boot Bypass in Nokia 6. (Part 1)

alephsecurity.com

This gives a pretty good explanation of the situation.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
PSA: If you have access to bootloader (even if it's all you can access), you can restore using the Phone-user.raw that matches your current firmware.

YOU WILL LOSE YOUR DATA!

Extract the archive and use the flash_raw command that fits your platform.

This has been tested using a Tencent device converted to WW that only booted to bootloader using WW_ZS673KS_18.0810.2101.95_M2.13.24.9-ASUS_1.1.46_Phone-user.raw and has restored it to full functionality.
[ASUS ROG Phone 5 / 5s] Aussieboi9:
I've been in contact with a shop that's in my country whom unlocked my bootloader for me, and I'm going to see If the guy that works there can get give me the EDL firmware on a USB stick.

If he can, i'll sort through them, so It's easier to use & then I'll upload them.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
You don't usually need the firmware to unlock the bootloader, but the firmware posted is complete. I think the issue a lot are having is the lack of understanding how to use it.

Knowing the 5 was new and had very little traffic, I did a lot of research into the 3 before doing anything. All of the conversion / restore guides rely on the raw firmware without any additional programs.
[ASUS ROG Phone 5 / 5s] Aussieboi9:
It's my understanding that a majority of those (including myself) needed the firehose + rawprogram + patch0 files through either UFI toolbox or MiFlash to unlock the bootloader OFFLINE (Which aren't included in Hunter's files uploaded)

But I do get what you mean.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
I didn't think the Asus Unlock Device App required internet to unlock the bootloader.
[ASUS ROG Phone 5 / 5s] Aussieboi9:
It needs an Internet connection to register your devices IMEI with their systems. Hence you can only unlock and relock the bootloader once with the unlock tool. That's why everyone is looking for the EDL + firehose and patch files, so they can unlock their bootloader without ASUS knowing.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
Seems easier to mod the app and remove the send
[ASUS ROG Phone 5 / 5s] Aussieboi9:
Tried that beforehand, the app closes and keeps doing so. Seems modding It causes a connection issue.
[ASUS ROG Phone 5 / 5s] legendaryit:
I also ran for 2 seconds and got an error
[ASUS ROG Phone 5 / 5s] twistedumbrella:
So you probably missed the part of the thread that said there are missing files
[ASUS ROG Phone 5 / 5s] legendaryit:
If my device is working normally, can I flash it to fix other minor errors?

Rog phone 5 tencent covert to Rom WW.
[ASUS ROG Phone 5 / 5s] twistedumbrella:
So you want to wipe and reinstall the firmware on a functional device?

There is a fairly new update that would reinstall the system and a factory reset option in settings that seem much easier.
[ASUS ROG Phone 5 / 5s] legendaryit:
I lost my fingerprint, hoping the flash method can restore this situation so I want to give it a try.

I have updated all the new updates and factory system but can't fix it

You can help me fix error it?
[ASUS ROG Phone 5 / 5s] kpykpy:
maybe corrupted persist

after then?