Phone in question is european HTC 10 with Oreo.
Here is what I did:
- Unlocked the bootloader following procedure from htcdev.
- Flashed TWRP.
- Sideloaded SuperSu.
Then I figured that I don't want SuperSu because of SafetyNet. (fails both basicIntegrity and ctsProfile)
I didn't changed anything on system partition manually.
Did full unroot in SuperSu.
Now basicIntegrity passes, but ctsProfile fails. I think its because bootloader is unlocked.
Now I want to flash Magisk, but TWRP can't mount data partition because disk is encrypted(password doesn't work). This makes me unsure if it is possible to flash magisk.
Can I ADB sideload Magisk? or flash it with fastboot?
Ideally I want to end up with rooted phone that passes both cts and basicIntegrity.