yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Guides, News, & Discussion] TheLastSidekick:
No. Just use the built in root function with Magisk. The latest Magisk will soon be updated to bypass SafetyNet checks again, as there is a patch publicly available here on the Magisk forums that works as of 7-17-2017 (today).
[ZTE Axon 7 Guides, News, & Discussion] n1234d:
Thanks. Don't know why but I just couldn't get root on B25. Ended up flashing to B19 via EDL. Also, somewhere along the way my data partition had converted to f2fs. Switched back to ext4. Currently happy with B25 and superSU for root :)

Safety net does suck though

Gotcha
[ZTE Axon 7 Guides, News, & Discussion] genbu:
Well, sucky part is MAgiskSu doesn't work with B25. It keeps crashing Magisk Manager.
[ZTE Axon 7 Guides, News, & Discussion] killer23d:
Yes, the fault is from the B25 OS. I've tested with the B25 from Drakenfx and also OTA from B19, Magisk Manager will throw an error code 14, something about can't open SQL database. I've raised an issue in the github but I don't know if it is going to ever get fixed because it seems to be our OS specific.

I am back on B19 and Magisk, I am happy. Unless there are compelling reasons to jump to B25, I will stay on B19 just to keep Magisk.
[ZTE Axon 7 Guides, News, & Discussion] lukanite:
Which, as of today, is broken for me again. RIP Magisk
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
I've been bad at updating the guide at first post, but FYI, I also found and tried the SafetyNet fix above. It fixes the broken SafetyNet on B19, so Magisk works again at least.

I'll update the guide when I get home, but basically I (1) used Magisk Uninstall in TWRP to remove my Magisk, (2) rebooted and uninstalled Magisk Manager in Android, (3) installed the new manager apk on the main Magisk 13.2 thread (think 5.0.5), opened it, downloaded the new Magisk 13.2 via the manager, (4) rebooted and installed. Magisk 13.2 via TWRP, (5) installed the SafetyNet patch above via TWRP, and rebooted (clearing Dalvik/Cache every time I installed something new in TWRP). SafetyNet passes upon reboot.

Open question if the combination of Magisk 13.2 + SafetyNet patch might now work on B25. If I'm reading right, nobody has tried the patch yet on B25.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Recommend trying the method in my post directly above, or wait a bit and I'll post file links too. But should be easy to find. Worked well for me.
[ZTE Axon 7 Guides, News, & Discussion] TheLastSidekick:
Consensus is that b25 and Magisk Manager crashes, some one on stock ROM should see what they can do about posting an error log to Magisk forums.
[ZTE Axon 7 Guides, News, & Discussion] HallOfPromise:
I'll be watching this forum. I was about to upgrade from B19 to B25 today thinking the only problem was the whitelist issue. Now seeing there are problems with SafetyNet passes I'll wait and keep an eye on new developments.

Main reason I wan't B25 is because I'm having minor issues with wifi-calling. It works sometimes and doesn't work others.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
It's fair if you want to wait until it is confirmed. But FYI, the SafetyNet issues occurred unrelated to B19 or B25. It was Google updating their SafetyNet detection process. My SafetyNet started failing on B19 when it was working before, without me tinkering, it just broke. So B19 isn't safe without applying the new Magisk and Fix. And in theory, if Magisk worked on B19 after the SafetyNet fix then it may work the same on B25. I don't think anyone has tried it yet.

Also, FYI, my guide has been updated and made current to get SafetyNet working on B19 as of 2017/07/17.
[ZTE Axon 7 Guides, News, & Discussion] HallOfPromise:
You're absolutely right! Just checked my Magisk SafetyNet check (which I honestly haven't done since after I flashed it) and low and behold it failed. Well, I'll be updating then, and might as well try to upgrade to B25 as well. Will check to see if the whitelist issue is still there after upgrading. Even if it is it shouldn't bother me too much since I just about have all the root access I need. Now since I still consider myself a noob at all of this, I'm gonna study the instructions before doing this, just to make sure I understand it.

Thank you for all your hard work!

Edit: I'm reading how to upgrade to B25 and it says I need to wipe DATA. Does this mean I lose all of my apps and revert back to a clean, stock state?
[ZTE Axon 7 Guides, News, & Discussion] genbu:
I 'm using Magisk 13.2 + safetynet patch on B25. I can confirm it working. Just that i have no root since MagiskSU and B25 are working well together.
[ZTE Axon 7 Guides, News, & Discussion] TheLastSidekick:
Magisk 13.3 released, guys try that maybe? I'd also uninstall the patch too, don't forget.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Hey, I'm sorry, I don't know the answer to this. I think that's right and you'd not wipe Data if you were trying to keep your apps, but maybe the others in this thread who have done the upgrade can give more information.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Thanks for the info! What do you mean "Just that I have no root"?
[ZTE Axon 7 Guides, News, & Discussion] HallOfPromise:
After some reading in that thread it seems like a dirty flash is okay for the most part, so I'll go ahead and try that tonight or tomorrow after creating a backup.
[ZTE Axon 7 Guides, News, & Discussion] JKSurf:
Sharing

Was previously running B25 with SuperSU due to recent purchase of a 256gb microsd card. Adaway was my only root app. Wanted to try Magisk to use Android pay.

1. Dirty flashed B25 bootstack and system in TWRP.

2. Wiped cache and rebooted to TWRP "for good luck". Flashed dmverity.

3. Booted into system, deleted SuperSU app. Tried adaway, no root access.

4. Dirty flashed B19 bootstack and system in TWRP.

5. Wiped cache and rebooted to TWRP "for good luck". Flashed Magisk 13.3.

6. Booted into system, tried to install Magisk Manager 5.1.1 APK, got corrupt error message.

7. Opened adaway, did not prompt for root access. Hit download and apply, worked. Rebooted, worked.

Added cards to Android pay and it appears to be working. I'll try for lunch. Also B19 is compatible with my 256gb SD.

Edit: PlayerPro can't see my mp3s on my SD.
[ZTE Axon 7 Guides, News, & Discussion] LieDanG:
I'm on B25 (clean flashed) and just installed magisk 13.3 but I can't get root access as Magisk Manager keeps crashing, any idea how to fix it?

Edit: NVM, I just read that B25 is experimental, going back to B19
[ZTE Axon 7 Guides, News, & Discussion] mb0:
B25 + Magisk 13.3 keep crashing but can bypass safeNet.

After clear date for Magisk Manger app can work untill first root request, then it keep crash again...
[ZTE Axon 7 Guides, News, & Discussion] StickMonster:
Good news: I expect future versions of Magisk Manager to work with our device.

After poking around some more and reading the source code, I was pretty sure I was on the right track with my earlier theory. I decided to patch and build to prove it. However by the time I got my build environment working I noticed that the latest commits would address the problem, so I built the unreleased master branch as-is and it works with B25.

If you want to try it out before the next official release, you can try my unofficial build from here:

https://drive.google.com/open?id=0B34fGM2hxfcMRy02SE9PdHBwNFU.

Feel free to mirror.

Install the latest version of magisk (13.3) like normal, then uninstall magisk manager and install the APK above. I pass safety net, and can add new root apps with no force closes.
[ZTE Axon 7 Guides, News, & Discussion] joemossjr:
Works perfect,!
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
This is exciting! Can't wait to run Magisk on stock! I'll wait for the next version! Hopefully we can get an updated OP for people like me to follow :D
[ZTE Axon 7 Guides, News, & Discussion] HallOfPromise:
I just went ahead and did this, and can also confirm the initial process works! Root apps are being granted root access by Magisk and SafetyNet is all pass. So far this is a good workaround/stopgap.

I will keep watching for more updates, but thank you so much for getting this working! I needed B25!
[ZTE Axon 7 Guides, News, & Discussion] genbu:
MagiskSU doesnt work on B25
[ZTE Axon 7 Guides, News, & Discussion] HallOfPromise:
Even though Magisk Manager would either FC all the time or not grant apps root access, the zip still rooted the phone after being flashed, so there was still root. However, this new modded version fixes those problems and for the time being we have a successful workaround until the official Magisk Manager works.
[ZTE Axon 7 Guides, News, & Discussion] abimaeld7:
I am going through the same thing , all went well as far as flashing goes, but I can not get into recovery , MiFlash was good to go , I followed every step to a T. But no Twrp did I miss a step? Any ideas please?

---------- Post added at 11:18 AM ---------- Previous post was at 11:01 AM ----------

I too cant get into recovery power+up volume, did exactly what was written all went well except I cant get into Twrp/Recovery. Any ideas please?
[ZTE Axon 7 Guides, News, & Discussion] StickMonster:
Is your bootloader unlocked?
[ZTE Axon 7 Guides, News, & Discussion] abimaeld7:
Yes it is . Went into settings , advanced settings , developer options, OEM unlocking is On.
[ZTE Axon 7 Guides, News, & Discussion] StickMonster:
There's more too it than that. You have to flash an even older bootstack and do a fastboot oem unlock. It's been too long for me to remember exactly but look for a guide with those steps. I have good luck with jcadduono's but there are others.
[ZTE Axon 7 Guides, News, & Discussion] abimaeld7:
Ok thank you . I will try to find a guide with those steps mentioned. I did use Miflash to go from B25 to B19 and that worked out pretty well. I knew I was missing a step but the steps werent clear enough for me to grasp. I mean he does say "go into fastboot mode and use the

