How to restore the stock firmware to the Asus Zenfone 2?


Question

Asus Zenfone 2 (Z00AD, ZE551ML)



I have downloaded the stock firmware from here. But how to flash it? This guide tells me to put it on an external SD card and boot into "update mode" by pressing Power + Volume Down, but that combination doesn't do anything on my phone.



It looks like I can use something called Asus Flashtool, but it appearantly involves using a different type of format for the firmware, which I will need to download from a third party.



Asus has provided me with the firmware. How to flash it?


Answer

I found out how to do it with the official firmware from asus.com. I'll post this for the benefit of all sentient beings future readers with the same problem. I'm writing this in a very beginner-friendly fashion.



Note: I had stock recovery. These steps will not work if you have a custom recovery.





Disclaimer: This is only what worked for me. It may or may not work for others. Follow these steps at your own risk. Any problems you encounter or global nuclear wars you cause while following these steps are your own responsibility. If something goes wrong (such as a power outage or loose cable) in the middle of the flashing, it will soft-brick your phone. If you don't know how to deal with such things, take your phone to a proper service center instead of following this tutorial.


1. I downloaded the official firmware from here.



Important(!): You must select the exact correct file. Failing to do so could damage your device. It's important that you match all the numbers with those on your device. In my case, the relevant values were ZE551ML and 2.20.40.184 for WW. ("WW" is the important part.) You may think you have the same phone as me, but your values may be different. In that case it's very important that you get another image, namely the correct one for your device!!




  1. I used Windows 10.

  2. Downloaded and installed this driver.

  3. Downloaded and installed Minimal ADB and Fastboot.

  4. Copied the firmware file (from step #1) to the folder in which Minimal ADB and Fastboot was installed. (In my case C:\Program Files (x86)\Minimal ADB and Fastboot.)



Before proceeding, ensure the battery is above 50% (just to be safe.)




  1. Turned off the phone completely.


  2. Pressed and held the Power button and the Volume up button both at the same time.


  3. As soon as the phone vibrated, I let go of the power button.




Please note: I had to try several times before this key combination worked. If it doesn't work immediately, try again until it works.




  1. After a short while I saw this:






  1. I pressed Volume down twice until it said RECOVERY MODE inside the box. I then pressed the Power button.


  2. When you see this dead android, and a message saying Error!, do not despair, I also saw that message.







  1. On that screen, I pressed the Power button and the Volume up button both at the same time.



Please note: I had to try several times before this key combination worked. If it doesn't work immediately, try again until it works.




  1. I was then taken to this screen:








  1. I pressed Volume Down to select apply update from ADB. I then pressed the Power Button to select that option.


  2. I connected the phone to the computer.


  3. I navigated to the folder in which Minimal ADB and Fastboot was installed. (In my case C:\Program Files (x86)\Minimal ADB and Fastboot.)


  4. Holding down Shift I right clicked in the white space in that folder and selected Open command window here.


  5. In that window, I typed adb devices and pressed Enter to check the connection to the phone.




In my case, the output to that was



List of devices attached
0123456789ABCDEF sideload



  1. I then typed adb sideload UL-Z00A-WW-2.20.40.184-user.zip and pressed Enter.



Important: Unless you have the exact same file as me, you have to replace UL-Z00A-WW-2.20.40.184-user.zip with whatever file name your actual firmware file has. Remember to include .zip as Windows often doesn't display file name extensions by default.




  1. The process took around 20 minutes. This time may vary. The command prompt window told me the percents of progress along thew way. I was given a confirmation message after it was done. I rebooted the phone, and I now have the stock firmware on my phone.



I actually also wiped data and cache partition (which wipes all personal data), because I wanted a totally clean phone. But I think that's optional.





Attribution: I followed this tutorial, but I had to do some of the things differently and figure parts of it out on my own.



By the way, I've successfully rooted now, and it works again! :D


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes