yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Q&A, Help & Troubleshooting] jomarx:
Hi, Also have a problem with my ZF5. Was able to corrupt droidboot and recovery. Now, i'm trying the repair it. The Debrick.bat works, but the follwing commands fails :

fastboot flash fastboot fastboot.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

it keeps on saying "cannot find /factory" on the phone..

FIxed it! Thanks all for your help!

Did the following :
[Zenfone 5 Q&A, Help & Troubleshooting] cebonk:
OS

what windows do u use ?

I'm currently on windows 10

already instal Isoc driver but there is warning sign on my device manager , is that normal ? ( see attachment)

but I can go to clover view when I conect my phone via USB

:confused::confused:
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
If your Debrick.bat runs successfully, then don't bother about that warning. Otherwise install the driver again and try to update from device manager.
[Zenfone 5 Q&A, Help & Troubleshooting] jephimax:
Thanks mate! Fixed my brother's ZF5. :highfive:
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
So happy to see that the bricks are becoming phones again. :)
[Zenfone 5 Q&A, Help & Troubleshooting] Blak3n:
Thanks man, this guide saved my zenfone 5.

Who has this error in recovery:

Please upgrade to newwest 4.3 image first...
assert failed: getprop("ro.build.version.release") == "4.4.2"
return code 8E:Error in /tmp/update.zip
(Status 8)
E: fota_return_code 403
Installation aborted

You need to re-flash fastboot.img, boot.img and recovery.img after the sec_offline_update_image command, then you can flash 2.21.40.30 in recovery

as someone said in comments

.

Thanks again man :D
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
My pleasure...:)
[Zenfone 5 Q&A, Help & Troubleshooting] cebonk:
it dont run :(
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
please make sure u have the driver installed properly and also the USB cable is connected uninterruptedly. then run debrick..bat again.
[Zenfone 5 Q&A, Help & Troubleshooting] cus40:
bro ,

i have succesfuly follow intruction in page 1

but i can't enter recovery mode & back to droidboot / fastboot ?

how i must fix ?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
on which step did you get the problem? tell me the step number on the OP.
[Zenfone 5 Q&A, Help & Troubleshooting] Pairgain007@gmail.com:
asus zenfone 5 debrick

hi, thanx 4 support,

bt still not finish the job. as u say in ur instruction page, touchscreen is not working . in recovery "adb sideload" says "DEVICE NOT FOUND" . AFTER so many attempt, no result, plz help me..confused:
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
install ADB driver properly and make sure u have uninterrupted USB cable connection.

https://developer.android.com/studio/run/oem-usb.html
[Zenfone 5 Q&A, Help & Troubleshooting] Pairgain007@gmail.com:
thanx 4 asus 5 debrick... issue.

Hi, finally done it.

a little bit confusing in given methods, a instructions line should b add between 20 to 21 topic. "after entering in recovery mode, press vol+ button to select adb command"

thank you very much bro....

Dont mind, this is my suggestion not a advice

once again thanxxx...
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Good to know u have fixed it. Applying update through adb means going to sideload. Generally we understand this very easily that's why I wrote like that. If you guys face difficulties to understand, I will rewrite it more elaborately. :)
[Zenfone 5 Q&A, Help & Troubleshooting] screwbootloops:
Hi, having problems here. Running into problems at step 10, 11 and 12. At 10, rebooted (holding only the power button) to see a USB logo with white bar under it. Run Debrick.bat, then the USB logo has a red line underneath it. Help please?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
At this moment, whenever u press the power button, u will see the USB logo. so keep on PRESSED the power button when the screen is OFF and it will shut down. it's a bit tricky for new people. but u need to do it.
[Zenfone 5 Q&A, Help & Troubleshooting] screwbootloops:
Did that and tried to do step 11. Sorry for being a complete noob, have not touched the zen5 after being bricked by xHooks method.

And then what do I do, sorry because the instructions was not clear. Do I hold down the power button and the volume down key at step 11 or anything else ?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Just hold down the vol down button, don't release, and just connect USB cable. You should be in cloverview mode.
[Zenfone 5 Q&A, Help & Troubleshooting] Blak3n:
You need to re-flash fastboot.img, boot.img and recovery.img after the sec_offline_update_image command, then you can flash 2.21.40.30 in recovery

---------- Post added at 02:54 PM ---------- Previous post was at 02:32 PM ----------

Red bar appears when the cloverview doesn't connect correctly OR drivers aren't installed correctly.

Try to not release Volume - for the entire process (i know, it has no sense but i fixed in this way the first time) for the cloverview problem.
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
Make sure you have installed intel usb driver. Power off your phone. Open device manager on pc. Press and hold vol down and connect it to usb. Your pc must detect a new device installed. Its cloverview plus. Now release vol down when it detected. Continue to you next step. Hope it help.
[Zenfone 5 Q&A, Help & Troubleshooting] screwbootloops:
YES!

Thank you,thank you and a lot more of that!

Entered droidboot (is that bootloader?)

Attempted to run sec_offline_update_image.cmd and all i get is <waiting for device>

Checked device manager, under other devices, android phone, says that drivers are not installed.

Sorry for bothering again.
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
When you enter on that droidboot, your phone phone driver should change to android bootloader interface... its mean you need install asus pc link.

Install it, and restart again from beginning.

But i tell you, no need to run sec_offline...it will ruin you phone partition.

So when youre on fastboot / droidboot mode, run this cmd :

fastboot flash fastboot fastboot.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot reboot-bootloader

Get all img from your current firmware.zip, put them all on adb folder. Now your fastboot / droidboot and recovery has fix.

You are ready to next step. Go to recovery mode, run this cmd :

adb sideload yourfirmware.zip

Done.

Hope it help.
[Zenfone 5 Q&A, Help & Troubleshooting] screwbootloops:
It helped, and then the past gave me hell.

I had installed a custom ROM before the phone died.

Now the partitions are screwed.

Getting E:failed to mount /cache and all the errors.

Help please?

Edit: HECK YEAH!

Y'ALL THE FREAKIN MAN!

Imma buy you guys pizza, but Im a broke student, hahaha

What I did is I ran sec offline update. and modified sections of it.

Thanks to all of ya!

(Got recommendations for a bootloader unlocker?)
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Bravo my dear..... :)

It's not possible for me to attend each and every problems users are/will be facing. I appreciate all of your efforts to debrick devices. Please do continue helping others who ever has bricked their phones and please help them where ever there are stuck through out the whole process. KUDOS to all of you.
[Zenfone 5 Q&A, Help & Troubleshooting] sevenfolds:
thanks for this method bro, all i need was timing of pressing the volume - and patience

got everything you said right, and finally unbricked my zenfone 5

thanks to you bro, hats off! :):highfive:
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
:good::good:
[Zenfone 5 Q&A, Help & Troubleshooting] cebonk:
what windows do u use ? 32/64bit?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
There are no dependencies on OS architecture for this method. It should be working fine with Window x86/x64 bit but the drivers should be ready to communicate with the device.
[Zenfone 5 Q&A, Help & Troubleshooting] tang1:
Debrick Asus Zenfone 5 A500KL

Hi,

Is that a similar method for Zenfone 5 A500KL LTE model?

Where do I get the raw firmware for it?

Thanks.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Yes, it's a similar method to fix the LTE models but you need to manage the raw firmware for that. I exactly don't know where you can find the LTE raw firmware for offline update. You can find the other threads for a fix. I'm sorry bro. [emoji17]
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
I think you could create by yourself. I dont have 500kl, so i dont know what inside. If its same like a500cg, you can make it. It contains imgs like system sparse (we can create this), droitboot, boot, recovery and ifwi are in firmware zip. Modification debrick.bat and sec_offline_update.bat.

Hope it help.
[Zenfone 5 Q&A, Help & Troubleshooting] tang1:
The problem is my phone could not be turned on at all no matter what key combination I pressed.

I sent it to service center and it needs motherboard replacement which cost half of the price of the new phone.

I was hoping to find a cheaper solution.

When connecting the phone to a pc, it was captured as HS-USB Diagnostics 9008 in Device Manager.

I have been trying to find a solution on the web for a few months but to no available.

Think I am out of luck huh?
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
Debrick tool mean is to boot phone in temporary droitboot mode. Since the phone cant boot in droidboot, or recovery mode.

Like i said before, i dont have 500kl, i cant help you more..
[Zenfone 5 Q&A, Help & Troubleshooting] rockytheguru:
no bootloader

