This method applies to kernels which haven't already been patched with Sultanxda's method
- Download latest RootSwitchhttps://www.asus.com/zentalk/tw/foru...MHwxNzM1NDI%3D
, extract the apk and install it.
-Download RootSwitch.zip (.supersu and custom_ramdisk_patch.sh, needed for passing SafetyNet checks)
, extract the files and place them in the root of the /data directory and make them executable. (rename dot.supersu to .supersu first).
- Unpack your boot.img with AIK and add this to the end of the -cmdline line file in /split_img
- Repack, flash image-new.img and root/re-root with SuperSU.
That's it. Whenever you want to pass SafetyNet, just toggle off the "Enabled" switch in RootSwitch.
Curious note: /proc/cmdline will still have androidboot.verifiedbootstate=orange
in it, but adding androidboot.verifiedbootstate=green
seems to over rule it and satisfy SafetyNet that bootloader is locked