yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 General] aniruddha007:
it checks for serial no. of device n fails

so i tried to flash twrp.img using fastboot but got an error "flash_cmds error!"

plz help me guys
[ZenFone 2 General] nanofives:
As this is an error that was not reported when I was reading through all the foreign forums, I have to state the obvious since I don't have a particular answer.

I assume at this point that you have all the proper drivers, therefore the AFT shouldn't recognise the device. So... what I think is, is your phone in fastboot mode? (I mean the fastboot mode with the 4 colours instead of the ASUS Logo). Maybe there could be a failure in the process of unbricking with the xFSTK downloader.
[ZenFone 2 General] salsav3i:
Add source

please add source bro, this's my tut :D

amtech. vn/threads/un-hard-brick-zenfone-2-giai-phap-cuu-may-cuoi-cung-truoc-khi-den-trung-tam.370362/

remove blank after "."

---------- Post added at 07:48 PM ---------- Previous post was at 07:44 PM ----------

And thanks for translating :angel:

---------- Post added at 07:58 PM ---------- Previous post was at 07:48 PM ----------

you can't use fastboot to flash img file because some partitions still have error.

You must use AFT, try check your cable and run AFT as Admin. :eek:

---------- Post added at 08:02 PM ---------- Previous post was at 07:58 PM ----------

[MENTION=5935602]nanofives[/MENTION]

it show the 4 colours because it have no splashimage :)
[ZenFone 2 General] aniruddha007:
yes its in fastboot mode

oh yes its in fastboot with 4 colour
[ZenFone 2 General] thaithinh.huynh.5:
I have problems in 4-color screen.

Everything I do ok.

I need help from you ...

Thank you very much
[ZenFone 2 General] nanofives:
What are you trying to do? The process is stuck somewhere?

Enviado desde mi ASUS_Z008 mediante Tapatalk
[ZenFone 2 General] Sumit007s:
[MENTION=4378928]salsav3i[/MENTION]

Bro i didn't knew that this is your guide , i got this guide in Vietnamese language from my friend who lives in Vietnam :)
[ZenFone 2 General] badaboomBURP:
Hi, does this lock my bootloader?
[ZenFone 2 General] timbernot:
Folks , let's clear things up .

Flash Ifwi and dnx fwr in downloader...till you get ...past 4 bars colours..then to boot loader screen.

You then can then see the raw being flashed on phone screen..tiny writing , when you flash it...partitioning info etc..then it finishes with OKAY when done on phone screen (approx 30 secs)but nothing shown on screen of PC.

You then can fastboot flash stock recovery relating to the raw ,you then can enter recovery ..then select adb sideload.

You then can sideload ww-firmware.(relating to the raw)

Renaming the firmware to MOFD_SDUPDATE

with adb cmd>

adb sideload MOFD_SDUPDATE.zip

.

.

That's it , all will be restored

Splash screen

Sn etc etc etc

Please be careful ;)
[ZenFone 2 General] Technical:
I don't think it's that easy... There are horror stories in this thread.

By the way, is the final bootloader the "original" one or the one from the xfstk? I'm asking because the serial number there is the 0123456...

And the device is recognized as "emulator-5664 offline" by adb. And not the correct serial number.

Also, I'm not sure partitioning is ok. I'm getting 5k limit for the recovery...

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 536870912 bytes

sending 'recovery' (5 KB)...

OKAY [ 0.216s]

writing 'recovery'...

OKAY [ 0.238s]

finished. total time: 0.469s

Strange... And without recovery :crying:

EDITED: Stupid me, unlock bootloader again! I've thought once unlocked AFT and downloader would not lock it again. And the splashscreen was black... With unlocked bootloader, TWRP flashed ok.
[ZenFone 2 General] timbernot:
Never had that problem sorry , maybe you done something wrong ?

Be careful ;)
[ZenFone 2 General] jasxyhen:
Hi, I have ze551ml 2gb/16gb variant.

I rushed updating beta 6.0 thinking it was the "official". Checked the forum and it says "official" but then I discovered it isn't.

Now I hate the lag between app switching and stuttering.

