Showing posts with label ASUS Zenfone. Show all posts
Showing posts with label ASUS Zenfone. Show all posts

Thursday, August 27, 2015

How to flash your Zenfone

1. Introduction

ASUS Zenfones are great phones for the price, but if you purchased one of these phones from a Chinese retailer like Fasttech, you may be shocked to discover that the phone is really not usable if you don't speak Mandarin. Most notably, Google Play is NOT available when the Zenfone is running CN, TW, or CUCC firmwares. From my experience purchasing Zenfones from Asia, they are typically using the CUCC firmware. Fear not, as flashing the Zenfone 5 or 6 so that it is running the WW (or World Wide firmware) solves all these problems, and the process is not at all difficult and all necessary tools and components are freely available.
On this page, bolded represent important notes, boxed words represent menu items or the target of an action you must perform on the Zenfone, monospace represents code you type on your computer in a command prompt or terminal window and dark monospace represents the output from the Zenfone or your computer.

2. Requirements

  • A fully-charged Zenfone 5 or 6
  • A computer running Windows (preferred), Linux or Mac OS X
  • A USB cable that can connects from your computer to your Zenfone
  • USB drivers for your OS (if applicable, provided below)
  • The adb and fastboot tool suite for your OS (provided below)
  • The recovery image and firmware archive combo for your desired firmware (provided below)
If you have a computer readily available, and are able to connect your Zenfone via USB to the computer, please continue. If not, stop and find a computer!
Before you begin, boot your new phone, and ignore all requests to configure it, as we will soon be wiping the phone clean.
Wait a few minutes, and if a notification for updates is shown, install the updates before continuing.

3. Preperation

The first thing we will need to do, is allow your Zenfone to install APKs from unknown sources. This is because several application we will use are not available from the Play store. We will also enable USB debugging.
First, let's enable the ability to download APKs:
  1. From your phone's main screen, swipe down from the top and choose the gear icon. This will take you to the settings dialogue.
  2. Swipe down the page and under the Personalsection, choose Security.
  3. Under Device administration, enable Unknown sources
Next, enable USB debugging:
  1. From your phone's main screen, again swipe down from the top and choose the gear icon.
  2. Swipe down to the bottom and choose About, and then Software information. Rapidly tap the Build Number field. A message should appear that instructs you to continue tapping, and after enough taps, the phone displays a message at the bottom of the screen indicating that you are now a developer.
  3. Now go back to the main settings window, and choose Developer options.
  4. Scroll down to Debugging and enable USB debugging. If you're Zenfone is currently plugged into your computer, a window may pop asking you to authorize the debugging connection. Choose to always allow the connection.
Lastly, we will download a recovery image and the new firmware we would like to run (downloads below). Additionally, you can download the unzipped fastboot.img from this site so that you do need to unzip the firmware image. This site only provides the most recent downloads for the Zenfone 5 and 6. You are free to use any version, and you can find more firmware versions on ASUS' website, and other recovery images can be found from fastbone's XDA Developers thread.fastbone warns that your recovery image must be a lower version than the firmware you'd like to install, however.
Location of the gear iconEnable USB debugging
Download to your computer!
This site (Canada)ASUS
Zenfone 5Recovery Image (WW-2.19.40.18)
Firmware (WW-2.21.40.44)
fastboot.img (WW-2.21.40.44)
Recovery Images
Firmwares
Zenfone 6Recovery Image (WW-2.19.40.18)
Firmware (WW-2.20.40.11)
fastboot.img (WW-2.20.40.11)
Recovery Images
Firmwares

4. Bootloader

We need to now unlock the bootloader. Luckily, ASUS provides the tools to do so.
Download the boot unlocker from ASUS, or from this site directly from your Zenfone. Since we will need the APK to run on the Zenfone, it is easiest to download from this site.
Using the browser on your Zenfone, go to this website, and download the APK, install it and run!
This site (Canada)ASUS
Zenfone 5UnLock_A500CG_a500cg_platform_rel.apkASUS
Zenfone 6UnLock_A600CG_a600cg_platform_rel.apkASUS
Install the unlocker, and run the unlocker application on your phone. If the application cannot unlock your phone because your device is incompatible, please check the notification window for any updates available to your phone. Install them before continuing beyond this step.

5. Rooting