Sir my zf5 have no bootloader & m using big rom v11 only recovery twrp is working what should i do?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
In the OP I mentioned that for only fastboot fix, you need to proceed up to step 15.

Note that, while running below command in step 14:

fastboot flash fastboot [B]fastboot.img[/B]

you must flash the fastboot image file from your current OS.
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
flashable droidboot

If you have a working twrp recovery, try this http://xdaforums.com/showthread.php?t=3396398
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
[MENTION=5915078]a8962383[/MENTION]

hi,

I used your method but did not work for me not sure what was wrong. My device is zenfone 5 A501CG ww.

After entering in clover view mode i run debrick.bat file and then phone restarts. so i forcibly turned off.

then i run sec_offline_update_image.cmd file( i am attaching the screen shot) it looks some commands are failed.

after that i followed step 14 and 16. but when i restarted the phone in recovery mode, phone restarts and stuck on ASUS LOGO nothing happen after this. i am also attaching screenshot of the bootloader/fastboot mode not sure if it correct or not. Please help
[Zenfone 5 Q&A, Help & Troubleshooting] azackforum:
if u can get in fastboot mode, you can use recovery and then use adb sideload "firmware.zip", try search those method, then ur phone wil be revived again, i recommend FW KK .30 / .54...tq
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
recovery is not working for me, i tried flashing recovery many times searched on internet but when i select recovery mode, phone restarts and stuck on asus logo that i posted i image earlier.
[Zenfone 5 Q&A, Help & Troubleshooting] azackforum:
you can still boot in fastboot mode right, if u have have KK fw, extract boot, fastboot,recovery img from that fw.zip, put in adb folder, then flash fastboot first, fastboot reboot-bootloader n flash recovery, boot, then try to go in recovery mode once more, once u can go in recovery, adb sideload, lets see if that helps. tq
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
I saw the images u have attached. Your partitions seem to be okay. You just need to flash the firmware properly. Follow the steps below:

1. I assume u have donwloaded UL-ASUS_T00F-WW-2.21.40.30-user.zip: http://dlcdnet.asus.com/pub/ASUS/Ze...user.zip?_ga=1.30844927.1708615694.1457697474

2. Extract the fastboot.img, boot.img, recovery.img and copy all of them to ADB folder. Copy the UL-ASUS_T00F-WW-2.21.40.30-user.zip file to ADB folder as well.

3. Reboot your device to fastboot/droidboot mode and check whether your PC detects the fastboot.

fastboot devices

If nothing found, install the driver from your PC's device manager by online. If that fails, install it from PC by selecting the android device from the list.

4. After successful fastboot detection, run below commands one by one:

fastboot flash fastboot fastboot.img
fastboot reboot-bootloader

wait for the device to reboot...

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

5. Now reboot to recovery by selecting from the menu. You will see an android logo with "!" mark. Press sequentially Power+Vol Down+Vol Up.......and don't release any buttons. You should be in recovery mode.

6. In the recovery, select wipe data/factory reset

7. Select wipe cache partition

8. Select apply update over adb sideload

9. Run the below command

adb sideload UL-ASUS_T00F-WW-2.21.40.30-user.zip

10. After finishing it, select reboot to system.

Let me know the result. Good luck.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
Thanks for your reply, i just did what you have suggested. I have used this file UL-ASUS_T00F-WW-2.21.40.30-user.zip. I have followed the commands that you posted(see attached). However, when I restarted the phone into recovery, it again stuck on ASUS logo(that i posted earlier).
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Does your fastboot look like this after flashing the fastboot.img file from *.30.zip?

If not, then u didn't flash the fastboot properly. The image u gave earlier doesn't seem to be the fastboot of *.30.zip. that's for *.78.zip firmware's fastboot.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
Sorry it was my mistake I used this UL-ASUS_T00F-WW-2.21.40.44-user.zip (44 not 30) in prvs post.

Also the fastboot mode always shows the same as i posted earlier.

The screenshot of fastboot you posted I did not get this screen anytime.

Even I flashed fastboot from diffirent versions like 2.22.40.54_ww_fastboot.img, 3.23.40.60_ww_fastboot.img but never get the screen that you posted of fastboot, and after that I flashed same version recovery as well. But after entering in recovery mode from there it stuck on ASUSU Logo. Not sure what to do now.

