Home » » Asus Zenfone 2 | Resources all in one thread

Asus Zenfone 2 | Resources all in one thread

Posted by Droid Firmware Flash on Tuesday, July 5, 2016


************************************************** ************************************************** ***************
INDEX
************************************************** ************************************************** ***************
  1. Drivers | ADB installer
  2. Recovery Related Stuff (Entering Recovery|Stock Recovery | Custom Recovery)
  3. Rooting | Flashing | Applying OTA
  4. Changing from CN to WW version
  5. Unlocking Bootloader (UNOFFICIAL METHOD)
  6. Xposed Framework Installer
  7. Viper4Android Related Stuff
  8. Adjusting DPI without root
  9. NTFS support for OTG devices
************************************************** ************************************************** **************

1) Drivers | ADB installer:


________________________________
2) Recovery Related Stuff (Entering Recovery| Stock Recovery | Custom Recovery)


2.1) Entering Recovery mode

Steps:

  1. Turn off you Zenfone 2
  2. Hold Power button + Volume up
  3. When the phone is vibrating release power button
  4. You can select Normal boot or Recovery boot by pressing Volume up/down button.. To enter Recovery mode choose recovery boot.
  5. Then you will see sleeping android robot. Press power button + Volume up and release the buttons.
  6. You are now in Recovery mode
NOTE: After rooting many users are not able to enter recovery..The dead android bot with error appears...To enter recovery follow these steps:
Method 1:
  1. Enter recovery as you normally do
  2. When you see a dead android bot with an error press and hold power button, then (while holding power button) quickly press Vol up and release and then release power button..


NOTE: IF METHOD 1 FAILS try METHOD 2 it will definitely work
Method 2:
  1. Connect your device and open adb
  2. In adb Type
    Code:
    fastboot erase cache



2.2) Stock Recovery

For STOCK recovery collection: http://www.mediafire.com/folder/sety...#dy87k1a0f8m81


2.3) Custom Recovery


2.3.1) Tethered Recovery
NOTE: YOU MAY STILL FACE SOME BUGS as this project is STILL IN DEVELOPMENT STAGE.. If you experience any bug please report to the OP at http://forum.xda-developers.com/zenf...one-2-t3123532 or athttp://forum.xda-developers.com/devd...67#bugReporter
credit goes to: TheSSJ , social-design-concepts , vampirefo

Steps:
  1. Replace the recovery.zip in "CWM_Zenfone_2_IntelFB_RecoveryLauncher" from http://forum.xda-developers.com/devd...t/dl/?id=13221
  2. Start the procedure by using cai_dat_CWM.bat
  3. Type ACCEPT (case sensitive!) and enter
  4. Type T4 and enter
  5. Set your timezone when booting the first time into the Recovery, maybe this fixes the backup and restore bug (needs to be done just once)
  6. Unplug your USB cable from the device, too, before flashing, backing up and/or restoring


2.3.2) UN-Tethered Recovery

NOTE: YOU MAY STILL FACE SOME BUGS as this project is STILL IN DEVELOPMENT STAGE.. If you experience any bug please report to the OP at http://forum.xda-developers.com/zenf...one-2-t3123532 or athttp://forum.xda-developers.com/devd...67#bugReporter

