yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Q&A, Help & Troubleshooting] RONUAA:
hey buddy what are pmsing him about? i have the same prob, PM me.

can't get the phone to work . frustated
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
If you follow the OP instructions correctly, you are supposed to get your device running. Yes, I understand there are many issues with booting to bootloader. I already have said, rebooting to bootloader and cloverview mode is a bit tricky. In the OP, all the steps are mentioned correctly. You need to read first and then work.
[Zenfone 5 Q&A, Help & Troubleshooting] RONUAA:
I have the fastboot and recovery available, but got the "can't mount cache problem"

Also fail to format partition table. GPT command failed ( I tried deleting boot /fastboot. bin files from debrick folder) also changing spare to misc still no use.

Actually my device was never bricked, it went into boot loop out of the blue. Then for flashing stock rom (my version is 40.54)I abruptly switched it off while wiping cache, since then it's stuck at Asus boot screen (without spin wheel, the Intel logo graphics that earlier used to appear also doesn't appear now). It's stuck at the very first screen.

I have tried to flash all stock roms sequentially till latest version, also first only 5.3.3.3 then 5.2.2.2 to get th phone lollipop (mine is kitkat 40.54)

I have tried the popular xda forum about repartitioning table, yet no use.

Used the xfstk, Asus flash tool, bootloader unlocker(to flash twrp recovery), nothing works man.

The Asus official service Centre told me to replace motherboard.

Help man.

PS: i follow every instruction to the dot. Use. 30 fw.

Flash Recovery boot fboot from th same.

I have also replaced the pos bin file and renamed them (as the original process) yet no use.

It always reverts to 40.54 Droid boot (20 Nov 15 built v2. 1).

Can't wipe cache or format data anymore (from recovery) shows the string of can't mount cache.
[Zenfone 5 Q&A, Help & Troubleshooting] kurzwelll:
my asus z5 stuck at loading logo. i used custom rom "clean stock rom" based Lolipop.

using TWRP 3.0-M2..

my phone cannot instal any custom Rom, the status mount: failed to mount dev/block/mmcblk09p at /

system: invalid argument

failed to mount "/System" (invalid argument)

but still, can boot into fastboot or recovery TWRP

i trying back to stock rom,, with instal stock recovery from Droidboot/fastboot and the prosses is success,

but unfortunetly the TWRP still came out. cannot be replaced by any recovery/cwm.

then i tryng with Asus flash tool with Raw File,, still error , it say didt not match SKU,,.

my phone sku is "WW" and my raw file is "ww" to.. whats happen???

my phone cannot instal anything...

my phone still can access fastboot and recovery ... with NO System instaled

can i use this method to fix my phone??

sorry fo my bad english.. thanks
[Zenfone 5 Q&A, Help & Troubleshooting] Scrluiz:
THANK YOU SO MUCH MY HOMIE! works perfectly here!
[Zenfone 5 Q&A, Help & Troubleshooting] The OP Guy:
HELP!!

IT says GPT failed

---------- Post added at 05:57 AM ---------- Previous post was at 05:33 AM ----------

It shows the following error when irun sec-update offlie........

C:\Shubham\Asus Zenfone 5 A500CG Debrick>fastboot oem partition /tmp/partition.tbl

...

FAILED (remote: GPT command failed

)

finished. total time: 0.522s

C:\Shubham\Asus Zenfone 5 A500CG Debrick>fastboot erase system

erasing 'system'...
[Zenfone 5 Q&A, Help & Troubleshooting] astroID:
Hi could you help me, I have successfully debrick & reflash the droidboot, fasboot...but when I try to enter recovey it always return to droidboot mode so I cannot flash the firmware.

I'm using tw version...boot.img, fasboot.img, recovery.img already using the same firmware version

Can anyone help how to flash the firmware or flash recovery using the working version?
[Zenfone 5 Q&A, Help & Troubleshooting] bajis_:
cannot access fastboot after run debrick file

Hi i cannot go to fastboot even after run the debrick file , it will go to intel logo , asus and sometime battery logo with lightning on it . actually i dont know my sku but it written on the battery something like "taipei taiwan" please help me :confused:
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
fastboot isnt detecting my device
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
i've done everything... till flashing boot.img and recovery.img..... but after selecting recovery from droidboot.... the phone reboots to usb logo... can you help?
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
partitions issue is not resolved.. still cant mount anything....... are you gonna help or not?!!!!!!!!!!!!!!!!!!!!!
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
yo.... help man!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[Zenfone 5 Q&A, Help & Troubleshooting] Calavaro:
My Z5 was a goner. Even with the guide in OP and tricks in this thread it refused to live.