My last Zenfone 5 that I flashed last week would not let me root it. I thought about it and it doesn't make sense that flash a new OS to the phone would require the previous OS to be rooted. I ended up skipping this step and everything worked out.
Now, we will download the application that will root your phone. As with the unlocker, we recommend you download it from this site below, as the APK has already been unzipped. You will need to do this from the browser on your phone. This app will work for both Zenfone 5 and 6. For more information on what "root" is, and why we need it, read the Wikipedia page on Superuser.
Using the browser on your Zenfone, go to this website, and download the APK. IMPORTANT! After the download has completed, disable wifi, and mobile data, and go into airplane mode. Now, click on the downloaded file in your notifications, and install the app.
This site (Canada)
Zenfone 5 and 6RootZenFone-1.2r.apk 
Reiterating what is above, ensure you followed the important notice above the download links. Once you have installed the app, run it. Continue through the dialogs, and when given the option, choose SU. Continue following the dialogs and reboot your phone when instructed. After the reboot, run again, and grant rootpermission for the app. If the app confirms that the rooting has been successful, continue on.

7. Fastboot

If you didn't download the fastboot.img above, you will need to extract it from the firmware zip archive that you downloaded before you continue.
This section requires you to go to your computers command prompt. For Windows users, click on the Start button and click on Run command. Type in cmd, and press enter. A black screen should appear before you continue.
From your computer command window, run: adb reboot-bootloader
If the command is not found, make sure you are in the directory where you install the adb tool. In Linux and Mac OS X, this executable is probably in your path, but in Windows, you will most likely need to change your working directory:
c:
cd \Program Files (x86)\minimal adb and fastboot
When you are at the Android boot menu (black screen with small text), you will notice the fastboot messages at the bottom of your screen indicating that it is waiting for a command.
Go back to your computer, and with your Zenfone still plugged in, flash a fastboot image to your Zenfone.
fastboot flash fastboot <path_to_fastboot.img>
If you are in Linux, and the output is waiting for device, please see below.
After the fastboot image has successfully been written, now write the recovery image:
fastboot flash recovery 2.19.40.18_ww_recovery.img
Using the volume keys for up and down, on your phone, choose the Reboot Droidboot option from the menu, and press the power button once this option has been selected.
Once we have returned to the fastboot menu after the reboot, choose recovery and press the power button.

Linux only notes:

I initially tried to perform the firmware flash using Linux, but I encountered some difficulties with getting the fastboot step to recognize my device.
I had tried adding the udev rules using the vendor id shown by lsusb -v (Android fastboot waiting for devicesand Android Fastboot devices not returning device) and using fastboot and adb as root (via su) and specifying the device id for fastboot via the -i parameter, but ultimately, I had to boot my Windows laptop to be able to get fastboot to recognize the phone.

8. Sideloading

After Android has booted into recovery mode, you will see an Android logo and harmless Command not founderror. Press volume up (or down, or power) once and another menu should come up.
Now, choose the Sideload ADB option, and press the power button once to continue.
From the command window on your computer, run:
Zenfone 5:
adb sideload UL-ASUS_T00F-WW-2.21.40.44-user.zip
Zenfone 6:
adb sideload UL-ASUS_T00G-WW-2.20.40.11-user.zip
Be sure to use the zip archive here, and don't use an extracted directory, if you made one.
If all goes well, the Zenfone should be reporting its progress. It takes about 20 minutes to flash the new firmware. Once the phone indicates completion, choose the factory reset/wipe option to completely wipe your phone including the cache partition.

9. Finishing up

That's it! Power off your phone and when you turn it back on, you should have brand new, clean, English Zenfone with all the Google apps! To the best of my knowledge gathered from other sources, your Zenfone should also provide you with a notification when Android system updates are available, and you should not have to do this again to upgrade your version of Android. As of February 2015, Lollipop has not been released yet by ASUS, but they are planning to release soon, and your phone should update.

10. Sources

I found most Youtube videos did not have good instructions on how to ensure the latest WW firmware was flashed to the Zenfone. These are the places I went for help:

11. Help and Contact Info

If you run into any problems or have any comments or questions, please let me know at ydna@how-to-flash-zenfones.com

12. Changelog

April 22, 2015 - Noted that rooting is not necessary in the 'root' section.
February 22, 2015 - Added fastboot.img downloads
February 19, 2015 - Initial site
- See more at: http://how-to-flash-zenfones.com/#sthash.7mRuvX4S.dpuf

[How to Upgrade] Zenfone 5 to Lollipop manually - Step by Step with screenshots

Last edited by Toonster on 2015/6/5 22:45

Folks! The Lollipop update is here and I have just upgraded my Zenfone 5 to Lollipop 5.0
I also managed to document it step by step with screenshots for new users to update without any hassles.

