Asus Zenfone 2 | Resources all in one thread - ZenFone 2 General

Hello XDA brothers
First of all i want to thank all the devs for their efforts. I have collected & compiled all the info from various sources, credit as usual goes to original devs
PS: Ok guys this thread will be updated real soon as i was able to get some extra space... Will post the latest developments in the reserved area..I want to thank this really helpful mod @mark manning as this thread will remain active because of him only
*******************************************************************************************************************
INDEX​*******************************************************************************************************************
Drivers | ADB installer
Recovery Related Stuff (Entering Recovery|Stock Recovery | Custom Recovery)
Rooting | Flashing | Applying OTA
Changing from CN to WW version
Unlocking Bootloader (UNOFFICIAL METHOD)
Xposed Framework Installer
Viper4Android Related Stuff
Adjusting DPI without root
NTFS support for OTG devices
******************************************************************************************************************
1) Drivers | ADB installer:
ASUS USB DRIVERS (FOR INSTALLING THESE DRIVER SEE THIS https://software.intel.com/en-us/articles/installation-instructions-for-intel-android-usb-driver)
15 sec ADB installed
________________________________
2) Recovery Related Stuff (Entering Recovery| Stock Recovery | Custom Recovery)
2.1) Entering Recovery mode
​
Steps:
Turn off you Zenfone 2
Hold Power button + Volume up
When the phone is vibrating release power button
You can select Normal boot or Recovery boot by pressing Volume up/down button.. To enter Recovery mode choose recovery boot.
Then you will see sleeping android robot. Press power button + Volume up and release the buttons.
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:​
Enter recovery as you normally do
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:​
Connect your device and open adb
In adb Type
Code:
fastboot erase cache
2.2) Stock Recovery
For STOCK recovery collection: http://www.mediafire.com/folder/setyy42t2cymy#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/zenfone2/development/alpha-tethered-twrp-asus-zenfone-2-t3123532 or at http://forum.xda-developers.com/devdb/project/?id=10167#bugReporter
credit goes to: TheSSJ , social-design-concepts , vampirefo
Steps:
Replace the recovery.zip in "CWM_Zenfone_2_IntelFB_RecoveryLauncher" from http://forum.xda-developers.com/devdb/project/dl/?id=13221
Start the procedure by using cai_dat_CWM.bat
Type ACCEPT (case sensitive!) and enter
Type T4 and enter
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)
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/zenfone2/development/alpha-tethered-twrp-asus-zenfone-2-t3123532 or at http://forum.xda-developers.com/devdb/project/?id=10167#bugReporter
​
Steps:
Method 1:
Root your device (See #3.1 in this thread)
Unlock your Bootloader (See this thread http://forum.xda-developers.com/zenfone2/general/congrats-to-bootlocker-unlocked-t3138547)
Download twrp.img , unpack and put on sd-card
Open adb and type
Code:
su
dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery
reboot recovery
Method 2:
Download twrp.img , unpack and put it in your adb/fastboot directory
Unlock your Bootloader (See this thread http://forum.xda-developers.com/zenfone2/general/congrats-to-bootlocker-unlocked-t3138547)
Boot into bootloader
Open up fastboot on your PC and type:
Code:
fastboot flash recovery twrp.img
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 but PLEASE 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:
Drivers for Asus Zenfone 2 installed on PC
ADB installed on your PC (https://drive.google.com/file/d/0B0MKgCbUM0itVVFWRC02Q0VBQnc/view?usp=sharing)
Flash Tools (http://forum.xda-developers.com/attachment.php?attachmentid=3301263&d=1431011927)
Pre-rooted system.img and recovery (https://mega.co.nz/#F!k4MHiAgL!dVuOKeH3eokcwPSNI79ffw) (Download the correct firmware according to your phone)
WinRar
Steps:
Download the pre-rooted system.img folder (Download the correct firmware according to your phone ZE550ML = Z008 , ZE551ML = Z00A )
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.
Unzip the FlashTools.zip and copy the following 4 downloaded files and paste it into extracted flashtools folder:
boot.img (~ 11MB)
droidboot.img (~ 13MB)
recovery.img (~ 11MB)
system.img (~ 2GB)
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"
Now connect your phone via USB to your computer.
At the flashtools folder press Shift + Right Click.. Then select "Open command here"...
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
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:
Download the Asus Zenfone temporary CWM package
Unzip the package
Copy SuperSU.zip to the base of your SD card
Enable USB debugging
With your phone on, attach it to PC via USB
Run 'cai_dat_CWM.bat' from the CWM package
In the black command window that opens, type ACCEPT
Type T4
Phone will reboot into fastboot and you'll see commands being issued from the PC cmd window copying the temporary recovery
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
Select install update
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:​
Download the 1 Click Root Tool for Zenfone 2 from https://mega.co.nz/#!R8k0zACY!xaiNnxyAijsUwJL3l9koo1Iyr-pIjQmwVkVE8A_lv8Y or from https://drive.google.com/file/d/0B936USMlQhtKbmZLZDE3N1JMazA/view?usp=sharing
Unzip and connect your phone to PC
Run CheckBeforeAction.bat .... You will get confirmation to proceed to next step
Now run Root_zenfone.bat
Your Device will be rooted automatically
Steps for rooting if you are a LINUX user:​
Download 1 Click root tool from MEGA https://mega.co.nz/#!R8k0zACY!xaiNnxyAijsUwJL3l9koo1Iyr-pIjQmwVkVE8A_lv8Y
or from Google Drive https://drive.google.com/file/d/0B936USMlQhtKbmZLZDE3N1JMazA/view?usp=sharing
Unzip and run root.sh
3.2) Flashing Zenfone 2 via ADB
Tools Required:
Asus USB Drivers
ADB installed on your PC/Laptop
Asus Zenfone 2 Firmware from the Official ASUS support website
Method:
Turn off your Zenfone 2
Go to recovery mode
Select apply update from ADB
Connect your zenfone 2 with USB cable to your PC/laptop
Open command prompt in Windows (in the same folder where ADB is located)
Check connection by typing adb devices in the command prompt.. If connection successful there will be a list of Zenfone 2 device.
Type
Code:
adb sideload file.zip (where file.zip is the file name of the Asus firmware)
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/zenfone2/general/guide-to-apply-ota-bootloop-rooted-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
Download the latest recovery image (For Z00A=2.19.40.22 , For Z008= 2.19.40.13) from http://www.mediafire.com/folder/setyy42t2cymy#dy87k1a0f8m81
Boot to fastboot mode (Power + Vol Up)
Using ADB command prompt flash files by using fastboot commands :
Code:
[/B][/FONT][CODE] [FONT=Century Gothic][B]fastboot flash recovery recovery.img
[/B][/FONT] [FONT=Century Gothic][B] fastboot flash boot boot.img
[/B][/FONT] [FONT=Century Gothic][B] fastboot flash fastboot droidboot.img
[/B][/FONT]
[*]Reboot phone
[*] Download the latest OTA... For Z00A= 2.19.40.22 click here ......... For Z008=2.19.40.13 click here
[*]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.
[*]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.
[*] Update via notification about new update available
[*] Wait till update will finish (approx 10 min)
​
_____________________________
5) Unlocking Bootloader (UNOFFICIAL METHOD)
Credits goes to: ravian29, shakalaca
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/zenfone2/general/congrats-to-bootlocker-unlocked-t3138547
____________________________
​
6) Xposed Framework Installer
​
To install Xposed Framework on Zenfone 2 follow these steps:
Download Xposed Installer from https://drive.google.com/file/d/0B7ujzTEVERI_T3I4bUtrWUJlRzQ/view?usp=sharing
Connect your zenfone 2 with USB (USB debugging enabled)
Extract the downloaded folder and launch InstallXposedFramework.bat (phone will reboot)
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​
Make sure you have rooted, installed busy box and set the SE-Linux to permissive on your phone
Download the Viper4Android zip file from http://www.mediafire.com/?cnqqdme51qy9ft4
Extract the zip file and copy "ViPER4Android_FX_A4.x.apk" on your phone
Install the apk and open it... You will be asked to install the drivers..Click "Yes" and reboot your phone
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:
[COLOR=Red][COLOR=Black]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
}
}
}
[/COLOR][/COLOR]
STOCK AUDIO_POLICY.CONF FILE IN-CASE YOU MESSED UP:
​
credits goes to: fuzzybuffalo
http://forum.xda-developers.com/attachment.php?attachmentid=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 sorg
NOTE: PLEASE BACKUP YOUR VOLD FILE BEFORE DOING ANYTHING.
Steps:
Click to download vold_with_NTFS
Unpack archive and replace /system/bin/vold
Set permissions 755 (rwxr-xr-x): chmod 755 /system/bin/vold
Reboot
STOCK VOLD FILE :​
credit goes to: GeneralPag for uploading the stock vold file
https://docs.google.com/uc?id=0B4lokICL3cTDaVVzRnBSOGdHcGM&export=download
​