Is there a way to comeback to 5.0 so I can unlock the bootloader again, and flash TWRP + CM13?

Can this method of unbricking show me a light towards 5.0?

Please I am welcome to any suggestion.

Thank you!
[ZenFone 2 General] Siddk007:
i'm getting this error and now my phone is not even booting after doing this , looks totally dead. Now service center is the last option (luckily 1 month warranty remaining)
[ZenFone 2 General] Alex86CT:
I got same problem :( service is really the solution? Maybe we are doing something wrong.

I can't charge telephone and never get a 4 colour display :(
[ZenFone 2 General] Siddk007:
Actually we are not doing anything wrong, looks like this process only works for ZE551ML. As i have noticed that almost all 551ml users have reverted back to stock succesfully using this method. Hardly found any 550ml user doing so. And yes, if your phone is totally dead and is in warranty, rush to your nearest Asus service center before its too late.
[ZenFone 2 General] PMMeYourDeck:
Not detected by "fastboot devices"

By following this thread, I was finally able to boot into fastboot mode again, and that's great news! To cut a long story short, I messed fastboot up by typing wrong commands when following the rooting procedure. My phone would start normally, and was perfectly usable, but it was impossible to get it to boot into fastboot mode, it just displayed the dreadful USB logo. :s

Now that I can boot into fastboot mode, I wanted to root my Zenfone 2 again. But I couldn't. When I type

fastboot devices

, it returns nothing. None of the commands I entered were executed, and at that point I don't know what to do.

Also, I noted something. When in fastboot mode, my phone displays its own serial number, not the 0123456789ABCDEF bull****, but it also says "continue fastboot process" instead of "FASTBOOT CMD WAITING".

I wanted to know if some of you here were successful in rooting their devices again, or if someone here encounters the same issues as me. Sorry if I am being off-topic.
[ZenFone 2 General] Technical:
I could root again, using ZenFoneRootKit_20150614 (https://drive.google.com/file/d/0B936USMlQhtKbmZLZDE3N1JMazA/view)

My bootloaders shows the infamous 0123456... But it is working.

adb inside Windows shows the correct serial number and it is also working.
[ZenFone 2 General] crewpuk13th:
I've managed to make my phone (ZE551ML) Alive again after update to MM, I'll share to you how i did that.

1. In my case i'm using windows 10, before i go any further i disabled driver signature verification. (search at google how to do this)

2.after disabling that, install Intel SoC Driver,Intel USB Driver(ADB), xfstk downloader and Asus Flashtool 1.0.0.34 (only this versions works for me)

3.flash xfstk with method explained on few page back there >>> In case your phone doesn't want to goo to moorefield mode. turn of the phone (power 10sec) after turned off with usb cable connected, press power + vol down, welcome to moorefield mode.

4. use asus flash tool and run in administrator. if asus flash tool doesn't recognize your device. pls reconnect cable.

5.in my case asus flash tool show the the serial number 0123456...

6.I'm forcing flash 184 firmware and it will say serial number doesn't match.

7.restart asus flash tool and disconnect your phone with remain in fastboot mode

8.run asus flash tool again, connect your phone and it will show you the right serial number

9. flash 184 firmware and voila your phone back to live.

it worked for me, try it if you feel desperate and don't forget google is your best friend in this situation :)
[ZenFone 2 General] Jurasictec:
You successfully flashed WW-bla bla Stock .184 and not a raw file ?

If so , I wasted a he'll of a lot of my time :D
[ZenFone 2 General] crewpuk13th:
Of course a raw file, it's Asus flash tools man
[ZenFone 2 General] willscooby:
Como posso conversar com vc? Por aqui parece ser meio complicado.

---------- Post added at 05:11 PM ---------- Previous post was at 04:31 PM ----------

Vc precisa fazer com que o modo fastboot seja reconhecido com um serial real do seu aparelho. este serial (123456abcdefg) é um serial genérico.

Faça isso:

1º - Injete o arquivo RAW informado aqui desde o inicio do tutorial pelo asusflashtool. e deixe rolar por aproximadamente 30 min. Mesmo com o programa executando, interrompa o processo, desconecte o cabo.

2º - Injete novamente o mesmo arquvio RAW , porém o celular deverá ser reconhecido com um serial deste tipo aqui (F854GBFH875), como alfa numérico. Se aparecer algo semelhante, o asusflashtool vai conseguir terminar o processo com sucesso aproximadamente por uns 15 minutos.

3º - Pronto, agora você ja conseguirá fazer os procedimentos pelo fastboot corretamente.
[ZenFone 2 General] Prajwal 21:
Successfully unbricked
[ZenFone 2 General] Technical:
Thanks, but I give up completely with ZenUI (stock). I never had such a nightmare with AOSP/CM ;)

I've tried to inject a lot of times the RAW of 2.40 version. It never comes back with the correct serial.

Obrigado, mas eu desisti completamente da ZenUI (stock). Eu nunca tive problemas deste tipo com AOSP/CM.

Eu tentei injetar várias vezes o RAW da versão 2.40. O telefone nunca retorna com o serial correto.
[ZenFone 2 General] Hakataben:
I have been struggling to unbrick my ZE550ML with xFstk-dldr on Ubuntu_VirtualBox_Mac, and finally reached to bootloader. Unfortunately, it seems that my ZE550ML does not accept any fastboot commands. It results the message, "FAILED (remote: flash_cmds error!)".

Is there any solutions?

If using "Asus flash tool" is the only solution, is there "Asus flash tool" for OSX or for Ubuntu?

Any comments would be appreciated. Thanks.
[ZenFone 2 General] Alex86CT:
have you used all programs on first post? I got a ZE550ML and I am stucked on xfstk that doesn't install OS.
[ZenFone 2 General] timbernot:
I become an expert at unbricking hehe ;)

