yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 General] Kapil Tapsi:
Only rooting method will work. Nothing else. Bootloader unlocker, twrp, xposed are only designed to work on marshmallow and above. If you want to root then flash twrp from other source for lollipop and flash magisk which is available here. That's it.
[ZenFone 2 General] jyotkarshraj:
Actually I got my front camera checked. Hardware wise it's okay, and I am using LOS14.1, so that's why I asked this question. I tried changing roms, but Its not working anywhere other than the stock rom, when I got my phone firmware reflashed from the service centre
[ZenFone 2 General] Kunogi:
I'm at MM-WW-4.21.40.352 and when i flash it, my phone stops botting to system and every time o try to boot it, it sends me to the recovery (twrp), i can click to go to the bootloader, but cannot boot up the system. If i reflash the original boot.img, then the phone starts fine, but then ill have no root. What can i do?
[ZenFone 2 General] uniacidz:
Mght be easier to use Asus Flash tool and flash the .352 raw file

https://xdaforums.com/zenfone2/general/z008-z00a-z00d-z00x-raw-fw-collection-t3448966

So did you use the boot unlocker?

Install magisk via TWRP?
[ZenFone 2 General] stork321:
Hi. Can I use/flash this directly on any N-based Z00A ROM? Thank you.
[ZenFone 2 General] Kapil Tapsi:
Yes. Just flash it in the last, I mean after rom and gapps or other zips.
[ZenFone 2 General] stork321:
Thank you for the quick response. ;) One last thing, Does it still need the Verified Boot Signer?
[ZenFone 2 General] Arerive:
no need that verified
[ZenFone 2 General] indunrise:
15.1?
[ZenFone 2 General] PrinceLys:
if your talking about reflashing magisk...

Just use the magisk uninstaller then flash magisk on twrp so you can boot back to system.
[ZenFone 2 General] huy98vn:
You saved my day T^T I stupidly installed v15.1 via Magisk manager 5.52, almost tried to wipe all my data
[ZenFone 2 General] kelvinleung825:
How's the Magisk v15.1 going? Or should I just flash the official one and then flash the VerifiedBootSigner-v8.zip?

just wanna ask will the boot singer zip be fine on all the upcoming update of magisk. If so, then I don't need to wait for the fixed magisk for ZF2. :)
[ZenFone 2 General] chooks06:
15.2 just out. There were some bugs in 15.1. Check out the thread.
[ZenFone 2 General] Kapil Tapsi:
Magisk 15.2​

Changelog v15.2

- [MagiskBoot] Fix dtb verity patches, should fix dm-verity bootloops on newer devices placing fstabs in dtb

- [MagiskPolicy] Add new rules for proper Samsung support, should fix MagiskHide

- [MagiskInit] Support non skip_initramfs devices using split sepolicies (e.g. Zenfone 4 Oreo)

- [Daemon] Use specific logcat buffers, some devices does not support all log buffers

- [scripts] Update scripts to double check whether boot slot is available, some devices set a boot slot without A/B partitions

File Credits [MENTION=4470081]topjohnwu[/MENTION] and all zenfone 2 telegram group members.
[ZenFone 2 General] argon9898:
[Model Z00AD] Got bricked! Help!

I have the Z00AD model. I've tried unlocking the bootloader as instructed. When the bat says all done I can no longer see the phone booting again. Although the computer was able to detect the phone as soon as I plugged it in, but it did the "Device plugged in" sound multiple times when i tried to get it into fastboot mode then did the "Device unplugged" sounds i couple times. Does anyone have an idea about what's going on? I'm getting worried. I can't even get the phone into booting (the screen is dark even when i power cycled it)
[ZenFone 2 General] Cookie Ninja:
[MENTION=6034616]Kapil Tapsi[/MENTION], will this Magisk work on stock LP ROMs too? I'm on latest 2.20.40.206 LP ROM.

Dead Cookies leave no trails...
[ZenFone 2 General] Kapil Tapsi:
Yes magisk will work on lollipop stock too. but nothing else, I mean bl unlock, twrp , xposed wont work
[ZenFone 2 General] griffynix:
Previous versions of Magisk from 12 to 14 works for me but I can get the latest 15.2 to work.

What should i do?