reserved

reserved

reserved

Hi there,
In point 12, the links to the recovery images are dead....do you have an alternative location where they can be found?
Many thanks
*** Update ***
Sorry for the HUGE quote of the entire message I originally posted! I've now trimmed that out. And thanks again for the updated links.

vincexda said:
In point 12, the links to the recovery images are dead....do you have an alternative location where they can be found?
Many thanks
Click to expand...
Click to collapse
Link updated..Although you could also download the recovery images from point 8 Please check the link and press thanks if i helped

hi sorry im so noob..would like to know what does wiping cache partition do? do you have to do it every intall of root?tnx

Many thankK's for this, my CN ZF2 now running on WW! Great tutorial.

Can I root with pre-rooted image following the steps in this thread if I am already on the more recent firmware update version? And if you are rooted is it still possible to keep root and OTA if you don't upgrade SU and SU binaries?

upgrading chinese rom to ww rom - step 12.
could you explain how do i use adb? and where do i store the recovery images on my pc or phone?
is the CN version worthwhile after changing to ww rom? i got the 64gb for 337$, cancel the order or keep it?
thanks

kanagawaben said:
Can I root with pre-rooted image following the steps in this thread if I am already on the more recent firmware update version? And if you are rooted is it still possible to keep root and OTA if you don't upgrade SU and SU binaries?
Click to expand...
Click to collapse
For your second question, I know that one is correct. If you're on the most recent firmware update, then you'll need to flash the same pre-rooted firmware. Check out shacka's links to see if it's there, and if not then keep checking until he uploads it.
Sent from the Ace's MB865 using Tapatalk

Aceofzeroz said:
For your second question, I know that one is correct. If you're on the most recent firmware update, then you'll need to flash the same pre-rooted firmware. Check out shacka's links to see if it's there, and if not then keep checking until he uploads it.
Sent from the Ace's MB865 using Tapatalk
Click to expand...
Click to collapse
Thanks. Was actually able to get the earlier firmware version pre-rooted image flashed and working following the steps in this thread, although it didn't work properly first time of trying (kept getting some error message about android.media). Once I had deleted user data and reflashed the pre-rooted image it worked fine. However, when I tried to do OTA I got stuck in a bootloop despite not having updated su or binaries - I guess some legacy of having previously been on the latest firmware? Anyway, sorted it out and all working fine and fast now on rooted and debloated 2.14.30.11 so I'm happy to stick with that until a more major update comes along (Android 5.1 for example).

Error!
I followed the instructions on "3) Rooting Zenfone 2" to root my ZE551ML / Z00A, and rebooted the phone.
Now my phone is messed up:
- it wont take me to homescreen ("Unfortunately, System UI has stopped", "Unfortunately, the process android.process.media has stopped")
- i can get past lockscreen
- tried rerooting again to no success
- phone wont boot to recovery (error & dead android with red triangle)
Note that the phone isnt bricked, and Im not stuck in a bootloop.
What do I do? Please help..

Sounds similar to the problems I initially had. Try entering into fastboot mode then connect to your computer and do a fastboot -w command to wipe your cache and data. Then try to flash the images as per the root guide on this thread again.

>Note: You can adjust the DPI according to your own taste
What was the orig. DPI when i want back?

tasar said:
>Note: You can adjust the DPI according to your own taste
What was the orig. DPI when i want back?
Click to expand...
Click to collapse
I guess its around 300....try that and report back

Device info show me 480dpi and density unknown. I found no entry in build.prop

tasar said:
Device info show me 480dpi and density unknown. I found no entry in build.prop
Click to expand...
Click to collapse
Same here couldnt find any entry in build.prop.. But i checked via various apps it shows as u said 480dpi.. I have included the screenshot...

But was 250 (like the tut on opener) no to small? Don't trust to test ?

after doing #12, update CN version to WW version
is it possible to receive an OTA Update via wifi after i upgrade my CN version to WW version. 2.15.40.13 has been released and yet i cant receive that ota update. is it possible?

Related

{all-in-1 guide} root - recovery - custom rom - kernel- xposed

Well, in this guide I will try to concentrate all the process from a Stock Z3 (D6603) to a fully rooted, unlocked bootloader, custom rom and recovery, modded kernel and xposed firmware.
AS ALWAYS I WONT BE RESPONSIBLE FOR ANY DAMAGE, WAR, OR DEAD UNICORNS. PROCEED ON YOUR OWN RESPONSABILITY
Pre-process drivers:
Get fastboot drivers from here: https://mega.co.nz/#!upQkWCpA!BCvvsQR6Ee1gfmzAAGCeIMmFek2AaM0r_9HGWVNw8tM
Get adb+drivers from here: https://mega.co.nz/#!upQkWCpA!BCvvsQR6Ee1gfmzAAGCeIMmFek2AaM0r_9HGWVNw8tM
Z3 Official Drivers from here: https://mega.co.nz/#!v8JkkZAQ!w9ERWMs0L1UmWf_N3oCT4JgFdfU9NUFT7Wjv7D_bBh0
First of all you need to gain root privileges:
Download stock firmware (FTP format) https://mega.co.nz/#!D5ZXmJKZ!XWD6dae-NwKECGctrFsetFlODcf6EQMMYf22fCPHo2g​Download FlashTool (To flash FTF format) https://mega.co.nz/#!D5ZXmJKZ!XWD6dae-NwKECGctrFsetFlODcf6EQMMYf22fCPHo2g​Download GiefRoot and unpack it https://mega.co.nz/#!yxQFQbzK!KeA0u1i6KwKetj1aAaSLUZ_qiih1N0uox0GGes700J8​Flash the stock firmware using flashtool, click on the bolt, select the FTF file downloaded previously and follow instructions​Note: The screen says press back+plug USB. It is not back button but VOL+ Button​
Now skip configuration process, you will loose it all so it is not necessary but nothing happens if you want to waste your time.​Once skipped go to Settings > About Phone and tap 7 times on Build number to enable developer options.​Under developer options enable Usb Debugging and Mock Locations​Now, in settings enable unknown sources and disable verify apps ​Put your phone in Airplane Mode​Connect your phone to the computer and open the install.bat inside the folder of GiefRoot​Note: Probably a pop-up will show in your phone asking to allow USB debug, check the "Always allow..." and press OK​Now follow instructions on the CMD screen​Note: It will probably fail the first time, just start again from install.bat point​
Now let's install a recovery (it wont be the final recovery because this is changed by installing roms, we will stick on FOTA one. A few steps below.
Download ES File Explorer: https://mega.co.nz/#!j0xxESqT!k1VHSKi86lBgdh8NPbxmb3Q9FKFWDup7gAt-_uWkWCU​Download ZU Recovery: https://mega.co.nz/#!Ll4UVLTS!A8w4NeleaxjXBLQdUbZLtzGZRpPefX71rp27aCNV_mk​Enable root and mount system r/w.​Extract the ZU Recovery and open install.bat​Choose option 1 and follow instructions.​Note: You will have a new App named NDR Utils, use it to reboot the phone.​
Let's backup DRM keys:
Download TA-Backup: https://mega.co.nz/#!v0wgDCRR!xJBrmo1FfdvQQcFzK6ZO4dEfUi1YLaNGEl8XMaKu18s​Extract TA Backup​Run Backup.bat​Keep the file generated well saved.​
Now, we will unlock bootloader:
I won't explain this point, I will recommed you follow this guide from the Official Sony's web: http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ it is very clear and includes all checks needed.
Now let's install a custom ROM to proceed to FOTA recovery:
Download PacMan custom ROM from here: http://forum.xda-developers.com/z3/development/rom-pac-rom-lp-mr1-beta-1-t3099454​Flash it as usual​Let it boot and proceed to next step​
Now let's install the FOTA recovery:
Download FOTA recovery image: https://mega.co.nz/#!38xxBZZJ!2jwbChc-XFlilltodA7R0VQzQTnbf8EPbUokR38C4Yg​Once the ROM has booted put your phone in fastboot mode:​
Code:
adb reboot fastboot
Or turn it down, hold vol+ and plug the USB.​Then flash the FOTA recovery:​
Code:
fastboot flash recovery <downloaded.img>
Then reboot your phone:​
Code:
fastboot reboot
Now we can proceed to install PacMan ROM again (in case you lost it while flashing FOTA):
Download PacMan custom ROM from here: http://forum.xda-developers.com/z3/development/rom-pac-rom-lp-mr1-beta-1-t3099454
You can use this kernel along this ROM too:
http://forum.xda-developers.com/z3/orig-development/kernel-m5-kernel-t3045319
Get the permissive version in order to allow xposed to run.
xposed: I am testing it right now, I will explain it as soon as I see it is stable.
In your guide you use 'TFT' instead if the correct term of 'FTF'
They are FlashTool Files, hence the FTF
gregbradley said:
In your guide you use 'TFT' instead if the correct term of 'FTF'
They are FlashTool Files, hence the FTF
Click to expand...
Click to collapse
Thank you for the correction. Appreciate it.
im on D6653 and i tried using the root method.... after rebooting, my phone has alot of errors and the home screen is not working. there is nothing on the screen apart from the wallpaper and the 3 soft buttons at the bottom. i can't go to setting. what should i do?
togcbu said:
im on D6653 and i tried using the root method.... after rebooting, my phone has alot of errors and the home screen is not working. there is nothing on the screen apart from the wallpaper and the 3 soft buttons at the bottom. i can't go to setting. what should i do?
Click to expand...
Click to collapse
Flash the stock again and be carefull not not to flash D6603 firmware to D6653.