It said "Block device required" when trying to ADB sideload anything (and getting to this step required straight magic).

After about day and a half of trying things in order, backwards, sideways and randomly I found a way. The debrick.bat file didn't work, so I had to run several other steps manually until it finally accepted to write partitions. But it wasn't letting me flash a ROM yet though. It kept telling me I had to "update to 4.3", but I didn't have any ROM installed (totally empty). It turns out I had to find the oldest of the old ROMs and flash that in pieces, and then flash each update on top, until it allowed me to reboot and setup the phone.

But everything contained in this thread, carefully read, helped even the most difficult of cases (eg. block device required) to be solved.

Thank you.
[Zenfone 5 Q&A, Help & Troubleshooting] Aishwar Babber:
Same issue

Same thing happened to my phone. The screen won't turn on. Were you able to fix it ?
[Zenfone 5 Q&A, Help & Troubleshooting] spravin:
My zenfone 5 was hanging a lot once I restarted the phone something happened and then the phone wasn't booting up not even the bootloader is opening. After giving debrick.bat file droidboot came up and then I gave offline update file in that gpt failed error came now my fone is entering into droidboot but not into recovery or anything. In AFT same error came and in intel flash tool flash.xml file is needed. It is not detected in adb also.

Pls help
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
Yes I was able to fix it. Follow through those posts, it was well documented.
[Zenfone 5 Q&A, Help & Troubleshooting] Aishwar Babber:
Can you tell me which posts? I went through the complete thread but wasn't able to fix my phone.
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
how were you able to write partitions...... were you facing the problem of mount system/cache/data failed? and what did you do about "update to 4.3" problem?
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
i've lost my partitions and i'm facing mount system,data and cache problems.. i've tried this method can you help me.... also have you faced the mounting problems in twrp?
[Zenfone 5 Q&A, Help & Troubleshooting] azackforum:
ive faced this problem too long already, but i remembered i only followed all the step, and ive got my bootloader back, i follkw thus instruction until i got my bootloadr only, after that i just adb sideloading the roms version which i downloaded before. i dont quite understand ur problem, but this tutorial have 2 sections, fist is recovering ur bootloader partition, 2nd reinstalling the rom, if u already recover ur bootloader, i suggest, u install stock rom first, then if you success, then unlock ur bootloader, flash the twrp recovery, install the custom rom, i think what ure doing is trying to install stock rom using twrp right? its wont be working...
[Zenfone 5 Q&A, Help & Troubleshooting] vkapoor201:
i've lost partitions(system,data n cache)... and while ececuting the debrick process... i'm facing gpt command error in oem partiiton in fastboot... until i get my partitions back i think my problem wont be resolved... also i've a unlocked bootloader... also after flashing stock recovery,when i boot into recovery it shows me a sub logo after asus splash screen... can you help me.. i've provided detailed version of my problem... currently i've twrp recovery and an unlocked bootloader... can you help me get my partitions back? also i've tried debrick method several times now.. i think its not gonna help... i hope you could help me
[Zenfone 5 Q&A, Help & Troubleshooting] CrazyTroll:
Hey can you post some details regarding those "several other steps manually"?
[Zenfone 5 Q&A, Help & Troubleshooting] nilanjan19:
ABD update getting stuck at 54% with a message

I didnt see what my software version is before it got bricked. Now i dont understand which firmware to download. I have tried with CN-3.24.40.80, WW-3.24.40.87 and CN-3.24.40.87, bt every time its getting stuck in ABD update till 54% with a message *failed to read command. Please help me with it. I dont know how to proceed.
[Zenfone 5 Q&A, Help & Troubleshooting] ajaydubey541997:
i did exactly the way you told but my zenfone5 is giving me error while formatting cache, invalid argument

also i tried to flash the rom and it gave me an error, flux 0.00x