Error on 15.2 is Magisk not installed.
[ZenFone 2 General] Eng.Raman:
+1
[ZenFone 2 General] uniacidz:
Thanks Kapil

Sent from my ASUS_Z00AD [MM .352] [ROOTED] with Tapatalk
[ZenFone 2 General] GlaucioF:
Hi,

I wanted know, why when I root my device by following the steps in step 2, my phone does not start normally to the system and gets going to twrp. :rolleyes:

note: I'm in stock room MM 6.0.1
[ZenFone 2 General] Kapil Tapsi:
did you use magisk from here or other sources. ?
[ZenFone 2 General] Kapil Tapsi:
did you try flashing magisk zip again

// try uninstaller and flash again
[ZenFone 2 General] Kapil Tapsi:
Magisk 15.3

Changelog

Magisk

v15.3

- [Daemon] Fix the bug that only one script would be executed in post-fs-data.d/service.d

- [Daemon] Add MS_SILENT flag when mounting, should fix some devices that cannot mount magisk.img

- [MagiskBoot] Fix potential segmentation fault when patching ramdisk, should fix some installation failures
[ZenFone 2 General] lmn_lmn:
working great! thanks mate...
[ZenFone 2 General] uniacidz:
Installed latest

Flashed via TWRP and booted fine and then installed latest up

All good

Sent from my ASUS_Z00AD [MM .352] [Unlocked MaGisK]
[ZenFone 2 General] dbste90:
hello, i'm trying to install xposed on my Zenfone 2 ZE551ML Z00A-WW-4.21.40.223 with Android MM 6.0.1, rooted with magisk 15.3.

After i run the .bat or after i install it manually from twrp, it stucks on asus loading screen forever, so i have to go back to stock firmware to make it load properly again. how can i manage to install it correctly? What could be the problem?
[ZenFone 2 General] Kapil Tapsi:
After flashing xposed it usually takes some time like 5 to 10 minutes. But as you have mentioned that it takes like forever then try installing Xposed from magisk app itself. You will find the Xposed in download section of magisk. And make sure that you use appropriate version that is Marshmallow Xposed for Marshmallow .
[ZenFone 2 General] mmahith18:
Hello, I am sorry if i am asking this question again.

I unlocked bootloader, installed RR 5.8.5 as well. But when i give reboot to recovery, it shows the dead bot android symbol, Every time i reflash through the fastboot command. Please help. This is tideous as for a simple zip flashing i am reflashing recovery.img again and again, .

Please help me a solution.

Thank you in advance
[ZenFone 2 General] Vic3z:
does this guide work for asus ze551ml?
[ZenFone 2 General] dbste90:
Thanks, i'll try that too.

Anyway, could the cause be the step where i had to clear devilk and other cache after installation, that got me stucked on loading or is that something surely unrelated?

Another question: is there a way to pass safetynet with xposed installed?
[ZenFone 2 General] Kapil Tapsi:
It is because you are using stock recovery. Stock recovery gives error symbol when no command is running. If you are using custom rom them use twrp.
[ZenFone 2 General] Kapil Tapsi:
It is made for this i.e. ze551ml and ze550ml too. You can choose which model you need file for. It is clearly mentioned in the download folder
[ZenFone 2 General] Kapil Tapsi:
Never clear anything after root and Xposed, it will give you bootloop or other problems.

No there is no way to get is pass with xposed installed.
[ZenFone 2 General] lelepanz:
Hi to all.

The file in this directory are ok to unlock a MM rom stock WW 4.21.40.352 right?

https://drive.google.com/drive/folders/0B6SZRpR9Q7C5WVB0U0htWUlSWXc
[ZenFone 2 General] keshav_c17:
What about new Magisk v16.0 signature patch for ZenFone 2 ?
[ZenFone 2 General] sohail99:
Hi,

TThanks a lot for this root process.

I managed to unlock my bootloader and installed twrp 3.1.1-0.

The root process keeps failing though!

Once it said that there was a mismatch between server and local version or something also.

Please help.
[ZenFone 2 General] Kapil Tapsi:
I hope you have installed twrp. The thing you have to do is download latest magisk zip which is provided in the download folder. And copy it in your phone. Open twrp and flash it.
[ZenFone 2 General] sohail99:
Thanks man! That did it.

Just a recap -

*Installed your provided drivers

*Booted into fastboot and ran "unlock bootloader.bat"

*Afterwards, again in fastboot mode, ran "twrp.bat"

*Transferred your Magisk 15.3 zip to internal and flashed via twrp.

* Transferred magisk manager and installed internally.

Have root access!!

Thanks again man!
[ZenFone 2 General] felipel2:
What happens if i install the Wrong unlock bootloader on my phone?

Like, my phone is a Z00A and i flash the Z008 unlock bootloader?
[ZenFone 2 General] gumah:
Thanks!!

Thanks! Everything working fine on my ZF2 Deluxe!;);)
[ZenFone 2 General] sohail99:
Magisk manager keeps asking to upgrade to v16.0 from my current v15.3.

Is it safe to upgrade?
[ZenFone 2 General] uniacidz:
Use this

https://xdaforums.com/showthread.php?t=3759936

Sent from my ASUS_Z00AD [MM .352] [Unlocked MaGisK]
[ZenFone 2 General] carabaothai:
Hi,

Can we make a hard reset on a rooted Zenfone 2 ZE551ML ?

Because i have lot of small problems
[ZenFone 2 General] uniacidz:
What issues?

Could rest via TWRP if you have it

Or within a recovery

Sent from my ASUS_Z00AD [MM .352] [Unlocked MaGisK]
[ZenFone 2 General] Kapil Tapsi:
Magisk 16.3 Is updated guyz. You can download it from home page of the thread. I am sorry I couldn't update the post . But you can always find the latest magisk in the telegram group. I recommend you to be on the group to get latest updates regarding roms and other tools
[ZenFone 2 General] stork321:
Thank you.. Link the Telegram group here please. ??

---------- Post added at 12:45 PM ---------- Previous post was at 12:43 PM ----------

Edit: Sorry my bad I just saw the link.
[ZenFone 2 General] carabaothai:
Lot of little problems

I forgot that it could be made with TWRP.

No risk to get loops?
[ZenFone 2 General] javvadi:
Dear Kapil

Asus Zenfone 2 ZE551ML (Version WW-4.21.40.352)

Unlocked bootloader successfully

I have a replacement screen and none of the TWRP versions

From twrp-2.8.7.0-Z00A to twrp-3.2.1-0-Z00A are not working.

I mean the touch doesn't work in any TWRP version so unable to flash either supersu or magisk.

Any workarounds are very much appreciated.
[ZenFone 2 General] chooks06:
If touch is not working, likely due to hardware?

Try connecting a mouse. When I had dead touches, that worked for me but I have not tried that in recovery mode. It might work.
[ZenFone 2 General] javvadi:
You've made my day Pal. Thank you so much.

Works like a charm. Flashed supersu and all done. Now I can flash Borets ROM.

Thanks again. :highfive:
[ZenFone 2 General] chooks06:
woohoo! You're welcome mate!
[ZenFone 2 General] killerBRs:
My ZF2 is stuck in Write Screen, cannot enter to recovery after unlock, Only Fastboot.

My situation is i can´t flash stock firmware using ASUS Flash Tool, says Permission Denied, Fastboot too
[ZenFone 2 General] Kapil Tapsi:
Are you on marshmallow bootloader or lollipop bootloader? If you were on marshmallow bootloader then bootloader unlocking in incomplete.
[ZenFone 2 General] killerBRs:
I CANNOT Mount cache in sideload or recovery to flash MM Rom, Any help?

ZF2 Stuck at White Splash Screen, Cannot boot or enter to recovery in unlocked mode, only fastboot

I Tried to install TWRP but after i try to boot to recovery, it back to Fastboot mode.
[ZenFone 2 General] Kapil Tapsi:
Did you try unbrick guide? If not then try it. It is last option to undo all problem
[ZenFone 2 General] killerBRs:
I format cache in Android Recovery to solve the problem and installed ROM via SD Card.
[ZenFone 2 General] Wantolearnmore:
Sir dont understant the (part 1) (step2) go to the folder??with folder sir?
[ZenFone 2 General] ameel:
I haven't checked the file because I'm lazy, but it appears latest magisk installer (16.3) does not add the device signature to boot or recovery image. Basically flashing the latest magisk installer in recovery (16.3) will cause phone to reboot to recovery rather than system. You can manually flash device signature, in recovery, using script at xdaforums.com/zenfone2/development/script-boot-recovery-image-signature-t3690522.
[ZenFone 2 General] JokerGabro:
Pls add signature fix for z00d
[ZenFone 2 General] Kapil Tapsi:
For magisk. It is already done in telegram group for latest magisk. And if you want for another thing, then fyi signature is not required anywhere else. Contact in telegram for more information
[ZenFone 2 General] JokerGabro:
For me it says ERROR 1 in recovery
[ZenFone 2 General] Gaber92:
"Waiting for any device"?