Steps: 
Method 1:
  1. Root your device (See #3.1 in this thread)
  2. Unlock your Bootloader (See this thread http://forum.xda-developers.com/zenf...ocked-t3138547)
  3. Download twrp.img , unpack and put on sd-card
  4. Open adb and type
    Code:
     su
    dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery
    reboot recovery
Method 2:
  1. Download twrp.img , unpack and put it in your adb/fastboot directory
  2. Unlock your Bootloader (See this thread http://forum.xda-developers.com/zenf...ocked-t3138547)
  3. Boot into bootloader
  4. Open up fastboot on your PC and type:
    Code:
     fastboot flash recovery twrp.img
  5. Reboot into Recovery
_____________________________

3) Rooting | Flashing | Applying OTA
3.1) Rooting Zenfone 2


NOTE:
If you root via METHOD 1 you can update SuperSu app as well as update binaries butPLEASE DON'T apply any OTA update as the phone WILL GET STUCK IN A BOOTLOOP...Manually flash the firmware via adb...
If you root via METHOD 2 you CAN UPDATE VIA OTA/NO BOOTLOOPS BUT YOU HAVE TO UNROOT FIRST BEFORE APPLYING OTA
If you root via METHOD 3 you CAN UPDATE VIA OTA/NO BOOTLOOPS AND UN-ROOTING BEFORE APPLYING ANY OTA IS NOT NECESSARY.
Method 1 (PRE-ROOTED SYSTEM.IMG) : 

Credit goes to: shakalaca , keepfishes

First things first: (get this straight, don't download the wrong firmware and flash the wrong thing)
ZE550ML = Z008
ZE551ML = Z00A

Files Needed:

  1. Drivers for Asus Zenfone 2 installed on PC
  2. ADB installed on your PC (https://drive.google.com/file/d/0B0M...ew?usp=sharing)
  3. Flash Tools (http://forum.xda-developers.com/atta...3&d=1431011927)
  4. Pre-rooted system.img and recovery (https://mega.co.nz/#F!k4MHiAgL!dVuOKeH3eokcwPSNI79ffw) (Download the correct firmware according to your phone)
  5. WinRar
Steps:
  1. Download the pre-rooted system.img folder (Download the correct firmware according to your phone ZE550ML = Z008 , ZE551ML = Z00A )
  2. Download and run WinRAR . Click on the '.zip' part of the system.img file. You will see that WinRAR puts all the parts together and offers you an option to extract the one big system.img. Go ahead and extract it to the folder the other parts of the ROM are in.
  3. Unzip the FlashTools.zip and copy the following 4 downloaded files and paste it into extracted flashtools folder:
    1. boot.img (~ 11MB)
    2. droidboot.img (~ 13MB)
    3. recovery.img (~ 11MB)
    4. system.img (~ 2GB)
  4. Disconnect your phone from PC/Laptop.. Power it off. Once it is off, hold down the volume up button and hold on to the power button until the phone vibrates. After the vibration stops, release the power button and continue pressing the volume up button until the green Android robot appears. You should see a blue line below saying "Waiting Fastboot command"
  5. Now connect your phone via USB to your computer.
  6. At the flashtools folder press Shift + Right Click.. Then select "Open command here"...
  7. Copy and paste the following commands in the command prompt window (line by line) and press enter after each line. WAIT for the process to complete before copying and pasting the next line:
    Code:
    fastboot flash  fastboot  droidboot.img
    fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash system system.img
  8. The last step will take quite a while before it returns to the blinking cursor. Once it does, it's done and you can plug out the USB and press the power button, reboot your phone and when it starts up, your phone is ROOTED! You should see a # sign in the status bar

Method 2 (ROOTING VIA TEMPORARY CWM): 

Credit goes to: @29y6145 , social-design-concepts , Chinaphonearena

NOTE: This is a TEMPORARY CWM with the primary purpose of INJECTING SuperSU onto your Asus Zenfone 2. It doesn't permanently replace recovery and YOU CAN UPDATE VIA OTA USING THIS METHOD BUT PLEASE UNROOT FIRST BEFORE APPLYING ANY OTA...

Steps:
  1. Download the Asus Zenfone temporary CWM package
  2. Unzip the package
  3. Copy SuperSU.zip to the base of your SD card
  4. Enable USB debugging
  5. With your phone on, attach it to PC via USB
  6. Run 'cai_dat_CWM.bat' from the CWM package
  7. In the black command window that opens, type ACCEPT
  8. Type T4
  9. Phone will reboot into fastboot and you'll see commands being issued from the PC cmd window copying the temporary recovery
  10. You may see some funked up images on your display for a bit. Remove the USB cable and within 30 seconds should then see it booted into CWM
  11. Select install update
  12. Navigate to SuperSU.zip and install

Method 3 (1 CLICK ROOT TOOL): 
credit goes to: shakalaca for this tool , saurabhrck for informing me about the updated tool
Note: You need Asus Zenfone 2 drivers and ADB installed on ur PC 

Steps for rooting if you are a WINDOWS user:

  1. Download the 1 Click Root Tool for Zenfone 2 fromhttps://mega.co.nz/#!R8k0zACY!xaiNnxyAijsUwJL3l9koo1Iyr-pIjQmwVkVE8A_lv8Y or fromhttps://drive.google.com/file/d/0B93...ew?usp=sharing
  2. Unzip and connect your phone to PC
  3. Run CheckBeforeAction.bat .... You will get confirmation to proceed to next step
  4. Now run Root_zenfone.bat
  5. Your Device will be rooted automatically

Steps for rooting if you are a LINUX user:
  1. Download 1 Click root tool from MEGAhttps://mega.co.nz/#!R8k0zACY!xaiNnxyAijsUwJL3l9koo1Iyr-pIjQmwVkVE8A_lv8Y
    or from Google Drive https://drive.google.com/file/d/0B93...ew?usp=sharing
  2. Unzip and run root.sh

3.2) Flashing Zenfone 2 via ADB
  1. us USB Drivers
  2. ADB installed on your PC/Laptop
  3. Asus Zenfone 2 Firmware from the Official ASUS support website
Method:
  1. Turn off your Zenfone 2
  2. Go to recovery mode
  3. Select apply update from ADB
  4. Connect your zenfone 2 with USB cable to your PC/laptop
  5. Open command prompt in Windows (in the same folder where ADB is located)
  6. Check connection by typing adb devices in the command prompt.. If connection successful there will be a list of Zenfone 2 device.
  7. Type
    Code:
    adb sideload file.zip (where file.zip is the file name of the Asus firmware)
  8. Wait until the process is complete



3.3) Applying OTA

credit goes to: ansebovi

For applying OTA please see this thread:

http://forum.xda-developers.com/zenf...d-zf2-t3127835
_____________________________

4) Changing from CN to WW version


Credit goes to: vivix

Please follow these steps to change your firmware from CN version to WW version:

NOTE: PLEASE DOWNLOAD THE CORRECT RECOVERY IMAGE...
ZE550ML = Z008
ZE551ML = Z00A 
  1. Download the latest recovery image (For Z00A=2.19.40.22 , For Z008= 2.19.40.13) fromhttp://www.mediafire.com/folder/sety...#dy87k1a0f8m81
  2. Boot to fastboot mode (Power + Vol Up)
  3. Using ADB command prompt flash files by using fastboot commands : [CODE]
    Code:
     fastboot flash recovery recovery.img
    fastboot flash boot boot.img
    fastboot flash fastboot droidboot.img
  4. Reboot phone
  5. Download the latest OTA... For Z00A= 2.19.40.22 click here ......... For Z008=2.19.40.13 click here
  6. FOR Z00A users: Rename OTA file from UL-Z00A-WW-2.19.40.22-user.zip to UL-Z00A-CN-2.19.40.22-user.zip to get notification about update available.
  7. FOR Z008 users: Rename OTA file from UL-Z008-WW-2.19.40.22-user.zip to UL-Z008-CN-2.19.40.22-user.zip to get notification about update available.
  8. Update via notification about new update available
  9. Wait till update will finish (approx 10 min)
_____________________________
5) Unlocking Bootloader (UNOFFICIAL METHOD)
Credits goes to: ravian29shakalaca
NOTE: Please note that this method is not recommended by Asus and is the un-official method of unlocking bootloader...Please proceed at your own risk..

For unlocking your boot-loader please visit this thread: http://forum.xda-developers.com/zenf...ocked-t3138547
____________________________

6) Xposed Framework Installer