please help me to debrick my phone!!!!!!
[Zenfone 5 Q&A, Help & Troubleshooting] rdb89:
Hi, i have a zenfone 5 (A501CG) WW, i am stucked on Intel logo. I've tried the procedure, i can enter only in cloverview if i press vol- button. I installed all the driver but when i run "debrick.bat" the procedure run perfectly but the phone reboot again on Intel logo and there is no way to get fastboot. I've tried diefferent firmware (i don't remember the android version) but i've always the same result, intel logo and no fastboot. Any ideas?
[Zenfone 5 Q&A, Help & Troubleshooting] shamshad007:
i m doing as you said i m getting many errors. plz help me...:crying::crying::crying::crying:

E:failed to mount/cache( invalid argument)

E:can't mount/cache/recovery/log

E:can't open /cache/recovery/log

E:can't mount /cache/recovery/last_log

E:can't open /cache/recovery/last_log

and like above many more error ,i m getiing.....
[Zenfone 5 Q&A, Help & Troubleshooting] akkii007:
i made all the procedure you given on my mobile asus zenfone 5 but after typing this command adb sideload UL-ASUS_T00F-WW-2.21.40.30-user.zip it reach upto 100% after that my mobile show error

E:fail to mount /cache (invalid argument).

E:fail to setup expected mount for install:aborting

Installation aborted.

E:failed to mount /cache (invalid argument)

E:cant mount /cache/recovery/log

E:cant open /cache/recovery/log

E:failed to mount /cache (invalid argument) and so on....plz sir help me what i do for this problem...........

I took my mobile to shop they told me the boot loader IC is corrupted or memory corrupted

Plz tell me if it is IC issue or any other…
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
I'm flashing the right SKU. It's WW. Should I flash the earliest stock image first? V1.15.40.20 for example.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
No u can start with the version mentioned in OP
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
I tried flashing UL-ASUS_T00F-WW-2.21.40.30-user.zip

Still, I get this error:

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

E:Cannot load volume /misc!
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Extract and flash the recovery. img from *.30.zip. then sideload the zip again.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Get *.30.zip firmware. Extract fastboot.img and flash in bootloader. Then reboot to bootloader, flash boot.img and recovery.img. it will fix ur recovery. then boot to recovery and flash the *.30.zip through sideload.
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
Where do I flash it? Fastboot? How do I get to fastboot from recovery? Sorry it's my first time flashing on an ASUS device. Thank you for your patience.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Turn off your device.

1. Reboot to bootloader by Vol down + Power button pressed. When the Asus log appears, release power key, but keep on pressed the vol down key.

2. Now your device will reboot to fastboot. Open CMD in Asus Zenfone 5 A500CG Debrick folder(Shift+Right button click > Open command windows here) and run below code:

fastboot flash fastboot fastboot.img
fastboot reboot-bootloader

3. It will reboot to bootloader and then flash the recovery.img and boot.img running the below code:

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

This will fix your boot and recovery. So you will have your right recovery version for UL-ASUS_T00F-WW-2.21.40.30-user.zip firmware.

4. Now, select recovery in the bootloader menu.

5. Wait to reboot to recovery. u will see an android logo with (!) sign. Press Power+Vol Down+Vol Up sequentially and simultaneously. It will enter to recovery.

6. Select recovery to reboot to recovery.

7. Select wipe user data and wipe cache.

8. Select apply update with adb and run

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

9. After it's flashed successfully, reboot.
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
After several attempts, I can't access fastboot. So I started from the top again. After running sec_offline_update_image.cmd, my screen turns blank, and I can't access fastboot.

EDIT: I think I must have understood the problem a bit more. The device doesn't charge. It doesn't boot because the battery is very low. It is always connected to the charger though.
[Zenfone 5 Q&A, Help & Troubleshooting] ozank:
for those who gets errors: edit partition.tbl:

There should be "/spare" change it to "/misc".
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
Edited it. I still get the error.

I just found out I can't flash the UL-ASUS_T00F-WW-2.21.40.30-user because when I run sec_offline_update_image.cmd, it replaces the recovery.img to an incompatible recovery. How to fix this?
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
after running sec_offline_update_image.cmd, ur partition should be fixed and ur device shold reboot normally. In my case,it rebooted but my touch was not working. So I went to bootloader, flashed fastboot, again rebooted to bootloader, flash boot and recovery, then flashed the zip. This should fix ur device too. Just flash the recovery in bootloader, and then flash the zip. u will get the recovery.img in the firmware zip. extract and flash it.
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
My problem is that after running sec_offline_update_image.cmd, I cannot access the bootloader. It just shows the battery logo with question mark.

I can only access recovery, but it is not 2.21.40.30 recovery.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Did the sec_offline_update_image.cmd run successfully?
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
Yes it did. And then when it reboots it just shows the battery logo with a question mark.

The only error was when /spare was being wiped.
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
check your PM.
[Zenfone 5 Q&A, Help & Troubleshooting] ej8989:
After 12 hours of troubleshooting I managed to flash the proper system zip by removing droidboot_sign.bin, recovery_sign.bin, and boot_sign.bin so the proper fastboot and recovery are retained when running sec_offline_update_image.cmd.

Now it boots properly and I can use the phone now. Thanks for your help!
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
hahaha......congratulations.........i can feel what is your condition right now. good job.

BTW, now upgrade to the latest by downloading and flashing 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/Down...Hp1VKV4Rdz/32/

just copy the zip into the SDcard, unplug usb cable, ur phone will detect the update automatically.
[Zenfone 5 Q&A, Help & Troubleshooting] Shakil_Sobahane:
My problem is that after running sec_offline_update_image.cmd, I cannot access the bootloader. It just shows the battery logo with question mark....

please help bro....
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
Bro, another rule of XDA is not to quote the whole OP while you are replying. :)