Hi! I'm trying to root my Zenfone ZE551ML for the first time (I rooted other phones, but never my almost 2 yo zenfone). I installed all the drivers i found in the folder, then ran Bootloader unlocker, typed AGREE and then... nothing. The process stops with "waiting for any device" (see photo)

My asus is updated with Marshmallow 6.0.1. Maybe that's the issue, since the unlocker is for Lollipop? If yes, where do I find a MM unlocker/how do I proceed with the root?
[ZenFone 2 General] Kapil Tapsi:
This bootloader unlocker is for Marshmallow and above versions, so I don't think it is a failure of bootloader unlocker. But I think it is again the software driver issue, first check by running command fastboot devices.. if it works then everything is ok
[ZenFone 2 General] Gaber92:
You are right. No fastboot devices are seen. I uninstalled and reinstalled all the drivers, but I couldn't install the asus usb drivers, because when I launch the .dll files with cmd (admin) a message of error appears and it seems I can't get around it in any way. Probably this is the issue, and resolving it will allow me to start the rooting process, but I am at a loss.

EDIT: I managed to install them, but in the device manager I have another problem . Why??
[ZenFone 2 General] userAmit:
Hi, I had the same problem. my device is zenfone 2 ZE551ml and have TWRP, lineageOS installed with addonsu. I also have 551-black_splashscreen flashed. when I flashed Magisk from here it bootloop to TWRP. I restored the system from the backup I had made before installing Magisk.

Could you please tell me how you got magisk working?
[ZenFone 2 General] quicktrick:
Hi userAmit! Take the files for Zenfone 2 here. And for a few last months I've been updating Magisk OTA.
[ZenFone 2 General] userAmit:
Hi quicktrick,

Thanks for the quick reply.

So i remove addonsu and flashed the Magisk-v16.3-ZF2-signed.zip. I faced no bootloop but safetynet check is not working showing The response is invalid

Edit:

1. So I tried following this guide here but it didn't work.

2. I installed MagiskHide Props Config but even after that I get "Response is invalid"
[ZenFone 2 General] :
Have you enabled Magisk Hide in the settings?
[ZenFone 2 General] userAmit:
Yes. even then it didn't work.

I even tried using core only mode.
[ZenFone 2 General] Bakica:
https://xdaforums.com/showthread.php?p=77329420
[ZenFone 2 General] userAmit:
I read the post. It says to use the key generated in the the attest() method. What can I do or Can nothing be done?
[ZenFone 2 General] Bakica:
Waiting for the magisk update I think
[ZenFone 2 General] userAmit:
yes waiting for the update
[ZenFone 2 General] Fred Rosenkranz:
Magisk 7.1 for Z00A please
[ZenFone 2 General] Ragnax:
Can I install xda's "MagiskManager v5.6.4 apk" with this "Magisk-v17.2-ZF2-signed.zip" of the telegram? What is the installation sequence?
[ZenFone 2 General] Ragnax:
Thank you for the tutorial. :D
[ZenFone 2 General] romulocarlos:
Hello.

I flashed TWRP, and flashed Magisk also. Now my phone only reboot in TWRP, even if i turn off and on, reboot from TWRP or fastboot. Any ideas?
[ZenFone 2 General] PrinceLys:
If you flash latest magisk then you must flash also the signature boot on zf2.
[ZenFone 2 General] romulocarlos:
Thanks. But already did this. Anyway, now I'm using DotOS", and I used the magisk inside folder instead the last one. Is working.
[ZenFone 2 General] Valalla Rising:
Hi I'm totally nervous and confused. I 'm stucked on white screen with asus logo and can't force shotdown the phone and enter in fastboot mode normally. I think I had unlocked the bootloader beacause of action of unlock.bat. But now can't enter in any of option. Any suggestions please help me !! :crying::crying:
[ZenFone 2 General] nieebel:
This thread helped me to unlock the bootloader on my Asus Zenfone2 ZE551ML (Z00A) after unbricking :)

