yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 General] Toronadian:
Hey, for both of you, did you test if it continued to work after installing a few modules on Xposed? I just wanna make sure things are OK before proceeding. I tried this method of rooting and installing Xposed about 1.5 weeks ago with the older files (before the newer ones updated and posted on Jan. 4) and while it did give me root and appeared to get Xposed working, the moment you installed any modules on Xposed and then rebooted your phone, the modules would not work. Root would still appear and work, but then when the phone rebooted and I went back into the Xposed Installer app, it had a yellow warning sign saying Xposed was installed but I needed to update XposedBridge of some sort. None of the modules would be allowed to work.

As well, did you lose your recovery after doing this? I lost recovery mode (would select it in bootloader mode but then it would just go right back to bootloader mode) entirely.
[ZenFone 2 General] Austti:
Hi... im am currently stuck in white spashscreen please help... i still have Start flashing . . at bottom of bootloader unlock
[ZenFone 2 General] ick21:
can anyone else ..preferably more people to confirm if the new files are working i would hate to have to go through the stress of bricked phone and aslo could we give a some specs of your zenfone so we know what works..
[ZenFone 2 General] audit13:
I was on stock MM (UL-Z00A-WW-4.21.40.184-user). I booted the phone into the bootloader, connected, bat file started flashing the phone, just before the phone restarted, I saw a message that said something like "failed too many links" and the phone hung at the white screen. I powered it off as per the instructions and but the unlock procedure just sat there in a powered off state. I used the restore bat file a tried again but kept getting the same "too many links" error.
[ZenFone 2 General] frap_gadz:
Yes I have modules installed and active on Xposed. I have rebooted about 4 times since I rooted and installed Xposed and I haven't lost the root access or Xposed. Although at one point I did lose root access, this was only when I tried to use "Magisk Hide", I have read online that this is a known bug in Magisk but I don't really need Magisk Hide so I'm not that bothered.
[ZenFone 2 General] Kapil Tapsi:
Thanks for verification

Thanks for verification. Magisk has been updated.
[ZenFone 2 General] Kapil Tapsi:
Thanks kazukishida

New files has been added. You may give a try.
[ZenFone 2 General] Kapil Tapsi:
Thanks for verification frap_gadz

I have updated files and post.
[ZenFone 2 General] Kapil Tapsi:
Updated

New files for magisk has been added v10.2

Direct approach for bootloader has been added instead .bat file.

Hope all issues sloved.

Report observations and feedback

Thank you for your support
[ZenFone 2 General] kazukishida:
I got this problem on another bootloader unlocker. I solved it by sideloading the stock firmware for the exact version I had, which I got at Asus' official site. Make sure you get the right one for your unit. I followed the steps on one of the posts on the Android StackExchange post, but since I'm new, I can't post the URL. Try Googling "adb sideload zenfone 2" and one of those should be it. This is honestly a nuke solution, and it takes 20-30 mins (not to mention a 1GB file download), but it gets me back to a working phone whenever I mess these up.

From my testing, doing this did not clear my data or apps. No promises though. I'm using ZE551ML WW, Z00AD, same version as yours.

Thank you again Kapil. I should finally have time this weekend. I'll report what happens. Can't wait to get xposed up and running!
[ZenFone 2 General] frap_gadz:
Hi Kapil, Thanks again. I used the new files and am now on Magisk v10.2, seems stable so far! :good:
[ZenFone 2 General] sweetsour:
Sorry to bother you mate! :)

I wonder why we shouldn't use Asus official Bootloader Unlock for ZE551ML?

https://www.asus.com/us/Phone/ZenFone_2_ZE551ML/HelpDesk_Download/

Also, are you definitely sure that the the files (06/01/2017) will work on .184 WW SKU?

Also, where is "PdaNetA4197.exe" in the download folder? I'm looking for the ADB USB driver.

Hope it's not too much asked and thanks you for your work!
[ZenFone 2 General] Kapil Tapsi:
1. Asus unlocker doesn't support marshmallow.

2. I have used the previous files on .184. They have been only updated because of bugs.

3. Pdanet must have been deleted by mistake. Sorry for that.
[ZenFone 2 General] sweetsour:
Okay thanks.

Do you by any chance know if Asus official unlocker works on the downgrade firmware (V52.20.40.196) which is Lollipop?
[ZenFone 2 General] Kapil Tapsi:
It should. But i have never downgraded. I know it doesn't brick your phone if Asus official unlocker doesn't work. You may give it a try.
[ZenFone 2 General] audit13:
Thank you.