Also, i noticed some of the commands are not working giving failed error. as when i typed fastboot erase data it shows me unable to format(invalid argument) in red color.
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
Youre on lock bootloader,

You cannot erase system, data, userdata or cache even how hard you try.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
okay, so is there any way to unlock bootloader in this situation ?
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
You didnt get my point here, right?

What i mean is no need to type fastboot erase.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
yes i did get your point, i thought might be user data is corrupted that is why i asked if is there any to to unlock bootloader and erase data so that OP step will work on my case. so waiting for the next solution..

thanks
[Zenfone 5 Q&A, Help & Troubleshooting] paktepu:
What i read from your last situation, you have flash fastboot, boot and recovery from .44. Is it right?

How the fastboot and recovery after flash, is it work?

We can format factory later if you need to erase that data.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
[MENTION=7455973]spider.man2[/MENTION]..........many of the users have reported that the process works fine, for me as well. I would suggest to do the processes and steps mentioned in the OP. Please don't miss any of the points, every step has its weight and if you miss any of it, the later processes will fail.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
Yes its right, i flashed from 44 firmware all 3 files. However, after restarting the phone into recovery from the fastboot menu, phone stuck on Asus logo. I tried many files from different different versions firmware but get the same results.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
You must flash the fastboot, boot, and recovery images of the same firmware zip file.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
Yes i read all the comments, members posted they have successfully recovered their phone using this method. However it is not working in my case, not sure what was the exact problem. I followed the same steps you mentioned. Why i am not getting the fastboot menu as per your shared screenshot. Plz see the screenshot that i posted in first post some commands are failed in the beginning. I doubt about it
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Those failed commands won't affect you, you should be good. Can you please re-do the process from step 14 only with *.30.zip file?

you should get this *.30.zip from below link:

http://dlcdnet.asus.com/pub/ASUS/Ze...ser.zip?_ga=1.129001740.1089473680.1465813200

It's the official Asus Zenfone 5 a501cg firmware.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
Okay i will try this at tonight and will post the result. Thanks
[Zenfone 5 Q&A, Help & Troubleshooting] azackforum:
i used this method b4 like this:

1. run debricked.bat, then sec_offline cmd, and monitor the process until it try to flash the system.img,

2. i disconnect my phone, n then force reboot bootloader,

3. reflash fastboot.img from KK .30, reboot bootloader

4. flash boot, recovery from KK *.30 , and sideload the .30 fw, you can also use .54, but only .30 fix no camera issue i you have one, good luck

hope this help, thanx
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
I downloaded the firmware as you suggested, so i tried from the step 12 and run-debrick.bat, after that i forcibly turnoff the device. then i tried to get the fastboot mode by pressing vol up+power but never come to fastboot screen. I tried 20-25 times but stuck on same ASUS logo. i am trying hard to get the fastboot screen so that i run the further commands.

I will update you.

---------- Post added at 10:12 PM ---------- Previous post was at 10:11 PM ----------

i am stuck on asus logo, now fastboot screen never comes, i tried many times.
[Zenfone 5 Q&A, Help & Troubleshooting] azackforum:
ok try his once more

1. run debrick

2. run sec_offline until it tried to flash system, disconnect phone, wait until failed command displayed, connect ur phone again, run another cmd there, then type fastboot devices (to check conn), then fastboot reboot-bootloader, lets see if ur phone boot into fastboot mode, if not then try debrick and sec_offline until it finish, reboot bootloader with button vol up+power

3. if u are succeed to boot into fastboot, the try flashing fastboot.img from .30 and fastboot reboot-bootloader once more

4. flash boot .30, recovery 30, then select recovery

5. adb sideload fw.zip (.30)
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
[MENTION=7455973]spider.man2[/MENTION]......

Why did you start from step 12? I told you to start from step 14.
[Zenfone 5 Q&A, Help & Troubleshooting] spider.man2:
I started from step 12 as I am unable to get fastboot mode by pressing power+vol up button.

Prvsly the fastboot screen come easily by pressing power+vol up key but now i tried my times it did not come.