1. Unbrick:

Asus Zenfone Flash Tool v1.4.5 (=1.0.0.45) did work for me on Win11:

Asus Zenfone Flash Tool v2.0.1 (Latest version)

Download Asus Zenfone Flash Tool For Installing Stock ROM on Your Asus Android Mobile Devices. We Also Share The Latest Flash Tool For Free.

www.gsmofficial.com

All newer ones had the error: "failed to download the version control file via FTP".

RAW firmware:

[Z008/Z00A/Z00D/Z00X] RAW FW Collection

Project "AsusCare" maintained by me ZF2 5" ZE500CL - Z00D: WW https://yadi.sk/d/fXkICEIguGZAB (Android 5 only) 12.16.5.112 12.16.5.118 12.16.5.126

xdaforums.com

I've used WW_ZE551ML_4.21.40.352_20170623.raw (WW = worldwide and not china/japan).

2. Unlock bootloader and install TWRP (v3.2.2):

Bootloader Unlock, Root, Xposed and TWRP On Asus Zenfone 2 (Android 5+)

Working On MM-WW-4.21.40.352 Z00A Z00AD And on Latest versions MM-WW-4.21.40.327 Z00A Z00AD MM-WW-4.21.40.223 Z00A Z00AD Latest Stable Magisk : v16.3 Updated 28 March 2018. If there is update you will surely find it in...

xdaforums.com

3. Use TWRP to install custom ROM:

[ROM]Groovy Android[Monthly builds][Nougat][7.1.2][Z00A/Z008/Z00D/Z00L/Z00T]

Groovy Android is a ROM based (mostly) on Resurrection Remix, LineageOS, NutOS, Slim and Omni, this creates an awesome combination of performance, customization, power and the newest features, brought directly to your device. #include...

xdaforums.com

(I have GA-N-v7.1.2-20211029-Z00A-Release.zip)

4. Get root via Magisk:

[ROM]Groovy Android[Monthly builds][Nougat][7.1.2][Z00A/Z008/Z00D/Z00L/Z00T]

Groovy Android is a ROM based (mostly) on Resurrection Remix, LineageOS, NutOS, Slim and Omni, this creates an awesome combination of performance, customization, power and the newest features, brought directly to your device. #include...

xdaforums.com

5. Format SD card with 50% internal

How to turn a portable SD card into internal storage via ADB command?

Android 6.0 Marshmallow’s introduces Adoptable Storage, a feature that allows use a SD Card as internal storage. Is it possible to activate adoptable storage via ADB shell commands?

stackoverflow.com
[ZenFone 2 General] miniGAMER01:
Press the power button to turn it off, and restart in bootloader, you may also want to check the instructions again, to make sure you don't miss a step. Also, try to plug it into power supply.

---------- Post added at 06:58 PM ---------- Previous post was at 06:56 PM ----------

Everything worked almost fine for me.

Is there any way to replace phh superuser with ChainFire SuperSU ? Thanks
[ZenFone 2 General] carabaothai:
i dont't understand the step with TWRP

step 1 : OK

step 2 : OK

step 3 : OK

but when i restart i have a black screen with some text and with the volume + i can choose reboot, power off, reboot in bootloader

but i don't now what to do !!!

i cannot type anything

ok

i search on ggogle and now all is ok
[ZenFone 2 General] carabaothai:
it is not possible to go to TWRP everytime we ask to reboot to recovery (with quick reboot for example ?) ?

Because unlock everytime is not very fast (for example if i want to make a backup)

also each time i start the phone i have this message "Your device has failed verification and may not work properly"

Everybody got this message ?
[ZenFone 2 General] reaf:
I'm experiencing problem with googleplay payments after rooting using this methods, event when I've already toggle root with magisk.

Any suggestion what to do to keep using googleplay payments without losing root?
[ZenFone 2 General] ZZZZXCC:
Hi does this works on other zenfone device ? like asus zenfone 5 lollipop i have unlock bootloader and install twrp for my device can i still follow your steps to flash the zip?
[ZenFone 2 General] xdadaman:
Hello,

