[HTC 10 Questions & Answers] MAAZAHMEDSIDDIQEE:
Help needed as I am a little confused on this matter.

I am on HTC 10 software version 3.16.401.2 Oreo, If I recall correctly as I did it a long time ago, I had previously rooted my phone with SuperSU but uninstalled by Full unroot method due to some apps not working with rooted phone.

Then start of this year, I tried Magisk for root, and although my phone got rooted, SafetyNet check showed "CTS Profile match: Fail", now Central Bank in my country has made mandatory for Commercial banks to stop supporting Rooted devices and 1 Mobile banking app has stopped working for me. So I un-rooted my device as describe in Magisk app but it did not resolve my issue. Therefore I decided to follow below tutorial:

https://youtu.be/1ACU3RGm9YI?t=465

2PS6IMG_PERFUME_UHL_O80_SENSE90GP_MR_HTC_Europe_3.16.401.2_R4_release_519849.zip

https://androidfilehost.com/?fid=673956719939830809

I first reset my phone to Factory settings, then I used above file for stock rom restoration but noticed it Bypassed some images. When finished, I started my phone and TWRP was replaced with stock recovery but still Root Checker reports "Sorry root access is not properly installed on this device" and Play Protect Certification is> "Device is not certified" and Mobile banking app still not compatible with my device.

So, what should I do and what did I do wrong? Should I install TWRP again and then restore Stock TWRP Backups to get back to stock status?

FYI, Device version history:

=================================================

D:\HTC 10>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_pmeuhl

(bootloader) version: 1.0

(bootloader) max-download-size: 1578400000

(bootloader) serialno: xxxxx

(bootloader) slot-count: 0

(bootloader) current-slot:

(bootloader) imei: xxxxxx

(bootloader) version-main: 3.16.401.2

(bootloader) boot-mode: download

(bootloader) version-baseband: 2.0.U010241a@71204

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS620000

(bootloader) cid: HTC__J15

=================================================

D:\HTC 10>fastboot getvar all

(bootloader) version:0.5

(bootloader) ramdump-mode:false

(bootloader) variant:Surf eMMC

(bootloader) boot-mode:FASTBOOT

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0xe000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x61e000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0xef000000

(bootloader) serialno: xxxxxx

=====================================================================

D:\HTC 10>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_pmeuhl

(bootloader) version: 1.0

(bootloader) max-download-size: 1579200000

(bootloader) serialno: xxxxxx

(bootloader) current-slot:

(bootloader) imei: xxxxxxx

(bootloader) version-main: 2.41.401.3

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U010241a@61226

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS620000

(bootloader) cid: HTC__J15

============================================================================

fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_pmeuhl

(bootloader) version: 1.0

(bootloader) imei: xxxxxx

(bootloader) version-main: 1.95.401.4

(bootloader) boot-mode: download

(bootloader) version-baseband: 1.0.U010141a@60714.2

(bootloader) version-bootloader: 1.0.0.0000

(bootloader) mid: 2PS620000

(bootloader) cid: HTC__J15

=================================================

fastboot getvar all

(bootloader) version:0.5

(bootloader) ramdump-mode:false

(bootloader) variant:Surf eMMC

(bootloader) secure:yes

(bootloader) version-baseband:

(bootloader) version-bootloader:

(bootloader) max-download-size: 0x20000000

(bootloader) partition-type:cache:ext4

(bootloader) partition-size:cache: 0xe000000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0x61e000000

(bootloader) partition-type:system:ext4

(bootloader) partition-size:system: 0xef000000

(bootloader) serialno: xxxxxx