I don't think I need to sideload the ROM as using the restore.bat option puts my phone back to the way it was with a locked bootloader and black boot screen with white text.
[ZenFone 2 General] Mr.Sqbika:
Is this version of the BL -> UBL is Warranity safe, or is it the DRM version? -> (I can ReBL so warranity is back and the ASUS registration is still as "Original Product")

My phone is still in kids shoes and I'm afraid of battery failure, but I cannot withstand the battery life and I want to install some stuff to make it better...

Or is there any special hidden ninja techniques that can make it better?
[ZenFone 2 General] ick21:
uh...i forgot to mention that i adb side loaded MM and then downgraded to L to unlock the bootloader and adb side loaded back to MM then flashed twrp ...i am hoping and asking if the device bootloader is still unlocked.....???
[ZenFone 2 General] audit13:
I just tried the unlock bat file on my stock MM ze551ml with Win7x64.

It ran through the script and it rebooted my phone. I pressed the power button to turn off the phone but the phone just sat there and never turned back on so I manually booted the phone into fastboot and the process continued. The script said the phone was unlocked but the phone is now stays at the white screen with black text for a few minutes, reboots to the white screen for a few minutes, and reboots again. I keep trying to enter fastboot but can't using the volume + and power as it stays at the white screen regardless of whether I do or don't hold down the power button.

I had this problem when I tried before and I would just reboot into fastboot and run the restore.bat process and everything would be fine.

Edit 1: I wound up getting stuck with the white USB symbol so I had to use xFSTK and AFT to get back to a working phone.

Edit 2: I downloaded the new files and ran unlock.bat. My phone (stock MM ROM) does reboot into fastboot and automatically reboots but the screen is not inverted. I tried it three times with no luck as the screen does not invert.
[ZenFone 2 General] Kapil Tapsi:
No
[ZenFone 2 General] billiegene:
I was having a similar issue but managed to solve it using a combination of Giovix92's ZE55xML_Modder unlock.bat and restore.bat scripts and the TWRP, Magisk and Xposed scripts in this package. For whatever reason, the bootloader unlocker script by Kapil Tapsi didn't work for me, but the one by Giovix92 did.

For unlock.bat, I ran the script independently of Giovix92's main 'modder' tool and even though the message on the phone said that the unlock was unsuccessful, I still received the white splashscreen, but it wouldn't load into fastboot. I was able to hold down the power key until the phone switched off, and using the Vol Up + Power key combo to get into fastboot, then ran the restore.bat script, giving me a working phone again.

From here, the TWRP/Magisk/Xposed scripts in Kapil Tapsi's package should work, though tbh I did all the flashing/pushing/installing through cmd prompt as a means of learning some basic fastboot/ADB commands, but using his scripts as an invaluable guide.

[MENTION=6034616]Kapil Tapsi[/MENTION] - Massive thanks to you bro. I'm not advanced enough to be able to figure out why the bootloader unlock script here didn't work, so my apologies for that. I don't know enough about adb script writing either, so I don't know if this is a problem? One thing I noted was that in the Xposed script, the "adb install xposed.apk" is being run while the phone was still in TWRP recovery (directly after installing the .zip) which resulted in an error "/sbin/sh: pm: not found". In order to make this work I had to reboot the phone, then run the command.
[ZenFone 2 General] Kapil Tapsi:
Thank You [MENTION=7981470]billiegene[/MENTION] for your feedback. I have updated "Xposed" script.

I have uploaded Giovix92's bootloader unlocker too. Though there is not much difference between them. Both works well when carefully used.

Thanks Again..:)
[ZenFone 2 General] crownpiyush:
will it also work on .184
[ZenFone 2 General] Kapil Tapsi:
Yes. It will.
[ZenFone 2 General] audit13:
[MENTION=7981470]billiegene[/MENTION], thank you for the suggestion. I was able to install TWRP and run the debloater script :)

[MENTION=6034616]Kapil Tapsi[/MENTION], thank you for creating and updating the scripts :)
[ZenFone 2 General] ick21:
uh..so what you are saying is that my bootloader is locked still even after i sideloaded MM but how did i get twrp installed i thought you had to unlock the bootloader for twrp to install.
[ZenFone 2 General] Kapil Tapsi:
When last time I did same thing as you have done. MM (beta version launched in july august) update restored the bootloader , so that trick failed. Either they must have changed it in after versions or you must have witnessed a miracle. Hail lord Shiva.:angel:

Thanks for letting me know this. I answered No in hurry and based on my experience.

Please make sure twrp is working successfully.