Is it method works on Asus Selfie (ZD551KL) [with M 6.0.1] with firmware WW ?

Thanks
[ZenFone 2 General] reaf:
edited
[ZenFone 2 General] carabaothai:
you answer me

then you edited your message

now your message is empty :crying::D
[ZenFone 2 General] galejandrosantos:
OTA Updates

Hi, can we get OTA updates after doing this?
[ZenFone 2 General] reaf:
my bad [MENTION=1417282]carabaothai[/MENTION], I don't want to give wrong information, so I delete my post earlier. My phone was gone bricked (totally blank, no boot, no recovery, no asus/usb logo) today because I trying to reflashing with wrong ROM. Lucky me my phone can be revived just now with xfstk, hufft...
[ZenFone 2 General] XianSo:
Root Succesful

Hi. It worked smoothly for me and root was successful. Phone is fine, works properly. Thanks. The only thing is there is a message at startup saying "failed verification device may not work properly" before the Asus Logo. Also whenever I try to go to recovery mode it always comes back to fastboot screen. I just want to know if I missed something. Thank you very much.
[ZenFone 2 General] carabaothai:
same problem for me
[ZenFone 2 General] Kapil Tapsi:
It only means that your bootloader and system has been modified. No problem. Ignore it . there is currently no way to remove it
[ZenFone 2 General] XianSo:
Thanks for clearing that up. Since recovery doesnt work, is there any other way to do wipe cache? Thanks
[ZenFone 2 General] calimerorosso:
This method also applies to the 550ML ???
[ZenFone 2 General] vipul_tilak:
After all this is done, I changed the DPI of my Asus ZF2 (ZE551ML) and not I keep getting message: "Unfortunately, System UI has stopped"

If I am trying to connect using adb, it is throwing error: "Device Unauthorized"

ZF2 is not booting into Recovery mode where I hope adb doesn't require authorization.

Is there a way by which I can unbrick my device and get to change the DPI setting without formatting the complete device?

Please help.
[ZenFone 2 General] galejandrosantos:
OTA

Hi, can we get OTA updates after doing this?
[ZenFone 2 General] cwiits:
"Permission denied"

When i run unlock.bat, it says "failed Permission denied"

---------- Post added at 02:04 AM ---------- Previous post was at 02:00 AM ----------

My zf2 runs through the bootloader, and the just boots to OS when running unlock.bat
[ZenFone 2 General] XeidiDent:
Thanks! Worked perfectly.

I flashed the stock recovery from the 4.21.40.134 firmware and it worked. The phone is rooted and with stock recovery working.

You can grab the recovery.img from the official 4.21.40.134 file from Asus.
[ZenFone 2 General] Renix63:
Thanks everything works as described.

You saved me from non-root :good:
[ZenFone 2 General] Renix63:
.... or use the command fastboot boot twrp.img
[ZenFone 2 General] XianSo:
Bro, thanks for this, I'm able to boot to recovery again.
[ZenFone 2 General] neosinan:
When We can expect One Click Root, Any idea?
[ZenFone 2 General] PepNYC:
deleted
[ZenFone 2 General] enadzzz2010:
nice

wow i have been searching for this for a month now but thanks it worked and now im rooted ze551ml user, wew.

just got a question though regarding xposed, it says that there is a new version of it, is it safe to update it?
[ZenFone 2 General] PepNYC:
So did you guys just flash the firmware right over the rooted marshmallow firmware? And didn't lose the root or brick the phone? If that's the case can I flash the latest from Asus V52.20.40.196 for WW SKU? Without bricking the phone so I can get my recovery back?
[ZenFone 2 General] XeidiDent:
No, I didn't flash the whole firmware. After I did all the steps on this guide to root my phone, I flashed only the recovery.img that comes within the zip file of the firmware WW-4.21.40.134.

Also, as far as I know, the WW-52.20.40.196 firmware is not the latest. Actually, it's a firmware to downgrade from Marshmallow to Lollipop. Read it's description on Asus's site carefully. So no, you shouldn't use the recovery.img from this firmware to restore your stock recovery. I would recommend to flash the recovery.img with the same version as your current firmware.