[GUIDE] Sony Xperia Z5 - UNLOCK / ROOT / TWEAKS - OS 5.1.1 / 6.0

[GUIDE] Sony Xperia Z5
DISCONTINUED - SEE NEWS !
Last update: 20.06.2016​
This guide will help you to root your phone, install new firmwares, unlock your bootloader and much more. Its splitted into 3 sections: StockRom, CustomROM and Tweaks so you should find things easily. I think if you understood this guide you can easily flash different firmwares, kernels and so on. And now - have fun
NEWS
I have to much work to do at the moment to continue this guide. But, the main work is done, now its all about updating the links. If there is something remarkable new, I will add it to my guide.
20.06.2016
- updated links
- minor changes
23.04.2016
- updated download links
- added custom rom (CyanogenMod13)
- some small changes
09.04.2016
- I'm very busy at the moment (exams and hard work). So I cant help you guys that much and cant try new kernels and that kind of stuff Plese ask @gm007 or @zacharias.maladroit if you have problems. I will come back as fast as I can
- updated download links
28.03.2016
- updated download links
12.03.2016
- Android 6.0 compatibility check
- updated download links
- graphical revision
14.02.2016
- updated guide to make it more understandable
QUESTION & ANSWER
Which devices are supported by this guide?
- Sony Xperia Z5
- Model number: E6653 / E6603 (for other models use different kernel)
- OS version: Stock Xperia Android 5.1.1 / 6.0
Whats important to know before I start?
- I´m NOT responsible for any damage.
- Keep in mind that unlocking the bootloader can void your warrenty.
- Save your data, all settings and files will be deleted during this process.
- READ THE ENTIRE GUIDE FIRST!
[GUIDE] GENERAL
FASTBOOT
1) POWER OFF phone
2) Hold VOLUME UP
3) Connect to PC via USB
4) LED turns blue
FLASHMODE
1) POWER OFF phone.
2) Hold VOLUME DOWN
3) Connect to PC via USB
4) LED turns green
RECOVERY
a) You can enter TWRP while booting. If the LED turns yellow, hold VOLUME DOWN till it gets orange.
b) Use this command in Minimalistic ADB and FASTBOOT to reboot to recovery:
Code:
adb reboot recovery
BOOTLOOP / EMERGENCY POWER OFF
1) Hold POWER OFF and VOLUME UP
2) Device vibrates 3 times
DEVELOPER MODE AND UNNOWN SOURCES]
1) settings -> about phone -> touch build number several times
2) settings -> developer options -> enable USB debugging
3) settings -> security -> enable Unknown sources
PC PERMISSIONS
1) Run Minimalistic ADB and FASTBOOT and FLASHTOOL with admin permissions.
2) Use USB 2.0 ports, sometimes 3.0 ports doesnt work.
[GUIDE] StockROM
# BUGS / ISSUES
E6653_32.1.A.1.163
- camera apps (AR Effect,...) do force close
- filesystem (external SD card) does not refresh automatically, so you cant transfer files you copied to sd card via MTP to PC. Solved via restart. --> also on STOCK ROM
# DIRECT DOWNLOAD LINKS
E6653
Kernel
Z5_AndroPlusKernel_Permissive_v30 (for firmware .163 and .185)
Z5_AndroPlusKernel_Permissive_v31 (for firmware .224)
Recovery
twrp-3.0.2-0-E6653-20160417.img
SuperSu
SuperSU (beta but stable)
# DOWNLOAD LINKS
Windows programs
Sony PC Companion
Minimal ADB and Fastboot
Flashtool + patch file
µTorrent (for downloading Flashtool)
Android
AndoPlusKernel
TWRP
# GUIDE
BOOTLOADER STATUS
The bootloader loads the kernel. If unlock isnt allowed, the bootloader will prevent loading a custom kernel.
1) type *#*#7378423#*#* into dialer / phone app
2) service info --> configuration --> rooting status
3) if bootloader unlock allowed says YES, you can continue. If bootloader unlock isnt allowed you CAN NOT root your phone.
INSTALLING PROGRAMS
Flashtool
1) install µTorrent
2) download torrent file from Flashtool website
3) run downloaded torrent file via µTorrent
4) download Flashtool via µTorrent
! You can close and or delete µTorrent now, you will not need it anymore
5) install Flastool
6) open install directory from flashtool and replace x10flasher.jar with new patch
OTHER
1) install all other programs
INSTALL / CHECK DRIVERS
Windows 7 and lower
1) open Flashtool install directory
2) open driver folder
3) run Flashtool-drivers.exe
4) install Flashmode and Fastboot drivers
Windows 8 and higher
1) restart computer with digital driver signature disabled (you have to do this every time you restart your pc)
http://www.howtogeek.com/167723/how...8.1-so-that-you-can-install-unsigned-drivers/
2) open Flashtool install directory
2) open driver folder
3) run Flashtool-drivers.exe
4) install Flashmode and Fastboot drivers
! There are no Z5 drivers yet, that’s why you need Sonys PC Companion!
! Flashtool drivers were updated, try the new Z5 drivers before installing Sony PC Companion.
Sony PC Companion
1) run Sony PC Companion
2) connect your Xperia Smartphone
3) wait till it has been detected
4) close Sony PC Companion, you dont need it anymore
ADB driver check
1) enable Developer options and Unknown sources
2) run Minimal ADB and Fastboot
3) type
Code:
adb devices
4) allow dialog on your phone
5) check if your device is shown in command window
fastboot driver check
1) run Minimal ADB and Fastboot
2 put device in FASTBOOT mode
3) type
Code:
fastboot devices
in Minimal ADB and Fastboot
4) check if your device is shown in command window
! When connecting phone in flashmode or fastboot additional drivers will be installed automatically.
! Installing drivers twice can solve problems.
UNLOCK BOOTLOADER
1) open Flashtool
2) click on BLU (Bootloader Unlock)
3) follow the instructions shown by Flashtool
4) you will be forwarded to a Sony website
5) follow the instructions there
6) at the end you will receive a key
7) save this key carefully!
8) enable Enable OEM unlock in developer options
9) copy KEY into Flashtool prompt and click unlock
! You can try to use Flashtool for unlocking first, or continue with step 10.
10) open Minimal ADB and Fastboot
11) your phone has to be in Fastboot mode
12) check if your phone is shown by
Code:
fastboot devices
13) enter the following code:
Code:
fastboot –i 0x0fce oem unlock 0xKEY_FROM_SONY
14) reboot (that can take a long time, so dont worry)
DOWNLOAD XPERIA FIRMWARE - OPTIONAL
If you want to update, upgrade or reset your ROM.
1) open Flashtool
2) click on XperiFirm
3) downloading…..
4) in XperiFirm select your device then choose your preferred firmware (e.g. Z5 --> E6653 ---> Customized DE --> 32.0.A.6.200 R12B)
5) in the right column double click the latest firmware and start download
6) Unpack automatically has to be checked
7) after downloading close download window and XperiFirm
8) now Flashtool should start doing things
! You can identify your phone model by: Settings -->About phone--> Diagnostics
FLASH NEW FIRMWARE - OPTIONAL
If you want to update, upgrade or reset your ROM.
1) in Flashtool click on Flash device and choose your firmware
2) under "Wipe", check all (APPS_LOG, DIAG, SSD, USERDATA)
3) click flash and follow the instructions
4) after successful installation reboot phone (that can take a long time, so dont worry)
! You can flash a new ROM without unlocking your bootloader.
FLASH KERNEL
The kernel has direct control of the hardware.
1) download latest Kernel from download section (AndroPlusKernel is only for E6653 models)
2) extract ZIP
3) put boot.img from zip into your root directory from Minimal ADB and Fastboot
4) put phone into fastboot mode
5) run Minimal ADB and Fastboot and check with
Code:
fastboot devices
6) type in:
Code:
fastboot flash boot boot.img
7) restart phone and look if its working
! If you end up in a bootloop with the LED flashing 3-4 times try to flash Kernel and Recovery again. If this doesnt help, reflash firmware, kernel and recovery.
FLASH RECOVERY
The recovery is something like the boot menu you may know from windows. Its mainly used to install programs and apps.
1) download latest TWRP from download section
2) put twrp.img into your root directory from Minimal ADB and Fastboot
4) put phone into fastboot mode
5) run Minimal ADB and Fastboot and check with
Code:
fastboot devices
6) type in:
Code:
fastboot flash recovery twrp.img
! You can rename twrp image to twrp.img or something shorter if you want.
7) after the first boot - do a reboot into recovery. Otherwise the partitions won't be mounted correctly & flashing will run into trouble. It takes several seconds (or a few minutes) to reboot into recovery - but then you're good to go.
ROOT
Some apps need more permissions than normal. You can compare root with administrator rights on windows.
1) download UPDATE-SuperSU-v2.67.zip
2) copy UPDATE-SuperSU-v2.67.zip to your internal memory
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap UPDATE-SuperSU-v2.67.zip
7) "Swipe to confirm flash"
8) reboot
RESTORE DRM KEYS
Unlocking the bootloader disables a partition on your phone where software keys are saved. Without this keys xReality, BIONZ, audio processing arent available. This program will restore this features.
! Take a look if xReality is already working before installing DRM keys.
1) download DRM RESTORE (drmrestore.zip) from download section
2) copy drmrestore.zip to your external sd card
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap drmrestore.zip
7) "Swipe to confirm flash"
8) reboot
! Unfortunately, there is no way to save the original TA partition at the moment.
[GUIDE] CustomROM
# CyanogenMod 13_Alpha for E6653 and E6603
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase
performance and reliability over stock Android for your device.
### XDA Z5_CyanogenMod 13 Link ###
# AromaROM with Installer for Z5 E6853 / E6883 / E6653
AROMA is a custom ROM with nice tweaks, but it has some serious bugs. I used it for 2 month and there are several issues: random reboot, screen turn off during calling and does not turn on again, problems with notification bar, ... .
### XDA ROMAur Link ###
1) install stock lollipop rom
3) for E68xx models install recovery and kernel for your device
4) For E66xx models install twrp-2.8.7.0-E6653-20151130_material.img and kernel for your device
5) copy ROMAur to your external sd card
6) enter recovery
7) make a full wipe (Wipe --> Factory reset)
8) install ROMAur
9) Reboot
[TWEAKS]
XPOSED
ONLY FOR 5.1.1: When you want to install Xposed you have to deodex your system or install an already deodexes ROM. Without this procedure the camera and other apps wont work. Use this guide to solve this: http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
XDA Thread: http://forum.xda-developers.com/showthread.php?t=3034811
1) download xposed-v85-sdk23-arm64.zip and XposedInstaller_3.0_alpha4.apk [Android 6.0 versions]
2) copy xposed-v79-sdk23-arm64.zip and XposedInstaller_3.0_alpha4.apk to your internal memory
3) enter TWRP
4) click Install
5) navigate through folder structure
6) tap xposed-v79-sdk23-arm64.zip
7) "Swipe to confirm flash"
8) reboot
9) install XposedInstaller_3.0_alpha4.apk
10) reboot
useful Xposed Moduless
APM+
Xperia / AOSP NavBar Buttons
OGYoutube + OGYoutube Xposed Login Fix
Flat Style Colored Bars
DISABLE SmallApps
SmallApps is that little bar in the overview screen.
1) power on phone
2) unlock your phone (open homescreen)
3) open Minimal ADB and Fastboot
4) type:
Code:
adb shell
pm hide com.sony.smallapp.launcher
pm hide com.sony.smallapp.app.widget
exit
5) after this, type:
Code:
adb reboot
! If you know what youre doing, you can simply delete all the SmallApp stuff via ROOT Uninstaller.
Thanks for quite a nice guide.
I have done rooting on various devices but this seems to be most complicated ever. [emoji14]
Sent from my E6683 using Tapatalk
It has been before this guide. Basically what I did was unlocking the bootloader, booting recovery, flashing kernel, flashing root, wipe, restore DRM fake, done.
Firmware wasn't necessary for me and I've made bad experiences with alternate firmwares / radios and so on in the past.
Hi. Do I have to backup my TA partition ?
there no way to backup your TA partition hopefully for now.
How to increase volume of both speakers
I have rooted z5 but don't know how to edit mixer path.xml
Siudzix said:
Hi. Do I have to backup my TA partition ?
Click to expand...
Click to collapse
Actually there is no need for it, imho. The fake DRM keys are doing a really good job. X-reality back, after picture processing back. It's also currently not possible to backup them afaik.
DeathStroke said:
Thanks for quite a nice guide.
I have done rooting on various devices but this seems to be most complicated ever. [emoji14]
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
Mate I see you have Z5 E6683 which is dual sim. Were you able to get your phone rooted using this guide?
Many thanks.
I have XPERIA Z5 Dual Sim (E6633) - will this guide work ?
Siudzix said:
I have XPERIA Z5 Dual Sim (E6633) - will this guide work ?
Click to expand...
Click to collapse
Yes and no. You need a different kernel and mybe recovery. Everything else is the same. I will include a link in my guide if I find a working kernel.
Rooting Z5
Hi all,
Shall i root the phone without unlocking the Bootloader.I dont want to Unlock the bootloader.So please advise me is this root method is work on Locked Bootloader.
Thanks in advance
ramprasaathks said:
Hi all,
Shall i root the phone without unlocking the Bootloader.I dont want to Unlock the bootloader.So please advise me is this root method is work on Locked Bootloader.
Thanks in advance
Click to expand...
Click to collapse
For now, you have to unlock your bootloader to gain root access. There is no other method at the moment. So in conclusion: locked bootloader = no root.
how i root z5 dual 6683
parteek.dandyan said:
how i root z5 dual 6683
Click to expand...
Click to collapse
Follow the guide and do it. Its written there.
Sent from my E6683 using Tapatalk
DeathStroke said:
Follow the guide and do it. Its written there.
Sent from my E6683 using Tapatalk
Click to expand...
Click to collapse
Dont blame him. I added this guide for E6683 today. I cant try it myself because I have no E6683, but I hope it will work
alphatact1cs said:
Dont blame him. I added this guide for E6683 today. I cant try it myself because I have no E6683, but I hope it will work
Click to expand...
Click to collapse
I was not blaming, I didn't know that you updated today. Would be great in future if you do any update, add the date and following update.
Thank you.
One thing I noticed while reading your guide was TWRP is not for E6683. Will there be any problem? I haven't yet tried your guide because I was in doubt.
Sent from my E6683 using Tapatalk
DeathStroke said:
One thing I noticed while reading your guide was TWRP is not for E6683. Will there be any problem? I haven't yet tried your guide because I was in doubt.
Click to expand...
Click to collapse
The new Kernel from monx includes TWRP, so you dont need to flash Recovery...normally. I know that my guide works, but only for E6653. I included a link for E6683, but I also wrote that I cant try it because I havent a Z5 E6683. Anyway, TWRP for E6653 should work for E6683 devices. The main difference is the Kernel.
Guys, what about E6633 ? Is it really bad ?
Siudzix said:
Guys, what about E6633 ? Is it really bad ?
Click to expand...
Click to collapse
You can try it at your own risk. Someone said that it will work, but I would be careful.
pesonic said:
Should this be working on E6633 too?
Click to expand...
Click to collapse
arismelachrinos said:
+1
Click to expand...
Click to collapse
@alphatact1cs are you open to suggestions??
we are currently trying to unify devices index here at xda..
would you like to follow what our fellow brother @kuzibri and @sd_shadow has implemented?
http://forum.xda-developers.com/general/about-xda/public-index-program-project-t3147245