so I again started again with step 12, however still fastboot mode not coming, always stuck on asus logo. How can I proceed further? without fastboot screen.:(
[Zenfone 5 Q&A, Help & Troubleshooting] Fearblind7:
I have my phone hard bricked . Stuck at Asus logo. Can't enter fastboot. Can I still use this method?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Yes, it will work if you just follow the steps in OP and don't miss any of them. Noted, won't work for LTE version.
[Zenfone 5 Q&A, Help & Troubleshooting] Fearblind7:
Thankyou so much. Very responsive.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Please do the process again as per the OP.
[Zenfone 5 Q&A, Help & Troubleshooting] crazyphoton7:
My recovery is working fine, i installed resurrection remix today. but i want to go back to stock rom. Can i do it by flashing the stock rom or do i have to follow the whole procedure?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
I am assuming that your fastboot, recovery and partiotions....all are fine.

You will have null IMEI/no SIM network if you revert back to stock 5.0 from android M. It's resolvable and happens due to different baseband config for android M. To solve this, follow the steps below:

1. flash any custom ROM with android version 5.1.1 like: http://xdaforums.com/zenf...k0412-t3285392

2. now roll back to stock zenfone 5 firmware UL-ASUS_T00F-WW-2.21.40.30-user.zip, other versions may not make your camera working.

3. gradually upgrade to lollipop.

If you don't know how to flash stock firmware, follow the below steps:

1. Download ADB folder and extract: https://drive.google.com/file/d/0B-Fin8UxrD6PUmN6SkVPMXR3UTA/view

2. Download UL-ASUS_T00F-WW-2.21.40.30-user.zip(for WW model only ) and copy to ADB folder: http://dlcdnet.asus.com/pub/ASUS/Ze...ser.zip?_ga=1.182320871.1398112610.1460908265

3. If you have other than WW model, please search and download the UL-ASUS_T00F-WW-2.21.40.30-user.zip here: https://www.asus.com/id/support/Download/39/1/0/2/96nqlxHp1VKV4Rdz/32/

4. Extract the fastboot.img, boot.img, and recovery.img files from the downloaded rom/zip file and copy to ADB folder

5. Reboot your device to bootloader. Turn off device > press volume up+power button together > after asus logo appears, release power but keep vol up pressed > you are in bootloader mode. Go to ADB folder and open command window(CMD) there by pressing shift+right mouse click

6. Run this commands,

fastboot flash fastboot fastboot.img
fastboot reboot-bootloader

wait for reboot...

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

7. Now select recovery from the fastboot menu and wait for reboot to recovery

8. In the recovery select wipe/factory reset data, this may take some time

9. Then select wipe cache

10. Then select apply update from ADB

11. Run this command,

adb sideload UL-ASUS_T00F-WW-2.21.40.30-user.zip

12. Let it be installed. It will take around 10mins, then reboot system.

13. You will find kitkat is installed.

14. Download UL-ASUS_T00F-WW-2.22.40.54-user.zip, UL-ASUS_T00F-WW-3.24.40.78-user.zip, UL-ASUS_T00F-WW-3.24.40.87-user.zip from this link for your model: https://www.asus.com/id/support/Download/39/1/0/2/96nqlxHp1VKV4Rdz/32/

15. Copy the UL-ASUS_T00F-WW-2.22.40.54-user.zip file into your SDCard/internal storage, then disconnect usb cable. Your phone will detect an update and proceed with the update.

16. Do step 15 for other two files as well. Please follow the sequence of the files, otherwise the update will fail.

17. Enjoy stock lollipop on your zen 5.

Hope it helps. :)
[Zenfone 5 Q&A, Help & Troubleshooting] Fearblind7:
Thanks man, works really well. Can you please help me update to lollipop cause any manual upgradation is leading to a bootloop.
[Zenfone 5 Q&A, Help & Troubleshooting] azackforum:
i noticed he said gradually, so try one fw at a time, if ur current fw is on KK *.30, udate to KK*.54 first, then u can go up to LL i think, i think for LL there's no other way to update it but manually update, either copy fw to internal storage or i've read a thread at zentalk about sideload LL *.78, without flashing anything, idk if that success, ive tried sideoad LL but failed, who knows u may successfully sideload it, try it, hope it help. tq
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Just copy the firmware zip file to your internal or SD card and disconnect the USB cable. Phone will detect the update automatically. Don't try to sideload, it won't work. The upgrade process takes time so be patient and don't forget to follow the firmware versions I have mentioned. Upgrade to them sequentially. Good luck.