I have covered 2 processes in detail in this post. Scroll down and read as per your need.
1.  Manual update to bridge firmware  ver 2.22.40.53
2.  Manual upgrade to Lollipop 5.0

Since there were bugs the Zenfone 5 bridge update Ver WW 2.22.40.53  was stopped but its needed for a smooth transition from kitkat to Lollipop.So I will Show you step by step to first update to Ver WW.2.22.40.53 manually then update to Lollipop.

There is also a new FOTA update available for 2.22.40.54 WW .If you get that then update it instead of manually updating to 2.22.40.53( but some people mentioned that there are problems updating manually from 2.22.40.54)... so I suggest that you manually update to.2.22.40.53 to smoothly update to Lollipop.



Note :  If you are already on the bridge firmware then scroll down directly to the Lollipop firmware update steps.
----------------------------------------------------------------------------------------------------------------
>> Manual update to Bridge firmware ver WW 2.22.40.53---------------------------------------------------------------------------------------------------------------
Step 1: Download the firmware from Asus website directly on your Zenfone 5. (749 mb)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/A500CG/UL-ASUS_T00F-WW-2.22.40.53-user.zip
You may also download on from your computer and transfer it to the folder shown below using your USB cable. I have done a direct download on my zenfone 5 over wi-fi
Screenshot_2015-06-01-21-21-10.jpg 

Step 2: This will download in the Download Folder in the Internal SD. Cut paste the zip file from the
Download folder and copy it outside the download folder into the Internal SD as shown below. (Do not extract the zip file)

image7.jpg 



Step 3: Then restart your phone by pressing Power button. It will show you an option to Restart .
After restart the phone will show a triangle notification on the status bar . ( If you do not get notification, disable data and reboot)
Pull down the notification panel and you will see that a system update is available.
Tap on that you will get this prompt to select the update package as below. Select OK.

Screenshot_2015-06-01-21-25-52.jpg 

You will get a warning that your battery should be atleast 15% charged. I would advise that you charge above 25%.
Select OK 
to start the update process.

Screenshot_2015-06-01-21-26-03.jpg 

The phone will reboot to Boot loader and begin updating.
P_20150601_213117.jpg 

You can see that the system is updating.

P_20150601_213222.jpg 


After updating the phone will reboot again and show that the Android apps are getting updated.
This may take sometime . The overall process may take around 10 mins.

P_20150601_214106.jpg 

The phone will reboot to home screen and prompt you that the phone has been updated succesfully.You can also check the updated firmware build number from settings > about > software information

IMAGE3.jpg 

----------------------------------------------------------------------------------------------------------------------------------
>> Now Lets Upgrade to LOLLIPOP 5.0 
------------------------------------------------------------------------------------------------------------


Manual update to firmware ver WW 3.23.40.52 ( Lollipop firmware)
Step 1: Download the Lollipop firmware from Asus website directly on your Zenfone 5. (700mb)
http://dlcdnet.asus.com/pub/ASUS/ZenFone/UL-ASUS_T00F-WW-3.23.40.52-user.zip

Screenshot_2015-06-01-22-10-23.jpg 


Step 2: This firmware will download in the Download Folder in the Internal SD. Cut paste the zip file from the Download folder and copy it outside the download folder into the Internal SD as shown below. (Do not extract the zip file)
image6.jpg 
Step 3: Then press and hold power to get Restart option and Restart the phone.

Screenshot_2015-06-01-22-22-17.jpg 

After restart the phone will show a triangle notification on the status bar . (If you do not get notification, disable data and reboot)
Pull down the notification panel and you will see that a system update is available.
Tap on that you will get this prompt.

Select OK.

Screenshot_2015-06-01-22-25-27.jpg 


It will again prompt you the warning message that battery should be around 15%. As a precaution I have charged it above 25%.
Select Ok and the phone will restart and begin upgrading to Lollipop.
Screenshot_2015-06-01-22-25-36.jpg 

You will see that the System update is being installed. It could take a while to complete this process.
Then the system will reboot again.
P_20150601_223259.jpg 

This time you will see that "Android is upgrading" . After optimizing all apps the system will reboot to home screen as below. This may take some time.
P_20150601_224829.jpg 

Finally Zenfone 5  upgraded to Lollipop.
You will be greeted with the unmistakable Lollipop notifications as the phone boots and also you will get a prompt that the system update is successfull. You may need to update Google Play services after the update, so please check it and do so.

lollipop.jpg 

I hope my efforts have been helpful in getting you closer to sweet Lollipop on your Zenfone 5