Try flash os image on its own repeatedly ...ignore errors just keep doing it .

Then after 10 goes at it ..flash ifwi and fwr dnx with it repeatedly till success.

Note that when it succeeds ..

Stop! and pause, keep an eye on your screen of phone..you see it flash , might take 5 mins before you see this start ..but when its finished ..you flash raw in flash tool after and it will reboot straight into system all by itself ;)

Me have been guilty of flashing raw before the flash of downloader...and a bet many others have too.

Ps select, wipe data in flash tool too.
[ZenFone 2 General] Hakataben:
Nope. I used xFstk downloader only. I might need to use "Asus Flash Tool" to flash with raw file additionally.

My procedure is as follows:

Phone:

-ZE550ML WW, BL unlocked, TWRP recovery installed, CM13 installed

Bricked situation

-Showing USB charge logo. Cannot boot android, TWRP and bootloader.

PC environment

-OSX (Lion), Ubuntu 32 bit 14.04 on VirtualBox 4.3.28

NOTICE: Ubuntu should be 32bit. xfstk downloader might not work on Ubuntu 64 bit.

Procedure

Step 1 (device acknowledgment on Ubuntu)

-Boot Ubuntu32 on VirtualBox. Connect ZE550ML to Mac with USB, then shutdown Ubuntu.

-Open 'setting' in VirtualBox, and select the 'USB' section in 'Ports'. Check 'Enable USB Controller' and 'Enable USB 2.0 (EHCI) Controller' both.

-Push the plus button (Add filter from the device) on the right side in setting dialog, and select the 'INTEL MOOREFIELD [00A0]'. Then push OK.

Step 2 (xFstk downloader installation)

-Boot Ubuntu32 on VirtualBox.

-Download 'xfstk-dldr-linux-source-1.8.1.tar.gz' from ' http://sourceforge.net/projects/xfstk/files/ '.

-Move to directory where xfstk downloaded, and hit the following commands on Terminal.

tar xvfz xfstk-dldr-linux-source-1.8.1.tar.gz
cd xfstk-build/linux-source-package
sudo apt-get install g++ qtcreator build-essential devscripts libxml2-dev alien doxygen graphviz libusb-dev libboost-all-dev
sudo apt-get install libqt4-dev qt4-qmake
export DISTRIBUTION_NAME=ubuntu14.04
export BUILD_VERSION=0.0.0
sudo ln -s /usr/lib/i386-linux-gnu/libusb* /usr/lib
./package-xfstk-downloader-linux.sh
cd ./xfstk-build/installer/linux/ubuntu/
dpkg -i xfstk-downloader_0.0.0_all.deb