"fastboot oem unlock" command to unlock (and wipe) your device. Download adb and fastboot below.: But I couldnt find the steps to do the unlock command and wipe the device. Ive been at this since this morning , Im gonna take a break and come back later . Thank you for your help :)

edited for update:

I got up this morning and tried axontoolkit-v1.2.0 and I got it unlocked and rooted and twrp is finally flashed . I needed that rest , it took alot of reading and it paid off. Thanks StickMonster for stepping in and letting me know that I needed to do more , I took that and ran with it , I read and found exactly what I needed to do . Now to find a good stable ROM :)
[ZTE Axon 7 Guides, News, & Discussion] 2CanSan:
Just to let everyone know if you download any Factory OTA B15 or B19 ( Except Android 6 ) rename it update.zip on the SDcard System update will recognize it and install it like a normal update to take you right back to full stock. I have done it a few times and it worked flawlessly.
[ZTE Axon 7 Guides, News, & Discussion] abimaeld7:
thank you for that tidbit . It works flawlessly. Again thank you so much!
[ZTE Axon 7 Guides, News, & Discussion] 2CanSan:
You are most welcome

And those wanting the B29 ( Marshmallow ) Factory OTA, here is the link

https://archive.org/details/AmericaA2017USDCardSoftwarePackage323140B2979A2017UV1.0.0B29SDNEW
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
Can we please get an updated guide?
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Hey - I actually had to return my Axon 7 due to a GPS hardware issue. I received my new phone yesterday, so I will be re-doing and testing the process including on B25. I'll update the main guide when I can confirm the start-to-finish process.
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
Awesome! Can't wait!
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
So the new update came out and I'm terrible at searching here. Is there a thread where I can download and flash the latest update on my unlocked stock ROM?
[ZTE Axon 7 Guides, News, & Discussion] lafester:
Drakens thread when it's ready (like every other update).
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Hey, FYI - The guide has been updated, and as a bonus (thanks to Magisk Devs, not me) the method I posted should be good for B32.
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
Followed your guide step by step! Thanks!

Installed Magisk, it says Safety Check was Successful but then says ctsProfile: false and basicIntegrity: false. Is that right?

Also it won't update to version 14. It downloads, says successful, reboots and is still 14

ALSO modules don't install either. FML
[ZTE Axon 7 Guides, News, & Discussion] Jaimesco12:
Could I go back from b32 to b19? I have unlocked bootloader but did not root. So I need to go back to b19.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Did you previously have another SU installed? It sounds like it may be residual files or settings related to that.

I actually found a really good troubleshooting page for ctsProfile issues in Magisk, I'd suggest to try these methods: https://android.gadgethacks.com/how-to/magisk-101-fix-safetynet-cts-profile-mismatch-errors-0178047/
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
I don't see any reason why it wouldn't work, but the latest version I've tried myself is B25, EDL flashing back to B19.
[ZTE Axon 7 Guides, News, & Discussion] -Duir-:
Followed the guide using Magisk 14 instead of 13.6 and all is working well. :good:
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
Yeah I had SU installed but I thought wiping data, flashing B19 then B32 would negate negate that? I followed every step to the letter!
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Gotcha. Not brushing you off, but try the troubleshooting guide I posted. I suspect it has to do with effectively removing SU, and there are detailed instructions there. It may be that after EDL flashing the B19 FULL folder, performing a Factory Reset in the stock bootloader may have erased any remaining remnant of SU, but right now the easier option may be flashing the UnSU ZIP in TWRP.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Thanks for the confirmation - I actually also updated to Magisk 14 and all is well. I'll update my guide.
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
OK I'll flash the SU uninstall and try the whole thing again.

Quick question : when you install the updates in TWRP and you tick the box that says mount system as read only, does the system have to be mounted too? It's off by default.
[ZTE Axon 7 Guides, News, & Discussion] runderekrun:
My SafetyNet won't pass unless I go into the options and disable and re-enable magisk hide. Also I install modules and it says successful but it's not; after the required reboot, there is not evidence I applied them. I previously had B25 on this with Magisk 13.5. I updated to B32 (with DrakenFX's zip) and never reinstalled Magisk til now. Never had SuperSU on this device. I did a uninstall and reinstall of Magisk and my problems persist. Anyone have any other ideas on what to try? Root functionality works fine.
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
Same :(
[ZTE Axon 7 Guides, News, & Discussion] KennyKusanagi:
So I'm already on B19 but I dont want to delete anything BUT I do want to update to B32. Do I just follow step 2? I'm already rooted & bootloader is unlocked as well
[ZTE Axon 7 Guides, News, & Discussion] amphi66:
Assuming you are referring to Post #2 HERE, the answer is "yes". Goodluck
[ZTE Axon 7 Guides, News, & Discussion] king1990:
Hi @ ScaryBugThing

first I would like to thank you for your help but I think you complicated the process, it is much easier than this so I would like to share my finding if you dont mind:

*these steps only if you are already unlocked your bootloader first UNLOCK *

*Note: it does not matter if your on stock B25 or B32 or any custom roms just follow the steps below*

*Backup first*

1- Download & install Axon7toolkit 1.2.1,install drivers & ADB from the tool (option 1).

2- using the tool, choose option 11 & follow the instructions to flash "A2017U_B19-NOUGAT_FULL_EDL" using Miflash (Axon7toolkit will start Miflash)

3- if the flashing was successful reboot your phone

4- now update using OTA to B25 then again update to B32 through OTA .

5- now you have completely stock B32 , you will also lose fastboot command

6- Reboot to EDL

6- Start Miflash directly it should be here "C:\Program Files\Xiaomi\MiPhone" & Click on refresh , a COM port should appear

7- in the target white bar, paste this destination "C:\Axon7Development\Axon7Toolkit\miflash\unlock\FASTBOOT_UNLOCK_EDL_N" & click flash, if succeed reboot & you should now have fastboot commands

8- again use Axon7toolkit & choose option 9 to flash TWRP , follow the instruction and you should have TWRP.

9- start the system then reboot to recovery and flash magisk 14.0 check for safety net if fails just reboot your phone & it will pass.

10- done.
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
Ok, this is really annoying me now:

1) Uninstall SU, flash un-SU zip

2) Wipe data

3) Flash B19 and TWRP

4) Wipe Data again

5) Tick System as read only, don't mount system

6) flash B32 bootstack, B32,

7) wipe data again

8) Flash Magisk 14

DOESN'T WORK. WON'T PASS SECURITY. WON'T INSTALL MODULES. What is happening? What am I doing wrong?
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Thanks - I'll add this to the main topic as an alternate method. I haven't actually used it, but agreed, it should work.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Hey - for step 5, you are ticking system as Read Only (I assume in TWRP). I don't know enough of what parts of Android Magisk touches, but my method involves flashing the No Verity fix (Step A.10) so that you can modify system. That may be preventing Magisk from properly installing.
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
I've responded to Baconboy with a troubleshooting guide. Also, see my latest response, if you both are not flashing No Verity and are not sliding to allow system modifications in TWRP, that may also be the problem.
[ZTE Axon 7 Guides, News, & Discussion] Cablespider:
[MENTION=4896610]king1990[/MENTION]

Your post prompted me to try injecting fastboot with the B32 bootstack. I was already unlocked, running twrp, magisk and AEX with the B19 bootstack.

I flashed the B32 bootstack, entered EDL and MiFlashed the fastboot stuffs from the toolkit. And sure enough, I now have fastboot commands with the latest bootstack.

I always wondered if it would work. Thanks to your post, I threw my big boy pants on and gave it a whirl. I'm just posting to confirm it works even from a custom state. Thanks for the motivational kick.
[ZTE Axon 7 Guides, News, & Discussion] baconboy:
Yes that,s right, cos DrakenFX's thread says it's very important that you do that when flashing 32. So you think I should not tick system as read only? Is the system mounted too? (it's not ticked by default in MOUNT).

Can I just flash the 32 Bootstack and ROM again? I don't need to go all the way back to 19 do I?
[ZTE Axon 7 Guides, News, & Discussion] king1990:
[MENTION=2654276]ScaryBugThing[/MENTION]

thank you for adding the method.
[MENTION=4676535]Cablespider[/MENTION]

happy it worked for you. Axon7Toolkit is very powerful and can be used to do almost everything thanks to dev
[MENTION=269984]baconboy[/MENTION]

try my method I think it will work
[ZTE Axon 7 Guides, News, & Discussion] runderekrun:
I didn't see this until now. I appreciate you trying to help me. I went in and unchecked "do not modify system" which made me swipe to allow system modifications. Then I flashed no-verity, then magisk 14.0 again. I booted into android and the same behavior persisted (modules not installing, ctsprofile: false). Then I tried rebooting back to recovery and uninstalling magisk and then reinstalling it (all with that system modifiable). Still no dice. I wonder if I need to flash stock boot.img. I don't really want to flash all the way back to b19 just for magisk....

[MENTION=269984]baconboy[/MENTION]

With no-verity flashed you can safely remove that check mark that says do not modify system. I still couldn't figure out my magisk problem but it's a step I guess.
[ZTE Axon 7 Guides, News, & Discussion] 2CanSan:
I used DrakenFX to get to B32, ran miflash to restore bootfast but I have SuperSu installed. Can I just flash B32 boot image to get rid of SuperSu since it will not unroot its self and then flash magisk? There must be a simpler way than starting over.

Thanks
[ZTE Axon 7 Guides, News, & Discussion] shpitz461:
I'm on B32 from B19 stock, followed the guide and am up and running with Magisk v15.0.

I'm having an issue where BusyBox cannot update /system/xbin, it always fails.

Do i need to enable system r/w? if so, how?

EDIT: I'm actually running Magisk 15, it prompts me for an update to 15.1, i select direct flash, it asks for a reboot at the end, but when booted up, Magisk is still at v15.0.

---------- Post added at 19:00 ---------- Previous post was at 18:17 ----------

Bingo!

needed to run following command in adb shell:

Phone rebooted and now can write to /system.
[ZTE Axon 7 Guides, News, & Discussion] TKENNEY:
I gave the same question. Anyone know ??
[ZTE Axon 7 Guides, News, & Discussion] shpitz461:
How do i get rid of the 5 second delay screen when phone turns on? The text is all white and some of the lettering is misaligned, looks weird...
[ZTE Axon 7 Guides, News, & Discussion] alien0101:
Not able to boot into recovery

I have followed steps A1 to A9 flashed B19 full and with TWRP.

Now when I try to boot into twrp I can see only black screen.

I tried with adb reboot recovery

and Power + Vol UP button.

Please suggest what can I do here?

---------- Post added at 03:06 PM ---------- Previous post was at 02:33 PM ----------

Now I am able to boot into Twrp.

Not in recovery and while booting its asking for password. Please suggest what to do . I am stuck
[ZTE Axon 7 Guides, News, & Discussion] ScaryBugThing:
Did you flash the no-verity-opt-encrypt-5.1.zip file?
[ZTE Axon 7 Guides, News, & Discussion] Choose an username...:
isn't it better to just flash magisk or supersu though? I suspect they'll want root afterwards
[Honor 6X Questions & Answers] Kkzordon:
Wiped oem and cust after that my model no changed how to fix that please my model no was bln-l22c675 now generic_a15 and missing updater app. I installed second update but nothing worked:(
[YU Yuphoria] Divyansh747:
Great work bro ;)
[YU Yuphoria] #Rohan:
Thanks:)
[YU Yuphoria] shrayanshy:
Great work bro
[YU Yuphoria] terroboy k9:
Good job
[YU Yuphoria] PawanRockz:
Awesome work bro ;)
[YU Yuphoria] majid0987:
I was able to flash the room successfully and use it

Pros

Boot in 45secs

Good look

Good battery backup

New marshmallow

Cons

No signal bug(can be repaired by fix signal)

Some apps show Chinese language

Google play store only download in WiFi

Sd card error

Camera bug

Video flickering

Any way good job

Hope u will fix and reply
[YU Yuphoria] #Rohan:
No signal bug is Rom source issue so can't be solved by my side:)

Some apps show chinese becoz its a patch rom mixup of Global + china Rom

(Google play store only download in wifi) this is not any error or bug go to downloads/settings & set "Download using mobile data" to unlimited:o

Also,

"Sd card error

Camera bug

Video flickering"

there are no such^^ issues facing by other users:confused:
[YU Yuphoria] ayushman11:
Where is the link of flesh file of rom.??
[YU Yuphoria] #Rohan:
flesh file??:confused:

u mean Rom link https://drive.google.com/file/d/0B4NnMzIyTTJZOEpLREotN0d2TjQ/view

Always Read Op & also follow flashing instructions carefully:o
[YU Yuphoria] susheelyadav:
What are the things to be wiped off before flashing?? Please give a detailed info....

What things should be selected to wipe off in twrp??

And the biggest problem:-error 7 for yu5010a

Reply fast
[YU Yuphoria] Maaz Muzammil:
Can you make this for Jalebi
[YU Yuphoria] k m:
volte

first of all thanks or the rom

but the most waited VOLTE NOT WORKING

using reliance jio 4g..

need solution
[YU Yuphoria] #Rohan:
Its working fine :)

Flash VolteModem