Thanks again.:)
[ZenFone 2 General] Kapil Tapsi:
Good to hear that you finally could do it.

Suggestions are welcomed. If any.

Thanks.:good:
[ZenFone 2 General] druid23:
Rooted mine. Take me about two hours, most of the time making backup.

The only error is that Magisk say ' CTS profile mismatch' don't know what is that. I readed some one before me with the same thing. But don't know if there something wrong
[ZenFone 2 General] Kapil Tapsi:
Safetynet isn't any major issue., As the tools are still in development. It won't effect root.

Thanks for informing your experience.

Check root access for other apps. They should work fine too.
[ZenFone 2 General] undefinedsahil:
hi i am a noobie..

after connecting phone to pc, i started unlocker.bat, it says rebooting to bootloader and after that phone restarts and the system screen keeps showing waiting for device..

what to do next, completely confused.
[ZenFone 2 General] druid23:
Yes, after the procedure downloaded root checker just in case, but the root is functional
[ZenFone 2 General] Kapil Tapsi:
You must have drivers installed. And adb and fastboot as well. Usb debugging as well.
[ZenFone 2 General] Kapil Tapsi:
Thanks
[ZenFone 2 General] druid23:
There is a new firmware .223, can be installed over the rooted .184?
[ZenFone 2 General] undefinedsahil:
already did.

still the issue is same.
[ZenFone 2 General] Kapil Tapsi:
If drivers are installed, reboot pc to properly install them, usb debugging should be on and then run unlocker.bat. if it shows waiting for device then "when phone boots to bootloader, disconnect usb and again connect usb". This is last option. If this doesn't work then try different cable or computer.
[ZenFone 2 General] undefinedsahil:
i did everything as said,

i installed the drivers, then i connected my phone to pc after setting usb debugging to on.

when i start unlock.bat, my phone restarts and the CMD screen keep showing "waiting for device."

the phone switches on in the screen where i get options like restart bootloader, recovery, fastboot and normal boot.
[ZenFone 2 General] druid23:
If all is normal, you just wait there to the unlock.bat do the job
[ZenFone 2 General] undefinedsahil:
if i leave the cmd at waiting for device, it keeps restarting my phone when the system detects it.

so it's not working like this.
[ZenFone 2 General] audit13:
Run unlock.bat file, when you see the bootloader screen, remove the USB cable from the computer, reattach the USB cable to another USB port, wait for the unlock process to continue.
[ZenFone 2 General] druid23:
hi, i managed to flash .223 over rooted .184, without lose of info

i used mix of @giovix92 tool

use giovix92 tool, to back to stock recovery and boot, just in case it could cause bootlops, via recovery adb installed .223, with kapil tapsi tool, unlocked, restored, and flashed TWRP, made backup jst in case and then using giovix tool aplied full root item

1. back to stock recovery (giovix92 tool)

2. back to stock boot (giovix92 tool)

3. from stock recovery, pushed via adb stock .223

4. booted normal

5. unlocked bootloader unlock.bat

6. booted to bootloader

7. restore bootloader restore.bat

8. booted normal

9. flashed twrp twrp.bat

10. back up via twrp (optional)

11.Root (giovix92 tool 4- Full-auto root flasher!, option 1)

for the moment all functional and no bootloop
[ZenFone 2 General] JollyBeast:
I just upgraded my firmware to the latest. Can i still do this method? Or should i wait for further update from your thread?

Update : my phone is now rooted, i just check it via root checker. But theres thisbmessage keep on showing when i boot my phone, it says that "your device failed verification" go to....., something like that. If this can be fixed please tell me how , thank you
[ZenFone 2 General] Amboemo:
signature failed

cannot root program paused when reboot n notify "signature failed goto.....)and then my z2 reboot to normal
[ZenFone 2 General] AnonA2:
**** this phone, bricked with inverted logo
[ZenFone 2 General] druid23:
Try, boot on bootloader, and run restore.bat
[ZenFone 2 General] AnonA2:
Neither fastboot or bootloader works, device is not found by adb
[ZenFone 2 General] druid23:
Did you use the keys to bootloader? While the phone off, volume up +power?

Before this issue you have done the unlock. Bat thing?
[ZenFone 2 General] AnonA2:
I will give it to asus service, but IDK its worth to do. I have Marshmallow 6.0.1 on my ~V42.20.40.196 and the latest one to flash is 20.19. Is there any proven sollution for root?
[ZenFone 2 General] druid23:
I don't get you, I don't find 42.20.40.196, if you talking about 52.20.40.196, this one is a lollipop not marshmallow firmware.

The last two marshmallow firmware are 4.21.40.184 and 4.21.40.223

As far as I know, white screen solves with restore.bat
[ZenFone 2 General] BerkeKan:
Hi. I applied the whole process and it was successful. But I don't know how to update those applications when there are new versions of them. Can someone tell me the process here?
[ZenFone 2 General] Kapil Tapsi:
No, for now it cannot be fixed. But it is ignorable.
[ZenFone 2 General] Kapil Tapsi:
For now it is not advisable to update anything except xposed app, magisk app and phh supersu app. I mean framework are not to be touched, if you don't want to mess with zenfone.

Also all apps mentioned above to be updated only to stable versions.

Thanks for helping others. Make world useful.
[ZenFone 2 General] paguza:
I used this method and my phone is now rooted. THANKS!!

Now I'm looking for a way to bypass safetynet api do you know any method to do so?

(Sorry for bad english)
[ZenFone 2 General] AnonA2:
Ok, I've leaved the phone in charging for ~10 minutes and fortunately my fastboot isn't broken. However I don't see option for sideload (also from CWM). Unlock.bat may not work for me plus I didn't do the procedure from PC. One click root method can't make changes to the system. There is no proven root method for my build 4.21.40.184 (Asus Zenfone 2 Silver), right? I'd probably root the phone well and easily via flashing an older firmware, but I can't download files from Mega.nz and I don't know these would work well (https://www.mediafire.com/folder/k7z5qzh579oc4/Asus_Zenfone_2_ROOT_System_Image (android-gs)).
[ZenFone 2 General] druid23:
Once in fastboot run restore.bat, that solves white screen
[ZenFone 2 General] Pupii90:
Hey thanks for sharing this info will this method work for WW-4.21.40.223(andriod M)?
[ZenFone 2 General] Kapil Tapsi:
For now there is no option, but later versions of magisk will add it.
[ZenFone 2 General] Kapil Tapsi:
Yes
[ZenFone 2 General] Fathcool:
I'm sorry if it's been asked before

But will it worked on ZE550ML?
[ZenFone 2 General] PrinceLys:
Newbie here

I got Zenfone 2 ZE551ML running WW_4.21.40.223 (andriod M).

I haven't root it since the day I bought it, because I'm scared of everything bad will happen (you know it was my very first android phone bought on my own on its very release lol :o). I always play safe I read a lot before I do it on my own (something to do with "Do at your own risk") so I read about root/unroot and stuff I usually focus a lot on my phone model and I see a lot of people having trouble and have gone wrong especially "Hard Brick". TBH I don't know much about root. Now I want to root my phone with the help with this thread but first I just want to verify something. :)

Heres my questions, :confused:

1. The zip files that should put on root of sdcard, you mean only those four "magisk.zip, phhroot.zip, xposed_uni_m.zip, xposedm.zip" or should I include their corresponding apk's?

2. After I root my phone then a new update is release WW_4.21.40.XXX, how should I unroot it back so I can update my phone safely?

3. Let's say it was unrooted back and applied the new updates, Should I do the same to root it again, same method?

again... ( new updates, unroot apply updates and then root) and so on.

4. Lastly, I won't lose any data right! after I root/unroot my phone? (like when you wipe factory reset)

Thanks in advance.

Sincerely,

PrinceLys
[ZenFone 2 General] Kapil Tapsi:
No. They are for ze551ml.
[ZenFone 2 General] undefinedsahil:
Hi,

Thank you very much, i tried it on another pc and it worked perfectly.

Now i am rooted.

Just for information if i need to sell of this phone or want to update normally, how would i get it back to normal original state ?
[ZenFone 2 General] AnonA2:
fk yeah its works, but with some driver problems plus sideload acts weirdly. Do not install driver apk on phone. I've lost internet and I'd to do basic reset.
[ZenFone 2 General] Pupii90:
It didn't work the inverted screen never came up it after i runned unlock it just send me to fast boot :(
[ZenFone 2 General] Kapil Tapsi:
If it boots to fastboot. Close the command prompt and again run unlock.bat. if it doesn't work make sure drivers are installed. I'll upload fastboot and adb setup, if that too doesn't work then dry on other pc. It solves many problems.
[ZenFone 2 General] Pupii90:
You want to me try to run unlock.bat in fastboot?
[ZenFone 2 General] Pupii90:
I tried it i still get the same result... This what happened when i run unlock and restore on fastboot... I couldn't install the android usb driver you provided i don't know if that has something to do with it... I don't think so because i think i have the android USB driver installed all ready from a different source when i first rooted my first android phone....
[ZenFone 2 General] Kapil Tapsi:
The script says it couldn't find the files in the folder named "files". Make sure you downloaded whole folder not just .bat file. Only .bat file doesn't work if the files are not there, and it gives same error as given by you. Please check it.
[ZenFone 2 General] Pupii90:
I did that it still fails :( been trying to unlock the boatloader for 4days now xc
[ZenFone 2 General] Kapil Tapsi:
I read somewhere that it can only be fixed by using unbrick method i.e flashing stock firmware.

But before that try this

If you get permission denied...

Disable your lockscreen password before getting into fastboot/ recovery. Set it to "none"

It helped someone.
[ZenFone 2 General] Pupii90:
I fianly got twrp to work i had to set my phone to unlock screen to none i flashed cm 13 it didn't work but cm14 works well... Do you think ressurrection remix works and can i root and install xposed on cm with this tool? Thanks for all the help:)
[ZenFone 2 General] Kapil Tapsi:
Its good to know that finally you could do it.

CM is pre rooted so you dont need to root it. Though you can use xposed installer, it will work.
[ZenFone 2 General] PrinceLys:
I guess this is how a newbie treated... "SEENZONE"

Didn't even get an answer on my questions. Ok fine. :(
[ZenFone 2 General] audit13:
I'll try to answer your questions:

1) Copy all of the files and save them into the same directory on your Windows computer. I only installed TWRP and rooted my phone so I did not have to copy anything else to the internal or external SD card.

2) To install a MM update onto a rooted stock MM ROM running TWRP asthe recovery, download the entire stock ROM from the Asus website and save it to an external microSD card, flash the stock MM recovery to the phone, boot into stock recovery, choose update from SD card option, select the full Asus firmare, and update. This is how I updated from rooted stock .184 with TWRP to stock .223 except I did not unroot first.