[GUIDE] Fix bricked ZE550ML/ZE551ML (USB logo) and install Marshmallow

EDIT3 15/08/2018 - Some links broke. I found a better way to get the files: go to this thread (RAW firmware collection) by RealYoti here : https://forum.xda-developers.com/zenfone2/general/z008-z00a-z00d-z00x-raw-fw-collection-t3448966
All the files are here and they will never expire
In case of problem I still have the files on my computer, maybe one day I will upload them myself on my web server
EDIT2 07/06/2017 - I updated links. + INFO: My ZE550ML phone bricked again, but this time with no USB logo and no vibration at boot. The only tutorial that worked for me is the one from Tech YouTubers channel (click to go to their YouTube channel). Please check their tutorials, in case they made a new one. Try multiple tutorials, for me only an older one worked: this one! (during the video tutorial, I was somehow blocked after flashing img files: black screen. But, I managed to run my own guide again, and this time it worked! The video says to flash ZE551ML xFSTK file on ZE550ML device, and flash ZE550ML xFSTK file on ZE551ML device. It allowed me to boot my device on fastboot but it prevented me to boot Android after flashing the correct ZE550ML img, so I had to flash, normally without reversing files, xFSTK ZE550ML config on my ZE550ML to make it work, then use my guide. good luck You can also try directly my "standard" tutorial below, or trying it after trying the Tech YouTuber's one, hoping finally you'll unbrick your device
EDIT 03/09/2016: Updated RAW links, taken from amtech.vn. and new ZIP files from ASUS.com
Hello, just after solving my problem I wrote a guide of everything I did to unbrick my ZenFone 2 ZE550ML (bricked after installing OTA update for Marshmallow Beta).
This is a "duplicate" of my last post on this thread : http://forum.xda-developers.com/showthread.php?t=3405331
because I want to help people who are trying to unbrick their ZenFone 2 ZE550ML or ZE551ML
Here is a detailed guide of everything I did to unbrick a Marshmallow ZE550ML stuck on USB logo with lost bootloader without losing any data or setting, everything like before bricking in my case (except settings of some non-system apps, can't figure out why) :
(Note: I recommend you to charge your ZenFone for a few hours as soon as you'll get fastboot menu at step 1, so it will not shutdown... Even if it's not turning on the orange LED, it's charging )
(WARNING : these are the steps I had to do in order to unbrick MY phone without losing data and installing Marshmallow. For your phone some steps might be unnecessary, if you're lucky... I know this is a very long guide but I had to do this in MY case)
(The whole guide is a "modified" version of this guide by Summit007s)
Step 1. Flash basic bootloader with xFSTK Downloader to boot fastboot
I had, first, to switch to advanced startup with support for unsigned drivers (video tutorial here),
install Asus USB drivers (link to Asus USB drivers here - note: video tutorial to install drivers from inf (the inf file for the driver is Android\android_winusb.inf) (repeat for every device available : ADB Interface, Bootloader Interface, etc...) )
and IntelSocUSB driver (link to IntelSocUSB driver 1.2.0 - Note: Before finishing IntelSocUSB setup it will ask you to configure a device : you'll have to connect your ZenFone 2 using an USB cable to your computer, while it's displaying USB logo, and WAIT FOR DETECTION IN Device Manager as "Moorefield device" under "Intel Soc" section),
to flash a fastboot bootloader (link to xFSTK_ZE550ML-sal358-amtech.vn for ZE550ML / link to xFSTK_ZE551ML-sal358-amtech.vn for ZE551ML) using xFSTK Downloader (link to xFSTK Downloader 1.7.0)
(guides for everything in this step 1: english version - same in vietnamese with screenshots and valid links - detailed PDF for xFSTK with screenshots). => phone boots on fastboot
Step 2. Flash a lollipop ROM (or Marshmallow raw image from the raw fw collection but I did not test it) with Asus Flash Tool to repair fastboot info (like serial number) and access recovery if you want to install Marshmallow from a zip
In order to get a working recovery menu (because I found a zip for Marshmallow but no raw, I'll have to install a recovery),
I had to install Asus Flash Tool (NEW link to Asus Flash Tool 1.0.0.45),
UPDATE Some links broke so I suggest you to download the raw firmware from this thread: https://forum.xda-developers.com/zenfone2/general/z008-z00a-z00d-z00x-raw-fw-collection-t3448966, there are Marshmallow raw firmware so you can skip step 3. I havent tried myself for now.
flash a raw file (go download it from the raw collection) on ZenFone 2 ZE550ML using Asus Flash Tool (Model: ZE550ML - wipe data : no)
OR FOR A ZE551ML flash a raw file (NEW link to WW_ZE551ML_2.20.40.184_20160504.raw) on ZenFone 2 ZE551ML using Asus Flash Tool (Model: ZE551ML - wipe data : no)
(guides for everything in this step 2: english version - same in vietnamese with screenshots and valid links)
BUT because Asus Flash Tool will wipe everything except user data and change your serial number from 0123456789ABCDEF to your legit serial number, flashing will NOT work and process will be ENDLESS because serial number has changed so phone is not found and you're not warned of that by Asus Flash Tool.
After 20 minutes of "OKAY" status displayed in green text on your phone, after 20 minutes of "a500cgfastboot.exe" running in task manager,
I think you can safely unplug USB cable, abort Asus Flash Tool by closing this software, killing "a500cgfastboot.exe",
don't restart the phone, just plug it back to your computer and reopen ASUS FLASH TOOL (notice serial number change in ASUS FLASH TOOL) and flash again with same settings but the new serial number (different from 0123456789ABCDEF).
This flash should work, after an hour or less you'll see in Asus Flash Tool that it's finished.
If it did not work, then you can reboot the phone and try again
Step 3. Flash Marshmallow zip with adb sideload, if you didn't installed it with a raw at step 2
Finally, you'll have to shut down your phone,
boot in recovery mode (guide is here),
connect it to computer, select "apply update from adb",
install adb (link to ADB Installer 1.4.3 - Note: install it system-wide but don't install Android USB drivers) on your computer,
download zip OTA for Marshmallow (NEWEST official link to UL-Z008-WW-4.21.40.191-user.zip for ZE550ML / NEWEST official link to UL-Z00A-WW-4.21.40.223-user.zip for ZE551ML),
open a command prompt in the folder where you downloaded files (using "File > Open command prompt > Open command prompt" in the Windows Explorer's ribbon), then type :
Code:
adb devices
to verify that your phone is detected (you should see your serial number in cmd),
then type the following command to flash Marshmallow stock (zip is NOT pre-rooted if you want to root you'll have to do it after) :
ZE550ML
Code:
adb sideload UL-Z008-WW-4.21.40.191-user.zip
ZE551ML
Code:
adb sideload UL-Z00A-WW-4.21.40.223-user.zip
It may take a while decompressing then sending to phone. Then select "wipe cache partition" in your recovery menu,
wait until you see again the menu (so, wait until end of wiping cache), and select "reboot").
If you want more details for each step, just ask in the comments! Don't forget to read the other guides linked in the steps (for example, the one for xFSTK)
Now pray, and your device SHOULD magically boot the latest beautiful stock Marshmallow ROM from Asus, with all your data (except, maybe, settings of some non-system apps), exactly like before you bricked it.
It worked for me, but with the right new files it should work perfectly for you...
I hope you'll appreciate this "googling" work
Thank you
Thank you for sharing this information dude.. This is a helpful one.. It will surely be of greater use soon..
Thanks man u saved my zenfone 2 ze550ml. I tried various tutorial and videos but things didnt work as old files for z008 didnt work. You got the right files and steps. Cheers and keep up the good work
Hopefully this puts an end to all new unbricking threads *thumbs up*
password doesnt work for the flash tool anymore?
if u face error in ASUS FLASH TOOL
faced error in ASUS FLASH TOOL.
so i followed this guide after step 1 of this post: http://forum.xda-developers.com/zenfone2/help/thead-bricked-phone-updating-to-mm-tips-t3452785
then phone rebooted normally with a running OS. then i flashed last official lollipop zip from asus website by copying it to phone root directory. After that i flashed again the latest official Android 6 zip from ASUS same way.
everything working fine now. thanks
quarterbreed said:
password doesnt work for the flash tool anymore?
Click to expand...
Click to collapse
Hello,
I just tried it again and I can confirm that www.asus-zenfone.com is the right password for the archive, as seen on the original website :
http://www.asus-zenfone.com/2015/12/download-asus-flashtool-10014-for-windows.html
Download the RAR on your computer and open it : your archive opener software will ask you for the password only if you want to extract file. You can still see the list of file without password
Currently stuck at the end of step 1. :crying: any recommendations? Uploaded a picture of where xFSTK says as an error.
deathmaker06 said:
Currently stuck at the end of step 1. :crying: any recommendations? Uploaded a picture of where xFSTK says as an error.
Click to expand...
Click to collapse
Hello,
Your phone is still not booting on fastboot? Make sure you set settings in xFSTK Downloaded (GP Flag override, see the pdf) and try again. Good luck
fanfan54 said:
Hello,
Your phone is still not booting on fastboot? Make sure you set settings in xFSTK Downloaded (GP Flag override, see the pdf) and try again. Good luck
Click to expand...
Click to collapse
Nope its still not, and I've already set the GP Flag override stated in the pdf.
Good thing I was planning on upgrading to the V20 soon.
deathmaker06 said:
Nope its still not, and I've already set the GP Flag override stated in the pdf.
Click to expand...
Click to collapse
Try > 0x80000807 < (4x0`s)gp over ride in box ending [CRC]
timbernot said:
Try > 0x80000807 < (4x0`s)gp over ride in box ending [CRC]
Click to expand...
Click to collapse
omfg I love you
That means the PDF could be wrong using five 0's. Might want to add that as an edit to step 1 for anyone else that may experience the samething.
deathmaker06 said:
omfg I love you
That means the PDF could be wrong using five 0's. Might want to add that as an edit to step 1 for anyone else that may experience the samething.
Click to expand...
Click to collapse
Theres vid tutorial in my signature thats shows this and also how to restore serial :good:
THANK YOU !
You can find the solution HERE :
http:// forum.xda-developers.com/zenfone2/general/guide-fix-bricked-ze550ml-ze551ml-usb-t3405840
http:// forum.xda-developers.com/zenfone2/general/unbrick-vid-tutorial-restore-serial-t3411064
http:// forum.xda-developers.com/zenfone2/general/guide-brick-soft-hard-bricked-zenfone-2-t3284256
BUT because Asus Flash Tool will wipe everything except user data and change your serial number from 0123456789ABCDEF to your legit serial number, flashing will NOT work and process will be ENDLESS because serial number has changed so phone is not found and you're not warned of that by Asus Flash Tool.
After 20 minutes of "OKAY" status displayed in green text on your phone, after 20 minutes of "a500cgfastboot.exe" running in task manager,
I think you can safely unplug USB cable, abort Asus Flash Tool by closing this software, killing "a500cgfastboot.exe",
rebooting phone (notice serial number change in fastboot info on phone's screen) and flash again with same settings but the new serial number (different of 0123456789ABCDEF).
This flash should work, after an hour or less you'll see in Asus Flash Tool that it's finished.
Click to expand...
Click to collapse
What is worked for me :
1°) Using XFSTK > -- Do not hesitate to use another computer OR Reinstall only XFSTK (Change the Folder too) if you are "ATTEMPTING #20" / "errors encountered during download. aborting" / "firmware download completed. continuing to os" --- i had these msg then i shutdown the phone an plug it to his power for all the night then it worked at first try
Then you are on "Weird Flag" then BOOTLOADER with "123456789ABCD"
2°) Use Asus FlashTool with the RAW File (WIPE : NO)> DO NOT REBOOT THE PHONE After it says "RESULT : OKAY" on the Phone
-Close Asus FlashTools only (do not close the task - VIDEO : https:// bambuser.com/v/6355633)
-Relaunch Asus FlashTools
-UNPLUG the USB Cable then Plug it back directly
-Wait 10 sec -> You will have your serial number on Asus FlashTools
>>> Reuse your RAW File with Wipe Yes then it Works
I even use ADB Sideload to upgrade to MM
Thanks A LOT for bringing back to life my ZENFONE 2
-
Anyone have the RAW image for Marshmallow yet? Kind of old to keep flashing Lollipop first, only to sideload later.
Good Morning. My in AFT takes only 4 minutes until " erase data" and then he already restarts . What I do to show the correct serial . Thank you
Hrllo yesterday i update to android M now i have bricked ZE 550ml. Follow this guide im on fastboot screen and when flash raw file from lolipop because i didnt find marshmalow raw phone boot. But i cant get recovery.there is android with triangle says error. Now trying asus flash tool for about 40mins and on display sometimes say erase data flash rrcovery... But nothing happens. How to get rrvive phone and have recovery back and flash marshmallow again. Please help
Odesláno z mého LG-H815 pomocí Tapatalk
Step 3. Flash Marshmallow zip with adb sideload, if you didn't installed it with a raw at step 2
Finally, you'll have to shut down your phone,
boot in recovery mode (guide is here),
connect it to computer, select "apply update from adb",
install adb (link to ADB Installer 1.4.3 - Note: install it system-wide but don't install Android USB drivers) on your computer,
download zip OTA for Marshmallow (NEW official link to UL-Z008-WW-4.21.40.112-user.zip for ZE550ML / NEW official link to UL-Z00A-WW-4.21.40.134-user.zip for ZE551ML),
open a command prompt in the folder where you downloaded files (using "File > Open command prompt > Open command prompt" in the Windows Explorer's ribbon), then type :
adb devices (null)
Click to expand...
Click to collapse
Not work in my case with this recovery: twrp-3.0.2-0-Z00A.img
Man, i am so ****ing happy.. My phone wasn't available for 2 weeks and this was a very bad experience for me. I fixed it because of you. Thank you so so so much!
Stuck in the first step!
Hello, currently my ASUS Zenfone 2 is bricked because I tried flashing the released Android Marshmallow ROM on TWRP.
After 10 minutes of flashing my device abruptly shut down and now it can't even show anything on the screen when I turn it on (phone still buzzes but not even a dead android icon is shown--just dark unlit screen).
I followed your instructions and I got stuck in step 1 when trying to install the drivers using PowerShell. I was able to install the .inf from the folders "MTP" and "tethering" but the one in "android".
May I have some assistance to the next step gentlemen?
I believe because of this my computer could only detect my phone as the "Moorefield Device" for more than a second.
Thank you,
Tom

Problems While Rooting Lenovo K50a40 (K3 Note)

Many noobs New Users are experiencing Problems rooting Lenovo K3 Note on Marshmallow Rom. So this tutorial will help them Root Lenovo k3 Note and install Custom recovery.:good::good::good:
This is not a cookbook, You need to know what are you doing. Neither I nor XDA is responsible for BRICKED Devices.
Downloads:
Boot.img
SP Flash Tool
(optional)Lenovo K3 Note Stock ROM
Recovery
ADB AND FASTBOOT
Patience
Now to Root Your phone Follow These Steps:
(OPTIONAL) Flash Your Phone with Stock Rom, To do this follow these steps :
Install All the required Drivers.
Download the LENOVO K3 NOTE FIRMWARE from Above.
Now Extract SP Flash Tool And extract FIRMWARE Folder inside it.
Now Run flash_tool.exe as Administrator.
Go to Options>Download> And check both the checkbox(s).
Now Click On Scatter-Loading and navigate to Firmware>target_bin>and select MT6752_Android_scatter.txt .
and click on DOWNLOAD.
NOW connect your Device Powered OFF to your computer and Wait Till a Box Appears Saying "Download OK".
Turn ON your Mobile and complete the initialization.
Now Download the Recovery, Extract it, and load its scatter file in the SP FLASH TOOL with the same config.
And again connect the phone Powered OFF after clicking Download Button.
When it completes. Try to Boot into recovery (by holding VOL+, VOL- and Power button simultaneously).
IF TWRP boots You are good to Go. :good::good::good:
Now Reboot into system and open Settings>DEVELOPER Options and click on USB DEBUGGING and ALLOW OEM UNLOCK.
Now Extract ADB and FASTOOT tools (and PLACE boot.img in the folder) and shift+right-click in the folder and select open command window here.
and type
Code:
adb devices
allow ADB to connect on your phone and then type
Code:
adb reboot-bootloader
Now your phone will reboot in FASTBOOT MODE type
Code:
fastboot devices
if it shows your device then type
Code:
fastboot flash boot boot.img
then type
Code:
fastboot reboot
After that switch off your Phone and boot into recovery.
Now install the SuperSU zip.
Hurray Your Phone is ROOTED.
If you Have Any Problems please Reply :crying::crying:
What's the encryption key of recovery file
Rishi.Nerd said:
What's the encryption key of recovery file
Click to expand...
Click to collapse
I have Updates the Links They should now be working fine.
Albert
Anunay.j said:
I have Updates the Links They should now be working fine.
Click to expand...
Click to collapse
..... i finish to root but my device wont start anymore
custom rom installation without rooting
I have s433 firmware android 6.0,
1. if I just want to install twrp ( without rooting), do I need to flash boot.img
2. if want to install custom ROM and still don’t want to root, do I need to flash boot.img
3. after a litte bit googling i found i need to have an unlocked bootloader and custom recovery for flashing custom rom ,
how do i unlock bootloader ( is boot.img fot that )

Emui 9 with Root Honor 8 pro ( tested by myself ...root 100% working ! ) July 2019

Hello guys , [ UPDATE ROOT for EMUI 9.1.0.210 .. at bottom ... there are some minor changes]
been reading here and there for a working root but didn't work and my worries to get phone locked / bricked / bootloop
was increasing at any failed test !
THIS method WILL WORK i tested it today and worked ! I'm gonna upload also my magisk recovery_ramdisk PATCHED (read later) so you can skip few steps !
let's start
(steps are copied by Athanatos81 post here in XDA that's basically what i applied with some minor changes )
I. Rooting your device
1. be sure ADB / fasboot are working on your pc(drivers) and smartphone - INSTALL magisk manager Magisk Manager
2. Download the patched file for your device and copy it to Minimal ADB & Fastboot folder.
( you can use my magisk recovery_ramdisk PATCHED it's created by using update.app from update.zip file of EMUI BUILD 9.0.1.175(C432E3R1P5)
that means IF you are on emui 9.0.1 with THAT BUILD NUMBER you can use it ... if you are on a different build DO NOT use it, I take no responsabilities !!!
link to magisk recovery_ramdisk PATCHED magisk recovery_ramdisk PATCHED magisk_patched_9_0_1_175.img
3. Start your smartphone in fastboot mode pressing [Vol-]+[Power] and connect it to your PC. ( you can NOT enter fastboot? read in next section)
4. Open a Powershell and check if your honor 8 pro is listed by writing :
Code:
fastboot devices
you should see something like BYJDU17803000088 fastboot
that means your phone in correctly in fastboot/connected
5. Flash the Recovery_Ramdisk:
Code:
fastboot flash recovery_ramdisk magisk_patched.img
(in this case MY ALREADY MADE magisk recovery_ramdisk patched is named like that IF you choose a different name that CHANGE it also in the command)
when the process is complete (you'll get something like this
OKAY [ 0.184s]
finished. total time: 0.879s)
you need to REBOOT follow these next steps as i describe them or it won't work :
6. from your pc command window write
Code:
fastboot reboot
as soon as phone reboot
- remove usb cable
- PRESS and HOLD DOWN " volume up " VOL+ , keep it pressed until you see HONOR text (blue screen)
doing this will INSTALL MAGISK
7. your phone boot regularly(hopefully) now open Magisk Manager
you will see MAGISK 19.x.x.
and MAGISK 7.3.2
click on INSTALL (magisk 19.3) --- INSTALL ---- DIRECT INSTALL
when it's done it'll ask you to reboot , click reboot
phone is rooted !!!!!
i hope it helps for any references have a look at these pages which helped me :
root emui 9
magisk download
Magisk info
ROOT EMUI 9.1.0.210
first of all thank you to @OldDroid and @Athanatos81 for support ...
DOWNLOAD my patched magisk: PATCHED Magisk recovery 9.1.0.210
I'll descrive here the process how to update and root from 9.0.1.175 to 9.1.0.210
in my case i was on emui 9.0.1.175 rooted and i couldn't enter recovery or fastboot or simply update through system update !
so before starting it go in system settings -> update and DOWNLOAD your update
when you end your download don't restart and update BUT enter in fastboot:
to enter fastboot i had to restart honor 8 pro (while connected to usb)
and keep pressing VOL DOWN
now in fastboot you'll do following steps
(to install official update YOU FIRST NEED to install stock recovery so in this case 9.0.1.175 stock recovery .. while if you just need root on your actual rom you can just use the patched magisk recovery)
check if your smartphone is seen
fastboot devices
now
fastboot flash recovery_ramdisk magisk_patched_9_1_0_210.img ( in this case is the one i already patched for you )
fastboot reboot
let system start and than use ADB
adb reboot recovery
system will restart now open magisk manager
INSTALL MAGISK( in my case v20.1 )
INSTALL direct
reboot when asked
congratulations your Emui 9.1 is rooted !!!
Work with 9.1 ?
probably... I still didn't uodst though (going soon in holidays I don't wanna mess up with it lol)
Kyouck said:
Work with 9.1 ?
Click to expand...
Click to collapse
Sent from my DUK-L09 using Tapatalk
Kyouck said:
Work with 9.1 ?
Click to expand...
Click to collapse
IT WORKS !!!!!!!!! just tried it ! there are some minor changes .. i'm gonna explain what to do
IF you have problem with ADAWAY ( not enough space or something similar )
OPEN MAGISK manager
SETTINGS
click over SYSTEMLESS HOSTS
and now reboot
open again Adaway and it'll be working
IF YOU HAVE PROBLEMS with SMS app crashing ( you can't receive/send sms ) follow this and it'll work again
https://forum.xda-developers.com/mate-10/how-to/fix-messages-dialer-9-1-root-required-t3955964#post80777289
just another important update :
if you have got (probably you did "system settings update") read this:
I've got that "system update settings" on my honor 8 Pro and guess what? I've lost magisk root... so I need to do procedure again.. unbelievable but that is it! I found out cause I started to see annoying advertising and I checked adaway and "no root"
Sent from my DUK-L09 using Tapatalk
simika said:
IT WORKS !!!!!!!!! just tried it ! there are some minor changes .. i'm gonna explain what to do
Click to expand...
Click to collapse
Code: fastbood devices is not work in my phone. im not can start fastboot mode
StaBar said:
Code: fastbood devices is not work in my phone. im not can start fastboot mode
Click to expand...
Click to collapse
connect the phone to pc, keep "vol-" pressed directly after pressing restart on the phone, it should enter fastboot now.
I had same problem.. doing that it'll enter fastboot
Sent from my DUK-L09 using Tapatalk
I need the patched files
I need the patched magisk files guys please the links provided on top aren't working
Hello this will work without unlocking bootloader? Also the links above are not working. I am on 9.1.0.212, can I use your 9.1.0.210 patch file? Thanks.
I'm on 9.1.0.212.. Please tell me how to root this.. Plzzz
Updated magisk_patched_9_1_0_210.img - Magisk v20.4 included , added also the original RECOVERY_RAMDISK extracted from 9.1.0.210.
magisk_patched_9_1_0_210.img md5sum = fa2b59807eac66e128653eaebc433aa3
RECOVERY_RAMDISK_9_1_0_210.img md5sum = c62ac7fdc55cb535d1b627b8f17f1842
Will the steps for flashing be same as given in OP?
Thanks...
panijsr said:
Will the steps for flashing be same as given in OP?
Thanks...
Click to expand...
Click to collapse
yes and take the latest magisk manager from the official magisk page
nanortemis said:
Updated magisk_patched_9_1_0_210.img - Magisk v20.4 included , added also the original RECOVERY_RAMDISK extracted from 9.1.0.210.
magisk_patched_9_1_0_210.img md5sum = fa2b59807eac66e128653eaebc433aa3
RECOVERY_RAMDISK_9_1_0_210.img md5sum = c62ac7fdc55cb535d1b627b8f17f1842
Click to expand...
Click to collapse
Bro which file to flash from this two.. actually I flashed magisk patched file and it worked fine with magisk installed but then I tried custom rom and it didn't work so flashed stock rom again and lost root access so I did same step but this time magisk isn't installing and not giving root access.. idk what's wrong can you please help?
Please help me root this version
RECOVERY_RAMDISK_9_1_0_230.img & magisk_patched_9_1_0_230.img ?? Where can be found ?
gazon9 said:
Please help me root this version
RECOVERY_RAMDISK_9_1_0_230.img & magisk_patched_9_1_0_230.img ?? Where can be found ?
Click to expand...
Click to collapse
Honor V9 Guides, News, & Discussion
Use this forum to find the best how-to guides for the Honor V9 and discover the latest news. General discussion also goes here.
forum.xda-developers.com
your screenshot shows honor v9 not honor 8 pro
simika said:
Hello guys , [ UPDATE ROOT for EMUI 9.1.0.210 .. at bottom ... there are some minor changes]
been reading here and there for a working root but didn't work and my worries to get phone locked / bricked / bootloop
was increasing at any failed test !
THIS method WILL WORK i tested it today and worked ! I'm gonna upload also my magisk recovery_ramdisk PATCHED (read later) so you can skip few steps !
let's start
(steps are copied by Athanatos81 post here in XDA that's basically what i applied with some minor changes )
I. Rooting your device
1. be sure ADB / fasboot are working on your pc(drivers) and smartphone - INSTALL magisk manager Magisk Manager
2. Download the patched file for your device and copy it to Minimal ADB & Fastboot folder.
( you can use my magisk recovery_ramdisk PATCHED it's created by using update.app from update.zip file of EMUI BUILD 9.0.1.175(C432E3R1P5)
that means IF you are on emui 9.0.1 with THAT BUILD NUMBER you can use it ... if you are on a different build DO NOT use it, I take no responsabilities !!!
link to magisk recovery_ramdisk PATCHED magisk recovery_ramdisk PATCHED magisk_patched_9_0_1_175.img
3. Start your smartphone in fastboot mode pressing [Vol-]+[Power] and connect it to your PC. ( you can NOT enter fastboot? read in next section)
4. Open a Powershell and check if your honor 8 pro is listed by writing :
Code:
fastboot devices
you should see something like BYJDU17803000088 fastboot
that means your phone in correctly in fastboot/connected
5. Flash the Recovery_Ramdisk:
Code:
fastboot flash recovery_ramdisk magisk_patched.img
(in this case MY ALREADY MADE magisk recovery_ramdisk patched is named like that IF you choose a different name that CHANGE it also in the command)
when the process is complete (you'll get something like this
OKAY [ 0.184s]
finished. total time: 0.879s)
you need to REBOOT follow these next steps as i describe them or it won't work :
6. from your pc command window write
Code:
fastboot reboot
as soon as phone reboot
- remove usb cable
- PRESS and HOLD DOWN " volume up " VOL+ , keep it pressed until you see HONOR text (blue screen)
doing this will INSTALL MAGISK
7. your phone boot regularly(hopefully) now open Magisk Manager
you will see MAGISK 19.x.x.
and MAGISK 7.3.2
click on INSTALL (magisk 19.3) --- INSTALL ---- DIRECT INSTALL
when it's done it'll ask you to reboot , click reboot
phone is rooted !!!!!
i hope it helps for any references have a look at these pages which helped me :
root emui 9
magisk download
Magisk info
ROOT EMUI 9.1.0.210
first of all thank you to @OldDroid and @Athanatos81 for support ...
DOWNLOAD my patched magisk: PATCHED Magisk recovery 9.1.0.210
I'll descrive here the process how to update and root from 9.0.1.175 to 9.1.0.210
in my case i was on emui 9.0.1.175 rooted and i couldn't enter recovery or fastboot or simply update through system update !
so before starting it go in system settings -> update and DOWNLOAD your update
when you end your download don't restart and update BUT enter in fastboot:
to enter fastboot i had to restart honor 8 pro (while connected to usb)
and keep pressing VOL DOWN
now in fastboot you'll do following steps
(to install official update YOU FIRST NEED to install stock recovery so in this case 9.0.1.175 stock recovery .. while if you just need root on your actual rom you can just use the patched magisk recovery)
check if your smartphone is seen
fastboot devices
now
fastboot flash recovery_ramdisk magisk_patched_9_1_0_210.img ( in this case is the one i already patched for you )
fastboot reboot
let system start and than use ADB
adb reboot recovery
system will restart now open magisk manager
INSTALL MAGISK( in my case v20.1 )
INSTALL direct
reboot when asked
congratulations your Emui 9.1 is rooted !!!
Click to expand...
Click to collapse
please upload again the patched 9.1.0.212 .img file, thank you!
currently I'm trying to download stock firmware Indian variant 9.1.0.212(C675E7R1P6) so that I can extract update zip and pick stock recovery_ramdisk.img file to patch with Magisk and use fastboot flash method after it is patched. please let me know if there is something I'm missing or doing wrong. I urgently need some lost files last month. very urgent matter. plz help me if you can
Thankk you....!!! I can not explain how happy I am. God Bless you
nanortemis said:
Updated magisk_patched_9_1_0_210.img - Magisk v20.4 included , added also the original RECOVERY_RAMDISK extracted from 9.1.0.210.
magisk_patched_9_1_0_210.img md5sum = fa2b59807eac66e128653eaebc433aa3
RECOVERY_RAMDISK_9_1_0_210.img md5sum = c62ac7fdc55cb535d1b627b8f17f1842
Click to expand...
Click to collapse
It still works on my EMUI 9.1.0.210 C636.
Follow the instruction on the second half of the original post, and then download these files from the link by nanortemis.
1. Put the device into fastboot mode by connecting the USB cable to the PC and long press "Vol -" button
2. Install adb, and run
fastboot flash recovery_ramdisk magisk_patched_9_1_0_210.img
fasboot reboot
3. boot into the device, and then open the magisk app, you shall see a pop-up asking for reboot again, click on ok.
4. reboot... and yeap... you're rooted.

Categories

Resources