-Type 'sudo nautilus' , then type 'xfstk-dldr-gui' in finder to find 'xfstk-downloader' application.

(You must boot xfstk-downloader as SU, or you cannot see 'option' button which needs to set 'GP Flag override value'. )

-Boot xfstk-downloader.

Step 3 (flashing)

-Follow the Step 2 on first post. Set dnx_fwr.bin, ifwi.bin and bootloader in appropriate box.

NOTICE: Override Flag GP should be '0x80000807', not '0x800000807'.

-Hit 'Begin download' to flash. Then ZE550ML boot automatically, and you will reach to bootloader after 4 color bar screen.

Step 4 (flashing boot.img etc or .raw file)

---> I am stuck here now! I need your help!

I hope this helps. ;)
[ZenFone 2 General] NimishDavid:
Apart from the raw file do we need to download anything else? I mean other than the 3 links provided in the tutorial?

---------- Post added at 08:53 AM ---------- Previous post was at 08:43 AM ----------

I have installed the iSoc drivers and then xFSTK. But, I can't open xFSTK. I double click the icon, nothing happens. Also my device is being detected as Moorefield with some yellow exclamation mark.

Is there any alternative to xFSTK?
[ZenFone 2 General] crewpuk13th:
If you are using win 8 or 10, make sure disable driver signature before installing any of these. Yes we need.

1. Install intel SoC

2. Install xfstk

3. Install Asus flash tool

That's the thing we need
[ZenFone 2 General] NimishDavid:
I disabled signature verification. Installed iSoC and then xFSTK. But still can't open it. The first time I opened xFSTK, I got a blank window of the program. Thereafter it doesn't open. When opened in safe mode, it says unable to access some memory location.

I tried restoring my Win 8.1, but it fails because some files were not accessible.

I can't do anything and my phone has been dead for 3 days.
[ZenFone 2 General] Hakataben:
My ZE550ML has been unbricked finally IAW http://xdaforums.com/showpost.php?p=67399217&postcount=192 [MENTION=5578643]crewpuk13th[/MENTION]

I used windows7 instead of his procedure.

I have tried to flash using 'Intel platform flash tool lite' on OSX and Ubuntu, but didn't work right. So if you want to unbrick Zenfone2 you might need windows PC.

After unbricked, flashed v2.19.40.12 Stock ROM per http://xdaforums.com/zenfone2/general/tool-one-click-bootloader-unlock-root-t3155884 .

Then, I could unlock bootloader per http://xdaforums.com/zenfone2/general/congrats-to-bootlocker-unlocked-t3138547 .

Sent from my ASUS_Z008D
[ZenFone 2 General] KylarBStern:
Hi I can't seem to find any raw files for the 550ML even with google searches not able to, can anybody help please. Someone mentioned of getting them from index, I assume that's the index for this thread which I can't really find as I'm new to xda.
[ZenFone 2 General] Hakataben:
Here.

http://xdaforums.com/showpost.php?p=67364233&postcount=180

You should read whole thread carefully before you ask. ;)
[ZenFone 2 General] KylarBStern:
Thanks man I read through most of it lol didn't see that <3

---------- Post added at 03:58 PM ---------- Previous post was at 03:07 PM ----------

Ok on to the next issue, I'm facing this problem

D:\Save Phone Attempt 3\FlashTools>fastboot flash system system.img

target reported max download size of 536870912 bytes

erasing 'system'...

FAILED (status read failed (Too many links))

finished. total time: 1.220s

I'm currently running the Asus flashtools and it is starting the process but on the phone screen I see a similar message to the one I got in cmd, basically it failed a few attempts and now it sits Result: okay while the flash tool is still trying to do sth. I do have this issue with the weird serial number 0123... etc. I'm using flash tool 1.0.0.14 and I've got adb/fastboot 1.4.2 installed currently.

