[How To] Magisk 13.2 on B19

killer23d

Senior Member
Jan 5, 2008
392
107
0
Vancouver
After days of trial and error, I can conclude that B25 has serious issues with Magisk - Magisk Manager will fc on every root permission prompt, the Magisk app is also not usable. I've raised this issue here as it seems it is producing a code 14 error on opening the database. This problem seems to be B25 or Axon exclusive.

Since B25 stripped bootloader and caused the Magisk to crash, I see no reason to use it and to get Safetynet to work, rolling back to B19 is the next best move.

I will describe my process (which involves a wipe) and successfully get Magisk 13.2 to work and Safetynet all passed without extra modules.

1) Download the B19 EDL (B19-NOUGAT_FULL) and have MiFlash ready
https://forum.xda-developers.com/axon-7/development/edl-emergency-dl-mode-twrp-unlock-t3553514

2) Flash B19 EDL by using
Code:
adb reboot edl
3) Boot to stock recovery by pressing Vol Up+Power, choose a wipe/reset

4) Boot to Bootloader, install TWRP
Code:
fastboot flash recovery twrp-3.1.1-0-ailsa_ii.img
5) Boot to TWRP and sideload Magisk 13.2
Code:
adb sideload "magisk v13.2.zip"
6) Boot to system

7) Enable USB Debugging and run
Code:
adb reboot disemmcwp
Magisk should be working and it should pass the SafetyNet check. You now have a clean phone to play with and stay away from B25.
 
Last edited: