Found
solution to resolve the problem "SafetyNet ctsProfile: false test result" on the andr firmware. 7.1.2. Magisk 16.4 installed.
1) Put the Safetynetfix.sh script along the path
/sbin/.core/img/.core/service.d and give permissions 755
2) Create a magiskhide folder (rights 755) along the path /sbin/.core/img/.core/ and put 5 files 755 rights there
will be /sbin/.core/img/.core/magiskhide
3) Put 3 files along the path
/sbin/.core/img/.core/post-fs-data.d rights 755
4) Put usnf file along the path
system / xbin rights 755
Everything inside:
SafatyNet_ctsProfile_fix.zip(6.1 KB)
Files 2) 3) 4) taken from universal-safetynet-fix-v2-beta-5.zip
I would be grateful if someone made a patch to install the file through TWRP.It turned out that a patch along such a path, in principle, cannot be done.
P.S. Still, just put the pens of one post-fs-data.sh file along the path /sbin/.core/img/.core/post-fs-data.d and that's it.
Post has been editedclicko - 04.05.18, 14:33