To install Xposed Framework on Zenfone 2 follow these steps:
  1. Download Xposed Installer from https://drive.google.com/file/d/0B7u...ew?usp=sharing
  2. Connect your zenfone 2 with USB (USB debugging enabled)
  3. Extract the downloaded folder and launch InstallXposedFramework.bat (phone will reboot)
  4. Now launch InstallXposedInstaller.bat to install Xposed apk on your phone. Enjoy Xposed on your zenfone 2
_____________________________

7) Viper4Android Related Stuff
NOTE: NEED ROOT FOR THIS, BUSYBOX INSTALLED AND SE-LINUX MODE SET TO PERMISSIVE
7.1) Installing Viper4Android on Zenfone 2
  1. Make sure you have rooted, installed busy box and set the SE-Linux to permissive on your phone
  2. Download the Viper4Android zip file from http://www.mediafire.com/?cnqqdme51qy9ft4
  3. Extract the zip file and copy "ViPER4Android_FX_A4.x.apk" on your phone
  4. Install the apk and open it... You will be asked to install the drivers..Click "Yes" and reboot your phone
  5. Enable Master switch for Viper4android on Headphones/Speaker/Bluetooth and tweak.


7.2) Enabling V4A on MXPlayer / PowerAmp / Youtube:
credit goes to: KaiStone 
To make V4A work on these apps just push this audio_policy file in " /system/etc/"

Alternatively you can also edit audio_policy file manually by searching and editing "/system/etc/audio_policy.conf" file

NOTE: Please double check before removing any code as removing codes other than these will cause the loss of sound

Find and Remove this code:
Code:
deep_buffer {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO
flags AUDIO_OUTPUT_FLAG_DEEP_BUFFER
}
Consider to Remove (Consider Only, NOT NECESSARY until you doubt that you are facing some difficulties)

Code:
codec_offload {
outputs {
codec_offload {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_OUT_MONO|AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_MP3|AUDIO_FORMAT_AAC
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE
flags AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING
}
}
}
STOCK AUDIO_POLICY.CONF FILE IN-CASE YOU MESSED UP:

credits goes to: fuzzybuffalo

http://forum.xda-developers.com/atta...mentid=3374586



7.3) Convolver Samples for Viper4android
Here is the collection of Convolver Samples for Viper4android (around 390)..
http://forum.xda-developers.com/zenfone2/general/collection-convolver-samples-389-t3140299


______________________

8) Adjusting DPI without root 

Credit goes to BurritoBashr

To adjust the DPI follow the steps below, THIS DOES NOT REQUIRE ROOT.

NOTE: I have used the DPI 250 here you can adjust the DPI according to your own taste. The default DPI is 480
1) Enable USB Debugging
2) Start ADB and check if you see your device by typing
Code:
adb devices
3) If you see your phone go ahead and type
Code:
adb shell wm density 250
4) Reboot your phone to apply the effects system wide.

_____________________________

9) NTFS support for OTG devices
Credit goes to sorgNOTE: PLEASE BACKUP YOUR VOLD FILE BEFORE DOING ANYTHING. 
Steps:
  1. Click to download vold_with_NTFS
  2. Unpack archive and replace /system/bin/vold
  3. Set permissions 755 (rwxr-xr-x): chmod 755 /system/bin/vold
  4. Reboot
STOCK VOLD FILE :

credit goes to: GeneralPag for uploading the stock vold file
https://docs.google.com/uc?id=0B4lok...xport=download


0 comments:

Post a Comment

Popular Posts

Blog Archive

.comment-content a {display: none;}