Now....did u do the steps 4 to 7???
[Zenfone 5 Q&A, Help & Troubleshooting] Shakil_Sobahane:
Yes...I've done as you have told.But after completing sec_offline_update_image.cmd I have only battery logo with question sign.

Oh there was some error like.../spare while running the CMD.Only this error.Except this everything were ok.

---------- Post added at 10:42 PM ---------- Previous post was at 10:38 PM ----------

But thank you.I have my fastboot back.But I can't flash fastboot or Recovery img...because the bootloader is locked.I also try adb sideload ...but there were so much error like E:can't open no such file or directory.

Though ADB file send was 100% ok.

After running Debrick.bat when I enter into fastboot mode and flash boot,fastboot,recovery img...Every time it shows on the CMD interface that "Secure device"

And then I look into my phone screen and I got didn't mount....

May be my bootloader is locked.Is that why I can't flash?

And every time I am facing /spare error!

Is it the partition error?

I think have some problem with partition.

Please help me...

---------- Post added at 11:27 PM ---------- Previous post was at 10:42 PM ----------

Will you share which file did you use for flashing?

I am facing same problem as you.

Battery logo with question mark.
[Zenfone 5 Q&A, Help & Troubleshooting] JDExp.:
Thanks man, you saved my phone
[Zenfone 5 Q&A, Help & Troubleshooting] juyel92:
Don't use lollipop ROMs. Download the kitkat ROM from asus official website and then flash the ROM using adb command.
[Zenfone 5 Q&A, Help & Troubleshooting] Kaplalwani:
Hey All,

I really wonder, 39 pages for this post and still don't have solution to the most common problem.

Working on my friend dead asus zenfone 5 from last 3 days and nights.

I think i tried almost everything and seems like I've corrupted my partition table.

As we are getting below issue when we try to get back fastboot from offline commands file,

fastboot oem partition /tmp/partition.tbl

...

FAILED (remote: GPT command failed

)

And in recovery mode we are getting something like,

E:failed to mount/cache(invalid arguments)

I think both the issues are interrelated and first will solve other as well.

Another thought is, as cache partition is not accession, system don't remember which recovery we have installed, maybe that's why I'm not getting twrp after flashing it(obviously after unlocking bootloader).

I thought it's better to flash twrp and try to flash rom from it instead of adb side load method.

Anyways, this is my first post on xda and my dev device is yureka plus. Working on this issue, will try to get it done and post for everyone's benefit.
[Zenfone 5 Q&A, Help & Troubleshooting] abiegelmeyer:
Error in 54%

Hi all,

I was trying to reflash with ROM UL-ASUS_T00F-WW-3.24.40.87-user , but I've seen that only kitkat ROM works. But when I tried the version UL-ASUS_T00F-WW-2.21.40.30-user happens the same, other error but in 54% too.

The recovery.img flashed is from UL-ASUS_T00F-WW-3.24.40.87-user because the others I can't enter in recovery mode.

I had the lolipop version before brick the phone.
[Zenfone 5 Q&A, Help & Troubleshooting] jejay28:
A501cg it will works?
[Zenfone 5 Q&A, Help & Troubleshooting] joblessBABA:
when i run sec_offline_update_image.cmd it shows waiting for device.... my device still shows the red triangle on the android icon? what do i do?