Also in the fastboot screen - Product_name and Variant come up as ASUS_Z00A which is the wrong version of device could I have flashed the wrong fastboot ?

Any ideas ?
[ZenFone 2 General] Hakataben:
Ok. I had almost same error messages when I flash system, boot, recovery or fastboot partitions before flashing raw. You should flash raw first.

In my case, Asus flashtool 1.0.0.34 only worked right.

After flashtool starts the process, you will see several messages changing quickly. Then you will see 'okay' however Asus flashtool will never stop the process with 'yellow' state.

You should follow Asus step 7 and 8 in http://xdaforums.com/showpost.php?p=67399217&postcount=192

After that, Asus flashtool will show correct serial number.

This means you need to flash twice with Asus flash tool.

In my case, product name in fastboot screen was ASUS_Z00A before flashing raw and rebooting bootloader. After first flashing with Asus flashtool and rebooting bootloader, I could have ASUS_Z008.

You are almost there. :)
[ZenFone 2 General] e-jump:
Just to update to those who for some sort of reason got your bootloader messed up after doing Cache wipe like me (sudden powerloss).

My phone is 551ML has the latest ww_184 fw.

I did following steps:

1. fstk download using the img files provided here (make sure you remove the exta zero as opposed to the 1st page guide)

2. Asus Flash tool ver 1.0.0.34 and download 2.15.40.13 raw(search internet for link). at that time i can only select raw, not sure why. maybe because i had 1.0.0.14 installed before. did not select wipe.

3. ADB sideload ww_184.zip that i download from ASUS site. Did not use wipe flag.

Phone rebooted and all data intact. (y)
[ZenFone 2 General] despirto:
My phone is in boot loop, only showing the droid with error. I tried this tuto but after install the intel usb I can not see the driver on device manager.

I am using windows 10 and I tried to disable the verification drive before install but didn't work. Anybody had this problem or know how to resolve?
[ZenFone 2 General] darkmindAB:
hello friends, after leaving the 4 colors whose form of TV, you should do? Thank you.
[ZenFone 2 General] timbernot:
keep a flashing ifwi fwr dnx and os image till you see `success` -- then stop ,wait five minutes and flash raw:good:

---------- Post added at 12:25 AM ---------- Previous post was at 12:19 AM ----------

use usbdeview to uninstall drivers and start afresh , remove all files of old from , my comp/this pc --program files (x 86) xfstk-- uninstall first etc
[ZenFone 2 General] darkmindAB:
hello friends, because I do not recognize the USB flash tools the phone? I'm stuck in the 4 colors, and the phone is always restarted.
[ZenFone 2 General] NimishDavid:
Resurrected my Zenfone 2!

Thanks everyone for all the help! I did it!

My only problem was that xFSTK wasn't opening. I thought disabling signature verification once done, stays forever. That was the mistake and I got xFSTK to open.

If you have BitDefender antivirus, uninstall it. Even if you disable it, it'll block driver installation. So, remove it completely.

XFSTK flashed successfully straightaway. Got 4 color screen. Then phone rebooted into Normal Boot Mode.

Then I installed Asus Flash Tool 1.0.0.34. Connected the phone. It got detected with the infamous 1234... serial number. Selected Raw file and started flashing. Now wait for 10-15 minutes. Partition commands will execute but the phone won't boot into OS. Phone screen will say "Okay" and AFT will say "Flashing...". Now disconnect the phone and close AFT. Reopen AFT and connect phone again. This time AFT will recognize the correct serial number. Now repeat the same procedure. Wait for 15-20 minutes. That's it. This time phone boots into the OS!

PS : Ticking wipe data in AFT is unnecessary. I didn't. My apps and data were intact as the phone booted in to the OS.

Once again, Thanks everyone! :)
[ZenFone 2 General] curtis91:
Hello,

For me i had been passed 9H to find this solution ... even i have wiped data but at the end all data is here ,