3) Yes, you will need to root again with the same procedure because flashing the update will remove root.

4) You should not lose any data, but there is always a chance that something will go wrong; therefore, you should always have a backup of your important data before flashing anything.
[ZenFone 2 General] Kapil Tapsi:
Sorry I intentionally didn't answer your question as I thought you must have read about my current project is unroot.

Answers for you.

1. Actually there is no need to put files in sd card at all. Is is just for failsafe. And in that way too. zips are only one which are installed/flashed while in recovery. You can install apk later after booting.

2 and 3. Little bit confusive answer. If after rooting you update, of course you can update. But if it isnt rooted than you can root it using the same tools or updated one. Or second case may be that your phone may be already rooted after update, but this is very rare. So in any case you can update safely.

4. No, you wont loose data, if correctly followed guide. But Backup of media messages contacts and other data is advised as nobody knows future.
[ZenFone 2 General] Leihto:
Any way to root without install Magisk?
[ZenFone 2 General] tagsboy:
Error Device (Null)

[IMG="error asus"]https://postimg.org/image/uc1r8jqzn/[/IMG]

[IMG="error rooting"]https://s29.postimg.org/keqqfhjdz/error.jpg[/IMG]

please help me with this...im in the root process already...
[ZenFone 2 General] Kapil Tapsi:
Its reason can be fastboot and adb drivers. Or your usb cable is defected, some time it detects some time it does not.

Please check. Faq section for drivers.
[ZenFone 2 General] PrinceLys:
wow.. #2. That was very helpful info. I didn't know that you can update it while on a rooted state. I usually read that "you should always unroot before updating new firmware via OTA or manual" and also #3 "will remove root after flashing update".

It removes my doubt's, also I learn something new again Thanks a lot :)

Ahh I see, zips are for flashing. I thought the apk was part on that zip.

Thanks for the help and also thanks for your guide thread :)

now I can proceed to on rooting my phone.

I'm just waiting for my friend to come for his laptop, im gonna borrow it for rooting. I'm scared doing it on my pc because our place usually have sudden blackouts just like today and might occur during process and I dont want my phone to get brick.
[ZenFone 2 General] PrinceLys:
I forgot something... is it ok using on windows 10?

my friend's laptop is windows 10, I don't know if there's compatibility issue when your going to root.

(Sorry if this was already asked before, I lost track)
[ZenFone 2 General] audit13:
Some people have reported success with Windows 10.

I think the reason I did not have to remove root before applying the update may be that I downloaded the complete ROM from the Asus website and I started the update from recovery, not from the ROM.
[ZenFone 2 General] Kapil Tapsi:
There is no incompatibility with windows 10. Everything is working fine. I myself did whole process on windows 10. I will upload video tutorial tomorrow, if I get time. Though I'm sure I will.