while trying to access bootloader... it shows the battery icon with the question mark... though i have found a way to bypass that.... but after bypassing it... it shows "no command" with the red triangle and android icon :(
[Zenfone 5 Q&A, Help & Troubleshooting] abiegelmeyer:
on this screen you need to press POWER button + VOLUME UP button and release VOLUME UP to enter to the recovery selection list.
[Zenfone 5 Q&A, Help & Troubleshooting] joblessBABA:
i have done everything... got my bootloader back... it was previously stuck in RECOVERY MODE... but im still unable to flash new firmware... im getting the same problem as others, the "GPT FAILED" and "cache mount" issue :(
[Zenfone 5 Q&A, Help & Troubleshooting] abiegelmeyer:
I could fix using the TWRP-3 to flash the ROM. Is more easy and works well. It is just select the ROM and click install. Try it!
[Zenfone 5 Q&A, Help & Troubleshooting] abiegelmeyer:
Well, I could flash CM13 with TWRP, but the initial problem persist: my ZF5 freeze randomly and after 15 sec reboot. I've searched and some people said that unlock the bootloader can be the problem.

Any idea to fix this problem?

Thanks
[Zenfone 5 Q&A, Help & Troubleshooting] juyel92:
If it is due to unlocked bootloader then sorry bro there is no fix for that. Only solution is just revert back to stock ROM. That's it.
[Zenfone 5 Q&A, Help & Troubleshooting] abiegelmeyer:
Originaly I've updated to Lolipop, but my free internal space comes to zero! So I've decided root, delete some apps and for this I unlock bootloader, since this it started to freeze.

So I've changed to CM13, the frequency that the phone freeze decreases, but it still happens.

So the only way is come back to the stock ROM... what if i try the android 7? Is there a hope?

Thanks for reply.
[Zenfone 5 Q&A, Help & Troubleshooting] juyel92:
You can try android nougat. If you get more screen freeze issue then just revert back to stock ROM. If you feel that now screen freeze issue is less as compared to previous one and this can be ignored then you can use nougat roms. Always try your luck bro. Who knows what will work.
[Zenfone 5 Q&A, Help & Troubleshooting] abiegelmeyer:
Hi all,

I've flashed the stock rom UL-ASUS_T00F-WW-3.23.40.60 after a lot of tries, because with only this one I could come back to the stock.

BUT, my ZF5 continues freeze even with stock rom. I don't know what else I can do. Anyone to help??
[Zenfone 5 Q&A, Help & Troubleshooting] Carlo Borbor:
Hello sir can I ask something... i have a Zenfone 5 with the model : ASUS_TOOJ I just wanted to know if this tutorial wil work to my device to unbrick? Thank you sir.
[Zenfone 5 Q&A, Help & Troubleshooting] het21:
Can I follow the same process for ze551ml. As I have used xfstk and even after successful installations the bootloader doesn't come and phone is stuck at the 4 color TV screen
[Zenfone 5 Q&A, Help & Troubleshooting] a8962383:
I dont have the device you have mentioned. So cant tell whether it will work or not. Sorry about that.
[Zenfone 5 Q&A, Help & Troubleshooting] hoangdat12:
can you help me with teamviewer :(
[Zenfone 5 Q&A, Help & Troubleshooting] Sarthak.Pattanaik:
I did all the steps properly but I am not able to boot into recovery mode. I am stuck in a USB logo in recovery.

Moreover, it said it failed to create partition!

My partition table is dead and I can not update my recovery

SOMEBODY PLEASE HELP!!!!

---------- Post added at 10:19 AM ---------- Previous post was at 10:11 AM ----------

I face the same problem. Any one knows how to fix this!
[Zenfone 5 Q&A, Help & Troubleshooting] ekscore:
Hi man, please help me.

i follow your instruction, in step 12 which is run Debrick.bat show up window that say missing wdapi1100.dll, i tryied to get this dll then other problem come up like this

"The procedure entry point WDU_GetPortNumber could not be located

in the dynamic link libary C:\\User\Arip\Downloads\Asus Zenfone 5 A500CG Debrick\xfsk-slsr-solo.exe"

the conncextion of I soc driver is ok.

please kindly help me, thanks