yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 General] geek85:
just tried:

1. Boot is very long (I nearly though that was a failure)

2. the phone is laggy, didn't try pogo for the moment

there is a bunch of

in the Xposed logs.

this could explain the 3. All apps have to optimise on reboot (although it's super fast compared to 'normal' optimise) that [MENTION=3180716]ameel[/MENTION] is talking.

the laggy thing is from suhide at first (I've tested the system between each step) and Xposed aggravated the laggyness. but the chainfire's suhide post warn us that it would be the case.

BUT safetynet passes with su and xposed active and that's what we wanted!
[ZenFone 2 General] ameel:
Good point! I'm uninstalling xposed for now, and will look into it over the weekend.

Any idea if the above behaviour is unique to the zenfone 2 or present in other phones using systemless?

Also, check this out: https://www.asus.com/zentalk/tw/thread-150288-1-1.html (for 85.5 systemless) and in particular:

which translates to (courtesy of Google translate)

1st one don't need with new systemless. not sure whether the other 2 steps are needed (or what they do).
[ZenFone 2 General] chtan23:
I followed your process and it works. I did wiped cache when flashing MM again before follow your procedures.

I do notice that phone is slower compare to previously using Magisk and phh.

Pokemon go also sluggish and laggy.
[ZenFone 2 General] abex181:
Yea, my phone is laggier after installing xposed as well. Haven't tried PoGo, although I've already quit.

The lag issues are likely related to the "fast" optimize, which is not really doing anything because dex2oat is failing for almost every package.

You can also check the logcat for a bunch of ART related error messages.

Chances are it has something to do with the patch, but without going further and de/recompiling the xposed files (i.e. make a new patch) it may not be possible to easily fix.

At this point, it's probably not worth it to run xposed along with suhide.
[ZenFone 2 General] paktepu:
Where i can find xposed-v85.5-sdk21?
[ZenFone 2 General] rmess2222:
problems

so i fresh installed MM and when i go to flash the repacked supersu zip it installs fine but once i go to boot the phone the first time it just hangs on the spinning wheel.... ive left it for like 40 minutes now and it still just spinning.... any advice????? thx
[ZenFone 2 General] ameel:
[MENTION=4511340]abex181[/MENTION], [MENTION=1546829]geek85[/MENTION], [MENTION=1491364]chtan23[/MENTION]

I fooled around a little too much... Anyway getting late here, but see attached 2 files.

I took romracer's 86.1 systemless and modified it for zenfone 2. It works, passes safety net, optimises super fast (ie fail) but same issue as the previous working one (sluggish, etc).

I fooled around some more with romracer's 86.1 and xposed 86.5 (see attached file). I flashed that on top off previously flashed 86.1 (not sure if that helps or not). Flashing gave me a few errors "ash: bad number". Flashed a couple more times and still the same. Thought i'd give it a shot and boot anyway.

Booted, apps optimised properly this time. Properly installed, passed safety net. Apps don't feel sluggish (Pogo seems mostly fine, but i haven't gone out to test properly or catch anything).

I would test more, but I really need to sleep... I don't think the 86.1 needs to be flashed (but who knows?). Maybe someone try flashing 86.5 directly? If that doesn't work, flash 86.1, reboot into system, and then flash 86.5? Do some more testing and report back?

edit: just to clarify. this is for SuperSu 2.78 SR1 + suhide 0.53 (i.e. flash those 2 first, reboot into system, then flash the attached xposed).
[ZenFone 2 General] BramboetZ:
Dear [MENTION=4511340]abex181[/MENTION]

I'm currently trying to use your patched Supersu v2.78 for Zf2..

On my first try(without magisk) :

-flash stock rom

-type command terminal : echo "SYSTEMLESS=true" > /data/.supersu

-flash your patched Supersu v2.78 for Zf2

-reboot to system

-stuck on asus loading screen over 20 minutes and i turnoff the phone tired of waiting :)

(haven't flash suhide yet, just wanna check if the root success or not)

On my 2nd try(with magisk) :

-flash stock rom

-flash magisk v6 patched for zf2

-flash supersu v2.76+

-type command terminal : echo "SYSTEMLESS=true" > /data/.supersu

-flash your patched Supersu v2.78 for Zf2

-reboot to system

-stuck on asus loading screen over 20 minutes, same with above..

My question, what am i do wrong??

My device :

ASUS_Z00AD (4GB RAM 32GB)

I want to migrate from Magisk V6+PHH +Xposed 86.5

Thanks..

Sorry for my poor english.:D
[ZenFone 2 General] abex181:
I'm assuming that you are flashing the stock rom for MM.

What recovery are you using? You won't be able to flash the stock rom on a custom recovery, but TWRP 3.0.2 is required for flashing suhide.

You don't need to echo "SYSTEMLESS=true" on the latest versions of SuperSU if you are flashing to MM rom.

Are you sure the downloaded zip file is not corrupt?

Do not mix SuperSU for magisk with normal SuperSU.

Your process seems normal, so otherwise I'm not sure what to say.
[ZenFone 2 General] geek85:
I'll test this where I can. What did you change in this zip ?
[ZenFone 2 General] rmess2222:
So I un rooted un magisk un xposed. I then booted to check everything was gone. It was. I then went back to twrp flashed original MM rom and then super su sr1 then factory reset then booted system and it booted fine. I then went back to twrp flashed suhide. Then boot to system everything ok. Then went and flashed both of the xposed frameworks 86.1 and 86.5 got the same errors when flashing 86.5. Booted and optimized normally but any game I try to play is either not loading or stupid slow. Like un playable.
[ZenFone 2 General] chtan23:
After flashing so many stock rom, upgrade/downgrade, my ZF2 finally tell me enough is enough, now it gives me a message when boot in system and tell me to perform factory reset because system is not stable. So, I did system/data reset in MM and only few user apps (safetynet test and pogo + some xpose module) installed to test it out,

I tried with just flashing xposed 86.5 after super su and suhide, but it can't activate when boot in to system, it works only if you flash xposed 86.1 then followed by 86.5.

Somehow, Pogo still sluggish for me, even after I removed xposed, it still feels sluggish. I have to remove suhide and supersu, then all is back to normal. Now flash back Magisk and phh superuser. Pogo is running well, strange thing is I didn't see any optimizing message at all, even after I remove suhide and supersu, flash magisk and phh su, didn't see any optimizing message when boot up. However, system and apps are running smoothly.

In my opinion, I think supersu and suhide are not optimized for ZF2. Maybe next phone should avoid x86 phone, just go with mainstream arm processor.
[ZenFone 2 General] ameel:
After a couple of reboots, my pogo is back to sluggish as well. Not as bad as with the 86.2, but close enough. I'm giving up for now and switching to magisk + phh superuser + xposed 86.5. will disable xposed if i REALLY want to pay pogo....

Completely agree, next phone is an arm phone, maybe a zf3 deluxe?

EDIT: OK we've been going about it the WRONG way! POGO is laggy on SuperSU 2.78 SR1 + suhide 0.53 (WITHOUT XPOSED) but to a lesser extent. My guess therefore is that SuperSu 2.78 SR1 +suhide 0.53 (i'll uninstall suhide and try again) is probably causing performance issues, which is amplified when xposed is installed?
[ZenFone 2 General] ameel:
[MENTION=4511340]abex181[/MENTION], [MENTION=1546829]geek85[/MENTION], [MENTION=1491364]chtan23[/MENTION]

So i tested a few more times after flashing stock. Basically SuperSu 2.78 SR1 + suhide 0.53. No xposed. Pogo and system is generally quite sluggish. so ... my conclusion is that SuperSu 2.78 SR1 isn't very compatible with ZF2. Does SuperSu 278 (stable version) work with suhide 0.53? If so, maybe worth giving that one a shot instead?
[ZenFone 2 General] geek85:
From my tests, it's most likely suhide who make the phone laggy. SuperSu alone works fine.
[ZenFone 2 General] geek85:
[MENTION=3180716]ameel[/MENTION] [MENTION=4511340]abex181[/MENTION]

I just modify the magisk v7 zip to add zenfone 2 signature.

I do not test this for the moment so it may be bugged. (but it's just a file and a line of code to add, so it's unlikely)

edit: seems my version doesn't work.

i delete it
[ZenFone 2 General] ameel:
Thanks. I modified my own as well and currently testing. I can't get superuser 266 to work, which is annoying me...

I also modified xposed 86.6, but haven't tested yet.
[ZenFone 2 General] ameel:
[MENTION=4511340]abex181[/MENTION], [MENTION=1546829]geek85[/MENTION], [MENTION=1491364]chtan23[/MENTION]

Got Magisk v7 + Xposed 86.6 working. Tested working with magisk phh SuperUserr17 and magisk phh SuperUser 259 (http://xdaforums.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921)

I'm downloading android ndk so I can re-compile SuperUser (non magisk) for zenfone 2. If that works, might be able to get hidesu to work as well. Unless topjohnwu comes out with magisk superUser 266 first

edit: finally uploaded (i removed non-zenfone 2 bins to cut size for upload).

Process for installing:

Boot to TWRP recovery

Uninstall magisk (this will uninstall magisk and phh SuperUser (magisk version) and xposed 86.5 (magisk version) and any other magisk module).

Flash Magisk V7 fixed for ZF2 attached

Flash phh SuperUser r17 (magisk) or phh SuperUser r259 (magisk) (http://xdaforums.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921)

Flash Xposed 86.6 (magisk) fixed for ZF2 attached.

Reboot to system. Profit $$$

(Both phh SuperUser r17 for magisk by topjonwu AND phh SuperUser r259 for magisk work. )

edit:for the files, see my post here: http://xdaforums.com/zenfone2/general/superuser-r272-magisk-v7-xposed-86-6-t3475045
[ZenFone 2 General] chtan23:
[MENTION=3180716]ameel[/MENTION]

Thanks for sharing this. Do you need those package repack for ZF2 like the old Magisk v6 phh superuser and xposed? Could you share them?
[ZenFone 2 General] ameel:
I uploaded at http://xdaforums.com/showpost.php?p=68975291&postcount=255

Both phh SuperUser r17 for magisk by topjonwu AND phh SuperUser r259 for magisk work.
[ZenFone 2 General] geek85:
does the phh SuperUser r259 is the version with hidesu ?

ok I had my response: no.

and hidesu do not hide xposed. so i'll test supersu along with magisk v7.
[ZenFone 2 General] ameel:
Neither phh SuperUser r259 (which doesn't work on zenfone x86 anyway) NOR phh SuperUser r259 (magisk by topjohnwu) have hidesu.

Only phh SuperUser r266 has it. Once available as a release, topjohnwu will probably release the magisk version too. That said, you don't need magisk version. Only problem is it's not complied for x86 which Zenfone has. I'm therefore downloading dnk to recompile r259 and see whether I can tweak it to have hidesu as well.
[ZenFone 2 General] chtan23:
[MENTION=3180716]ameel[/MENTION]

With this new Magisk v7, we can't toggle off root anymore, mean it won't pass safety net check right?
[ZenFone 2 General] ameel:
Correct it won't pass safetynet until we get SuperUser r266 to work (whether magisk or not).
[ZenFone 2 General] chtan23:
Noted. I tested the zip files you provided, all works fine. Now just have to wait for SuperUser r266 to make it perfect.
[ZenFone 2 General] BramboetZ:
So for this time, it's better to stick with v6 if you're playing pogo..

Btw, if magisk v7 lost it's ability to hide root, what the point of flashing magisk anyway??

Hoping soon will be other way to play pogo without toggle on/off xposed, just tired rebooting everytime:D..
[ZenFone 2 General] geek85:
and it will not hide Xposed Framework from safetynet, only root.

---------- Post added at 14:51 ---------- Previous post was at 14:22 ----------

@ameel your xposed package have the same art bug (the libart.so is not the correct version) that make optimization fail on every packages.

I wonder if we could find the libart.so patch for x86 to apply on each version of libart.so
[ZenFone 2 General] ameel:
i didn't get this. let me try again :/

edit libart.so is x86 compiled. i deleted all other arch exceptfor x86. ill test on my phone and let you know
[ZenFone 2 General] ameel:
I've compiled phh SuperUser r270 for x86. Took a while to fix the update scripts to make it work for ZF2, but got it working. However, it appears hidesu itself isn't compiled for x86. I'm trying to figure that out...
[ZenFone 2 General] geek85:
back to magisk v6.

it's the best way to mask root for the moment. I'll not use Xposed and see if I miss it.

---------- Post added at 10:24 ---------- Previous post was at 10:17 ----------

do you have news on this?
[ZenFone 2 General] ameel:
I majorly screwed up my phone. Lost IMEI. Trying to figure out how to change IMEI for now.
[ZenFone 2 General] chtan23:
How about using Asus flash tool flash back factory LLP?
[ZenFone 2 General] ameel:
Tried but getting errors when I'm loaded in system. And phone reboots before I can do anything. Flashed back to MM and still no IMEI. Accidentally pulled cable while flashing. Now no bootloader lol. Had to leave it overnight to be able to flash bootloader this morning using xFSTK. Trying to flash service firmware now using Asus Flash Tool but that's taking very long. Not sure if it's stuck or... so i'm just hanging here for a while. If doesn't finish in 20 minutes, I'll think about next step.

---------- Post added 6th October 2016 at 12:12 AM ---------- Previous post was 5th October 2016 at 11:24 PM ----------

OK. Got IMEI back. Unlocking bootloader, Flashing to MM. I'm compiling SuperUser r272 for x86 in the mean time, and fixing install script.
[ZenFone 2 General] ameel:
Hi guys, SafetyNet doesn't pass anymore lol, since recent update (last 24 hours?).

Compiled r272 SuperUser's hidesu doesn't work, so no point...

edit: Actually r272 works fine and passes SafetyNet, but Magisk doesn't LOL cakes.

my thread here: http://xdaforums.com/zenfone2/general/superuser-r272-magisk-v7-xposed-86-6-t3475045
[ZenFone 2 General] holymoz:
Have confusion for downgrade, I'm on stock mm unlocked and with twrp, can I downgrade with the asus downgrade image from their support site or must follow instruction in first post here? Thanks
[ZenFone 2 General] DeeJayAhmed:
I need to uninstall xposed, im unable to find a flashable zip for it, please help!

PS: for those who think why do i even need to uninstall it, i need to log into snapchat, snapchat wont login cause of xposed, it has happened in my previous devices too, i just need to uninstall xposed, login to snapchat nd reflash xposed!
[ZenFone 2 General] anooj21m:
i am not being able to access the TWRP recovery..

after flashing and reboot recovery ..it just reboots to bootloader again.

and if cmd command to recovery.. (when turned on)

it goes to the "no command" normal recovery not twrp.
[ZenFone 2 General] BerkeKan:
Let's say I modified the system apps and receive an update. If I flashed the boot.img then updated, would there be a problem?
[ZenFone 2 General] Ferreira_F10:
I need to use the TWRP 2.8.7.0 version? Can't be the 3.0.2.0 version used in Lollipop?
[ZenFone 2 General] gioele 1334:
You need SuHide GUI from Play Store!
[ZenFone 2 General] ga_santos:
For Xposed i can use v86 (http://dl-xda.xposed.info/framework/sdk23/x86/)? Or the Xposed in this topic is modified for stock rom?
[ZenFone 2 General] ryankabir:
Steps - z00a Locked Stock Lollipop to SU'd Custom MM or unlocked Custom MM possible?

--- Just bought z00ADB CN Variant yesterday ( Quad 1.8 atom + 4 GB Ram + 16 storage ) -

i basically bricked it an hour after purchase - successfully used Cyngn 12/12.1 then bricked on 13 because I tried to unlock bl classic style and hard flash twrp, so then i had to use xfd) ---

----- it's SW is now on WW_2.xx_197 (whichever is newest LP WW variant) ---- once again stock locked ( i am not going to use LP Unlock now) *because* I downloaded the z100a MM WW variant 420__184 from Asus.com

Can you please *confirm* if I have understood the steps? (I've previously done lot of such root/mod but never been stuck or bricked...) - plz confirm my understanding..

So- I think you're saying:

1. From LP Stock Locked > Install MM Stock via ADB LPstock recovery (no twrp yet)

2. After official MM fw + OS etc loaded, then open MM Stock Recovery via ADB command line

3. From MM_Stock_Recovery use command "fastboot boot twrp.img" (for tethered twrp?)

4. Once virtual TWRP is on, use "adb sideload supersu.zip / xposed.zip / viper4android.zip / etc.."

5. Reboot back to MM System direct and Root + other root-ware will be installed?

6. If this is the case for tethering basically I should NEVER use "fastboot flash recovery twrp.img" - or it will brick?

7. I take weekly nandroid twrp backups - can this be done via tether method?

8. Will TWRP Restore also work?

[I]9. Alternatively in STEP #4 if I want Custom Stock-based OS...[/I]

I should flash "droidboot_old_LP + twrp + zip ROM + SU + ifwi + token + droidboot_MM_stock" all via tethered twrp ---- this will give me MM Custom Rom + SU and reboot via stockMM loader?

So - I guess I am asking if anyone can confirm the steps I have understood or not? -- and for CustomROM can I directly take step 9 in place of step 4

OR - as I've seen some conflicting manuals

Should I update

MM_Stock_ROM

then

+ fastboot flash LP_droidboot

+ unlock command

+ flash recovery twrp

+ twrp install su.zip

+ fastboot flash fastboot MM_droidboot_stock

+ flash MM_ifw

+ flash MM_token

+ reboot system

?

Will that give me *unlocked loader with custom MM and permanent twrp?*

I would appreciate some clarification as I've been stuck on this last 10 hrs and getting irritated because it's very different from what I've done before with Samsung/HTC/LG/Google Glass/Moto... - never used Asus

---- Another cause for my confusion is that some of the "one_click" tools installed new MM_ifw/token etc + FLASH twrp ... and I was never able to go into ANY recovery mode OR it totally bricked with Asus Logo loop or blank screen--- (see screenshot of using oneclick tool from LP_Stock_img)

#HELP - I need to use this phone on MM Rooted - very frustrated with the "various options" I have found on xda

TIA
[ZenFone 2 General] hieulanhat123:
xposed not working on marshmallow .184
[ZenFone 2 General] Rev_Engg:
Just download the rom from asus website which you want to have on your device, its a zip so you can extract only bom-token.bin, ifwi_ann_a0-mofd_v1-ze551ml.bin, droidboot.img, splashscreen.img, recovery.img and boot.img

boot into fastboot mode and following commands,

fastboot flash token bom-token.bin

fastboot flash ifwi ifwi_ann_a0-mofd_v1-ze551ml.bin

fastboot flash fastboot droidboot.img

fastboot flash splashscreen splashscreen.img

fastboot flash recovery recovery.img

fastboot flash boot boot.img

after that reboot into recovery(NOT TWRP) mode by using vol+ or vol-, once into recovery mode just select sideload option then on your pc run adb sideload rom-you-want-to-flash.zip wait(takes 15-30mins) till mobile reboot.

Bam! you are on fresh stock ROM
[ZenFone 2 General] sbetatester:
Hi,

Just wanted to know if this post is still alive.

Well my question is that i have successfully rooted my 6.0 using this method before but when i'm trying it now, my su binary update fails everytime. Any suggestions?

P.S

1) My bootloader is unlocked (shows failed verification screen for 5 sec prior to boot)

2) Twrp is installed (by install i literally mean my recovery is twrp instead of stock not just boot twrp.img)

Thanks
[ZenFone 2 General] Rabbul.H:
I also have the same issue
[ZenFone 2 General] Tr4sHCr4fT:
i think that 've unlocked bl before mm upgrade

but 'm not sure - how to check?

bootscreen is not inverted!
[ZenFone 2 General] kenbo111:
With mm An unlocked bootloader gives you a 5 second "verification error" screen during boot up.
[ZenFone 2 General] sbetatester:
Mine was resolved after installing Lineage OS with Magisk 13.3 for root.
[ZenFone 2 General] CruzDan:
--------------

I'm in android 6.0.1 (ASUS model Z00AD, software ZE551ML). Do I need to make downgrade to the android version Lollipop for the following this tutorial of "pokey006"?
[ZenFone 2 General] indio69:
How do I root my lgstylo3
[ZenFone 2 General] kenbo111:
You need to ask that in the LG forums. This is for Zenfone 2
[ZenFone 2 General] Val3r10:
Hi. After reading tonz of threads, I almost got totally confused about the bootloader version

and the best way to upgrade (system and bootloader) from LP to MM.

My nowadays status, I'm very glad with (I would to keep in MM too...) :

- ZE551ML on Android 5.1.1 LP WW-2.20.40.206

- unlocked bootloader (white splashscreen, as the black one screwed everything while unlocking)

- bootloader IFWI version = 0094.0173

- fastboot last line "continue the fastboot process" is BLUE (is it LP or MM ?)

- TWRP v2.8.7.0 untethered flashed (flashboot boot twrp.img never worked for me)

I haven't the stock recovery.img for .206 and it isn't inside the UL-*-user.zip package ...

By the instructions on the OP perspective, it seems I'm at the middle of step-1

Should I upgrade/unlock the bootloader first ? I read a lot of problems about this hybrid config...

What is the correct procedure to upgrade to Android 6 now ?

Up to UL-Z00A-WW-4.21.40.352-user.zip latest version, I guess

Should I first upgrade to the beta MM (.61) to upgrade/unlock the bootloader, as stated in the "official 6.0 unlock thread" ?

I haven't the stock recovery, so I can't upgrade via the stock procedure.

Should I sideload MM ? Which version exactly to keep the unlocked bootloader as stated in the OP ?

Many thanks for any advice
[ZenFone 2 General] Mnemonique:
will this factory reset the device?
[ZenFone 2 General] Rebelex:
Thank you !

That BETA root.zip saved my soft bricked phone ! :good:
[ZenFone 2 General] chobztopz:
Since it's systemless root, can you share your boot.img after flashing supersu 2.74.

Thank you
[ZenFone 2 General] allasca:
[MENTION=254461]SamC[/MENTION]tjsai

My phone is z00a.

I cant find twrp version of 2.8.7.7 i am try using latest version of twrp. Its just starting adb always. My adb can not detect my phone. Any idea?
[ZenFone 2 General] samcjtsai:
Did you activate Developer options? Setting->About->Software information->push Build number several until Developer options activated Then in Developer options turn on "USB debugging". If you already set up adb driver correctly in your PC, you should be able to see your device by command "adb devices".
[MENTION=1813976]shakalaca[/MENTION] recommend this twrp
[ZenFone 2 General] MikeyLee:
Doesn't boot into TWRP. Just sits on the dead droid screen
[ZenFone 2 General] allasca:
Usb debug alredy.

My device manager said android device (!). Even i instal intel android device usb driver manually. Can you give me the adb driver? Thanks.
[ZenFone 2 General] MikeyLee:
I thought it was posted that you do not need t have your bootloader unlocked to get this to work?
[ZenFone 2 General] dwi5011:
try change "adb reboot recovery" to "adb reboot-bootloader" then flash twrp.img from fastboot mode
[ZenFone 2 General] samcjtsai:
Please read the OP carefully.

1. Unlock bootloader in LP --> upgrade to 6.0 --> fastboot boot twrp -->Root-->Xposed

2. If you are from Locked bootloader in LP-->upgrade to 6.0 then downgrade to LP --> goto 1.
[ZenFone 2 General] allasca:
Tried different driver. Error installation. Any idea for sideload? My laptop cant read my phone when in twrp sideload. But i can boot twrp via bootloader.

Edit=======

WORK BY INSTALLING UNIVERSAL ADB DRIVER. DEVICE MANAGER SAID MY PHONE IS NEXUS ADB. LOL iam on rooted
[ZenFone 2 General] chobztopz:
Since it's systemless root, can you share your boot.img after flashing supersu 2.74.
[ZenFone 2 General] Level99:
Worked flawlessly for me, thanks very much for patching root and xposed for us! Stock 6.0 + Root = running like a dream.
[ZenFone 2 General] MikeyLee:
Awesome! So bottom line is you definitely have to have your bootloader unlocked then?