May i will tried with the other beta when i'll find it, the problem for my first beta update was to find ifwi key (bootloop and it destroyed old partition ,boot,recovery...)
[ZenFone 2 General] NimishDavid:
Is your's still bricked?
[ZenFone 2 General] curtis91:
Hello it's good now but first time it was so bricked, I was hopeless... But it's good now, the update failed after Verifing BOM token before terrible crash (beta 6. 61)
[ZenFone 2 General] nickysweet:
cannot download raw file

can anyone please reupload the raw files or share another link?? i've done everything to find alternate raw files but can't find it anywhere. thanks in advance!!!
[ZenFone 2 General] NimishDavid:
The raw file link is working.
[ZenFone 2 General] krshubham:
Hey guys, i need help please. I am not able to recover the fastboot using xfstk downloader. When i click begin download, the firmware download completed but when continuing to os download my phone just reboots and the process fails. Dont know where I'm going wrong. Please help. Tried the steps given in previous pages, but no success. Please someone guide me. Any help will be much appreciated. Thanks
[ZenFone 2 General] Ramirez_Luis:
BRICK my phone need help

BRICK my phone need help

Guys brick my phone and i dont know have to do.... When i try do downgrade 6.0 to 5.0 my phone is brick i follow steps fastboot flash token in console adb say writing token... failed (permision denied) and ifwi too say the same..... so i think maybe i cannot do downgrade restart the phone and screen black only vibrate but screen still black and restart over and over

I try to follow this guide but no open xFSTK downloader i dont know what do wrong

pls need help sorry for my bad english
[ZenFone 2 General] timbernot:
Try this if bricked

http://xdaforums.com/zenfone2/general/unbrick-vid-tutorial-restore-serial-t3411064
[ZenFone 2 General] NimishDavid:
I am no expert, but I'll try to help. For the permission denied thing, try running Command Prompt as Admin.

If you can't open xFSTK, it's because the drivers are not installed properly. Uninstall everything you installed, disable your Antivirus and restart the PC with Signature verification disabled. If you do it right, there will be red dialog boxes asking confirmation to install the drivers when installing iSoc and Intel USB Drivers. I was stuck here for so long.
[ZenFone 2 General] Ramirez_Luis:
Guys thanks for reply me... this videos help me a lot and my problem was for compatibility i use windows 10 and this programs not works very good but i create a virtual machine with windows 7 and finally works great and problem is resolved my zenfone 2 still alive.

Very Vey Thanks!
[ZenFone 2 General] kischde:
Hi guys!

I was able to unbrick my ZE551ML with this tutorial - thanks a lot for this tut!!!

Now I´ve got another problem.. IMEI says 004999010640000 and of course is not mine... serial number saying 123456789ABCDEF.

Is there any posiibility to restore that data? Found a video on youtube from a guy using "Intel phone tool" but I can´t find it, even google doesn´t give me exactly that tool.

I´ll appreciate every hint, advice, help!

Thanks in advance, mates.
[ZenFone 2 General] edu_pozzolini:
Asus Flash Tool:

https://drive.google.com/file/d/0B2oMRhweQ4CHSXNRNUxFcWpvUWs/view

but, the bootloader number does not return to the original serial.
[ZenFone 2 General] kischde:
[MENTION=6145756]edu_pozzolini[/MENTION]

Is there anything I should explicitly do? I already flashed .139 raw-file using Asus Flash Tool but didn't setup anything special. Bootloader number is not that important to me but of course I'd like to use the phone again as a phone, too :)

Gesendet von meinem ASUS_Z00AD mit Tapatalk
[ZenFone 2 General] edu_pozzolini:
1- In the top left button model, choose the device (ZE551ML) the last option.

2- Mark the option yes wipe data.

3- Select the raw file that will install.

4- Press start button and wait to complete.

*It will take 10 minutes.
[ZenFone 2 General] kischde:
[MENTION=6145756]edu_pozzolini[/MENTION]

Ok, I'll give it a try. Thanks already for your help! Will report back of course, and hope that this will work... *crossing fingers*

edit:

it didn't.. done everything as you said, but still no IMEI. Guess that's it and my phone is a real brick now.

Gesendet von meinem ASUS_Z00AD mit Tapatalk